Index: head/mail/dcc-dccd/Makefile =================================================================== --- head/mail/dcc-dccd/Makefile (revision 238861) +++ head/mail/dcc-dccd/Makefile (revision 238862) @@ -1,205 +1,205 @@ # New ports collection makefile for: mail/dcc-dccd # Date created: Wed Oct 9 19:30:00 WST 2002 # Whom: Dean Hollister # # $FreeBSD$ # PORTNAME= dcc-dccd -PORTVERSION= 1.3.108 +PORTVERSION= 1.3.113 CATEGORIES= mail MASTER_SITES= http://www.dcc-servers.net/dcc/source/old/ \ http://www.rhyolite.com/anti-spam/dcc/source/old/ \ ftp://ftp.dcc-servers.net/src/dcc/old/ \ ftp://ftp.rhyolite.com/src/dcc/old/ DISTNAME= dcc-${PORTVERSION} EXTRACT_SUFX= .tar.Z MAINTAINER= cgreen@sentex.net COMMENT= Distributed Checksum Clearinghouse bulk email detector HAS_CONFIGURE= yes MANCOMPRESSED= yes MAN8= cdcc.8 dbclean.8 dblist.8 dcc.8 dccd.8 dccifd.8 dccm.8 \ dccproc.8 dccsight.8 PKGINSTALL= ${WRKDIR}/pkg-install PKGDEINSTALL= ${WRKDIR}/pkg-deinstall USE_RC_SUBR= # # ALT_HOME - DCC keeps its config files in its home directory but writes # status and database files there as well. This latter point # means that the FreeBSD default home directory for DCC, # /usr/local/dcc, cannot be mounted read-only. # # DCC's default home dir of /var/dcc breaks FreeBSD hierarchy # conventions, but allows for a read-only /usr. # # Setting ALT_HOME on will set DCC's home to /var/dcc, but # keep its binaries in /usr/local/dcc/libexec. Since this # also means DCC's config files will be in /var/dcc, for # convenience a soft link from /usr/local/etc/dcc to /var/dcc # may be created. # # Note also that dccifd's default socket location is DCC's # home, so if /var/dcc is used for the home, then programs # like SpamAssassin may need to be explicitly told where # to find dccifd's socket. # OPTIONS= DCCIFD "DCC interface daemon (for SpamAssassin etc)" on \ DCCM "DCC milter (for Sendmail only)" on \ DCCD "DCC server" on \ DCCGREY "DCC greylisting server" on \ IPV6 "IPv6 support" on \ ALT_HOME "DCC home in /var/dcc" off \ PORTS_SENDMAIL "Use base Sendmail if off, ports if on" off ## User for DCC files and SUID binaries # DCCUSER?= dcc DCCUID?= 112 DCCGROUP?= dcc DCCGID?= 112 PLIST_SUB+= DCCUSER="${DCCUSER}" ## Use the configure script to explicitly set the locations of all files, ## in case the standard locations have been locally overridden # CONFIGURE_ARGS= --with-uid=${DCCUSER} --bindir=${PREFIX}/bin --mandir=${MANPREFIX}/man --with-configsuffix=.sample .include SUB_FILES= pkg-message SUB_LIST+= WRKSRC=${WRKSRC} ## /var/dcc home support # .if defined(WITH_ALT_HOME) CONFIGURE_ARGS+= --libexecdir=${PREFIX}/dcc/libexec --with-cgibin=${PREFIX}/dcc/cgi-bin DCCHOME= /var/dcc PLIST_SUB+= WITH_ALT_HOME="" .else DCCHOME= ${PREFIX}/dcc PLIST_SUB+= WITH_ALT_HOME="@comment " .endif SUB_LIST+= DCCHOME=${DCCHOME} CONFIGURE_ARGS+= --homedir=${DCCHOME} ## dccm milter support # .if defined(WITH_DCCM) .if !exists(/usr/lib/libmilter.a) && !exists(${LOCALBASE}/lib/libmilter.a) IGNORE= neither base system nor Ports version of Sendmail installed, cannot build milter .endif .if defined(WITHOUT_PORTS_SENDMAIL) && !exists(/usr/lib/libmilter.a) IGNORE= base system Sendmail not found or too old, rebuild with WITH_PORTS_SENDMAIL=yes or WITHOUT_DCCM=yes .endif .if defined(WITH_PORTS_SENDMAIL) && !exists(${LOCALBASE}/lib/libmilter.a) IGNORE= ports Sendmail not found, rebuild with WITHOUT_PORTS_SENDMAIL=yes or WITHOUT_DCCM=yes .endif .if defined(WITHOUT_PORTS_SENDMAIL) MILTERBASE= /usr .else BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail MILTERBASE?= ${LOCALBASE} .endif MILTERINC= ${MILTERBASE}/include MILTERLIB= ${MILTERBASE}/lib CPPFLAGS+= -I${MILTERINC} LDFLAGS+= -L${MILTERLIB} CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS+= --with-sendmail=${MILTERBASE} PLIST_SUB+= WITH_DCCM="" USE_RC_SUBR+= dccm.sh .else CONFIGURE_ARGS+= --disable-dccm PLIST_SUB+= WITH_DCCM="@comment " .endif ## dccifd client interface daemon support # .if defined(WITHOUT_DCCIFD) CONFIGURE_ARGS+= --disable-dccifd PLIST_SUB+= WITH_DCCIFD="@comment " .else PLIST_SUB+= WITH_DCCIFD="" USE_RC_SUBR+= dccifd.sh .endif ## dccd server support # .if defined(WITHOUT_DCCD) && defined(WITHOUT_DCCGREY) CONFIGURE_ARGS+= --disable-server PLIST_SUB+= WITH_DCCD="@comment " .else PLIST_SUB+= WITH_DCCD="" .endif ## IPV6 support # .if defined(WITHOUT_IPV6) CONFIGURE_ARGS+= --disable-IPv6 .endif ## Packing list and rcNG script fixups # .if defined(WITHOUT_DCCIFD) && defined(WITHOUT_DCCM) PLIST_SUB+= WITH_IFD_MILT="@comment " .else PLIST_SUB+= WITH_IFD_MILT="" .endif .if defined(WITH_DCCD) USE_RC_SUBR+= dccd.sh .endif .if defined(WITH_DCCGREY) USE_RC_SUBR+= dccgrey.sh PLIST_SUB+= WITH_DCCGREY="" .else PLIST_SUB+= WITH_DCCGREY="@comment " .endif ## Substitutions in pkg-install and pkg-deinstall # SED_SCRIPT= -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%DCCUSER%%|${DCCUSER}|g' -e 's|%%DCCUID%%|${DCCUID}|g' \ -e 's|%%DCCGROUP%%|${DCCGROUP}|g' -e 's|%%DCCGID%%|${DCCGID}|g' \ -e 's|%%DCCHOME%%|${DCCHOME}|g' pre-everything:: @${ECHO_MSG} ' ' @${ECHO_MSG} 'A description of ALT_HOME may be found in the port's Makefile.' @${ECHO_MSG} ' ' post-build: @${SED} ${SED_SCRIPT} ${PKGDIR}/pkg-install >${PKGINSTALL} @${SED} ${SED_SCRIPT} ${PKGDIR}/pkg-deinstall >${PKGDEINSTALL} pre-install: @${SETENV} PKG_PREFIX=${PREFIX} \ ${SH} ${PKGINSTALL} ${PREFIX} PRE-INSTALL post-install: ## Make certain DCC's config files are owned by DCC's user # @${CHOWN} ${DCCUSER} ${DCCHOME}/* ## Print DCC installation notes and RESTRICTIONS file info # @${CAT} ${PKGMESSAGE} .include Property changes on: head/mail/dcc-dccd/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.42 \ No newline at end of property +1.43 \ No newline at end of property Index: head/mail/dcc-dccd/distinfo =================================================================== --- head/mail/dcc-dccd/distinfo (revision 238861) +++ head/mail/dcc-dccd/distinfo (revision 238862) @@ -1,3 +1,3 @@ -MD5 (dcc-1.3.108.tar.Z) = 521b95c12fdb2c1a01ca6f96a3559ca6 -SHA256 (dcc-1.3.108.tar.Z) = 8f759074c49d1a2a52ae314a2d4a5f313549d8fd88390f3de28ac567ec9fc5fa -SIZE (dcc-1.3.108.tar.Z) = 1561191 +MD5 (dcc-1.3.113.tar.Z) = da522b555b82c199748c827d6ac1035f +SHA256 (dcc-1.3.113.tar.Z) = 0fb81646b2d96b5bb61ea37386c8e0b58e2b9f251dec3fc1a830feae0264c309 +SIZE (dcc-1.3.113.tar.Z) = 1610709 Property changes on: head/mail/dcc-dccd/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.34 \ No newline at end of property +1.35 \ No newline at end of property Index: head/mail/dcc-dccd/pkg-plist =================================================================== --- head/mail/dcc-dccd/pkg-plist (revision 238861) +++ head/mail/dcc-dccd/pkg-plist (revision 238862) @@ -1,114 +1,115 @@ bin/cdcc %%WITH_DCCIFD%%bin/dccif-test bin/dccproc dcc/cgi-bin/README dcc/cgi-bin/chgpasswd dcc/cgi-bin/common dcc/cgi-bin/common.pm dcc/cgi-bin/edit-whiteclnt dcc/cgi-bin/footer dcc/cgi-bin/header dcc/cgi-bin/http2https dcc/cgi-bin/list-log dcc/cgi-bin/list-msg dcc/cgi-bin/webuser-notify dcc/libexec/check_ip_range dcc/libexec/cron-dccd %%WITH_DCCIFD%%dcc/libexec/dccifd %%WITH_DCCM%%dcc/libexec/dccm %%WITH_DCCD%%dcc/libexec/dbclean %%WITH_DCCD%%dcc/libexec/dblist %%WITH_DCCD%%dcc/libexec/dump-clients +dcc/libexec/dcc-nagios dcc/libexec/dcc-stats-collect dcc/libexec/dcc-stats-graph dcc/libexec/dcc-stats-init %%WITH_DCCD%%dcc/libexec/dccd dcc/libexec/dccsight %%WITH_IFD_MILT%%dcc/libexec/dns-helper dcc/libexec/fetchblack dcc/libexec/fetchids dcc/libexec/fetch-testmsg-whitelist dcc/libexec/fix-map dcc/libexec/hackmc dcc/libexec/list-clients dcc/libexec/logger dcc/libexec/newwebuser dcc/libexec/rcDCC dcc/libexec/start-dccd dcc/libexec/start-dccifd dcc/libexec/start-dccm dcc/libexec/start-grey dcc/libexec/stats-get dcc/libexec/stop-dccd dcc/libexec/updatedcc dcc/libexec/uninstalldcc dcc/libexec/wlist @dirrm dcc/libexec @dirrm dcc/cgi-bin @dirrmtry dcc %%WITH_DCCIFD%%@stopdaemon dccifd %%WITH_DCCM%%@stopdaemon dccm %%WITH_DCCD%%@stopdaemon dccd %%WITH_DCCGREY%%@stopdaemon dccgrey %%WITH_ALT_HOME%%@cwd /var @comment ------------------------- @comment The next group of three-line sets install/remove the config files @comment @comment **** on uninstall, delete the config file if it matches the sample file @unexec if cmp -s %D/dcc/dcc_conf %D/dcc/dcc_conf.sample; then rm -f %D/dcc/dcc_conf; fi @comment @comment **** the sample file is unilaterally installed/removed dcc/dcc_conf.sample @comment @comment **** on install, the config file is created from the sample file if it doesn't exist @exec [ -f %B/dcc_conf ] || cp %B/%f %B/dcc_conf @comment @unexec if cmp -s %D/dcc/flod %D/dcc/flod.sample; then rm -f %D/dcc/flod; fi dcc/flod.sample @exec [ -f %B/flod ] || cp %B/%f %B/flod @comment @unexec if cmp -s %D/dcc/grey_flod %D/dcc/grey_flod.sample; then rm -f %D/dcc/grey_flod; fi dcc/grey_flod.sample @exec [ -f %B/grey_flod ] || cp %B/%f %B/grey_flod @comment @unexec if cmp -s %D/dcc/grey_whitelist %D/dcc/grey_whitelist.sample; then rm -f %D/dcc/grey_whitelist; fi dcc/grey_whitelist.sample @exec [ -f %B/grey_whitelist ] || cp %B/%f %B/grey_whitelist @comment @unexec if cmp -s %D/dcc/ids %D/dcc/ids.sample; then rm -f %D/dcc/ids; fi dcc/ids.sample @exec [ -f %B/ids ] || cp -p %B/%f %B/ids @comment @unexec if cmp -s %D/dcc/map.txt %D/dcc/map.txt.sample; then rm -f %D/dcc/map.txt; fi dcc/map.txt.sample @exec [ -f %B/map.txt ] || cp -p %B/%f %B/map.txt @comment @unexec if cmp -s %D/dcc/map %D/dcc/map.sample; then rm -f %D/dcc/map; fi dcc/map.sample @exec [ -f %B/map ] || cp -p %B/%f %B/map @comment @unexec if cmp -s %D/dcc/whiteclnt %D/dcc/whiteclnt.sample; then rm -f %D/dcc/whiteclnt; fi dcc/whiteclnt.sample @exec [ -f %B/whiteclnt ] || cp %B/%f %B/whiteclnt @comment @unexec if cmp -s %D/dcc/whitecommon %D/dcc/whitecommon.sample; then rm -f %D/dcc/whitecommon; fi dcc/whitecommon.sample @exec [ -f %B/whitecommon ] || cp %B/%f %B/whitecommon @comment @unexec if cmp -s %D/dcc/whitelist %D/dcc/whitelist.sample; then rm -f %D/dcc/whitelist; fi dcc/whitelist.sample @exec [ -f %B/whitelist ] || cp %B/%f %B/whitelist @comment %%WITH_IFD_MILT%%@unexec [ -e %D/dcc/whiteclnt.dccw ] && rm -f %D/dcc/whiteclnt.dccw || true %%WITH_IFD_MILT%%@unexec [ -e %D/dcc/whiteclnt.dccx ] && rm -f %D/dcc/whiteclnt.dccx || true %%WITH_DCCD%%@unexec [ -e %D/dcc/dcc_db ] && rm -f %D/dcc/dcc_db || true %%WITH_DCCD%%@unexec [ -e %D/dcc/dcc_db.hash ] && rm -f %D/dcc/dcc_db.hash || true %%WITH_DCCD%%@unexec [ -e %D/dcc/flod.map ] && rm -f %D/dcc/flod.map || true %%WITH_DCCD%%@unexec [ -e %D/dcc/dccd_clients ] && rm -f %D/dcc/dccd_clients || true %%WITH_DCCGREY%%@unexec [ -e %D/dcc/grey_db.hash ] && rm -f %D/dcc/grey_db.hash || true %%WITH_DCCGREY%%@unexec [ -e %D/dcc/grey_flod.map ] && rm -f %D/dcc/grey_flod.map || true %%WITH_DCCGREY%%@unexec [ -e %D/dcc/grey_clients ] && rm -f %D/dcc/grey_clients || true @exec mkdir -p %D/dcc/log @exec chown -R %%DCCUSER%% %D/dcc @dirrmtry dcc/log @dirrmtry dcc Property changes on: head/mail/dcc-dccd/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.16 \ No newline at end of property +1.17 \ No newline at end of property