Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jun 2017 18:25:57 +0000 (UTC)
From:      Richard Gallamore <ultima@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r443717 - in head/mail/dcc-dccd: . files
Message-ID:  <201706161825.v5GIPvHB098244@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ultima
Date: Fri Jun 16 18:25:57 2017
New Revision: 443717
URL: https://svnweb.freebsd.org/changeset/ports/443717

Log:
  * Updated to 1.3.159
  * Added upstream configure switches for DCC
  * Remove gmake
  * Fixed portlint items
  * Install stripped
  
  Currently, this port is out of compliance with FreeBSD porting standards
  and is in desperate need to be modernized. @cwd is depricated, and will
  be removed in the future. The ALT_HOME Option will also need to be
  removed or reworked which changes the home directory to /var/dcc.
  Libmilter nolonger depends on sendmail and various comments will also be
  updated to match current FreeBSD porting practices.
  
  PR:		216799
  Submitted by:	Vernon Schryver <vjs@rhyolite.com>
  Reviewed by:	matthew (mentor)
  Approved by:	Piotr Kubaj <pkubaj@anongoth.pl> (maintainer), matthew (mentor)
  Differential Revision:	https://reviews.freebsd.org/D11207

Deleted:
  head/mail/dcc-dccd/files/patch-Makefile.inc.in
  head/mail/dcc-dccd/files/patch-Makefile.inc2.in
  head/mail/dcc-dccd/files/patch-cdcc__Makefile.in
  head/mail/dcc-dccd/files/patch-configure
  head/mail/dcc-dccd/files/patch-dccproc__Makefile.in
  head/mail/dcc-dccd/files/patch-dccsight__Makefile.in
  head/mail/dcc-dccd/files/patch-homedir_Makefile.in
  head/mail/dcc-dccd/files/patch-homedir__make-dcc_conf.in
  head/mail/dcc-dccd/files/patch-misc_Makefile.in
Modified:
  head/mail/dcc-dccd/Makefile
  head/mail/dcc-dccd/distinfo
  head/mail/dcc-dccd/pkg-plist

Modified: head/mail/dcc-dccd/Makefile
==============================================================================
--- head/mail/dcc-dccd/Makefile	Fri Jun 16 17:59:27 2017	(r443716)
+++ head/mail/dcc-dccd/Makefile	Fri Jun 16 18:25:57 2017	(r443717)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	dcc-dccd
-PORTVERSION=	1.3.158
-PORTREVISION=	2
+PORTVERSION=	1.3.159
 CATEGORIES=	mail
 MASTER_SITES=	http://www.dcc-servers.net/dcc/source/old/ \
 		ftp://ftp.dcc-servers.net/src/dcc/old/ \
@@ -22,7 +21,7 @@ LICENSE_PERMS=	no-pkg-sell no-dist-mirror no-pkg-mirro
 
 HAS_CONFIGURE=	yes
 
-USES=		gmake tar:Z
+USES=		tar:Z
 
 OPTIONS_DEFINE=	DCCIFD DCCD DCCGREY IPV6 ALT_HOME
 OPTIONS_DEFAULT=	DCCIFD DCCM DCCD DCCGREY
@@ -52,12 +51,15 @@ SUB_LIST+=		WRKSRC=${WRKSRC} DCCHOME=${DCCHOME}
 ## Use the configure script to explicitly set the locations of all files,
 ## in case the standard locations have been locally overridden
 ## Also, use a similar hack to USES=desthack.
-CONFIGURE_ARGS=	--with-uid=${DCCUSER} \
+CONFIGURE_ARGS=	-q \
+		--with-uid=${DCCUSER} \
 		--bindir=${PREFIX}/bin \
 		--mandir=${MANPREFIX}/man \
 		--with-installroot=\$${${DESTDIRNAME}} \
 		--with-configsuffix=.sample \
-		--with-make-cmd=${MAKE_CMD}
+		--with-make-cmd=${MAKE_CMD} \
+		--with-install-cmd=${BSD_INSTALL_PROGRAM} \
+		--enable-pkg-make
 
 CONFIGURE_ENV=	ac_cv_header_histedit_h=no	# disable libedit detection
 
@@ -122,5 +124,26 @@ post-install:
 		${STAGEDIR}${PREFIX}/dcc/cgi-bin/footer.sample
 	@${MV} ${STAGEDIR}${PREFIX}/dcc/cgi-bin/header-dist \
 		${STAGEDIR}${PREFIX}/dcc/cgi-bin/header.sample
+.for sf in bin/dccproc bin/cdcc dcc/libexec/dccsight dcc/libexec/check_ip_range \
+	dcc/libexec/wlist dcc/libexec/ck2ip
+		${STRIP_CMD} ${STAGEDIR}/${PREFIX}/${sf}
+.endfor
+.if ${PORT_OPTIONS:MDCCIFD} || ${PORT_OPTIONS:MDCCM}
+	${STRIP_CMD} ${STAGEDIR}/${PREFIX}/dcc/libexec/dns-helper
+.endif
+
+post-install-DCCIFD-on:
+.for sf in bin/dccif-test dcc/libexec/dccifd
+	${STRIP_CMD} ${STAGEDIR}/${PREFIX}/${sf}
+.endfor
+
+post-install-DCCD-on:
+.for sf in dcc/libexec/dump-clients dcc/libexec/dbclean \
+	dcc/libexec/dblist dcc/libexec/dccd
+	${STRIP_CMD} ${STAGEDIR}/${PREFIX}/${sf}
+.endfor
+
+post-install-DCCM-on:
+	${STRIP_CMD} ${STAGEDIR}/${PREFIX}/dcc/libexec/dccm
 
 .include <bsd.port.mk>

Modified: head/mail/dcc-dccd/distinfo
==============================================================================
--- head/mail/dcc-dccd/distinfo	Fri Jun 16 17:59:27 2017	(r443716)
+++ head/mail/dcc-dccd/distinfo	Fri Jun 16 18:25:57 2017	(r443717)
@@ -1,2 +1,3 @@
-SHA256 (dcc-1.3.158.tar.Z) = 596bb4a02800a87501818215e61ac877e4d5a31ec0c8c227f23438f6b6b831c6
-SIZE (dcc-1.3.158.tar.Z) = 1714175
+TIMESTAMP = 1497491773
+SHA256 (dcc-1.3.159.tar.Z) = 064144a1f01bda7cdc3e8b8f721b2b73df53bf7b293c1c672244eada9776ac89
+SIZE (dcc-1.3.159.tar.Z) = 1606625

Modified: head/mail/dcc-dccd/pkg-plist
==============================================================================
--- head/mail/dcc-dccd/pkg-plist	Fri Jun 16 17:59:27 2017	(r443716)
+++ head/mail/dcc-dccd/pkg-plist	Fri Jun 16 18:25:57 2017	(r443717)
@@ -29,7 +29,6 @@ dcc/libexec/dcc-stats-update
 @(%%DCCUSER%%,%%DCCGROUP%%,4555) dcc/libexec/dccsight
 %%IFD_MILT%%dcc/libexec/dns-helper
 dcc/libexec/fetchblack
-dcc/libexec/fetchids
 dcc/libexec/fetch-testmsg-whitelist
 dcc/libexec/fix-map
 dcc/libexec/hackmc



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