head 1.21; access; symbols pkgsrc-2023Q4:1.21.0.12 pkgsrc-2023Q4-base:1.21 pkgsrc-2023Q3:1.21.0.10 pkgsrc-2023Q3-base:1.21 pkgsrc-2023Q2:1.21.0.8 pkgsrc-2023Q2-base:1.21 pkgsrc-2023Q1:1.21.0.6 pkgsrc-2023Q1-base:1.21 pkgsrc-2022Q4:1.21.0.4 pkgsrc-2022Q4-base:1.21 pkgsrc-2022Q3:1.21.0.2 pkgsrc-2022Q3-base:1.21 pkgsrc-2022Q2:1.20.0.10 pkgsrc-2022Q2-base:1.20 pkgsrc-2022Q1:1.20.0.8 pkgsrc-2022Q1-base:1.20 pkgsrc-2021Q4:1.20.0.6 pkgsrc-2021Q4-base:1.20 pkgsrc-2021Q3:1.20.0.4 pkgsrc-2021Q3-base:1.20 pkgsrc-2021Q2:1.20.0.2 pkgsrc-2021Q2-base:1.20 pkgsrc-2021Q1:1.19.0.6 pkgsrc-2021Q1-base:1.19 pkgsrc-2020Q4:1.19.0.4 pkgsrc-2020Q4-base:1.19 pkgsrc-2020Q3:1.19.0.2 pkgsrc-2020Q3-base:1.19 pkgsrc-2020Q2:1.18.0.2 pkgsrc-2020Q2-base:1.18 pkgsrc-2020Q1:1.17.0.4 pkgsrc-2020Q1-base:1.17 pkgsrc-2019Q4:1.17.0.6 pkgsrc-2019Q4-base:1.17 pkgsrc-2019Q3:1.17.0.2 pkgsrc-2019Q3-base:1.17 pkgsrc-2019Q2:1.16.0.6 pkgsrc-2019Q2-base:1.16 pkgsrc-2019Q1:1.16.0.4 pkgsrc-2019Q1-base:1.16 pkgsrc-2018Q4:1.16.0.2 pkgsrc-2018Q4-base:1.16 pkgsrc-2018Q3:1.15.0.2 pkgsrc-2018Q3-base:1.15 pkgsrc-2018Q2:1.13.0.12 pkgsrc-2018Q2-base:1.13 pkgsrc-2018Q1:1.13.0.10 pkgsrc-2018Q1-base:1.13 pkgsrc-2017Q4:1.13.0.8 pkgsrc-2017Q4-base:1.13 pkgsrc-2017Q3:1.13.0.6 pkgsrc-2017Q3-base:1.13 pkgsrc-2017Q2:1.13.0.2 pkgsrc-2017Q2-base:1.13 pkgsrc-2017Q1:1.12.0.6 pkgsrc-2017Q1-base:1.12 pkgsrc-2016Q4:1.12.0.4 pkgsrc-2016Q4-base:1.12 pkgsrc-2016Q3:1.12.0.2 pkgsrc-2016Q3-base:1.12 pkgsrc-2016Q2:1.11.0.4 pkgsrc-2016Q2-base:1.11 pkgsrc-2016Q1:1.11.0.2 pkgsrc-2016Q1-base:1.11 pkgsrc-2015Q4:1.9.0.4 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.2 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.8.0.2 pkgsrc-2015Q2-base:1.8 pkgsrc-2015Q1:1.6.0.14 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.12 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.10 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.8 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.6 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.4 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.2 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.3.0.2 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.2.0.4 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.1.1.1.0.16 pkgsrc-2012Q3-base:1.1.1.1 pkgsrc-2012Q2:1.1.1.1.0.14 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-2012Q1:1.1.1.1.0.12 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-2011Q4:1.1.1.1.0.10 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.8 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.6 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-2011Q1:1.1.1.1.0.4 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.2 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.21 date 2022.06.28.11.34.19; author wiz; state Exp; branches; next 1.20; commitid D2UoJrTHpoHEANJD; 1.20 date 2021.05.24.19.52.39; author wiz; state Exp; branches; next 1.19; commitid qokaiStTApGMcrUC; 1.19 date 2020.08.31.18.09.54; author wiz; state Exp; branches; next 1.18; commitid 7zxRbfOkDOoxbfmC; 1.18 date 2020.04.12.15.04.22; author gdt; state Exp; branches; next 1.17; commitid pgyzt81hjAVjI64C; 1.17 date 2019.08.11.13.21.26; author wiz; state Exp; branches; next 1.16; commitid Ifet9Pg6Qt99ZByB; 1.16 date 2018.12.09.21.05.33; author adam; state Exp; branches; next 1.15; commitid Je6d0kS6YPv3ta3B; 1.15 date 2018.08.22.09.45.24; author wiz; state Exp; branches; next 1.14; commitid YLub8g3ofvFGb6PA; 1.14 date 2018.07.04.13.40.22; author jperkin; state Exp; branches; next 1.13; commitid NnIyRkdX3Lbg3PIA; 1.13 date 2017.05.28.11.50.07; author maya; state Exp; branches; next 1.12; commitid kDG6nJzx6bM4o9Tz; 1.12 date 2016.07.09.06.38.28; author wiz; state Exp; branches; next 1.11; commitid dlqnocGpOoXV2Cdz; 1.11 date 2016.02.23.15.24.50; author gdt; state Exp; branches; next 1.10; commitid uW4zZdfkBmAWm3Wy; 1.10 date 2016.02.23.00.59.40; author gdt; state Exp; branches; next 1.9; commitid 67vHoo2siHQ8AYVy; 1.9 date 2015.08.28.08.09.28; author wiz; state Exp; branches; next 1.8; commitid 3RDXI8kvVqxdI0zy; 1.8 date 2015.06.12.10.50.18; author wiz; state Exp; branches; next 1.7; commitid B4JmCfaVUbiY38py; 1.7 date 2015.06.05.13.43.20; author gdt; state Exp; branches; next 1.6; commitid gJSCvVuWUeCfgfoy; 1.6 date 2013.08.27.16.40.11; author shattered; state Exp; branches; next 1.5; commitid ifXpXsDk8UOQ173x; 1.5 date 2013.07.21.14.05.36; author shattered; state Exp; branches; next 1.4; commitid CpHaPtWxr1SUmlYw; 1.4 date 2013.07.12.10.44.56; author jperkin; state Exp; branches; next 1.3; commitid vVOw5ngQ2VNQxaXw; 1.3 date 2013.04.06.21.07.33; author rodent; state Exp; branches; next 1.2; 1.2 date 2012.10.08.12.19.07; author asau; state Exp; branches; next 1.1; 1.1 date 2010.10.27.12.26.37; author gdt; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2010.10.27.12.26.37; author gdt; state Exp; branches; next ; desc @@ 1.21 log @*: recursive bump for perl 5.36 @ text @# $NetBSD: Makefile,v 1.20 2021/05/24 19:52:39 wiz Exp $ DISTNAME= dcc-1.3.159 PKGREVISION= 6 CATEGORIES= mail MASTER_SITES= https://www.dcc-servers.net/src/dcc/old/ EXTRACT_SUFX= .tar.Z # OWNER_PROXY= gdt OWNER= petar@@smokva.net HOMEPAGE= https://www.dcc-servers.net/dcc/ COMMENT= Anti-spam content filter LICENSE= dcc-free-license .include "../../mk/bsd.prefs.mk" DCC_USER?= dcc DCC_GROUP?= dcc DCC_HOME?= ${VARBASE}/dcc DCC_RUN?= ${VARBASE}/run/dcc # expanded in files/dcc*.sh FILES_SUBST+= DCC_HOME=${DCC_HOME} FILES_SUBST+= DCC_EGDIR=${DCC_EGDIR} FILES_SUBST+= DCC_RC=${PREFIX}/libexec/rcDCC FILES_SUBST+= DCC_FIXMAP=${PREFIX}/libexec/fix-map # enabling/disabling daemons is done in rc.conf SUBST_CLASSES+= dae SUBST_STAGE.dae= pre-configure SUBST_FILES.dae= homedir/dcc_conf.in SUBST_SED.dae= -e 's/^\(DCCD_ENABLE=\).*$$/\1on/' SUBST_SED.dae+= -e 's/^\(GREY_ENABLE=\).*$$/\1on/' SUBST_SED.dae+= -e 's/^\(DCCM_ENABLE=\).*$$/\1on/' SUBST_SED.dae+= -e 's/^\(DCCIFD_ENABLE=\).*$$/\1on/' SUBST_MESSAGE.dae= Enabling all daemons in dcc_conf HAS_CONFIGURE= yes USE_TOOLS+= xargs:run USE_TOOLS+= ftp:run CONFIGURE_ENV+= DCC_XARGS=${TOOLS_PATH.xargs:Q} # See --with-fetch-cmd for ftp.. # dcc provides certain auxiliary scripts used for its web-UI and stats # management. Since these scripts are non-essential, the bulky tools # they rely on are not declared as dependencies. CONFIGURE_ENV+= PERL=${DCC_HOME}/bin/perl CONFIGURE_ENV+= NOTIFYMAILER=${DCC_HOME}/bin/sendmail CONFIGURE_ENV+= HTPASSWD=${DCC_HOME}/bin/htpasswd CONFIGURE_ENV+= RRDTOOL=${DCC_HOME}/bin/rrdtool CONFIGURE_ARGS+= --homedir=${DCC_HOME} CONFIGURE_ARGS+= --bindir=${PREFIX}/bin CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} CONFIGURE_ARGS+= --with-cgi-bin=${DCC_EGDIR}/cgi-bin CONFIGURE_ARGS+= --with-rundir=${DCC_RUN} CONFIGURE_ARGS+= --with-uid=${DCC_USER} CONFIGURE_ARGS+= --with-make-cmd=${MAKE_PROGRAM:Q} CONFIGURE_ARGS+= --with-fetch-cmd=${TOOLS_PATH.ftp:Q} CONFIGURE_ARGS+= --with-installroot=${DESTDIR:Q} CONFIGURE_ARGS+= --enable-pkg-make CONFIGURE_ARGS+= --disable-dccm MAKE_JOBS_SAFE= no # PKGSRC_DCC_EGDIR is for homedir/Makefile MAKE_ENV+= PKGSRC_DCC_EGDIR=${DCC_EGDIR} BUILD_DEFS+= VARBASE INSTALLATION_DIRS+= bin INSTALLATION_DIRS+= libexec INSTALLATION_DIRS+= ${PKGMANDIR}/man8 INSTALLATION_DIRS+= ${DCC_EGDIR_REL} INSTALLATION_DIRS+= ${DCC_EGDIR_REL}/cgi-bin PKG_GROUPS= ${DCC_GROUP} PKG_USERS= ${DCC_USER}:${DCC_GROUP} OWN_DIRS_PERMS+= ${DCC_HOME} ${DCC_USER} ${DCC_GROUP} 0755 OWN_DIRS_PERMS+= ${DCC_HOME}/log ${DCC_USER} ${DCC_GROUP} 0710 DCC_EGDIR_REL= share/examples/dcc DCC_EGDIR= ${PREFIX}/${DCC_EGDIR_REL} DCC_PERMS_CONFIG= ${DCC_USER} ${DCC_GROUP} 0600 CONF_FILES_PERMS+= ${DCC_EGDIR}/dcc_conf ${DCC_HOME}/dcc_conf ${DCC_PERMS_CONFIG} CONF_FILES_PERMS+= ${DCC_EGDIR}/flod ${DCC_HOME}/flod ${DCC_PERMS_CONFIG} CONF_FILES_PERMS+= ${DCC_EGDIR}/grey_flod ${DCC_HOME}/grey_flod ${DCC_PERMS_CONFIG} CONF_FILES_PERMS+= ${DCC_EGDIR}/grey_whitelist ${DCC_HOME}/grey_whitelist ${DCC_PERMS_CONFIG} CONF_FILES_PERMS+= ${DCC_EGDIR}/whiteclnt ${DCC_HOME}/whiteclnt ${DCC_PERMS_CONFIG} CONF_FILES_PERMS+= ${DCC_EGDIR}/whitecommon ${DCC_HOME}/whitecommon ${DCC_PERMS_CONFIG} CONF_FILES_PERMS+= ${DCC_EGDIR}/whitelist ${DCC_HOME}/whitelist ${DCC_PERMS_CONFIG} RCD_SCRIPTS+= dccd dccifd DCC_PERMS_SETUID= ${DCC_USER} ${REAL_ROOT_GROUP} 4555 SPECIAL_PERMS+= bin/cdcc ${DCC_PERMS_SETUID} SPECIAL_PERMS+= bin/dccproc ${DCC_PERMS_SETUID} SPECIAL_PERMS+= libexec/dccsight ${DCC_PERMS_SETUID} .include "../../mk/bsd.pkg.mk" @ 1.20 log @*: recursive bump for perl 5.34 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2020/08/31 18:09:54 wiz Exp $ d4 1 a4 1 PKGREVISION= 5 @ 1.19 log @*: bump PKGREVISION for perl-5.32. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2020/04/12 15:04:22 gdt Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.18 log @mail/dcc: Add patch to deal with pkgsrc permissions issued From Oskar Fessel, apparently with some coordination with Petar. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2019/08/11 13:21:26 wiz Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.17 log @Bump PKGREVISIONs for perl 5.30.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2018/12/09 21:05:33 adam Exp $ d4 1 a4 1 PKGREVISION= 2 d9 1 @ 1.16 log @Removed commented-out PKGREVISIONs @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2018/08/22 09:45:24 wiz Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.15 log @Recursive bump for perl5-5.28.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2018/07/04 13:40:22 jperkin Exp $ a3 1 #PKGREVISION= 2 @ 1.14 log @*: Move SUBST_STAGE from post-patch to pre-configure Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2017/05/28 11:50:07 maya Exp $ d5 1 @ 1.13 log @dcc: update to 1.3.159 1.3.159 Stop using /usr/share/mk Makefiles on BSD systems in order to allow building on FreeBSD 11. Add ./configure --with-install-cmd=X --enable-pkg-make to facilitate as FreeBSD port without patches. Use /proc/uptime to compute boottime on Linux. Ignore host names defined as 0.0.0.0. Don't let the Received: header parsing for the sender IP address in dccifd and dccproc be fooled by HELO values like "[127.0.0.1]" Change URLs to use https From Petar Bogdanovic (OWNER). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2016/07/09 06:38:28 wiz Exp $ d29 1 a29 1 SUBST_STAGE.dae= post-patch @ 1.12 log @Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2016/02/23 15:24:50 gdt Exp $ d3 2 a4 2 DISTNAME= dcc-1.3.158 PKGREVISION= 2 d6 1 a6 1 MASTER_SITES= http://www.rhyolite.com/dcc/source/old/ d10 1 a10 1 HOMEPAGE= http://www.rhyolite.com/dcc/ a20 7 # dcc already implements $DESTDIR as $installroot but also prepends # $installroot to $BINDIR, which bsd.prog.mk subsequently extends to # $DESTDIR/$BINDIR, effectively doubling the $DESTDIR prefix. The # following bit of make dances around the issue and avoids adding # $DESTDIR when evaluated within a bsd.prog.mk target. DCC_DESTDIR= $${"$${@@:Mproginstall-*}"=="":?$${DESTDIR}:} d62 2 a63 2 CONFIGURE_ARGS+= --with-installroot=\$$\(DCC_DESTDIR\) CONFIGURE_ARGS+= --disable-sys-inst a65 1 USE_BSD_MAKEFILE= yes a69 2 MAKE_ENV+= DCC_DESTDIR=${DCC_DESTDIR:Q} MAKE_ENV+= NO_SUID=yes @ 1.11 log @Use PREFIX-relative paths in INSTALLATION_DIRS While the INSTALLATION_DIRS code actually works fine with directories that contain PREFIX (by removing it first), the documentation says that values should be PREFIX-relative. Pointed out by Petar Bogdanovic ($MAINTAINER). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2016/02/23 00:59:40 gdt Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.10 log @Install two more directories For an unknown reason, the package build succeeds often with EGDIR not explicitly created. However, sometimes it does not. Because a number of directories are created by pkgsrc anyway, just add the troublesome directories to the list. No PKGREVISION, since this does not affect any build that previously succeeded. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2015/08/28 08:09:28 wiz Exp $ d86 2 a87 2 INSTALLATION_DIRS+= ${DCC_EGDIR} INSTALLATION_DIRS+= ${DCC_EGDIR}/cgi-bin d95 2 a96 1 DCC_EGDIR= ${PREFIX}/share/examples/dcc @ 1.9 log @Sync with wip/dcc: drop perl dependency, fix fetch command From Petar Bogdanovic in PR 50163. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2015/06/05 13:43:20 gdt Exp $ d86 2 @ 1.8 log @Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0. @ text @a45 1 USE_TOOLS+= perl:run d47 1 a48 1 CONFIGURE_ENV+= PERL=${TOOLS_PATH.perl:Q} d50 9 d68 1 @ 1.7 log @Simplify package, update to 1.3.158. Update prepared in wip by Petar Bogdanovic. * Remove INSTALL and add fix-map to rc-scripts instead (start_precmd). * Remove dccm option because it was never properly tested. If someone wants it back, let OWNER know. * Remove dcc-spamassassin.pre. DCC.pm will use cdcc in order to obtain homedir and therefore the location of the dccifd socket. * Add several minor build/install patches. * Remove do-install target since the default (DESTDIR-enabled) install now works well enough. CHANGES: 1.3.158 Do not flood any reports to peers with "leaf=0" Fix crash in dccm, dccifd, and dccproc when time jumps backwards by more than than 1 millisecond. Adjust Makefiles for recent NetBSD. 1.3.155 Fix `cdcc "help flood"` Try `cc -E -w` in ./configure to avoid fatal gcc warning about CPPFLAGS=-D_FORTIFY_SOURCE=2 that currently breaks DCC packaging on archlinux and will affect other systems. 1.3.154 Fix editline build problem in cdcc reported by Robert Pelletier. 1.3.153 Resolve confusion between dccifd ASCII protocol options "no-grey" and "grey-off" pointed out by Mark Thomas. 1.3.152 In `cdcc clients` output, suppress individual client addresses covered by an address block in the server /var/dcc/blacklist file except when explicitly requested as in `cdcc "clients 10.2.3.0/24"`. 1.3.151 Compress bad client addresses for `cdcc clients`. 1.3.148 Answer clients with bad client-IDs and passwords as if they were using the anonymous client-ID. Improve counting by dccd of clients in address blocks. 1.3.147 Fix missing clients in `cdcc clients`. Fix NetBSD threads problem 1.3.146 reported by Petar Bogdanovic. 1.3.146 Add -I to `cdcc clients` Reduce dccifd thread stack size to 512 KBytes for busy 32-bit systems Fix some problems in the Windows version of dccproc. 1.3.145 Suppress some error messages about broken DCC clients from dccd. Fix default start and stop Linux run levels in rcDCC as suggested by Herve Eychenne. Change start-dccifd to use `kill` instead of `/bin/kill` to accommodate Linux systems where /bin/kill does not understand `/bin/kill -9 -$PID` as the way to kill a process group. `cdcc src` now accepts a pair of IPv4,IPv6 addresses. Requests from anonymous DCC clients to the public DCC servers are grouped by IPv4 /24 or IPv6 /56 address blocks for inflating the delay. 1.3.144 Fix a rare crash of dccd, the server daemon. Allow "." in -B for dccifd, dccm, and dccproc as the base domain name of DNSBL to support detecting and rejecting mail containing URLs listed in a response policy zone (RPZ). 1.3.143 Fix `dccifd -V` broken in 1.3.142 reported by Chris Burton. Fix "incompatible whitelist" SMTP bug in dccifd introduced in 1.3.139. Deal with default -mstructure-size-boundary=8 in FreeBSD on ARM as suggested by Ronald Klop. However, intermittent failures of `cdcc "id 1; stats"` on FreeBSD 9.0-STABLE on a system with a "Feroceon 88FR131 rev 1 (Marvell core)" seem to be caused by broken consistency between write() and mmap(). That suggests that while the DCC client software should generally work, the DCC server will occassionally fail mysteriously. Fix dccm parsing of Received headers for MX and MXDCC whiteclnt lines that broke in verseion 1.3.139. 1.3.142 Improve physical page locality of the DCC server's use of the database hash table and so improve server performance. The nagios script in var/dcc/libexec/dcc-nagios now compares the clock on the DCC server with the local clock. `cdcc -VV` and other commands produce the ./configure parameters used to build them. Build cdcc with editline. Add -P to dccproc, dccifd, dccm, and dccsight. 1.3.141 Fix "MTA-last" in dcc man page as suggested by Bram Grietens. Fix no_forced-discard typo reported by Bram Grietens. Fix dccm to honor `hackmc -R` and discard relay attacks. misc/DCC.pm, which is generated from misc/DCC.pm.in, is now very similar to what will probably be in SpamAssassin 3.4. Fix problems finding native milter library for dccm pointed out by Kevin A. McGrail. Improve documentation or help output from the nagios plugin, /var/dcc/libexec/dcc-nagios Fix bug in misc/DCC.pm in dealing with mail that already has an X-DCC header found and diagnosed by Herbert J. Skuhra. 1.3.140 tweak some HTML in the whiteclnt proof-of-concept pages Fix bug in `wlist` display of address blocks reported by Rob McMahon. Fix missing IP address in log files for mail from (as opposed to relayed by) MX relays. 1.3.139 Give temporary rejections by dccm and dccifd for conflicting per-user thresholds a separate message. Add FreeBSD "faststart" to rcDCC. 1.3.138 Fix bad URL decoding reported by Kostik. 1.3.137 Fix some innocuous compilers warnings on Solaris and Ubuntu. 1.3.136 Fix dccd and cdcc for `cdcc clients` for large operation counts. Deal with trailing '.' and other punctuation URLs in dccm, dccifd, and dccproc as pointed out by Kostik. This changes the FUZ1 and FUZ2 checksums in some cases. Fix a free(0). 1.3.135 /var/dcc/map on 32 and 64 bit versions of a system are now the same. Dccproc, dccm, and dccifd decode HTML &#xxx character references in URLs. Dccproc, dccm, and dccifd convert UTF-8 domain names to Punycode before checking DNS blacklists. Deal with Linux `logger` bug that does the wrong thing with something like `logger message with -S dash S` as suggested by Leandro Santi. 1.3.134 Fix compile bug reported by Rob.McMahon involving old compilers without "inline" 1.3.133 Fix DNSBL bugs in parsing http://example.com?parameter and http://example.com:80 reported by Kostik Increase number of distinct kinds of local or "substitute" headers that can be locally white- or blacklisted to 8 1.3.132 Fix fstatfs() wrapper on Ubuntu and speed up dccd and dbclean when a memory file system is used with -H. 1.3.131 Fix minor bug in updatedcc and fetch-testmsg-whitelist as suggested by Taso N. Devetzis. Find in_port_t in sys/types.h as reported by Josh Allen. 1.3.130 Fix serious bug reported by Bart Dumon in DNS whitelists on systems without strlcpy(). 1.3.129 Adjust dnswl.org in the sample dcc_conf file. 1.3.128 Support DNS whitelists. An example using dnswl.org is in the sample homedir/dcc_conf file. Fix dccproc, dccifd, and dccm crash in parsing Received: fields with IPv6 addresses. Parse IPv6 address literals lacking the "IPv6:" tag in Received: headers. 1.3.127 Fix problem with `dbclean -H` after a system reboot reported by Gary Mills. Fix "duplicate symbol" problem on MacOS X or Darwin 10.3.0 reported by Robert Pelletier by removing the use of `ranlib -c`. I hope this does not break things on older versions of MacOS X or future DCC releases. Fix printf compiler warnings on MacOS X. 1.3.126 Fix another problem in flooding server-ID types past server-ID mappings. 1.3.125 Fix stack corruption in version *.3.124. 1.3.124 Fix reporting of rogue server-IDs. Remove vestiges of obsolete server-ID tracing. Flood server-ID types past flod file mappings. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2013/08/27 16:40:11 shattered Exp $ d4 1 @ 1.6 log @Revert latest update (requested by OWNER). @ text @d1 3 a3 12 # $NetBSD: Makefile,v 1.4 2013/07/12 10:44:56 jperkin Exp $ # # Request by the author: # # On Thu, Jan 29, 2009 at 06:27:03PM +0000, # Vernon Schryver wrote: # > # > There should be no patches in whatever # > you distribute. Updatedcc must work. # DISTNAME= dcc-1.3.123 PKGREVISION= 2 d20 12 a31 8 # expanded in INSTALL FILES_SUBST+= DCC_USER=${DCC_USER} \ DCC_GROUP=${DCC_GROUP} \ DCC_HOME=${DCC_HOME} \ DCC_EGDIR=${DCC_EGDIR} # expanded in files/dcc{d,ifd,m} FILES_SUBST+= DCC_RUN=${DCC_RUN} d33 1 d37 4 a40 3 SUBST_SED.dae= -e 's/^\(DCCD_ENABLE=\)off$$/\1on/' SUBST_SED.dae+= -e 's/^\(DCCM_ENABLE=\)off$$/\1on/' SUBST_SED.dae+= -e 's/^\(DCCIFD_ENABLE=\)off$$/\1on/' a43 1 MAKE_JOBS_SAFE= no d45 17 a61 2 CONFIGURE_ENV+= PERL=${PERL5:Q} \ DCC_XARGS=${XARGS:Q} d63 2 a64 7 CONFIGURE_ARGS+= --homedir=${DCC_HOME} \ --bindir=${PREFIX}/bin \ --libexecdir=${PREFIX}/libexec \ --mandir=${PREFIX}/${PKGMANDIR} \ --with-make-cmd=${MAKE_PROGRAM:Q} \ --with-rundir=${DCC_RUN} \ --with-uid=${DCC_USER} d66 4 a69 1 .include "options.mk" d73 3 a75 2 INSTALLATION_DIRS+= bin libexec ${PKGMANDIR}/man8 \ share/examples/dcc/cgi-bin d80 2 a81 2 OWN_DIRS_PERMS+= ${DCC_HOME} ${DCC_USER} ${DCC_GROUP} 0755 \ ${DCC_HOME}/log ${DCC_USER} ${DCC_GROUP} 0710 d84 8 a91 8 DCC_PERMS_CONFIG= ${ROOT_USER} ${ROOT_GROUP} 0644 CONF_FILES_PERMS+= ${DCC_EGDIR}/dcc_conf ${DCC_HOME}/dcc_conf ${DCC_PERMS_CONFIG} \ ${DCC_EGDIR}/flod ${DCC_HOME}/flod ${DCC_PERMS_CONFIG} \ ${DCC_EGDIR}/grey_flod ${DCC_HOME}/grey_flod ${DCC_PERMS_CONFIG} \ ${DCC_EGDIR}/grey_whitelist ${DCC_HOME}/grey_whitelist ${DCC_PERMS_CONFIG} \ ${DCC_EGDIR}/whiteclnt ${DCC_HOME}/whiteclnt ${DCC_PERMS_CONFIG} \ ${DCC_EGDIR}/whitecommon ${DCC_HOME}/whitecommon ${DCC_PERMS_CONFIG} \ ${DCC_EGDIR}/whitelist ${DCC_HOME}/whitelist ${DCC_PERMS_CONFIG} d94 4 a97 71 DCC_PERMS_SETUID= ${DCC_USER} ${ROOT_GROUP} 4555 SPECIAL_PERMS+= bin/cdcc ${DCC_PERMS_SETUID} \ bin/dccproc ${DCC_PERMS_SETUID} \ libexec/dccsight ${DCC_PERMS_SETUID} post-build: ${SED} -e "s!@@DCC_HOME@@!${DCC_HOME}!g" ${FILESDIR}/dcc-spamassassin.pre \ >${WRKDIR}/dcc-spamassassin.pre # options.mk/dccm adds a dependency on do-install. do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cdcc/cdcc ${DESTDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/ck2ip/ck2ip ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_PROGRAM} ${WRKSRC}/dbclean/dbclean ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_PROGRAM} ${WRKSRC}/dblist/dblist ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_PROGRAM} ${WRKSRC}/dccd/dccd ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_PROGRAM} ${WRKSRC}/dccifd/dccifd ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_PROGRAM} ${WRKSRC}/dccproc/dccproc ${DESTDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/dccsight/dccsight ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_PROGRAM} ${WRKSRC}/dns-helper/dns-helper ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_PROGRAM} ${WRKSRC}/misc/wlist ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/cgi-bin/chgpasswd ${DESTDIR}${DCC_EGDIR}/cgi-bin/ ${INSTALL_SCRIPT} ${WRKSRC}/cgi-bin/common ${DESTDIR}${DCC_EGDIR}/cgi-bin/ ${INSTALL_SCRIPT} ${WRKSRC}/cgi-bin/edit-whiteclnt ${DESTDIR}${DCC_EGDIR}/cgi-bin/ ${INSTALL_SCRIPT} ${WRKSRC}/cgi-bin/http2https ${DESTDIR}${DCC_EGDIR}/cgi-bin/ ${INSTALL_SCRIPT} ${WRKSRC}/cgi-bin/list-log ${DESTDIR}${DCC_EGDIR}/cgi-bin/ ${INSTALL_SCRIPT} ${WRKSRC}/cgi-bin/list-msg ${DESTDIR}${DCC_EGDIR}/cgi-bin/ ${INSTALL_SCRIPT} ${WRKSRC}/cgi-bin/webuser-notify ${DESTDIR}${DCC_EGDIR}/cgi-bin/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/cron-dccd ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/dcc-nagios ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/dcc-stats-collect ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/dcc-stats-graph ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/dcc-stats-init ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/fetch-testmsg-whitelist ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/fetchblack ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/fetchids ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/hackmc ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/list-clients ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/logger ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/newwebuser ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/rcDCC ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/start-dccd ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/start-dccifd ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/start-dccm ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/start-grey ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/stats-get ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/stop-dccd ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/uninstalldcc ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_SCRIPT} ${WRKSRC}/misc/updatedcc ${DESTDIR}${PREFIX}/libexec/ ${INSTALL_MAN} ${WRKSRC}/cdcc.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ ${INSTALL_MAN} ${WRKSRC}/dbclean.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ ${INSTALL_MAN} ${WRKSRC}/dblist.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ ${INSTALL_MAN} ${WRKSRC}/dcc.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ ${INSTALL_MAN} ${WRKSRC}/dccd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ ${INSTALL_MAN} ${WRKSRC}/dccifd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ ${INSTALL_MAN} ${WRKSRC}/dccm.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ ${INSTALL_MAN} ${WRKSRC}/dccproc.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ ${INSTALL_MAN} ${WRKSRC}/dccsight.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/ ${INSTALL_DATA} ${WRKSRC}/cgi-bin/README ${DESTDIR}${DCC_EGDIR}/cgi-bin/ ${INSTALL_DATA} ${WRKSRC}/cgi-bin/footer ${DESTDIR}${DCC_EGDIR}/cgi-bin/ ${INSTALL_DATA} ${WRKSRC}/cgi-bin/header ${DESTDIR}${DCC_EGDIR}/cgi-bin/ ${INSTALL_DATA} ${WRKSRC}/homedir/dcc_conf ${DESTDIR}${DCC_EGDIR}/ ${INSTALL_DATA} ${WRKSRC}/homedir/flod ${DESTDIR}${DCC_EGDIR}/ ${INSTALL_DATA} ${WRKSRC}/homedir/grey_flod ${DESTDIR}${DCC_EGDIR}/ ${INSTALL_DATA} ${WRKSRC}/homedir/grey_whitelist ${DESTDIR}${DCC_EGDIR}/ ${INSTALL_DATA} ${WRKSRC}/homedir/ids ${DESTDIR}${DCC_EGDIR}/ ${INSTALL_DATA} ${WRKSRC}/homedir/map.txt ${DESTDIR}${DCC_EGDIR}/ ${INSTALL_DATA} ${WRKSRC}/homedir/whiteclnt ${DESTDIR}${DCC_EGDIR}/ ${INSTALL_DATA} ${WRKSRC}/homedir/whitecommon ${DESTDIR}${DCC_EGDIR}/ ${INSTALL_DATA} ${WRKSRC}/homedir/whitelist ${DESTDIR}${DCC_EGDIR}/ ${INSTALL_DATA} ${WRKDIR}/dcc-spamassassin.pre ${DESTDIR}${DCC_EGDIR}/ @ 1.5 log @Update to 1.3.147. Changes: - Support DNS whitelists. - Improve physical page locality of the DCC server's use of the database hash table and so improve server performance. - Reduce dccifd thread stack size to 512 KBytes for busy 32-bit systems - Dccproc, dccm, and dccifd decode HTML &#xxx character references in URLs. - Dccproc, dccm, and dccifd convert UTF-8 domain names to Punycode before checking DNS blacklists. - Fix reporting of rogue server-IDs. - Fix dccproc, dccifd, and dccm crash in parsing Received: fields with IPv6 addresses. - Fix DNSBL bugs in parsing http://example.com?parameter and http://example.com:80 - Deal with trailing '.' and other punctuation URLs in dccm, dccifd, and dccproc. This changes the FUZ1 and FUZ2 checksums in some cases. - Fix a rare crash of dccd, the server daemon. @ text @d11 2 a12 1 DISTNAME= dcc-1.3.147 @ 1.4 log @Bump PKGREVISION of all packages which create users, to pick up change of sysutils/user_* packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2013/04/06 21:07:33 rodent Exp $ d11 1 a11 2 DISTNAME= dcc-1.3.123 PKGREVISION= 1 @ 1.3 log @"Each sed command should appear in an assignment of its own." @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2012/10/08 12:19:07 asau Exp $ d12 1 @ 1.2 log @Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2010/10/27 12:26:37 gdt Exp $ d40 3 a42 3 SUBST_SED.dae= -e 's/^\(DCCD_ENABLE=\)off$$/\1on/' \ -e 's/^\(DCCM_ENABLE=\)off$$/\1on/' \ -e 's/^\(DCCIFD_ENABLE=\)off$$/\1on/' @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ a20 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.1.1.1 log @Import dcc-1.3.123 as mail/dcc from wip/dcc. The Distributed Checksum Clearinghouses or DCC is an anti-spam content filter that runs on a variety of operating systems. As of the middle of 2007, it involves millions of users, more than six hundred thousand client computer systems, and more than 250 servers collecting and counting checksums related to more than 300 million mail messages on week days. The counts can be used by SMTP servers and mail user agents to detect and reject or filter spam or unsolicited bulk mail. DCC servers exchange or "flood" common checksums. The checksums include values that are constant across common variations in bulk messages, including "personalizations". @ text @@