summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-03-26 10:11:11 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-03-26 10:11:11 +0000
commita42812176539828cd69eb1e7a9f59f8a05e5dd2e (patch)
treeb7334d3a8e999962cf887943655494ddc4f1d5c6 /mail-filter
parentAdd ~alpha keyword (diff)
downloadhistorical-a42812176539828cd69eb1e7a9f59f8a05e5dd2e.tar.gz
historical-a42812176539828cd69eb1e7a9f59f8a05e5dd2e.tar.bz2
historical-a42812176539828cd69eb1e7a9f59f8a05e5dd2e.zip
Bug #125994, version bump. Also clean up minor QA item.
Package-Manager: portage-2.1_pre6-r7
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/dcc/ChangeLog8
-rw-r--r--mail-filter/dcc/Manifest18
-rw-r--r--mail-filter/dcc/dcc-1.3.24.ebuild6
-rw-r--r--mail-filter/dcc/dcc-1.3.31.ebuild112
-rw-r--r--mail-filter/dcc/files/digest-dcc-1.3.313
5 files changed, 137 insertions, 10 deletions
diff --git a/mail-filter/dcc/ChangeLog b/mail-filter/dcc/ChangeLog
index 46931f896c41..0da1263e4e8e 100644
--- a/mail-filter/dcc/ChangeLog
+++ b/mail-filter/dcc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-filter/dcc
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/ChangeLog,v 1.27 2006/03/26 10:07:28 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/ChangeLog,v 1.28 2006/03/26 10:11:11 robbat2 Exp $
+
+*dcc-1.3.31 (26 Mar 2006)
+
+ 26 Mar 2006; Robin H. Johnson <robbat2@gentoo.org> dcc-1.3.24.ebuild,
+ +dcc-1.3.31.ebuild:
+ Bug #125994, version bump. Also clean up minor QA item.
26 Mar 2006; Robin H. Johnson <robbat2@gentoo.org> dcc-1.3.24.ebuild:
Bug #117900, rrdtool is optional, and the procmail interface is usable
diff --git a/mail-filter/dcc/Manifest b/mail-filter/dcc/Manifest
index e1317d00bbf7..1764f251b8a4 100644
--- a/mail-filter/dcc/Manifest
+++ b/mail-filter/dcc/Manifest
@@ -1,6 +1,6 @@
-MD5 b3d6880a749c4554d424ee01ee72d18a ChangeLog 3501
-RMD160 6baf67f7a9776795a24cfda889c0bba8153a16c2 ChangeLog 3501
-SHA256 20340a51e68463763552caf8ef97c41d97ee3fdd17f8809970df0d1d1f087aa6 ChangeLog 3501
+MD5 c3721c7353ffbdc1e8ce6aaeef55982c ChangeLog 3681
+RMD160 3c0c8eaa3a5e11ea598045afbf489c5ba788dcf3 ChangeLog 3681
+SHA256 42bd8719d73abb1bb4875fac26f3ecb7e4575348a50d0d8d071837a1b8428f89 ChangeLog 3681
MD5 9820a1516eab5f987d0acc4937109f37 dcc-1.2.28-r1.ebuild 3468
RMD160 e958315b9654cf7e5d7619950081ef476e1e8f8d dcc-1.2.28-r1.ebuild 3468
SHA256 507ca243301c205015ca63876c80756e090c443756eaf12d3695040a35de90de dcc-1.2.28-r1.ebuild 3468
@@ -13,9 +13,12 @@ SHA256 83c5442dd7e884c87ea085a9d7075b230a8b6586cafbc345d6d3559037589e8e dcc-1.2.
MD5 75ab14e5347b8297758ab9fcdbf4419f dcc-1.3.16.ebuild 3546
RMD160 1195752487ba73e82cc5e3efc97410afed8e4dc6 dcc-1.3.16.ebuild 3546
SHA256 5b01ec8e443cf18d090a584f44cc52fd94e7a7fe5aaef0ad5cffb05555e7f2a7 dcc-1.3.16.ebuild 3546
-MD5 2f0c990719945740669b316ab41dd33b dcc-1.3.24.ebuild 3935
-RMD160 358bf5bbefa6bdd068f874eca61c27baf97f39d8 dcc-1.3.24.ebuild 3935
-SHA256 c37fe2cb7fb99bf1590586a30b9a72076ae48a5168971f11a6057b4500c85d17 dcc-1.3.24.ebuild 3935
+MD5 637328eff7130ad757cf14a101ee1708 dcc-1.3.24.ebuild 3948
+RMD160 2e2a0d6517cffd61002b689f2dfa271b68a5da44 dcc-1.3.24.ebuild 3948
+SHA256 bfd96af62234b01b52ac6ca3816309a2a5fa2536d267474ecd780aa9236ebded dcc-1.3.24.ebuild 3948
+MD5 17cc6968fc376af8ff29629c781c67f0 dcc-1.3.31.ebuild 3948
+RMD160 981f788ed133b0eb8bbbe63b7152605f7836f869 dcc-1.3.31.ebuild 3948
+SHA256 8c8e4cc261f26588b7da12c5ca73bf05130adb693316be5936616ad0b13973fa dcc-1.3.31.ebuild 3948
MD5 f4024b299ddf4d0921ef9dc6cce1b0c3 files/digest-dcc-1.2.28 67
RMD160 5c04163e71870bfd08291466ffce46aaee31269e files/digest-dcc-1.2.28 67
SHA256 1237d991925a80fd6ee9f07d2b18a059f08b9af3fcebb937decd2c5b23eacd36 files/digest-dcc-1.2.28 67
@@ -31,6 +34,9 @@ SHA256 08bedcf7846ea76c89f61b1aea51783cdb0cf7c976e1d84ad87094006d46cb82 files/di
MD5 a055d56425b58fa58fd225c92c063d58 files/digest-dcc-1.3.24 247
RMD160 fe31df476cdddfb19965d2639657d583d5fa03b3 files/digest-dcc-1.3.24 247
SHA256 d1edff47a4b87b36b3de0dcf0f708aaebfe71db0d776892437a3b7a123183a22 files/digest-dcc-1.3.24 247
+MD5 8d925686c6729563a2b5a8e473ad9dd3 files/digest-dcc-1.3.31 247
+RMD160 29c310f2988324a48e4c450c5baed030c10506f7 files/digest-dcc-1.3.31 247
+SHA256 684f6ecafc6bd492c8349f12f623e8bfad0e2ad8a972a1007b5e616f6dc1b846 files/digest-dcc-1.3.31 247
MD5 5e658b705b2985d36d82b2a5d218ec78 metadata.xml 224
RMD160 7a7b22292aa2fdfd4c9e3f9abe62aff83170f428 metadata.xml 224
SHA256 d67b611ce73649753af8a136a53c5dfae6628c053d01687779f108753fd20929 metadata.xml 224
diff --git a/mail-filter/dcc/dcc-1.3.24.ebuild b/mail-filter/dcc/dcc-1.3.24.ebuild
index 810bc65f32c0..b99de4ec2f5d 100644
--- a/mail-filter/dcc/dcc-1.3.24.ebuild
+++ b/mail-filter/dcc/dcc-1.3.24.ebuild
@@ -1,6 +1,6 @@
# 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.6 2006/03/26 10:07:28 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.24.ebuild,v 1.7 2006/03/26 10:11:11 robbat2 Exp $
inherit flag-o-matic
@@ -12,7 +12,7 @@ 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"
+IUSE="ipv6 rrdtool"
RDEPEND="dev-lang/perl
rrdtool? ( net-analyzer/rrdtool )
@@ -99,7 +99,7 @@ src_install() {
eval mv $statslist ${D}/usr/sbin/ || die "Failed to move rrdtool apps"
else
einfo "Removing rrdtool interface scripts"
- rm -f ${statslist} || die "Failed to clean up rrdtool scripts"
+ eval rm -f ${statslist} || die "Failed to clean up rrdtool scripts"
fi
einfo "Cleaning up"
diff --git a/mail-filter/dcc/dcc-1.3.31.ebuild b/mail-filter/dcc/dcc-1.3.31.ebuild
new file mode 100644
index 000000000000..d02c5b4b5d9c
--- /dev/null
+++ b/mail-filter/dcc/dcc-1.3.31.ebuild
@@ -0,0 +1,112 @@
+# 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.31.ebuild,v 1.1 2006/03/26 10:11:11 robbat2 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/
+}
diff --git a/mail-filter/dcc/files/digest-dcc-1.3.31 b/mail-filter/dcc/files/digest-dcc-1.3.31
new file mode 100644
index 000000000000..10618c09cc23
--- /dev/null
+++ b/mail-filter/dcc/files/digest-dcc-1.3.31
@@ -0,0 +1,3 @@
+MD5 5b818c323b7282dd10dc97b538097f6f dcc-dccd-1.3.31.tar.Z 1406285
+RMD160 d3df67cf9e86ccf4819264de37571ef16b4c5484 dcc-dccd-1.3.31.tar.Z 1406285
+SHA256 e3a30c57e5e0978b478430e7cbf35eed685922d0008efb44f856d1c0010e5922 dcc-dccd-1.3.31.tar.Z 1406285