summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott W Taylor <swtaylor@gentoo.org>2005-03-21 17:46:11 +0000
committerScott W Taylor <swtaylor@gentoo.org>2005-03-21 17:46:11 +0000
commit32e9168ae2685499a5802a09e14b05d20f13fff2 (patch)
tree9e69764391812b7fe18a13b48e57736af18fb502 /mail-filter
parentStable on x86. (diff)
downloadgentoo-2-32e9168ae2685499a5802a09e14b05d20f13fff2.tar.gz
gentoo-2-32e9168ae2685499a5802a09e14b05d20f13fff2.tar.bz2
gentoo-2-32e9168ae2685499a5802a09e14b05d20f13fff2.zip
bump. closing 49068
(Portage version: 2.0.51.19)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/dcc/ChangeLog8
-rw-r--r--mail-filter/dcc/Manifest12
-rw-r--r--mail-filter/dcc/dcc-1.2.28-r1.ebuild4
-rw-r--r--mail-filter/dcc/dcc-1.2.74.ebuild101
-rw-r--r--mail-filter/dcc/files/digest-dcc-1.2.741
5 files changed, 113 insertions, 13 deletions
diff --git a/mail-filter/dcc/ChangeLog b/mail-filter/dcc/ChangeLog
index 59d97d7bd2b2..71647375e236 100644
--- a/mail-filter/dcc/ChangeLog
+++ b/mail-filter/dcc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-filter/dcc
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/ChangeLog,v 1.12 2005/03/17 18:21:36 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/ChangeLog,v 1.13 2005/03/21 17:46:11 swtaylor Exp $
+
+*dcc-1.2.74 (21 Mar 2005)
+
+ 21 Mar 2005; Scott W Taylor <swtaylor@gentoo.org> dcc-1.2.28-r1.ebuild,
+ +dcc-1.2.74.ebuild:
+ bump
17 Mar 2005; Seemant Kulleen <seemant@gentoo.org> dcc-1.2.28.ebuild,
dcc-1.2.28-r1.ebuild:
diff --git a/mail-filter/dcc/Manifest b/mail-filter/dcc/Manifest
index 08a098f575e8..4621ee3f08bb 100644
--- a/mail-filter/dcc/Manifest
+++ b/mail-filter/dcc/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 85f1270bc15192899943dcaed59490a2 dcc-1.2.74.ebuild 3583
MD5 c60cbdb78b2334e2e9a2e7e4a5b9e067 dcc-1.2.28-r1.ebuild 3447
MD5 faf4895d1addd7439a2b6a5d0ed17a32 dcc-1.2.28.ebuild 3117
MD5 b4a4896027f1ec33184478c9c6291d19 ChangeLog 1624
MD5 5e658b705b2985d36d82b2a5d218ec78 metadata.xml 224
MD5 f4024b299ddf4d0921ef9dc6cce1b0c3 files/digest-dcc-1.2.28 67
+MD5 1e48ac518bb2e13c6194d45732e6efa5 files/digest-dcc-1.2.74 67
MD5 f4024b299ddf4d0921ef9dc6cce1b0c3 files/digest-dcc-1.2.28-r1 67
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCOdwhI1lqEGTUzyQRAljNAJ94CesrlIOhSc71R1w57UlsJg15yQCdHO1I
-0PFXN0XauVTBrsreKfWw0Es=
-=M32q
------END PGP SIGNATURE-----
diff --git a/mail-filter/dcc/dcc-1.2.28-r1.ebuild b/mail-filter/dcc/dcc-1.2.28-r1.ebuild
index 4c25e14ad627..8ce8603feac8 100644
--- a/mail-filter/dcc/dcc-1.2.28-r1.ebuild
+++ b/mail-filter/dcc/dcc-1.2.28-r1.ebuild
@@ -1,6 +1,6 @@
# 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.2 2005/03/17 18:21:36 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.2.28-r1.ebuild,v 1.3 2005/03/21 17:46:11 swtaylor Exp $
DESCRIPTION="Distributed Checksum Clearinghouse"
HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
@@ -9,7 +9,7 @@ SRC_URI="${HOMEPAGE}/source/${MY_P}.tar.Z"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~amd64"
+KEYWORDS="x86 ppc amd64"
IUSE="ipv6"
RDEPEND="dev-lang/perl
diff --git a/mail-filter/dcc/dcc-1.2.74.ebuild b/mail-filter/dcc/dcc-1.2.74.ebuild
new file mode 100644
index 000000000000..f11389c0c0f3
--- /dev/null
+++ b/mail-filter/dcc/dcc-1.2.74.ebuild
@@ -0,0 +1,101 @@
+# 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.1 2005/03/21 17:46:11 swtaylor Exp $
+
+DESCRIPTION="Distributed Checksum Clearinghouse"
+HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
+MY_P="dcc-dccd-${PV}"
+SRC_URI="${HOMEPAGE}/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/
+}
diff --git a/mail-filter/dcc/files/digest-dcc-1.2.74 b/mail-filter/dcc/files/digest-dcc-1.2.74
new file mode 100644
index 000000000000..172cf82a7540
--- /dev/null
+++ b/mail-filter/dcc/files/digest-dcc-1.2.74
@@ -0,0 +1 @@
+MD5 268a11c2a22b177dd12ea5665d3c4bd5 dcc-dccd-1.2.74.tar.Z 1232905