FreeBSD Bugzilla – Attachment 178080 Details for
Bug 215400
dns/dq: update to 20161210, fix run script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
dq.patch (text/plain), 3.80 KB, created by
Piotr Kubaj
on 2016-12-19 00:22:01 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2016-12-19 00:22:01 UTC
Size:
3.80 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 428884) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= dq >-PORTVERSION= 20161128 >+PORTVERSION= 20161210 > CATEGORIES= dns > > MAINTAINER= pkubaj@anongoth.pl >@@ -19,6 +19,8 @@ > > USERS= dq > GROUPS= dq >+SUB_FILES= run >+SUB_LIST= ETCDIR="${ETCDIR}" UID="${USERS}" GID="${GROUPS}" > > do-build: > ${MAKE_CMD} -C ${WRKSRC} compile >@@ -28,11 +30,11 @@ > cd ${WRKSRC}/build/bin && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/bin/ > cd ${WRKSRC}/build/include && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/ > ${MKDIR} ${STAGEDIR}${ETCDIR}cache/env ${STAGEDIR}${ETCDIR}cache/root/servers >- ${ECHO} 10000000 > ${STAGEDIR}${ETCDIR}cache/env/CACHESIZE >- ${ECHO} 127.0.0.1 > ${STAGEDIR}${ETCDIR}cache/env/IP >- ${ECHO} "${ETCDIR}cache/root" > ${STAGEDIR}${ETCDIR}cache/env/ROOT >- ${ECHO} envuidgid ${USERS} envdir ${ETCDIR}cache/env ${GROUPS} > ${STAGEDIR}${ETCDIR}cache/run >+ ${ECHO_CMD} 10000000 > ${STAGEDIR}${ETCDIR}cache/env/CACHESIZE >+ ${ECHO_CMD} 127.0.0.1 > ${STAGEDIR}${ETCDIR}cache/env/IP >+ ${ECHO_CMD} "${ETCDIR}cache/root" > ${STAGEDIR}${ETCDIR}cache/env/ROOT > ${CP} files/root-servers-list ${STAGEDIR}${ETCDIR}cache/root/servers/@ >+ ${CP} ${WRKDIR}/run ${STAGEDIR}${ETCDIR}cache/run > ${INSTALL_LIB} ${WRKSRC}/build/lib/libtinynacl.a ${STAGEDIR}${PREFIX}/lib > > do-install-DOCS-on: >Index: distinfo >=================================================================== >--- distinfo (revision 428884) >+++ distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1481131976 >-SHA256 (janmojzis-dq-20161128_GH0.tar.gz) = de4e6892ec83feb5cea3518289d8a28018377c435561f905de3edb338a03ca73 >-SIZE (janmojzis-dq-20161128_GH0.tar.gz) = 143373 >+TIMESTAMP = 1481819599 >+SHA256 (janmojzis-dq-20161210_GH0.tar.gz) = 24fc6ea8ad105bd2fb42ee4b79768529a40e417832b5963b81ee208cb2bb256d >+SIZE (janmojzis-dq-20161210_GH0.tar.gz) = 143408 >Index: files/patch-dq_dqcache-start.c >=================================================================== >--- files/patch-dq_dqcache-start.c (revision 427425) >+++ files/patch-dq_dqcache-start.c (working copy) >@@ -1,14 +0,0 @@ >---- dq/dqcache-start.c.orig 2016-12-07 17:33:44 UTC >-+++ dq/dqcache-start.c >-@@ -1,7 +1,11 @@ >- #include <unistd.h> >- #include <sys/types.h> >- #include <pwd.h> >-+/* >-+workaround for *BSD >- #include <stdlib.h> >-+*/ >-+extern int setenv(const char *, const char *, int); >- #include "numtostr.h" >- #include "strtonum.h" >- #include "e.h" >Index: files/patch-dq_strtoip.c >=================================================================== >--- files/patch-dq_strtoip.c (revision 427425) >+++ files/patch-dq_strtoip.c (working copy) >@@ -1,10 +0,0 @@ >---- dq/strtoip.c.orig 2016-11-27 15:38:55 UTC >-+++ dq/strtoip.c >-@@ -7,6 +7,7 @@ Public domain. >- #include <arpa/inet.h> >- #include "byte.h" >- #include "strtoip.h" >-+#include <sys/socket.h> >- >- /* taken from nacl-20110221, from curvecp/curvecpserver.c (public-domain) */ >- int strtoip4(unsigned char *ip, const char *x) { >Index: files/root-servers-list >=================================================================== >--- files/root-servers-list (revision 428884) >+++ files/root-servers-list (working copy) > >Property changes on: files/root-servers-list >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-ON >\ No newline at end of property >Index: files/run.in >=================================================================== >--- files/run.in (revision 0) >+++ files/run.in (working copy) >@@ -0,0 +1,2 @@ >+#!/bin/sh >+envuidgid %%UID%% envdir %%ETCDIR%%cache/env dqcache > >Property changes on: files/run.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
pkubaj
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 215400
: 178080