Index: head/dns/dnscrypt-wrapper/Makefile =================================================================== --- head/dns/dnscrypt-wrapper/Makefile (revision 418532) +++ head/dns/dnscrypt-wrapper/Makefile (revision 418533) @@ -1,33 +1,34 @@ # $FreeBSD$ PORTNAME= dnscrypt-wrapper -PORTVERSION= 0.2 +PORTVERSION= 0.2.1 DISTVERSIONPREFIX= v PORTREVISION= 3 CATEGORIES= dns MAINTAINER= freebsd@toyingwithfate.com COMMENT= Adds dnscrypt support to any name resolver LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsodium.so:security/libsodium \ libevent.so:devel/libevent2 +BROKEN_FreeBSD_9= does not install (too long username) + USE_GITHUB= yes GH_ACCOUNT= Cofyc USERS= _dnscrypt-wrapper ETCDNSCRYPTWRAPPER= ${PREFIX}/etc/${PORTNAME} SUB_LIST+= ETCDNSCRYPTWRAPPER="${ETCDNSCRYPTWRAPPER}" USERS="${USERS}" USE_RC_SUBR= ${PORTNAME} -USES= gmake -MAKE_ARGS= LDFLAGS="-L${LOCALBASE}/lib" CFLAGS="-I${LOCALBASE}/include" PREFIX="${STAGEDIR}${PREFIX}" +USES= gmake localbase post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/* - ${MKDIR} ${STAGEDIR}${ETCDNSCRYPTWRAPPER} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/* + @${MKDIR} ${STAGEDIR}${ETCDNSCRYPTWRAPPER} .include Index: head/dns/dnscrypt-wrapper/distinfo =================================================================== --- head/dns/dnscrypt-wrapper/distinfo (revision 418532) +++ head/dns/dnscrypt-wrapper/distinfo (revision 418533) @@ -1,2 +1,2 @@ -SHA256 (Cofyc-dnscrypt-wrapper-v0.2_GH0.tar.gz) = 36612c5eb440658a27619ae6e345582e6e3be7a40e9215ea82ac6f65c15de95f -SIZE (Cofyc-dnscrypt-wrapper-v0.2_GH0.tar.gz) = 50925 +SHA256 (Cofyc-dnscrypt-wrapper-v0.2.1_GH0.tar.gz) = 28c9936e90fc5602821353ca34c3180a047ae9eff08e0373cfa582e6af0c4e90 +SIZE (Cofyc-dnscrypt-wrapper-v0.2.1_GH0.tar.gz) = 52026 Index: head/dns/dnscrypt-wrapper/files/patch-Makefile =================================================================== --- head/dns/dnscrypt-wrapper/files/patch-Makefile (nonexistent) +++ head/dns/dnscrypt-wrapper/files/patch-Makefile (revision 418533) @@ -0,0 +1,29 @@ +--- Makefile.orig 2016-07-08 19:10:05 UTC ++++ Makefile +@@ -7,7 +7,7 @@ all:: + + ### Defaults + +-BASIC_CFLAGS = -O2 -std=c99 -Wall -I./argparse ++BASIC_CFLAGS = -std=c99 -Wall -I./argparse + BASIC_LDFLAGS = -lm -lsodium + + # Guard against environment variables +@@ -29,13 +29,13 @@ uname_P := $(shell sh -c 'uname -p 2>/de + uname_V := $(shell sh -c 'uname -v 2>/dev/null || echo not') + + # CFLAGS and LDFLAGS are for users to override +-CFLAGS = -g -O2 -Wall +-LDFLAGS = ++CFLAGS ?= -g -O2 -Wall ++LDFLAGS ?= + STRIP ?= strip + + # We use ALL_* variants +-ALL_CFLAGS = $(CFLAGS) $(BASIC_CFLAGS) +-ALL_LDFLAGS = $(LDFLAGS) $(BASIC_LDFLAGS) ++ALL_CFLAGS = $(BASIC_CFLAGS) $(CFLAGS) ++ALL_LDFLAGS = $(BASIC_LDFLAGS) $(LDFLAGS) + + ifdef PREFIX + prefix = $(PREFIX) Property changes on: head/dns/dnscrypt-wrapper/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property 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 Index: head/dns/dnscrypt-wrapper/files/patch-argparse_Makefile =================================================================== --- head/dns/dnscrypt-wrapper/files/patch-argparse_Makefile (nonexistent) +++ head/dns/dnscrypt-wrapper/files/patch-argparse_Makefile (revision 418533) @@ -0,0 +1,19 @@ +--- argparse/Makefile.orig 2016-07-08 19:10:50 UTC ++++ argparse/Makefile +@@ -1,10 +1,13 @@ + # Defaults +-BASIC_CFLAGS = -Wall -O3 -g -ggdb -fPIC ++CFLAGS ?= -O3 -g -ggdb ++LDFLAGS ?= ++ ++BASIC_CFLAGS = -Wall -fPIC + BASIC_LDFLAGS = -lm + + # We use ALL_* variants +-ALL_CFLAGS = $(CFLAGS) $(BASIC_CFLAGS) +-ALL_LDFLAGS = $(LDFLAGS) $(BASIC_LDFLAGS) ++ALL_CFLAGS = $(BASIC_CFLAGS) $(CFLAGS) ++ALL_LDFLAGS = $(BASIC_LDFLAGS) $(LDFLAGS) + + LIBNAME=libargparse + Property changes on: head/dns/dnscrypt-wrapper/files/patch-argparse_Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property 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