Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2014 19:01:20 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362568 - head/net/delegate
Message-ID:  <201407221901.s6MJ1KFf044852@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407221901.s6MJ1KFf044852>