[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/files/, mail-filter/dcc/
commit: 2674b83c7df9e125e8327ad42107eeb1d2114541 Author: Craig Andrews gentoo org> AuthorDate: Mon Nov 28 17:59:45 2022 + Commit: Craig Andrews gentoo org> CommitDate: Mon Nov 28 18:37:22 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2674b83c mail-filter/dcc: add 2.3.168 Add myself as a maintainer EAPI=8 Add systemd service for dccifd Use /var/dcc to /var/lib/dcc Closes: https://bugs.gentoo.org/show_bug.cgi?id=688500 Signed-off-by: Craig Andrews gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/28464 Signed-off-by: Craig Andrews gentoo.org> mail-filter/dcc/Manifest | 1 + mail-filter/dcc/dcc-2.3.168.ebuild | 141 +++ mail-filter/dcc/files/dccifd.service | 34 + mail-filter/dcc/metadata.xml | 4 + 4 files changed, 180 insertions(+) diff --git a/mail-filter/dcc/Manifest b/mail-filter/dcc/Manifest index 7eb162306044..d4661daeb0b1 100644 --- a/mail-filter/dcc/Manifest +++ b/mail-filter/dcc/Manifest @@ -1 +1,2 @@ DIST dcc-1.3.158.tar.Z 1714175 BLAKE2B 19e11e9e78268e76bf97f16ad6f03f0bb114ec9fbc9b1f8bb6ca7ce72fa419b1e50a6d35ee32ed5352b13da96002d313c00a07395317d33082eb69c9ae60008e SHA512 24fba5ea713e8df1468644508c323d64b3868685716b7cc02263933476940a807cfc4593432a9195371308c83d4ea93653e89634681d95dcb32f5d65c7274599 +DIST dcc-2.3.168.tar.Z 1608203 BLAKE2B d0dac4ee233fede16b4904524126cff4f127e59177d11624acf850861b9f267718efab974edafbd4521bcf78a2c3d626876c23c0af3cc108cd131c197dbc9945 SHA512 52a9671ba355a2d3e82246c3b5cf3875148d48bd314371d9e608643a59922becdf024b880e4bd37f6e36aa50830110600960ffa7a3ddd69ed7239bfc0578f141 diff --git a/mail-filter/dcc/dcc-2.3.168.ebuild b/mail-filter/dcc/dcc-2.3.168.ebuild new file mode 100644 index ..0ac9be7299a7 --- /dev/null +++ b/mail-filter/dcc/dcc-2.3.168.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd toolchain-funcs + +DESCRIPTION="Distributed Checksum Clearinghouse" +HOMEPAGE="https://www.rhyolite.com/dcc/; +SRC_URI="https://www.rhyolite.com/dcc/source/old/${P}.tar.Z; + +LICENSE="DCC GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="cgi ipv6 rrdtool milter" + +RDEPEND=" + dev-lang/perl + || ( + net-ftp/ftp + net-misc/curl + net-misc/wget + www-client/fetch + ) + milter? ( mail-filter/libmilter:= ) + rrdtool? ( net-analyzer/rrdtool )" +DEPEND="${RDEPEND}" + +dcc_cgibin=var/www/localhost/cgi-bin/dcc +dcc_homedir=var/lib/dcc +dcc_libexec=usr/sbin +dcc_man=usr/share/man +dcc_rundir=var/run/dcc + +PATCHES=( + "${FILESDIR}"/${PN}-1.3.158-clang16.patch + "${FILESDIR}"/${PN}-1.3.158-c2x.patch +) + +src_configure() { + tc-export CC AR RANLIB + local myconf=( + --bindir="${EPREFIX}"/usr/bin + --homedir="${EPREFIX}"/${dcc_homedir} + --libexecdir="${EPREFIX}"/${dcc_libexec} + --mandir="${EPREFIX}"/usr/share/man + --enable-dccifd + --enable-server + --with-DDC-MD5 + --with-installroot="${D}" + --with-rundir="${EPREFIX}"/${dcc_rundir} + --with-uid=root + --with-updatedcc_pfile="${EPREFIX}"/${dcc_homedir}/updatecc.pfile + --with-db-memory=64 + --with-max-db-mem=128 + --with-max-log-size=0 + --with-make-cmd=${MAKE:-make} + $(use_enable ipv6 IPv6) + $(use_enable milter dccm) + $(use_with cgi cgibin ${dcc_cgibin}) + $(use_with milter sendmail) + ) + + einfo "Using config: ${myconf[@]}" + + # This is NOT a normal configure script. + ./configure "${myconf[@]}" || die "configure failed!" +} + +moveconf() { + local i + for i in $@; do + mv "${ED}/${dcc_homedir}/${i}" "${ED}"/etc/dcc || die + dosym ../../../etc/dcc/"${i}" "${dcc_homedir}/${i}" + done +} + +src_install() { + # stolen from the RPM .spec and modified for gentoo + export MANOWN=root + export MANGRP=$(id -g -n root) + export BINOWN="${MANOWN}" + export BINGRP="${MANGRP}" + export DCC_PROTO_HOMEDIR="${ED}/${dcc_homedir}" + export DCC_CGIBINDIR="${ED}/${dcc_cgibin}" + export DCC_SUID="${BINOWN}" + export DCC_OWN="${BINOWN}" + export DCC_GRP="${BINGRP}" + + dodir /etc/cron.daily "${dcc_homedir}" /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc + if use cgi ; then + dodir "${dcc_cgibin}" + fi + keepdir /var/log/dcc + + emake install + + # branding and setting reasonable defaults + sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \ + -e "s/GREY_ENABLE=\$/GREY_ENABLE=off/;"
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/files/, mail-filter/dcc/
commit: 9e5a888796306a04ee632220be918026b1a51e1c Author: Ionen Wolkens gentoo org> AuthorDate: Tue Oct 11 08:22:48 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Tue Oct 11 08:56:00 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e5a8887 mail-filter/dcc: fix for -std=c2x early Only two functions were using K style and no other issues, so patching rather than pass -std=gnu89 (since not going to use it, also drop unused flag-o-matic while here). (not actively hunting for these, merely revisiting packages previously looked at for clang16 even if not an issue "yet"). Signed-off-by: Ionen Wolkens gentoo.org> mail-filter/dcc/dcc-1.3.158-r2.ebuild | 3 ++- mail-filter/dcc/files/dcc-1.3.158-c2x.patch | 21 + 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/mail-filter/dcc/dcc-1.3.158-r2.ebuild b/mail-filter/dcc/dcc-1.3.158-r2.ebuild index 7aac567ecd12..6c09223f5624 100644 --- a/mail-filter/dcc/dcc-1.3.158-r2.ebuild +++ b/mail-filter/dcc/dcc-1.3.158-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit flag-o-matic toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Distributed Checksum Clearinghouse" HOMEPAGE="https://www.rhyolite.com/dcc/; @@ -36,6 +36,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.3.140-freebsd.patch "${FILESDIR}"/${P}-fno-common.patch "${FILESDIR}"/${P}-clang16.patch + "${FILESDIR}"/${P}-c2x.patch ) src_configure() { diff --git a/mail-filter/dcc/files/dcc-1.3.158-c2x.patch b/mail-filter/dcc/files/dcc-1.3.158-c2x.patch new file mode 100644 index ..79b70f300f8f --- /dev/null +++ b/mail-filter/dcc/files/dcc-1.3.158-c2x.patch @@ -0,0 +1,21 @@ +This is the only K functions in the source, incompatible with C2x. +--- a/dcclib/inet_ntop.c b/dcclib/inet_ntop.c +@@ -88,7 +88,3 @@ + */ +-static const char * +-inet_ntop4(src, dst, size) +- const u_char *src; +- char *dst; +- size_t size; ++static const char *inet_ntop4(const u_char *src, char *dst, size_t size) + { +@@ -115,7 +111,3 @@ + */ +-static const char * +-inet_ntop6(src, dst, size) +- const u_char *src; +- char *dst; +- size_t size; ++static const char *inet_ntop6(const u_char *src, char *dst, size_t size) + {
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/, mail-filter/dcc/files/
commit: 7f0de70518fc3643b7d2f8309b216d2ef5227bde Author: Ionen Wolkens gentoo org> AuthorDate: Thu Sep 29 02:10:01 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Thu Sep 29 04:17:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f0de705 mail-filter/dcc: fix configure with clang16 Doesn't look like will get to use eautoreconf here. Closes: https://bugs.gentoo.org/870646 Signed-off-by: Ionen Wolkens gentoo.org> mail-filter/dcc/dcc-1.3.158-r2.ebuild | 1 + mail-filter/dcc/files/dcc-1.3.158-clang16.patch | 30 + 2 files changed, 31 insertions(+) diff --git a/mail-filter/dcc/dcc-1.3.158-r2.ebuild b/mail-filter/dcc/dcc-1.3.158-r2.ebuild index 7a01e900a63e..7aac567ecd12 100644 --- a/mail-filter/dcc/dcc-1.3.158-r2.ebuild +++ b/mail-filter/dcc/dcc-1.3.158-r2.ebuild @@ -35,6 +35,7 @@ dcc_rundir=var/run/dcc PATCHES=( "${FILESDIR}"/${PN}-1.3.140-freebsd.patch "${FILESDIR}"/${P}-fno-common.patch + "${FILESDIR}"/${P}-clang16.patch ) src_configure() { diff --git a/mail-filter/dcc/files/dcc-1.3.158-clang16.patch b/mail-filter/dcc/files/dcc-1.3.158-clang16.patch new file mode 100644 index ..adf518944408 --- /dev/null +++ b/mail-filter/dcc/files/dcc-1.3.158-clang16.patch @@ -0,0 +1,30 @@ +configure.ac is missing, so need to edit this manually + +https://bugs.gentoo.org/870646 +--- a/configure b/configure +@@ -796,3 +796,3 @@ + +-main(){return(0);} ++int main(void){return(0);} + EOF +@@ -1100,3 +1100,3 @@ + #include "confdefs.h" +-main() ++int main(void) + {exit(sizeof(void*)==8 ? 0 : sizeof(void*));} +@@ -1463,3 +1463,3 @@ + #include +-main() ++int main(void) + { +@@ -3330,3 +3330,3 @@ + #define min(a,b) ((a) < (b) ? (a) : (b)) +-main() ++int main(void) + { +@@ -3596,3 +3596,3 @@ + #include "include/dcc_paths.h" +-main() ++int main(void) + {
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: 76bc88470120dd04f6a0f45d5e19c9ef8ec5de82 Author: Sam James gentoo org> AuthorDate: Thu Aug 4 01:01:50 2022 + Commit: Sam James gentoo org> CommitDate: Thu Aug 4 01:05:12 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76bc8847 mail-filter/dcc: depend on libmilter libmilter and sendmail no longer block each other, and we also need a := dep on libmilter. (Straight-to-stable is intentional as long been in stable anyway, but not dropping old w/ git mv or similar yet in case folks want to downgrade to older sendmail for now.) Signed-off-by: Sam James gentoo.org> mail-filter/dcc/dcc-1.3.158-r2.ebuild | 139 ++ 1 file changed, 139 insertions(+) diff --git a/mail-filter/dcc/dcc-1.3.158-r2.ebuild b/mail-filter/dcc/dcc-1.3.158-r2.ebuild new file mode 100644 index ..7a01e900a63e --- /dev/null +++ b/mail-filter/dcc/dcc-1.3.158-r2.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Distributed Checksum Clearinghouse" +HOMEPAGE="https://www.rhyolite.com/dcc/; +SRC_URI="https://www.rhyolite.com/dcc/source/old/${P}.tar.Z; + +LICENSE="DCC GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86" +IUSE="cgi ipv6 rrdtool milter" + +RDEPEND=" + dev-lang/perl + || ( + net-ftp/ftp + net-misc/curl + net-misc/wget + www-client/fetch + ) + milter? ( mail-filter/libmilter:= ) + rrdtool? ( net-analyzer/rrdtool )" +DEPEND="${RDEPEND}" + +dcc_cgibin=var/www/localhost/cgi-bin/dcc +dcc_homedir=var/dcc +dcc_libexec=usr/sbin +dcc_man=usr/share/man +dcc_rundir=var/run/dcc + +PATCHES=( + "${FILESDIR}"/${PN}-1.3.140-freebsd.patch + "${FILESDIR}"/${P}-fno-common.patch +) + +src_configure() { + tc-export CC AR RANLIB + local myconf=( + --bindir="${EPREFIX}"/usr/bin + --homedir="${EPREFIX}"/${dcc_homedir} + --libexecdir="${EPREFIX}"/${dcc_libexec} + --mandir="${EPREFIX}"/usr/share/man + --enable-dccifd + --enable-server + --with-DDC-MD5 + --with-installroot="${D}" + --with-rundir="${EPREFIX}"/${dcc_rundir} + --with-uid=root + --with-updatedcc_pfile="${EPREFIX}"/${dcc_homedir}/updatecc.pfile + --with-db-memory=64 + --with-max-db-mem=128 + --with-max-log-size=0 + --with-make-cmd=${MAKE:-make} + $(use_enable ipv6 IPv6) + $(use_enable milter dccm) + $(use_with cgi cgibin ${dcc_cgibin}) + $(use_with milter sendmail) + ) + + einfo "Using config: ${myconf[@]}" + + # This is NOT a normal configure script. + ./configure "${myconf[@]}" || die "configure failed!" +} + +moveconf() { + local i + for i in $@; do + mv "${ED}/${dcc_homedir}/${i}" "${ED}"/etc/dcc || die + dosym ../../etc/dcc/"${i}" "${dcc_homedir}/${i}" + done +} + +src_install() { + # stolen from the RPM .spec and modified for gentoo + export MANOWN=root + export MANGRP=$(id -g -n root) + export BINOWN="${MANOWN}" + export BINGRP="${MANGRP}" + export DCC_PROTO_HOMEDIR="${ED}/${dcc_homedir}" + export DCC_CGIBINDIR="${ED}/${dcc_cgibin}" + export DCC_SUID="${BINOWN}" + export DCC_OWN="${BINOWN}" + export DCC_GRP="${BINGRP}" + + dodir /etc/cron.daily "${dcc_homedir}" /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc + if use cgi ; then + dodir "${dcc_cgibin}" + fi + keepdir /var/log/dcc + + emake install + + # branding and setting reasonable defaults + sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \ + -e "s/GREY_ENABLE=\$/GREY_ENABLE=off/;" \ + -e "s/DCCM_LOG_AT=5\$/DCCM_LOG_AT=50/;" \ + -e "s,DCCM_LOGDIR=\"log\"\$,DCCM_LOGDIR=\"/var/log/dcc\",;" \ + -e "s/DCCM_ARGS=\$/DCCM_ARGS='-SHELO -Smail_host -SSender -SList-ID'/;" \ + -e "s/DCCIFD_ARGS=\$/DCCIFD_ARGS=\"\$DCCM_ARGS\"/;" \ + -e 's/DCCIFD_ENABLE=off/DCCIFD_ENABLE=on/' \ + -e 's/DBCLEAN_LOGDAYS=14/DBCLEAN_LOGDAYS=1/' \ + -i "${ED}/${dcc_homedir}/dcc_conf" || die + + if use milter ; then + # enable milter + sed -i -e "s:^[\t #]*\(DCCM_ENABLE[\t ]*=[\t ]*\).*:\1on:g" \ + "${ED}/${dcc_homedir}"/dcc_conf || die + fi + + # provide cronjob + mv "${ED}"/usr/sbin/cron-dccd "${ED}"/etc/cron.daily/dccd || die "mv failed" + + # clean up + mv "${ED}"/usr/sbin/logger "${ED}"/usr/sbin/logger-dcc || die "mv failed" + + if !
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: 1a0cfe0c0454c677689fa020aa5ede83e3fb488a Author: Jakov Smolic sartura hr> AuthorDate: Wed Jan 20 10:12:53 2021 + Commit: David Seifert gentoo org> CommitDate: Wed Jan 20 10:12:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a0cfe0c mail-filter/dcc: Remove old Closes: https://github.com/gentoo/gentoo/pull/19129 Bug: https://bugs.gentoo.org/765079 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> mail-filter/dcc/dcc-1.3.158.ebuild | 132 - 1 file changed, 132 deletions(-) diff --git a/mail-filter/dcc/dcc-1.3.158.ebuild b/mail-filter/dcc/dcc-1.3.158.ebuild deleted file mode 100644 index 268c345cb33..000 --- a/mail-filter/dcc/dcc-1.3.158.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit base eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Distributed Checksum Clearinghouse" -HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/; -SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${P}.tar.Z; - -LICENSE="DCC GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86" # -IUSE="cgi ipv6 rrdtool milter" - -RDEPEND="dev-lang/perl - rrdtool? ( net-analyzer/rrdtool ) - || ( net-misc/wget www-client/fetch net-misc/curl net-ftp/ftp ) - milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )" -DEPEND="sys-apps/sed - sys-devel/gcc - ${RDEPEND}" - -dcc_cgibin=/var/www/localhost/cgi-bin/dcc -dcc_homedir=/var/dcc -dcc_libexec=/usr/sbin -dcc_man=/usr/share/man -dcc_rundir=/var/run/dcc - -PATCHES=( "${FILESDIR}"/dcc-1.3.140-freebsd.patch ) - -src_configure() { - tc-export CC AR RANLIB - local myconf - myconf="${myconf} --homedir=${dcc_homedir}" - myconf="${myconf} --bindir=/usr/bin" - myconf="${myconf} --libexecdir=${dcc_libexec}" - myconf="${myconf} --mandir=/usr/share/man" - myconf="${myconf} --with-updatedcc_pfile=${dcc_homedir}/updatecc.pfile" - myconf="${myconf} --with-installroot=${D}" - # sigh. should be DCC-MD5 but see line 486 in the shipped configure script - myconf="${myconf} --with-DDC-MD5" - myconf="${myconf} --with-uid=root" - myconf="${myconf} --enable-server" - myconf="${myconf} --enable-dccifd" - myconf="${myconf} --with-rundir=${dcc_rundir}" - myconf="${myconf} --with-db-memory=64" - myconf="${myconf} --with-max-db-mem=128" - myconf="${myconf} --with-max-log-size=0" - myconf="${myconf} --with-make-cmd=${MAKE:-make}" - myconf="${myconf} $(use_enable ipv6 IPv6)" - myconf="${myconf} $(use_with cgi cgibin ${dcc_cgibin})" - myconf="${myconf} $(use_enable milter dccm)" - use milter && myconf="${myconf} --with-sendmail=" - - einfo "Using config: ${myconf}" - - # This is NOT a normal configure script. - ./configure ${myconf} || die "configure failed!" -} - -moveconf() { - local into=/etc/dcc/ - for i in $@; do - mv "${D}${dcc_homedir}/${i}" "${D}${into}" - dosym "${into}${i}" "${dcc_homedir}/${i}" - done -} - -src_install() { - # stolen from the RPM .spec and modified for gentoo - MANOWN=root MANGRP=$(id -g -n root) export MANOWN MANGRP - BINOWN="${MANOWN}" BINGRP="${MANGRP}" export BINOWN BINGRP - DCC_PROTO_HOMEDIR="${D}${dcc_homedir}" export DCC_PROTO_HOMEDIR - DCC_CGIBINDIR="${D}${dcc_cgibin}" export DCC_CGIBINDIR - DCC_SUID="${BINOWN}" DCC_OWN="${BINOWN}" DCC_GRP="${BINGRP}" export DCC_SUID DCC_OWN DCC_GRP - - dodir /etc/cron.daily "${dcc_homedir}" /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc - if use cgi ; then - dodir "${dcc_cgibin}" - fi - keepdir /var/log/dcc - - # This package now takes "${D}" at compile-time! - # make DESTDIR="${D}" DCC_BINDIR="${D}"/usr/bin MANDIR="${D}"/usr/share/man/man DCC_HOMEDIR="${D}"${dcc_homedir} install || die - emake install - - # branding and setting reasonable defaults - sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \ - -e "s/GREY_ENABLE=\$/GREY_ENABLE=off/;" \ - -e "s/DCCM_LOG_AT=5\$/DCCM_LOG_AT=50/;" \ - -e "s,DCCM_LOGDIR=\"log\"\$,DCCM_LOGDIR=\"/var/log/dcc\",;" \ - -e "s/DCCM_ARGS=\$/DCCM_ARGS='-SHELO -Smail_host -SSender -SList-ID'/;" \ - -e "s/DCCIFD_ARGS=\$/DCCIFD_ARGS=\"\$DCCM_ARGS\"/;" \ - -e 's/DCCIFD_ENABLE=off/DCCIFD_ENABLE=on/' \ - -e 's/DBCLEAN_LOGDAYS=14/DBCLEAN_LOGDAYS=1/' \ - -i "${D}${dcc_homedir}/dcc_conf" - - if use milter ; then - # enable milter - sed -i -e "s:^[\t #]*\(DCCM_ENABLE[\t ]*=[\t ]*\).*:\1on:g" \ - "${D}${dcc_homedir}"/dcc_conf - fi - - #
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: 1ff70ce19e2cc844cb3312e58c6107ea52fa8cd2 Author: Sam James gentoo org> AuthorDate: Wed Jan 20 09:31:36 2021 + Commit: Sam James gentoo org> CommitDate: Wed Jan 20 09:31:36 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ff70ce1 mail-filter/dcc: Stabilize 1.3.158-r1 ppc64, #765079 Signed-off-by: Sam James gentoo.org> mail-filter/dcc/dcc-1.3.158-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-filter/dcc/dcc-1.3.158-r1.ebuild b/mail-filter/dcc/dcc-1.3.158-r1.ebuild index e2f74535feb..db4459137a8 100644 --- a/mail-filter/dcc/dcc-1.3.158-r1.ebuild +++ b/mail-filter/dcc/dcc-1.3.158-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.rhyolite.com/dcc/source/old/${P}.tar.Z; LICENSE="DCC GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86" IUSE="cgi ipv6 rrdtool milter" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: 0e9422d80e149badb0046d20555b9964db98 Author: Sam James gentoo org> AuthorDate: Wed Jan 20 09:29:28 2021 + Commit: Sam James gentoo org> CommitDate: Wed Jan 20 09:29:28 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e9422d8 mail-filter/dcc: Stabilize 1.3.158-r1 x86, #765079 Signed-off-by: Sam James gentoo.org> mail-filter/dcc/dcc-1.3.158-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-filter/dcc/dcc-1.3.158-r1.ebuild b/mail-filter/dcc/dcc-1.3.158-r1.ebuild index 909cdbd79e3..e2f74535feb 100644 --- a/mail-filter/dcc/dcc-1.3.158-r1.ebuild +++ b/mail-filter/dcc/dcc-1.3.158-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.rhyolite.com/dcc/source/old/${P}.tar.Z; LICENSE="DCC GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 sparc x86" IUSE="cgi ipv6 rrdtool milter" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: fe830e961033e94209275e4d40bef50838e0324b Author: Sam James gentoo org> AuthorDate: Wed Jan 20 00:34:21 2021 + Commit: Sam James gentoo org> CommitDate: Wed Jan 20 00:34:21 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe830e96 mail-filter/dcc: Stabilize 1.3.158-r1 ppc, #765079 Signed-off-by: Sam James gentoo.org> mail-filter/dcc/dcc-1.3.158-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-filter/dcc/dcc-1.3.158-r1.ebuild b/mail-filter/dcc/dcc-1.3.158-r1.ebuild index 36206cce7d5..909cdbd79e3 100644 --- a/mail-filter/dcc/dcc-1.3.158-r1.ebuild +++ b/mail-filter/dcc/dcc-1.3.158-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.rhyolite.com/dcc/source/old/${P}.tar.Z; LICENSE="DCC GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 sparc ~x86" IUSE="cgi ipv6 rrdtool milter" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: 8ac882aa3ecd42a6155b45042f2329aabf8d4e33 Author: Sam James gentoo org> AuthorDate: Wed Jan 20 00:06:19 2021 + Commit: Sam James gentoo org> CommitDate: Wed Jan 20 00:06:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ac882aa mail-filter/dcc: Stabilize 1.3.158-r1 sparc, #765079 Signed-off-by: Sam James gentoo.org> mail-filter/dcc/dcc-1.3.158-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-filter/dcc/dcc-1.3.158-r1.ebuild b/mail-filter/dcc/dcc-1.3.158-r1.ebuild index 41858fed80f..36206cce7d5 100644 --- a/mail-filter/dcc/dcc-1.3.158-r1.ebuild +++ b/mail-filter/dcc/dcc-1.3.158-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.rhyolite.com/dcc/source/old/${P}.tar.Z; LICENSE="DCC GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86" IUSE="cgi ipv6 rrdtool milter" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: 01a250913a10d19156862313c03e4207ca917016 Author: Sam James gentoo org> AuthorDate: Tue Jan 19 14:26:25 2021 + Commit: Sam James gentoo org> CommitDate: Tue Jan 19 14:26:25 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01a25091 mail-filter/dcc: Stabilize 1.3.158-r1 arm, #765079 Signed-off-by: Sam James gentoo.org> mail-filter/dcc/dcc-1.3.158-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-filter/dcc/dcc-1.3.158-r1.ebuild b/mail-filter/dcc/dcc-1.3.158-r1.ebuild index f5b65474385..41858fed80f 100644 --- a/mail-filter/dcc/dcc-1.3.158-r1.ebuild +++ b/mail-filter/dcc/dcc-1.3.158-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.rhyolite.com/dcc/source/old/${P}.tar.Z; LICENSE="DCC GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="cgi ipv6 rrdtool milter" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: 00fbde23b07fe6f45d1732300b2e876ea39340c7 Author: Sam James gentoo org> AuthorDate: Tue Jan 19 14:24:48 2021 + Commit: Sam James gentoo org> CommitDate: Tue Jan 19 14:24:48 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00fbde23 mail-filter/dcc: Stabilize 1.3.158-r1 amd64, #765079 Signed-off-by: Sam James gentoo.org> mail-filter/dcc/dcc-1.3.158-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-filter/dcc/dcc-1.3.158-r1.ebuild b/mail-filter/dcc/dcc-1.3.158-r1.ebuild index 4f94c517ed2..f5b65474385 100644 --- a/mail-filter/dcc/dcc-1.3.158-r1.ebuild +++ b/mail-filter/dcc/dcc-1.3.158-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.rhyolite.com/dcc/source/old/${P}.tar.Z; LICENSE="DCC GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="cgi ipv6 rrdtool milter" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: d728a1ab21ddd83087e7c4327ceafa5378ff6846 Author: Jakov Smolic sartura hr> AuthorDate: Tue Jan 12 12:04:00 2021 + Commit: David Seifert gentoo org> CommitDate: Tue Jan 12 12:04:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d728a1ab mail-filter/dcc: Remove old Closes: https://github.com/gentoo/gentoo/pull/18945 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> mail-filter/dcc/Manifest | 1 - mail-filter/dcc/dcc-1.3.154.ebuild| 132 -- mail-filter/dcc/dcc-1.3.158-r1.ebuild | 2 +- 3 files changed, 1 insertion(+), 134 deletions(-) diff --git a/mail-filter/dcc/Manifest b/mail-filter/dcc/Manifest index 6560842e319..7eb16230604 100644 --- a/mail-filter/dcc/Manifest +++ b/mail-filter/dcc/Manifest @@ -1,2 +1 @@ -DIST dcc-1.3.154.tar.Z 1711292 BLAKE2B 3e53488e718b13a1c36c1531f552ee811f42b274f4c24f26b484bd2b184fa3c34e0241be82aad1f6fa1a7a485fc172efdfea1dd7938fe190d9bbffa711f20abf SHA512 703bd3de44ccff3f318239dc2ca26a285f83ae0340a91391bcc5b719c298e77c8122d1502665350ddfc9fb14f12d9b6a56cba422ff8985db9cee6c91091fb987 DIST dcc-1.3.158.tar.Z 1714175 BLAKE2B 19e11e9e78268e76bf97f16ad6f03f0bb114ec9fbc9b1f8bb6ca7ce72fa419b1e50a6d35ee32ed5352b13da96002d313c00a07395317d33082eb69c9ae60008e SHA512 24fba5ea713e8df1468644508c323d64b3868685716b7cc02263933476940a807cfc4593432a9195371308c83d4ea93653e89634681d95dcb32f5d65c7274599 diff --git a/mail-filter/dcc/dcc-1.3.154.ebuild b/mail-filter/dcc/dcc-1.3.154.ebuild deleted file mode 100644 index b4bdaf7abd1..000 --- a/mail-filter/dcc/dcc-1.3.154.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit base eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Distributed Checksum Clearinghouse" -HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/; -SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${P}.tar.Z; - -LICENSE="DCC GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" # -IUSE="cgi ipv6 rrdtool milter" - -RDEPEND="dev-lang/perl - rrdtool? ( net-analyzer/rrdtool ) - || ( net-misc/wget www-client/fetch net-misc/curl net-ftp/ftp ) - milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )" -DEPEND="sys-apps/sed - sys-devel/gcc - ${RDEPEND}" - -dcc_cgibin=/var/www/localhost/cgi-bin/dcc -dcc_homedir=/var/dcc -dcc_libexec=/usr/sbin -dcc_man=/usr/share/man -dcc_rundir=/var/run/dcc - -PATCHES=( "${FILESDIR}"/dcc-1.3.140-freebsd.patch ) - -src_configure() { - tc-export CC AR RANLIB - local myconf - myconf="${myconf} --homedir=${dcc_homedir}" - myconf="${myconf} --bindir=/usr/bin" - myconf="${myconf} --libexecdir=${dcc_libexec}" - myconf="${myconf} --mandir=/usr/share/man" - myconf="${myconf} --with-updatedcc_pfile=${dcc_homedir}/updatecc.pfile" - myconf="${myconf} --with-installroot=${D}" - # sigh. should be DCC-MD5 but see line 486 in the shipped configure script - myconf="${myconf} --with-DDC-MD5" - myconf="${myconf} --with-uid=root" - myconf="${myconf} --enable-server" - myconf="${myconf} --enable-dccifd" - myconf="${myconf} --with-rundir=${dcc_rundir}" - myconf="${myconf} --with-db-memory=64" - myconf="${myconf} --with-max-db-mem=128" - myconf="${myconf} --with-max-log-size=0" - myconf="${myconf} --with-make-cmd=${MAKE:-make}" - myconf="${myconf} $(use_enable ipv6 IPv6)" - myconf="${myconf} $(use_with cgi cgibin ${dcc_cgibin})" - myconf="${myconf} $(use_enable milter dccm)" - use milter && myconf="${myconf} --with-sendmail=" - - einfo "Using config: ${myconf}" - - # This is NOT a normal configure script. - ./configure ${myconf} || die "configure failed!" -} - -moveconf() { - local into=/etc/dcc/ - for i in $@; do - mv "${D}${dcc_homedir}/${i}" "${D}${into}" - dosym "${into}${i}" "${dcc_homedir}/${i}" - done -} - -src_install() { - # stolen from the RPM .spec and modified for gentoo - MANOWN=root MANGRP=$(id -g -n root) export MANOWN MANGRP - BINOWN="${MANOWN}" BINGRP="${MANGRP}" export BINOWN BINGRP - DCC_PROTO_HOMEDIR="${D}${dcc_homedir}" export DCC_PROTO_HOMEDIR - DCC_CGIBINDIR="${D}${dcc_cgibin}" export DCC_CGIBINDIR - DCC_SUID="${BINOWN}" DCC_OWN="${BINOWN}" DCC_GRP="${BINGRP}" export DCC_SUID DCC_OWN DCC_GRP - - dodir /etc/cron.daily "${dcc_homedir}" /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc - if use cgi ; then - dodir "${dcc_cgibin}" - fi - keepdir /var/log/dcc - - # This package now takes "${D}" at compile-time! - # make DESTDIR="${D}" DCC_BINDIR="${D}"/usr/bin MANDIR="${D}"/usr/share/man/man DCC_HOMEDIR="${D}"${dcc_homedir} install || die -
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/, mail-filter/dcc/files/
commit: 49241f1373444258fd5ad16b4f00c5b1510c19ac Author: Jakov Smolic sartura hr> AuthorDate: Tue Jan 12 12:03:59 2021 + Commit: David Seifert gentoo org> CommitDate: Tue Jan 12 12:03:59 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49241f13 mail-filter/dcc: Port to EAPI 7 Closes: https://bugs.gentoo.org/706988 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> mail-filter/dcc/dcc-1.3.158-r1.ebuild | 144 + mail-filter/dcc/files/dcc-1.3.140-freebsd.patch| 2 - mail-filter/dcc/files/dcc-1.3.158-fno-common.patch | 23 3 files changed, 167 insertions(+), 2 deletions(-) diff --git a/mail-filter/dcc/dcc-1.3.158-r1.ebuild b/mail-filter/dcc/dcc-1.3.158-r1.ebuild new file mode 100644 index 000..be9cf2452f6 --- /dev/null +++ b/mail-filter/dcc/dcc-1.3.158-r1.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Distributed Checksum Clearinghouse" +HOMEPAGE="https://www.rhyolite.com/dcc/; +SRC_URI="https://www.rhyolite.com/dcc/source/old/${P}.tar.Z; + +LICENSE="DCC GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" # +IUSE="cgi ipv6 rrdtool milter" + +RDEPEND=" + dev-lang/perl + || ( + net-ftp/ftp + net-misc/curl + net-misc/wget + www-client/fetch + ) + milter? ( + || ( + mail-filter/libmilter + mail-mta/sendmail + ) + ) + rrdtool? ( net-analyzer/rrdtool )" +DEPEND="${RDEPEND}" + +dcc_cgibin=var/www/localhost/cgi-bin/dcc +dcc_homedir=var/dcc +dcc_libexec=usr/sbin +dcc_man=usr/share/man +dcc_rundir=var/run/dcc + +PATCHES=( + "${FILESDIR}"/${PN}-1.3.140-freebsd.patch + "${FILESDIR}"/${P}-fno-common.patch +) + +src_configure() { + tc-export CC AR RANLIB + local myconf=( + --bindir="${EPREFIX}"/usr/bin + --homedir="${EPREFIX}"/${dcc_homedir} + --libexecdir="${EPREFIX}"/${dcc_libexec} + --mandir="${EPREFIX}"/usr/share/man + --enable-dccifd + --enable-server + --with-DDC-MD5 + --with-installroot="${D}" + --with-rundir="${EPREFIX}"/${dcc_rundir} + --with-uid=root + --with-updatedcc_pfile="${EPREFIX}"/${dcc_homedir}/updatecc.pfile + --with-db-memory=64 + --with-max-db-mem=128 + --with-max-log-size=0 + --with-make-cmd=${MAKE:-make} + $(use_enable ipv6 IPv6) + $(use_enable milter dccm) + $(use_with cgi cgibin ${dcc_cgibin}) + $(use_with milter sendmail) + ) + + einfo "Using config: ${myconf[@]}" + + # This is NOT a normal configure script. + ./configure "${myconf[@]}" || die "configure failed!" +} + +moveconf() { + local i + for i in $@; do + mv "${ED}/${dcc_homedir}/${i}" "${ED}"/etc/dcc || die + dosym ../../etc/dcc/"${i}" "${dcc_homedir}/${i}" + done +} + +src_install() { + # stolen from the RPM .spec and modified for gentoo + export MANOWN=root + export MANGRP=$(id -g -n root) + export BINOWN="${MANOWN}" + export BINGRP="${MANGRP}" + export DCC_PROTO_HOMEDIR="${ED}/${dcc_homedir}" + export DCC_CGIBINDIR="${ED}/${dcc_cgibin}" + export DCC_SUID="${BINOWN}" + export DCC_OWN="${BINOWN}" + export DCC_GRP="${BINGRP}" + + dodir /etc/cron.daily "${dcc_homedir}" /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc + if use cgi ; then + dodir "${dcc_cgibin}" + fi + keepdir /var/log/dcc + + emake install + + # branding and setting reasonable defaults + sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \ + -e "s/GREY_ENABLE=\$/GREY_ENABLE=off/;" \ + -e "s/DCCM_LOG_AT=5\$/DCCM_LOG_AT=50/;" \ + -e "s,DCCM_LOGDIR=\"log\"\$,DCCM_LOGDIR=\"/var/log/dcc\",;" \ + -e "s/DCCM_ARGS=\$/DCCM_ARGS='-SHELO -Smail_host -SSender -SList-ID'/;" \ + -e "s/DCCIFD_ARGS=\$/DCCIFD_ARGS=\"\$DCCM_ARGS\"/;" \ + -e 's/DCCIFD_ENABLE=off/DCCIFD_ENABLE=on/' \ + -e 's/DBCLEAN_LOGDAYS=14/DBCLEAN_LOGDAYS=1/' \ + -i "${ED}/${dcc_homedir}/dcc_conf" || die + + if use milter ; then + # enable milter + sed -i -e "s:^[\t #]*\(DCCM_ENABLE[\t ]*=[\t ]*\).*:\1on:g" \ + "${ED}/${dcc_homedir}"/dcc_conf || die + fi + + # provide cronjob + mv "${ED}"/usr/sbin/cron-dccd "${ED}"/etc/cron.daily/dccd || die "mv failed" + + # clean up + mv
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: 8610613aea1e41e7107c4c4689c06f4051b45ab2 Author: Matt Turner gentoo org> AuthorDate: Tue Dec 15 02:26:21 2020 + Commit: Matt Turner gentoo org> CommitDate: Tue Dec 15 02:36:43 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8610613a mail-filter/dcc: Drop to ~hppa Signed-off-by: Matt Turner gentoo.org> mail-filter/dcc/dcc-1.3.158.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-filter/dcc/dcc-1.3.158.ebuild b/mail-filter/dcc/dcc-1.3.158.ebuild index a9bbddee101..268c345cb33 100644 --- a/mail-filter/dcc/dcc-1.3.158.ebuild +++ b/mail-filter/dcc/dcc-1.3.158.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${P}.tar.Z; LICENSE="DCC GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 sparc x86" # +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86" # IUSE="cgi ipv6 rrdtool milter" RDEPEND="dev-lang/perl
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: f4075d508f9f29285cc99d3db6146fd18ad613da Author: Sam James (sam_c) cmpct info> AuthorDate: Tue May 12 17:22:40 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Tue May 12 17:49:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4075d50 mail-filter/dcc: arm64 keyworded (bug #685400) Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sam James (sam_c) cmpct.info> Signed-off-by: Mart Raudsepp gentoo.org> mail-filter/dcc/dcc-1.3.158.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-filter/dcc/dcc-1.3.158.ebuild b/mail-filter/dcc/dcc-1.3.158.ebuild index fe4fdb53a69..a9bbddee101 100644 --- a/mail-filter/dcc/dcc-1.3.158.ebuild +++ b/mail-filter/dcc/dcc-1.3.158.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${P}.tar.Z; LICENSE="DCC GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 sparc x86" # +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 sparc x86" # IUSE="cgi ipv6 rrdtool milter" RDEPEND="dev-lang/perl
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: 8e802e33dd00a6f34c42c0f084eecb706fda2b3a Author: Rolf Eike Beer sf-mail de> AuthorDate: Wed Jan 9 20:31:28 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Jan 9 20:52:08 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e802e33 mail-filter/dcc: stable 1.3.158 for hppa, bug #648242 Signed-off-by: Rolf Eike Beer sf-mail.de> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --include-arches="hppa" Signed-off-by: Sergei Trofimovich gentoo.org> mail-filter/dcc/dcc-1.3.158.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail-filter/dcc/dcc-1.3.158.ebuild b/mail-filter/dcc/dcc-1.3.158.ebuild index 80d5dcb71c6..e007b2d85ba 100644 --- a/mail-filter/dcc/dcc-1.3.158.ebuild +++ b/mail-filter/dcc/dcc-1.3.158.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -11,7 +11,7 @@ SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${P}.tar.Z; LICENSE="DCC GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" # ~amd64-fbsd +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" # ~amd64-fbsd IUSE="cgi ipv6 rrdtool milter" RDEPEND="dev-lang/perl
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/files/
commit: 8c47ba9769acbb30f7b9784d11952a0c4442ce51 Author: Michael Mair-Keimberger gmail com> AuthorDate: Wed Jun 13 17:57:28 2018 + Commit: Tony Vroon gentoo org> CommitDate: Wed Jul 11 12:04:34 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c47ba97 mail-filter/dcc: remove unused patches and files Closes: https://github.com/gentoo/gentoo/pull/9018 .../dcc/files/dcc-1.3.140-configure-fix.patch | 17 --- mail-filter/dcc/files/dcc.initd| 135 - mail-filter/dcc/files/dcc.initd-1.3.140| 100 --- 3 files changed, 252 deletions(-) diff --git a/mail-filter/dcc/files/dcc-1.3.140-configure-fix.patch b/mail-filter/dcc/files/dcc-1.3.140-configure-fix.patch deleted file mode 100644 index 41620929c61..000 --- a/mail-filter/dcc/files/dcc-1.3.140-configure-fix.patch +++ /dev/null @@ -1,17 +0,0 @@ -Avoid installing into /no/. - -Signed-off-by: Lars Wendler (Polynomial-C) -X-Gentoo-Bug: 388383 -X-Gentoo-Bug-URL: https://bugs.gentoo.org/388383 - dcc-1.3.140/configure -+++ dcc-1.3.140/configure -@@ -3256,7 +3256,7 @@ - withval="$with_cgibin" - : - fi --if test -n "$with_cgibin" -a "$with_cgi_bin" != no; then -+if test -n "$with_cgibin" -a "$with_cgibin" != no; then - cgibin="$with_cgibin" - fi - diff --git a/mail-filter/dcc/files/dcc.initd b/mail-filter/dcc/files/dcc.initd deleted file mode 100644 index 1e64a16c630..000 --- a/mail-filter/dcc/files/dcc.initd +++ /dev/null @@ -1,135 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - use logger - need net - before mta -} - -checkconfig() { - if [[ ! -f "/etc/dcc/dcc_conf" || ! -r "/etc/dcc/dcc_conf" ]] - then - eerror "You need a DCC configuration in /etc/dcc/dcc_conf" - return 1 - else - source "/etc/dcc/dcc_conf" - fi -} - -start() { - checkconfig || return 1 - - if [[ "${START_DCC_DCCD}" == "yes" ]] - then - if [[ "${DCCD_ENABLE}" != "on" ]] - then - einfo "DCCD_ENABLE is not setto 'on' in dcc_conf" - else - if [[ -x "${DCC_LIBEXEC}/start-dccd" ]] - then - ebegin "Starting dccd" - ${DCC_LIBEXEC}/start-dccd >/dev/null 2>&1 - eend ${?} - else - eerror "You enabled DCCD but start-dccd is missing or not executable" - fi - fi - fi - - if [[ "${START_DCC_GREY}" == "yes" ]] - then - if [[ "${GREY_ENABLE}" != "on" ]] - then - einfo "GREY_ENABLE is not set to 'on' in dcc_conf" - else - if [[ -x "${DCC_LIBEXEC}/start-grey" ]] - then - ebegin "Starting grey" - ${DCC_LIBEXEC}/start-grey >/dev/null 2>&1 - eend ${?} - else - eerror "You enabled GREY but start-grey is missing or not executable" - fi - fi - fi - - if [[ "${START_DCC_DCCM}" == "yes" ]] - then - if [[ "${DCCM_ENABLE}" != "on" ]] - then - einfo "DCCM_ENABLE is not set to 'on' in dcc_conf" - else - if [[ -x "${DCC_LIBEXEC}/start-dccm" ]] - then - ebegin "Starting dccm" - ${DCC_LIBEXEC}/start-dccm >/dev/null 2>&1 - eend ${?} - for ((dccmtimeout=0 ; dccmtimeout <= 20 ; dccmtimeout++)) - do - if [[ ! -S "${DCC_RUNDIR}/dccm" || ! -r "${DCC_RUNDIR}/dccm" ]] - then - sleep 1 - else - break - fi - done - chown ${SOCKET_USER:-milter}:${SOCKET_GROUP:-milter} ${DCC_RUNDIR}/dccm 1>/dev/null 2>&1 - chmod ${SOCKET_MODE:-664} ${DCC_RUNDIR}/dccm 1>/dev/null 2>&1 - sed -i -e "s:^\-::" ${DCC_RUNDIR}/dccm.pid - else - eerror "You enabled DCCM but start-dccm is missing or not executable" - fi - fi - fi - - if [[ "${START_DCC_DCCIF}" == "yes" ]] - then - if [[
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: c2b5505eb815b3ec829dc5e9f8aada155826b37f Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Apr 20 22:07:58 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Apr 20 22:08:28 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2b5505e mail-filter/dcc: stable 1.3.158 for ppc, bug #648242 Tested-by: ernsteiswuerfel Bug: https://bugs.gentoo.org/648242 Package-Manager: Portage-2.3.28, Repoman-2.3.9 RepoMan-Options: --include-arches="ppc" mail-filter/dcc/dcc-1.3.158.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-filter/dcc/dcc-1.3.158.ebuild b/mail-filter/dcc/dcc-1.3.158.ebuild index 76a036e0b3a..80d5dcb71c6 100644 --- a/mail-filter/dcc/dcc-1.3.158.ebuild +++ b/mail-filter/dcc/dcc-1.3.158.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${P}.tar.Z; LICENSE="DCC GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm ~hppa ia64 ~ppc ppc64 sparc x86 ~x86-fbsd" # ~amd64-fbsd +KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" # ~amd64-fbsd IUSE="cgi ipv6 rrdtool milter" RDEPEND="dev-lang/perl
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: 0aefc5643fe2a47ab96799851c391569b8377f19 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Apr 4 06:36:30 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Apr 4 06:36:30 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aefc564 mail-filter/dcc: stable 1.3.158 for ppc64, bug #648242 Package-Manager: Portage-2.3.28, Repoman-2.3.9 RepoMan-Options: --include-arches="ppc64" mail-filter/dcc/dcc-1.3.158.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-filter/dcc/dcc-1.3.158.ebuild b/mail-filter/dcc/dcc-1.3.158.ebuild index 1001594e693..76a036e0b3a 100644 --- a/mail-filter/dcc/dcc-1.3.158.ebuild +++ b/mail-filter/dcc/dcc-1.3.158.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${P}.tar.Z; LICENSE="DCC GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm ~hppa ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd" # ~amd64-fbsd +KEYWORDS="alpha amd64 arm ~hppa ia64 ~ppc ppc64 sparc x86 ~x86-fbsd" # ~amd64-fbsd IUSE="cgi ipv6 rrdtool milter" RDEPEND="dev-lang/perl
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: 512e3c18e64bfdd6901f1576c612206b4cf2fb0e Author: Markus Meier gentoo org> AuthorDate: Thu Mar 8 20:01:14 2018 + Commit: Markus Meier gentoo org> CommitDate: Thu Mar 8 20:01:14 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=512e3c18 mail-filter/dcc: arm stable, bug #647240 Package-Manager: Portage-2.3.19, Repoman-2.3.6 RepoMan-Options: --include-arches="arm" mail-filter/dcc/dcc-1.3.158.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-filter/dcc/dcc-1.3.158.ebuild b/mail-filter/dcc/dcc-1.3.158.ebuild index 921abd798ce..5b1c726cec0 100644 --- a/mail-filter/dcc/dcc-1.3.158.ebuild +++ b/mail-filter/dcc/dcc-1.3.158.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${P}.tar.Z; LICENSE="DCC GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~ppc ~ppc64 sparc ~x86 ~x86-fbsd" # ~amd64-fbsd +KEYWORDS="alpha amd64 arm ~hppa ia64 ~ppc ~ppc64 sparc ~x86 ~x86-fbsd" # ~amd64-fbsd IUSE="cgi ipv6 rrdtool milter" RDEPEND="dev-lang/perl
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: 21adc8b57cba76872876c666f7ee0bc8c6dd562d Author: Rolf Eike Beer sf-mail de> AuthorDate: Thu Mar 8 06:37:36 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Mar 8 07:24:25 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21adc8b5 mail-filter/dcc: stable 1.3.158 for sparc, bug #648242 Package-Manager: Portage-2.3.19, Repoman-2.3.6 RepoMan-Options: --include-arches="sparc" mail-filter/dcc/dcc-1.3.158.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-filter/dcc/dcc-1.3.158.ebuild b/mail-filter/dcc/dcc-1.3.158.ebuild index 8c4160fd1cb..921abd798ce 100644 --- a/mail-filter/dcc/dcc-1.3.158.ebuild +++ b/mail-filter/dcc/dcc-1.3.158.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${P}.tar.Z; LICENSE="DCC GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" # ~amd64-fbsd +KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~ppc ~ppc64 sparc ~x86 ~x86-fbsd" # ~amd64-fbsd IUSE="cgi ipv6 rrdtool milter" RDEPEND="dev-lang/perl
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: 3191a020f3ebab2e557fc08ceba64a86510829b9 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Mar 6 22:58:49 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Mar 6 23:10:14 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3191a020 mail-filter/dcc: stable 1.3.158 for ia64, bug #648242 Package-Manager: Portage-2.3.24, Repoman-2.3.6 RepoMan-Options: --include-arches="ia64" mail-filter/dcc/dcc-1.3.158.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail-filter/dcc/dcc-1.3.158.ebuild b/mail-filter/dcc/dcc-1.3.158.ebuild index de62003ecc0..174aa614f76 100644 --- a/mail-filter/dcc/dcc-1.3.158.ebuild +++ b/mail-filter/dcc/dcc-1.3.158.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -11,7 +11,7 @@ SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${P}.tar.Z; LICENSE="DCC GPL-2" SLOT="0" -KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" # ~amd64-fbsd +KEYWORDS="alpha ~amd64 ~arm ~hppa ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" # ~amd64-fbsd IUSE="cgi ipv6 rrdtool milter" RDEPEND="dev-lang/perl
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: 036508b3be6ed10b726663b449c33b46c3a73f6a Author: Tobias Klausmann gentoo org> AuthorDate: Mon Mar 5 19:48:12 2018 + Commit: Tobias Klausmann gentoo org> CommitDate: Mon Mar 5 21:30:54 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=036508b3 mail-filter/dcc-1.3.158-r0: alpha stable Gentoo-Bug: http://bugs.gentoo.org/648242 mail-filter/dcc/dcc-1.3.158.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-filter/dcc/dcc-1.3.158.ebuild b/mail-filter/dcc/dcc-1.3.158.ebuild index eb41bfe7d6e..de62003ecc0 100644 --- a/mail-filter/dcc/dcc-1.3.158.ebuild +++ b/mail-filter/dcc/dcc-1.3.158.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${P}.tar.Z; LICENSE="DCC GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" # ~amd64-fbsd +KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" # ~amd64-fbsd IUSE="cgi ipv6 rrdtool milter" RDEPEND="dev-lang/perl
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/files/
commit: 9e8a667ef8cf00e0d007765a997935125d4b7f94 Author: Michael Mair-Keimberger (asterix) gmail com> AuthorDate: Tue Dec 13 20:23:56 2016 + Commit: Michael Palimaka gentoo org> CommitDate: Thu Dec 22 15:46:56 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e8a667e mail-filter/dcc: remove unused patch mail-filter/dcc/files/dcc-1.3.86.patch | 41 -- 1 file changed, 41 deletions(-) diff --git a/mail-filter/dcc/files/dcc-1.3.86.patch b/mail-filter/dcc/files/dcc-1.3.86.patch deleted file mode 100644 index c1ac27f.. --- a/mail-filter/dcc/files/dcc-1.3.86.patch +++ /dev/null @@ -1,41 +0,0 @@ -I know it looks weird that we are patching configure here, but there is NO -configure.{ac,in} source included with this package. -- Robin H. Johnson- -This patch is from Gentoo bug 182172, and was submitted by steveb - . - -diff -Naur dcc-1.3.86/configure dcc-1.3.86.new/configure dcc-1.3.86/configure 2008-03-11 16:38:41.0 +0100 -+++ dcc-1.3.86.new/configure 2008-03-24 19:50:52.802962250 +0100 -@@ -1058,8 +1058,7 @@ - FreeBSD|DragonFly) - PTHREAD_LDFLAGS="$PTHREAD_LDFLAGS -pthread" - if test -s /usr/lib/libc_r.a; then -- # use libc_r on ancient versions -- appendvar PTHREAD_LIBS -lc_r -+ appendvar PTHREAD_LIBS - fi - ;; - Darwin) -@@ -3511,7 +3510,7 @@ - mancat=man - MAN8='dcc.8 $(SUBDIR_MAN8)' - MAN8INST='' -- USE_DCCMANINSTALL='# do not use dccmaninstall' -+ USE_DCCMANINSTALL='maninstall:dccmaninstall' - ;; - DragonFly) - # default to /usr/local/man/man8 and use nroff files, possibly -diff -Naur dcc-1.3.86/thrlib/cmn.c dcc-1.3.86.new/thrlib/cmn.c dcc-1.3.86/thrlib/cmn.c2008-02-11 06:00:45.0 +0100 -+++ dcc-1.3.86.new/thrlib/cmn.c2008-03-24 19:51:36.333682750 +0100 -@@ -667,7 +667,7 @@ - LOG_CMN_CAPTION(cwp, DCC_LOG_TRN_MSG_CR); - cwp->log_size = MAX_LOG_SIZE+1; - #else -- log_write(>cw, buf, buflen); -+ log_write(cwp, buf, buflen); - #endif - } -
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: f0150fbd483a7751ba6ce67e8164b890632c6058 Author: Bertrand Jacquin jacquin bzh> AuthorDate: Mon Feb 22 00:12:57 2016 + Commit: Patrice Clement gentoo org> CommitDate: Mon Feb 22 00:28:16 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0150fbd mail-filter/dcc: Add ~arm keyword Tested on Scaleway C1 Package-Manager: portage-2.2.26 mail-filter/dcc/dcc-1.3.158.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-filter/dcc/dcc-1.3.158.ebuild b/mail-filter/dcc/dcc-1.3.158.ebuild index 8648467..77193be 100644 --- a/mail-filter/dcc/dcc-1.3.158.ebuild +++ b/mail-filter/dcc/dcc-1.3.158.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${P}.tar.Z; LICENSE="DCC GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" # ~amd64-fbsd +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" # ~amd64-fbsd IUSE="cgi ipv6 rrdtool milter" RDEPEND="dev-lang/perl
[gentoo-commits] repo/gentoo:master commit in: mail-filter/dcc/
commit: b2d5b2177ec900e30e315859ab0e2ed5f37de79f Author: Lars Wendler gentoo org> AuthorDate: Thu Oct 8 09:35:10 2015 + Commit: Lars Wendler gentoo org> CommitDate: Thu Oct 8 09:39:15 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2d5b217 mail-filter/dcc: Bump to version 1.3.158 Package-Manager: portage-2.2.22 Signed-off-by: Lars Wendler gentoo.org> mail-filter/dcc/Manifest | 1 + mail-filter/dcc/dcc-1.3.158.ebuild | 133 + 2 files changed, 134 insertions(+) diff --git a/mail-filter/dcc/Manifest b/mail-filter/dcc/Manifest index fd22ebe..195ffe3 100644 --- a/mail-filter/dcc/Manifest +++ b/mail-filter/dcc/Manifest @@ -1,2 +1,3 @@ DIST dcc-1.3.140.tar.Z 1681539 SHA256 19060563d3d72b70578d8f16e6780458d36f1a1db18a6d1e533bc42d80c38f24 SHA512 1c36bb32ae36480ded8306ca6a460a3070758397075cd6a4cee9c01a0e306ad371336037adf7759c8ef96f46b36c408699b7ec43b01268ac8e7c289d1e31d2e1 WHIRLPOOL 9415bd94a74b6e0d22ec323a8cf5227c08f5026c24b1530c7708321d092d5f0c58d6f3d5e7beb03d0dca948ea8c75cf3220d34e1b077030ee0b9b85c80644b64 DIST dcc-1.3.154.tar.Z 1711292 SHA256 bc2e1496ec04914690c1d6d9d0f8be0954551b4165d731eb2d07dad307269399 SHA512 703bd3de44ccff3f318239dc2ca26a285f83ae0340a91391bcc5b719c298e77c8122d1502665350ddfc9fb14f12d9b6a56cba422ff8985db9cee6c91091fb987 WHIRLPOOL 7595b36066d3a89b1d2f4952334f6abe7cc70a1c03ff06ac6596b8901b8590329c944c9eeb132ed6253a4841150308378bef87dc5b2b74495c92a283110e0b14 +DIST dcc-1.3.158.tar.Z 1714175 SHA256 596bb4a02800a87501818215e61ac877e4d5a31ec0c8c227f23438f6b6b831c6 SHA512 24fba5ea713e8df1468644508c323d64b3868685716b7cc02263933476940a807cfc4593432a9195371308c83d4ea93653e89634681d95dcb32f5d65c7274599 WHIRLPOOL ba625cc91c02d8b919a297ec99e28e64ca3720b2dba1bc657ad30df6d8abb0d58614254ad4e48870cb301a4d6339a934746f64542e1bc4a2bee8a8328f80ae96 diff --git a/mail-filter/dcc/dcc-1.3.158.ebuild b/mail-filter/dcc/dcc-1.3.158.ebuild new file mode 100644 index 000..8648467 --- /dev/null +++ b/mail-filter/dcc/dcc-1.3.158.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit base eutils flag-o-matic toolchain-funcs + +DESCRIPTION="Distributed Checksum Clearinghouse" +HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/; +SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${P}.tar.Z; + +LICENSE="DCC GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" # ~amd64-fbsd +IUSE="cgi ipv6 rrdtool milter" + +RDEPEND="dev-lang/perl + rrdtool? ( net-analyzer/rrdtool ) + || ( net-misc/wget www-client/fetch net-misc/curl net-ftp/ftp ) + milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )" +DEPEND="sys-apps/sed + sys-devel/gcc + ${RDEPEND}" + +dcc_cgibin=/var/www/localhost/cgi-bin/dcc +dcc_homedir=/var/dcc +dcc_libexec=/usr/sbin +dcc_man=/usr/share/man +dcc_rundir=/var/run/dcc + +PATCHES=( "${FILESDIR}"/dcc-1.3.140-freebsd.patch ) + +src_configure() { + tc-export CC AR RANLIB + local myconf + myconf="${myconf} --homedir=${dcc_homedir}" + myconf="${myconf} --bindir=/usr/bin" + myconf="${myconf} --libexecdir=${dcc_libexec}" + myconf="${myconf} --mandir=/usr/share/man" + myconf="${myconf} --with-updatedcc_pfile=${dcc_homedir}/updatecc.pfile" + myconf="${myconf} --with-installroot=${D}" + # sigh. should be DCC-MD5 but see line 486 in the shipped configure script + myconf="${myconf} --with-DDC-MD5" + myconf="${myconf} --with-uid=root" + myconf="${myconf} --enable-server" + myconf="${myconf} --enable-dccifd" + myconf="${myconf} --with-rundir=${dcc_rundir}" + myconf="${myconf} --with-db-memory=64" + myconf="${myconf} --with-max-db-mem=128" + myconf="${myconf} --with-max-log-size=0" + myconf="${myconf} --with-make-cmd=${MAKE:-make}" + myconf="${myconf} $(use_enable ipv6 IPv6)" + myconf="${myconf} $(use_with cgi cgibin ${dcc_cgibin})" + myconf="${myconf} $(use_enable milter dccm)" + use milter && myconf="${myconf} --with-sendmail=" + + einfo "Using config: ${myconf}" + + # This is NOT a normal configure script. + ./configure ${myconf} || die "configure failed!" +} + +moveconf() { + local into=/etc/dcc/ + for i in $@; do + mv "${D}${dcc_homedir}/${i}" "${D}${into}" + dosym "${into}${i}" "${dcc_homedir}/${i}" + done +} + +src_install() { + # stolen from the RPM .spec and modified for gentoo + MANOWN=root MANGRP=$(id -g -n root) export MANOWN MANGRP + BINOWN="${MANOWN}" BINGRP="${MANGRP}" export BINOWN BINGRP + DCC_PROTO_HOMEDIR="${D}${dcc_homedir}" export DCC_PROTO_HOMEDIR + DCC_CGIBINDIR="${D}${dcc_cgibin}" export DCC_CGIBINDIR + DCC_SUID="${BINOWN}" DCC_OWN="${BINOWN}" DCC_GRP="${BINGRP}" export DCC_SUID