svn commit: r362568 - head/net/delegate
Danilo Egea Gondolfo
danilo at FreeBSD.org
Tue Jul 22 19:01:21 UTC 2014
Author: danilo
Date: Tue Jul 22 19:01:20 2014
New Revision: 362568
URL: http://svnweb.freebsd.org/changeset/ports/362568
QAT: https://qat.redports.org/buildarchive/r362568/
Log:
- Don't strip the binary. This breaks the binary checksumming
- Introduce ADMIN variable
PR: ports/192039
Submitted by: Martin Birgmeier <la5lbtyi at aon.at>
Modified:
head/net/delegate/Makefile
Modified: head/net/delegate/Makefile
==============================================================================
--- head/net/delegate/Makefile Tue Jul 22 18:29:45 2014 (r362567)
+++ head/net/delegate/Makefile Tue Jul 22 19:01:20 2014 (r362568)
@@ -3,6 +3,7 @@
PORTNAME= delegate
PORTVERSION= 9.9.10
+PORTREVISION= 1
CATEGORIES= net www
MASTER_SITES= ftp://ftp.delegate.org/pub/DeleGate/
DISTNAME= ${PORTNAME}${PORTVERSION}
@@ -13,21 +14,21 @@ COMMENT= General purpose TCP/IP proxy sy
USES= gmake
SUB_FILES= pkg-message
+ADMIN?= admin at example.com
+
PLIST_FILES= sbin/delegated etc/rc.d/delegated.sh-dist
PORTDOCS= CHANGES COPYRIGHT DG9note.html HowToDG.html IPv6NOTE.txt \
Manual.htm jpconv.htm tutor-en.htm tutor-jp.htm
+# Strip breaks binary checksumming
+STRIP=
+
post-extract:
@${LN} ${WRKSRC}/CHANGES ${WRKSRC}/COPYRIGHT ${WRKSRC}/DG9note.html \
${WRKSRC}/IPv6NOTE.txt ${WRKSRC}/doc
post-patch:
-# Prevent "filesystem was touched prior to 'make install' phase" warning;
-# allow unattended (non-interactive) builds
- @${REINPLACE_CMD} -e 's,"$$(XDG)",& DGROOT=${WRKDIR},' \
- ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -E '/ADMIN/s,undef,admin at example.com, ; \
- s,-F(esign|ver),& DGROOT=${WRKDIR},' ${WRKSRC}/src/Makefile
+ @${REINPLACE_CMD} -E "/ADMIN/s,undef,${ADMIN}," ${WRKSRC}/src/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/delegated ${STAGEDIR}${PREFIX}/sbin
More information about the svn-ports-all
mailing list