From owner-svn-ports-all@FreeBSD.ORG Tue Jul 22 19:01:21 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 058519E4; Tue, 22 Jul 2014 19:01:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E594828D9; Tue, 22 Jul 2014 19:01:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6MJ1K9B044853; Tue, 22 Jul 2014 19:01:20 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6MJ1KFf044852; Tue, 22 Jul 2014 19:01:20 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201407221901.s6MJ1KFf044852@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Tue, 22 Jul 2014 19:01:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362568 - head/net/delegate X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2014 19:01:21 -0000 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 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