Portage is a package management system used by Gentoo Linux
# ChangeLog for mail-filter/dcc
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/ChangeLog,v 1.48 2007/04/21 20:53:30 armin76 Exp $
21 Apr 2007; Raúl Porcel
ia64 stable
13 Apr 2007; Fernando J. Pereda
Stable on alpha as per security bug #167644
12 Apr 2007; Christian Faulhammer
stable x86, security bug 167644
12 Apr 2007; Jeroen Roovers
Stable for HPPA (bug #167644).
11 Apr 2007; Tobias Scherbaum
ppc stable, bug #167644
11 Apr 2007; Markus Rothe
Stable on ppc64; bug #167644
11 Apr 2007; Gustavo Zacarias
Stable on sparc wrt security #167644
11 Apr 2007; Peter Weller
Stable on amd64 wrt bug 167644
*dcc-1.3.55 (08 Apr 2007)
08 Apr 2007; Andrej Kacian
Version bump.
15 Mar 2007; Gustavo Zacarias
Stable on sparc
08 Feb 2007; Diego Pettenò
Regenerate digest in Manifest2 format.
25 Apr 2006; Thomas Cort
Stable on alpha and amd64 wrt Bug #126247.
29 Mar 2006; Markus Rothe
Stable on ppc64; bug #126247
29 Mar 2006; Aron Griffis
Mark 1.3.31 stable on ia64
28 Mar 2006; Gustavo Zacarias
Stable on sparc wrt #126247
27 Mar 2006; Chris Gianelloni
Stable on x86 wrt bug #126247.
26 Mar 2006; Jeroen Roovers
Stable on hppa (bug #126247).
26 Mar 2006;
Stable on ppc. Bug #126247
*dcc-1.3.31 (26 Mar 2006)
26 Mar 2006; Robin H. Johnson
+dcc-1.3.31.ebuild:
Bug #125994, version bump. Also clean up minor QA item.
26 Mar 2006; Robin H. Johnson
Bug #117900, rrdtool is optional, and the procmail interface is usable
without procmail. Bug #125926, fix LDFLAGS.
14 Mar 2006; Gustavo Zacarias
dcc-1.3.24.ebuild:
Keyworded ~hppa
10 Mar 2006; Aron Griffis
Mark 1.3.24 ~ia64
06 Feb 2006; Aron Griffis
Mark 1.3.16 stable on alpha
25 Dec 2005; Diego Pettenò
Use bindnow-flags function instead of -Wl,-z,now.
*dcc-1.3.24 (12 Dec 2005)
12 Dec 2005; Robin H. Johnson
Bug #111370 - version bump.
12 Dec 2005; Robin H. Johnson
Bug #107028, change SRC_URI to avoid upsteams 301 redirect.
04 Dec 2005; Tom Gall
stable on ppc64
12 Nov 2005; Brent Baude
Marking dcc-1.3.16 ~ppc64 for bug# 112220
11 Nov 2005;
Tested and keyworded for ~sparc. Also allows dcc use flag in new
spamassassin for sparc.
16 Sep 2005; Simon Stelling
stable on amd64 wrt 105217
12 Sep 2005; Andrej Kacian
dcc-1.2.28-r1.ebuild, dcc-1.2.74.ebuild, dcc-1.3.16.ebuild:
Do not use ${HOMEPAGE} in SRC_URI.
11 Sep 2005; Michael Hanselmann
Stable on ppc.
*dcc-1.3.16 (10 Sep 2005)
10 Sep 2005; Tom Knight
Version bumped to 1.3.6, fixes security vulnerability, bug #105217
*dcc-1.2.74 (21 Mar 2005)
21 Mar 2005; Scott W Taylor
+dcc-1.2.74.ebuild:
bump
17 Mar 2005; Seemant Kulleen
dcc-1.2.28-r1.ebuild:
Dependency update: net-www/fetch -> www-client/fetch.
28 Sep 2004; Andrej Kacian
Fixed herd name in metadata.xml.
*dcc-1.2.28-r1 (25 Sep 2004)
25 Sep 2004; Andrej Kacian
Added net-analyzer/rrdtool to RDEPEND, use sed to alter hard-coded paths to
rrdtool binary in dcc-stats-* scripts. Closes #43359, reported by
Jeremy Huddleston
19 Sep 2004; Scott W Taylor
fix rdepend. procmail does exist if courier is installed
01 Jul 2004; Jeremy Huddleston
virtual/glibc -> virtual/libc
15 Jun 2004; Danny van Dyk
Marked ~amd64.
05 Jun 2004; David Holm
Added to ~ppc.
03 Jun 2004; Seemant Kulleen
Change DEPENDency from net-mail/procmail to mail-filter/procmail
*dcc-1.2.28 (03 Jun 2004)
03 Jun 2004; Seemant Kulleen
+dcc-1.2.28.ebuild:
Moved from net-mail/dcc to mail-filter/dcc.
*dcc-1.2.28 (20 Jan 2004)
20 Jan 2004; Robin H. Johnson
metadata.xml:
initial commit, ebuild by robbat2@gentoo.org
DIST dcc-dccd-1.2.28.tar.Z 1221437 RMD160 efdb671cc82fd39dbbd68cebbe65ed99f812ba96 SHA1 6a9bdbd8628975cb03121f9151f385629391b543 SHA256 30c02c25dfe8817c150952a11ed408fc635e2ed549528d1b6ddb7d5cfa5dd880
DIST dcc-dccd-1.2.74.tar.Z 1232905 RMD160 886183bef5b032154a43e9cf17c59282d4580f7d SHA1 1661f5ce912cd97ab0d82eec62f69776246aa67a SHA256 448c5ff0f223520e69bda83188515a23c12ad3038640ea18173af5c0a22afc12
DIST dcc-dccd-1.3.16.tar.Z 1370359 RMD160 9ec7b4a8a1ebad7fe910d7d8bd415ba2c004b0c4 SHA1 323f8a80ce3b0753035db0ec19125ac1bfb3aaa9 SHA256 d63c2baa55354200e512e723f309dc1eb0f493bf8c581f6acf1ae0066c44cdb4
DIST dcc-dccd-1.3.24.tar.Z 1392701 RMD160 39874c3ba844555534ccae4bb17d4b6d7c4a4d62 SHA1 13f8e50acd38eb831a91e8f61ceb63a6e108c036 SHA256 2ae4b63a9ac5168ca3ff3e3a4a3de2d5494548f09b059139c8fc885fce350851
DIST dcc-dccd-1.3.31.tar.Z 1406285 RMD160 d3df67cf9e86ccf4819264de37571ef16b4c5484 SHA1 a1462f781b2125e9bb8d90037e8c45db1ab5c212 SHA256 e3a30c57e5e0978b478430e7cbf35eed685922d0008efb44f856d1c0010e5922
DIST dcc-dccd-1.3.55.tar.Z 1457561 RMD160 8182bdd8f5c96a68ba6989bf37807dfa5aee19b7 SHA1 fa926bfb6c8418cea65cbc0c442c9b0a9a833b36 SHA256 9aa82c645b90a1000c6cc812e6df18768885486e053194220e8753d1c45ebb94
EBUILD dcc-1.2.28-r1.ebuild 3468 RMD160 e958315b9654cf7e5d7619950081ef476e1e8f8d SHA1 899d9281718edabe56a2c697decdf79aa788832d SHA256 507ca243301c205015ca63876c80756e090c443756eaf12d3695040a35de90de
EBUILD dcc-1.2.28.ebuild 3142 RMD160 28ddd3eca40715e37096c23a2d53c45d81f62083 SHA1 57fa21af69595f9d205cdf3370f907a97977bbe6 SHA256 f43cb4990f0c671ae8aa4e2f1abb61e62f13224b7ccdb08feb16db636694085e
EBUILD dcc-1.2.74.ebuild 3558 RMD160 76a9c011b18f941a8c5a6bd8b471bfd50965fa65 SHA1 af5c500c2e215d64d5fcfaff3a61bdd28b633522 SHA256 83c5442dd7e884c87ea085a9d7075b230a8b6586cafbc345d6d3559037589e8e
EBUILD dcc-1.3.16.ebuild 3546 RMD160 1195752487ba73e82cc5e3efc97410afed8e4dc6 SHA1 15a95ac57674f13debad48d987988e35eb9ad718 SHA256 5b01ec8e443cf18d090a584f44cc52fd94e7a7fe5aaef0ad5cffb05555e7f2a7
EBUILD dcc-1.3.24.ebuild 3941 RMD160 418ab31d28cb8d8b1ba52176904058b6880ebaed SHA1 19caaef2ab2e0feb57603462eab3bf9bf7d8a852 SHA256 e1afbc563679cf256bf501b2fe6fad2204988ead5786ebda24a4a33210a2c066
EBUILD dcc-1.3.31.ebuild 3946 RMD160 fd2c517e498a159aaf7e6ca8cbedbd35367720ec SHA1 26c93a656763bcc764f54095be1cc14257535618 SHA256 5291e8339464f9ba0b912deefa49d6c792a6e1e6c139f8d2e01035c0ead28b24
EBUILD dcc-1.3.55.ebuild 3951 RMD160 729f9031eeb03fb886a96cf39c7b2b432fcb64d8 SHA1 fb18088300ee92f119d33d0c66aa9bba528f8eee SHA256 a9fef6979c6cbaea90bde58a1d48b2009ff8fd23960e792278bbda548093246a
MISC ChangeLog 5520 RMD160 a4f029bcd25bb9bcd5ae8c6959fabc98461cafc5 SHA1 675b945d7af7c9bf1dbf7c09d6e5b3811054e18a SHA256 4fdb4149f6dd3fc3fa91d87fa27b2c8e5200877ec4d1957a9fed38aa7c17d63e
MISC metadata.xml 224 RMD160 7a7b22292aa2fdfd4c9e3f9abe62aff83170f428 SHA1 fe58bf16a97abdec4e349b42c57664597893b0d8 SHA256 d67b611ce73649753af8a136a53c5dfae6628c053d01687779f108753fd20929
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.2.28-r1.ebuild,v 1.4 2005/09/12 08:30:52 ticho Exp $
DESCRIPTION="Distributed Checksum Clearinghouse"
HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
MY_P="dcc-dccd-${PV}"
SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/${MY_P}.tar.Z"
LICENSE="as-is"
SLOT="0"
KEYWORDS="x86 ppc amd64"
IUSE="ipv6"
RDEPEND="dev-lang/perl
net-analyzer/rrdtool
|| ( mail-filter/procmail mail-mta/courier )
|| ( net-misc/wget www-client/fetch net-misc/curl net-ftp/ftp )
virtual/libc"
DEPEND="sys-apps/sed
sys-devel/gcc
${RDEPEND}"
S=${WORKDIR}/${MY_P}
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
src_compile() {
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-init.in
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-graph.in
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-collect.in
local myconf
myconf="${myconf} --homedir=${dcc_homedir}"
myconf="${myconf} --libexecdir=${dcc_libexec}"
myconf="${myconf} --bindir=/usr/bin"
myconf="${myconf} --mandir=/usr/share/man"
myconf="${myconf} --with-cgibin=${dcc_cgibin}"
myconf="${myconf} --disable-dccm"
#myconf="${myconf} --without-cgibin"
myconf="${myconf} --with-rundir=/var/run/dcc"
myconf="${myconf} `use_enable ipv6 IPv6`"
./configure ${myconf} || die "configure failed!"
#make -C homedir
emake || die "emake failed!"
}
moveconf() {
for i in $@; do
local into=/etc/dcc/
local from=/var/dcc/
mv ${D}${from}${i} ${D}${into}
dosym ${into}${i} ${from}${i}
done
}
src_install() {
# stolen from the RPM .spec and modified for gentoo
MANOWN=root MANGRP=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} ${dcc_cgibin} /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc
keepdir /var/run/dcc /var/log/dcc
make DESTDIR=${D} DCC_BINDIR=${D}/usr/bin MANDIR=${D}/usr/share/man/man install || die
einfo "Branding and setting reasonable defaults"
sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \
-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/' \
-i ${D}${dcc_homedir}/dcc_conf
einfo "Providing cronjob"
mv ${D}/usr/bin/cron-dccd ${D}/etc/cron.daily/dccd
einfo "Puting system code in sbin instead of bin"
mv ${D}/usr/bin/{dbclean,dblist,dccd,dccsight,refeed,start-dccd,stop-dccd,wlist,dcc-stats-graph,newwebuser,dcc-stats-init,stats-get,dcc-stats-collect,dccifd,start-grey,start-dccifd,fetch-testmsg-whitelist} ${D}/usr/sbin/
einfo "Cleaning up"
rm -f ${D}/usr/bin/{logger,hackmc,na-spam,ng-spam,rcDCC,start-dccm,updatedcc}
einfo "Placing configuration files into /etc instead of /var/run"
moveconf dcc_conf flod grey_flod grey_whitelist ids map.txt whiteclnt whitecommon whitelist
rmdir ${D}/var/dcc/log/
}
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.2.28.ebuild,v 1.10 2005/09/12 08:30:52 ticho Exp $
DESCRIPTION="Distributed Checksum Clearinghouse"
HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
MY_P="dcc-dccd-${PV}"
SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/${MY_P}.tar.Z"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE="ipv6"
RDEPEND="dev-lang/perl
|| ( mail-filter/procmail mail-mta/courier )
|| ( net-misc/wget www-client/fetch net-misc/curl net-ftp/ftp )
virtual/libc"
DEPEND="sys-apps/sed
sys-devel/gcc
${RDEPEND}"
S=${WORKDIR}/${MY_P}
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
src_compile() {
local myconf
myconf="${myconf} --homedir=${dcc_homedir}"
myconf="${myconf} --libexecdir=${dcc_libexec}"
myconf="${myconf} --bindir=/usr/bin"
myconf="${myconf} --mandir=/usr/share/man"
myconf="${myconf} --with-cgibin=${dcc_cgibin}"
myconf="${myconf} --disable-dccm"
#myconf="${myconf} --without-cgibin"
myconf="${myconf} --with-rundir=/var/run/dcc"
myconf="${myconf} `use_enable ipv6 IPv6`"
./configure ${myconf} || die "configure failed!"
#make -C homedir
emake || die "emake failed!"
}
moveconf() {
for i in $@; do
local into=/etc/dcc/
local from=/var/dcc/
mv ${D}${from}${i} ${D}${into}
dosym ${into}${i} ${from}${i}
done
}
src_install() {
# stolen from the RPM .spec and modified for gentoo
MANOWN=root MANGRP=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} ${dcc_cgibin} /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc
keepdir /var/run/dcc /var/log/dcc
make DESTDIR=${D} DCC_BINDIR=${D}/usr/bin MANDIR=${D}/usr/share/man/man install || die
einfo "Branding and setting reasonable defaults"
sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \
-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/' \
-i ${D}${dcc_homedir}/dcc_conf
einfo "Providing cronjob"
mv ${D}/usr/bin/cron-dccd ${D}/etc/cron.daily/dccd
einfo "Puting system code in sbin instead of bin"
mv ${D}/usr/bin/{dbclean,dblist,dccd,dccsight,refeed,start-dccd,stop-dccd,wlist,dcc-stats-graph,newwebuser,dcc-stats-init,stats-get,dcc-stats-collect,dccifd,start-grey,start-dccifd,fetch-testmsg-whitelist} ${D}/usr/sbin/
einfo "Cleaning up"
rm -f ${D}/usr/bin/{logger,hackmc,na-spam,ng-spam,rcDCC,start-dccm,updatedcc}
einfo "Placing configuration files into /etc instead of /var/run"
moveconf dcc_conf flod grey_flod grey_whitelist ids map.txt whiteclnt whitecommon whitelist
rmdir ${D}/var/dcc/log/
}
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.2.74.ebuild,v 1.2 2005/09/12 08:30:52 ticho Exp $
DESCRIPTION="Distributed Checksum Clearinghouse"
HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
MY_P="dcc-dccd-${PV}"
SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/${MY_P}.tar.Z"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE="ipv6"
RDEPEND="dev-lang/perl
net-analyzer/rrdtool
|| ( mail-filter/procmail mail-mta/courier )
|| ( net-misc/wget www-client/fetch net-misc/curl net-ftp/ftp )
virtual/libc"
DEPEND="sys-apps/sed
sys-devel/gcc
${RDEPEND}"
S=${WORKDIR}/${MY_P}
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
src_compile() {
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-init.in
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-graph.in
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-collect.in
sed -i -e "s:@installroot@:${D}:" \
cgi-bin/Makefile.in
local myconf
myconf="${myconf} --homedir=${dcc_homedir}"
myconf="${myconf} --libexecdir=${dcc_libexec}"
myconf="${myconf} --bindir=/usr/bin"
myconf="${myconf} --mandir=/usr/share/man"
myconf="${myconf} --with-cgibin=${dcc_cgibin}"
myconf="${myconf} --disable-dccm"
#myconf="${myconf} --without-cgibin"
myconf="${myconf} --with-rundir=/var/run/dcc"
myconf="${myconf} `use_enable ipv6 IPv6`"
./configure ${myconf} || die "configure failed!"
#make -C homedir
emake || die "emake failed!"
}
moveconf() {
for i in $@; do
local into=/etc/dcc/
local from=/var/dcc/
mv ${D}${from}${i} ${D}${into}
dosym ${into}${i} ${from}${i}
done
}
src_install() {
# stolen from the RPM .spec and modified for gentoo
MANOWN=root MANGRP=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} ${dcc_cgibin} /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc
keepdir /var/run/dcc /var/log/dcc
make DESTDIR=${D} DCC_BINDIR=${D}/usr/bin MANDIR=${D}/usr/share/man/man DCC_HOMEDIR=${D}${dcc_homedir} install || die
einfo "Branding and setting reasonable defaults"
sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \
-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/' \
-i ${D}${dcc_homedir}/dcc_conf
einfo "Providing cronjob"
mv ${D}/usr/bin/cron-dccd ${D}/etc/cron.daily/dccd
einfo "Puting system code in sbin instead of bin"
mv ${D}/usr/bin/{dbclean,dblist,dccd,dccsight,refeed,start-dccd,stop-dccd,wlist,dcc-stats-graph,newwebuser,dcc-stats-init,stats-get,dcc-stats-collect,dccifd,start-grey,start-dccifd,fetch-testmsg-whitelist} ${D}/usr/sbin/
einfo "Cleaning up"
rm -f ${D}/usr/bin/{logger,hackmc,na-spam,ng-spam,rcDCC,start-dccm,updatedcc}
einfo "Placing configuration files into /etc instead of /var/run"
moveconf dcc_conf flod grey_flod grey_whitelist ids map.txt whiteclnt whitecommon whitelist
rmdir ${D}/var/dcc/log/
}
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.16.ebuild,v 1.11 2006/03/14 01:20:12 gustavoz Exp $
DESCRIPTION="Distributed Checksum Clearinghouse"
HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
MY_P="dcc-dccd-${PV}"
SRC_URI="mirror://gentoo/${MY_P}.tar.Z"
LICENSE="DCC"
SLOT="0"
KEYWORDS="alpha amd64 ~hppa ppc ppc64 ~sparc x86"
IUSE="ipv6"
RDEPEND="dev-lang/perl
net-analyzer/rrdtool
|| ( mail-filter/procmail mail-mta/courier )
|| ( net-misc/wget www-client/fetch net-misc/curl net-ftp/ftp )
virtual/libc"
DEPEND="sys-apps/sed
sys-devel/gcc
${RDEPEND}"
S=${WORKDIR}/${MY_P}
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
src_compile() {
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-init.in
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-graph.in
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-collect.in
sed -i -e "s:@installroot@:${D}:" \
cgi-bin/Makefile.in
local myconf
myconf="${myconf} --homedir=${dcc_homedir}"
myconf="${myconf} --libexecdir=${dcc_libexec}"
myconf="${myconf} --bindir=/usr/bin"
myconf="${myconf} --mandir=/usr/share/man"
myconf="${myconf} --with-cgibin=${dcc_cgibin}"
myconf="${myconf} --disable-dccm"
#myconf="${myconf} --without-cgibin"
myconf="${myconf} --with-rundir=/var/run/dcc"
myconf="${myconf} `use_enable ipv6 IPv6`"
./configure ${myconf} || die "configure failed!"
#make -C homedir
emake || die "emake failed!"
}
moveconf() {
for i in $@; do
local into=/etc/dcc/
local from=/var/dcc/
mv ${D}${from}${i} ${D}${into}
dosym ${into}${i} ${from}${i}
done
}
src_install() {
# stolen from the RPM .spec and modified for gentoo
MANOWN=root MANGRP=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} ${dcc_cgibin} /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc
keepdir /var/run/dcc /var/log/dcc
make DESTDIR=${D} DCC_BINDIR=${D}/usr/bin MANDIR=${D}/usr/share/man/man DCC_HOMEDIR=${D}${dcc_homedir} install || die
einfo "Branding and setting reasonable defaults"
sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \
-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/' \
-i ${D}${dcc_homedir}/dcc_conf
einfo "Providing cronjob"
mv ${D}/usr/bin/cron-dccd ${D}/etc/cron.daily/dccd
einfo "Puting system code in sbin instead of bin"
mv ${D}/usr/bin/{dbclean,dblist,dccd,dccsight,start-dccd,stop-dccd,wlist,dcc-stats-graph,newwebuser,dcc-stats-init,stats-get,dcc-stats-collect,dccifd,start-grey,start-dccifd,fetch-testmsg-whitelist} ${D}/usr/sbin/
einfo "Cleaning up"
rm -f ${D}/usr/bin/{logger,hackmc,na-spam,ng-spam,rcDCC,start-dccm,updatedcc}
einfo "Placing configuration files into /etc instead of /var/run"
moveconf dcc_conf flod grey_flod grey_whitelist ids map.txt whiteclnt whitecommon whitelist
rmdir ${D}/var/dcc/log/
}
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.24.ebuild,v 1.12 2006/04/25 00:40:31 tcort Exp $
inherit flag-o-matic
DESCRIPTION="Distributed Checksum Clearinghouse"
HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
MY_P="dcc-dccd-${PV}"
SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/${MY_P}.tar.Z"
LICENSE="DCC"
SLOT="0"
KEYWORDS="alpha amd64 hppa ~ia64 ~ppc ppc64 sparc x86"
IUSE="ipv6 rrdtool"
RDEPEND="dev-lang/perl
rrdtool? ( net-analyzer/rrdtool )
|| ( net-misc/wget www-client/fetch net-misc/curl net-ftp/ftp )
virtual/libc"
DEPEND="sys-apps/sed
sys-devel/gcc
${RDEPEND}"
S=${WORKDIR}/${MY_P}
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
src_compile() {
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-init.in
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-graph.in
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-collect.in
sed -i -e "s:@installroot@:${D}:" \
cgi-bin/Makefile.in
local myconf
append-ldflags $(bindnow-flags)
myconf="${myconf} --homedir=${dcc_homedir}"
myconf="${myconf} --libexecdir=${dcc_libexec}"
myconf="${myconf} --bindir=/usr/bin"
myconf="${myconf} --mandir=/usr/share/man"
myconf="${myconf} --with-cgibin=${dcc_cgibin}"
myconf="${myconf} --disable-dccm"
#myconf="${myconf} --without-cgibin"
myconf="${myconf} --with-rundir=/var/run/dcc"
myconf="${myconf} `use_enable ipv6 IPv6`"
./configure ${myconf} || die "configure failed!"
#make -C homedir
emake || die "emake failed!"
}
moveconf() {
for i in $@; do
local into=/etc/dcc/
local from=/var/dcc/
mv ${D}${from}${i} ${D}${into}
dosym ${into}${i} ${from}${i}
done
}
src_install() {
# stolen from the RPM .spec and modified for gentoo
MANOWN=root MANGRP=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} ${dcc_cgibin} /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc
keepdir /var/run/dcc /var/log/dcc
make DESTDIR=${D} DCC_BINDIR=${D}/usr/bin MANDIR=${D}/usr/share/man/man DCC_HOMEDIR=${D}${dcc_homedir} install || die
einfo "Branding and setting reasonable defaults"
sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \
-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/' \
-i ${D}${dcc_homedir}/dcc_conf
einfo "Providing cronjob"
mv ${D}/usr/bin/cron-dccd ${D}/etc/cron.daily/dccd
einfo "Putting system code in sbin instead of bin"
mv ${D}/usr/bin/{dbclean,dblist,dccd,dccsight,start-dccd,stop-dccd,wlist,newwebuser,stats-get,dccifd,start-grey,start-dccifd,fetch-testmsg-whitelist} ${D}/usr/sbin/ || die "Failed to move apps to sbin"
statslist="${D}/usr/bin/{dcc-stats-graph,dcc-stats-init,dcc-stats-collect}"
if use rrdtool; then
einfo "Installing rrdtool interface scripts"
eval mv $statslist ${D}/usr/sbin/ || die "Failed to move rrdtool apps"
else
einfo "Removing rrdtool interface scripts"
eval rm -f ${statslist} || die "Failed to clean up rrdtool scripts"
fi
einfo "Cleaning up"
rm -f ${D}/usr/bin/{logger,hackmc,na-spam,ng-spam,rcDCC,start-dccm,updatedcc}
einfo "Placing configuration files into /etc instead of /var/run"
moveconf dcc_conf flod grey_flod grey_whitelist ids map.txt whiteclnt whitecommon whitelist
rmdir ${D}/var/dcc/log/
}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.31.ebuild,v 1.4 2007/03/15 18:46:46 gustavoz Exp $
inherit flag-o-matic
DESCRIPTION="Distributed Checksum Clearinghouse"
HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
MY_P="dcc-dccd-${PV}"
SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/${MY_P}.tar.Z"
LICENSE="DCC"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ia64 ppc ~ppc64 sparc ~x86"
IUSE="ipv6 rrdtool"
RDEPEND="dev-lang/perl
rrdtool? ( net-analyzer/rrdtool )
|| ( net-misc/wget www-client/fetch net-misc/curl net-ftp/ftp )
virtual/libc"
DEPEND="sys-apps/sed
sys-devel/gcc
${RDEPEND}"
S=${WORKDIR}/${MY_P}
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
src_compile() {
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-init.in
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-graph.in
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-collect.in
sed -i -e "s:@installroot@:${D}:" \
cgi-bin/Makefile.in
local myconf
append-ldflags $(bindnow-flags)
myconf="${myconf} --homedir=${dcc_homedir}"
myconf="${myconf} --libexecdir=${dcc_libexec}"
myconf="${myconf} --bindir=/usr/bin"
myconf="${myconf} --mandir=/usr/share/man"
myconf="${myconf} --with-cgibin=${dcc_cgibin}"
myconf="${myconf} --disable-dccm"
#myconf="${myconf} --without-cgibin"
myconf="${myconf} --with-rundir=/var/run/dcc"
myconf="${myconf} `use_enable ipv6 IPv6`"
./configure ${myconf} || die "configure failed!"
#make -C homedir
emake || die "emake failed!"
}
moveconf() {
for i in $@; do
local into=/etc/dcc/
local from=/var/dcc/
mv ${D}${from}${i} ${D}${into}
dosym ${into}${i} ${from}${i}
done
}
src_install() {
# stolen from the RPM .spec and modified for gentoo
MANOWN=root MANGRP=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} ${dcc_cgibin} /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc
keepdir /var/run/dcc /var/log/dcc
make DESTDIR=${D} DCC_BINDIR=${D}/usr/bin MANDIR=${D}/usr/share/man/man DCC_HOMEDIR=${D}${dcc_homedir} install || die
einfo "Branding and setting reasonable defaults"
sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \
-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/' \
-i ${D}${dcc_homedir}/dcc_conf
einfo "Providing cronjob"
mv ${D}/usr/bin/cron-dccd ${D}/etc/cron.daily/dccd
einfo "Putting system code in sbin instead of bin"
mv ${D}/usr/bin/{dbclean,dblist,dccd,dccsight,start-dccd,stop-dccd,wlist,newwebuser,stats-get,dccifd,start-grey,start-dccifd,fetch-testmsg-whitelist} ${D}/usr/sbin/ || die "Failed to move apps to sbin"
statslist="${D}/usr/bin/{dcc-stats-graph,dcc-stats-init,dcc-stats-collect}"
if use rrdtool; then
einfo "Installing rrdtool interface scripts"
eval mv $statslist ${D}/usr/sbin/ || die "Failed to move rrdtool apps"
else
einfo "Removing rrdtool interface scripts"
eval rm -f ${statslist} || die "Failed to clean up rrdtool scripts"
fi
einfo "Cleaning up"
rm -f ${D}/usr/bin/{logger,hackmc,na-spam,ng-spam,rcDCC,start-dccm,updatedcc}
einfo "Placing configuration files into /etc instead of /var/run"
moveconf dcc_conf flod grey_flod grey_whitelist ids map.txt whiteclnt whitecommon whitelist
rmdir ${D}/var/dcc/log/
}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.55.ebuild,v 1.9 2007/04/21 20:53:30 armin76 Exp $
inherit flag-o-matic
DESCRIPTION="Distributed Checksum Clearinghouse"
HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
MY_P="dcc-dccd-${PV}"
SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/${MY_P}.tar.Z"
LICENSE="DCC"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
IUSE="ipv6 rrdtool"
RDEPEND="dev-lang/perl
rrdtool? ( net-analyzer/rrdtool )
|| ( net-misc/wget www-client/fetch net-misc/curl net-ftp/ftp )
virtual/libc"
DEPEND="sys-apps/sed
sys-devel/gcc
${RDEPEND}"
S=${WORKDIR}/${MY_P}
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
src_compile() {
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-init.in
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-graph.in
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
misc/dcc-stats-collect.in
sed -i -e "s:@installroot@:${D}:" \
cgi-bin/Makefile.in
local myconf
append-ldflags $(bindnow-flags)
myconf="${myconf} --homedir=${dcc_homedir}"
myconf="${myconf} --libexecdir=${dcc_libexec}"
myconf="${myconf} --bindir=/usr/bin"
myconf="${myconf} --mandir=/usr/share/man"
myconf="${myconf} --with-cgibin=${dcc_cgibin}"
myconf="${myconf} --disable-dccm"
#myconf="${myconf} --without-cgibin"
myconf="${myconf} --with-rundir=/var/run/dcc"
myconf="${myconf} `use_enable ipv6 IPv6`"
./configure ${myconf} || die "configure failed!"
#make -C homedir
emake || die "emake failed!"
}
moveconf() {
for i in $@; do
local into=/etc/dcc/
local from=/var/dcc/
mv ${D}${from}${i} ${D}${into}
dosym ${into}${i} ${from}${i}
done
}
src_install() {
# stolen from the RPM .spec and modified for gentoo
MANOWN=root MANGRP=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} ${dcc_cgibin} /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc
keepdir /var/run/dcc /var/log/dcc
make DESTDIR=${D} DCC_BINDIR=${D}/usr/bin MANDIR=${D}/usr/share/man/man DCC_HOMEDIR=${D}${dcc_homedir} install || die
einfo "Branding and setting reasonable defaults"
sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \
-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/' \
-i ${D}${dcc_homedir}/dcc_conf
einfo "Providing cronjob"
mv ${D}/usr/bin/cron-dccd ${D}/etc/cron.daily/dccd
einfo "Putting system code in sbin instead of bin"
mv ${D}/usr/bin/{dbclean,dblist,dccd,dccsight,start-dccd,stop-dccd,wlist,newwebuser,stats-get,dccifd,start-grey,start-dccifd,fetch-testmsg-whitelist} ${D}/usr/sbin/ || die "Failed to move apps to sbin"
statslist="${D}/usr/bin/{dcc-stats-graph,dcc-stats-init,dcc-stats-collect}"
if use rrdtool; then
einfo "Installing rrdtool interface scripts"
eval mv $statslist ${D}/usr/sbin/ || die "Failed to move rrdtool apps"
else
einfo "Removing rrdtool interface scripts"
eval rm -f ${statslist} || die "Failed to clean up rrdtool scripts"
fi
einfo "Cleaning up"
rm -f ${D}/usr/bin/{logger,hackmc,na-spam,ng-spam,rcDCC,start-dccm,updatedcc,dns-helper}
einfo "Placing configuration files into /etc instead of /var/run"
moveconf dcc_conf flod grey_flod grey_whitelist ids map.txt whiteclnt whitecommon whitelist
rmdir ${D}/var/dcc/log/
}