summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-02-01 08:39:42 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-02-01 08:39:42 +0000
commit62217953b590ba06beb9ae2691776d19e987b5aa (patch)
tree75919c39a701faf9807a4b2002f05cd3114bc8a7 /mail-filter/dcc
parentversion bump to correct some bugs in the userspace interface and fix a small ... (diff)
downloadhistorical-62217953b590ba06beb9ae2691776d19e987b5aa.tar.gz
historical-62217953b590ba06beb9ae2691776d19e987b5aa.tar.bz2
historical-62217953b590ba06beb9ae2691776d19e987b5aa.zip
Bug #299258: version bump.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'mail-filter/dcc')
-rw-r--r--mail-filter/dcc/ChangeLog9
-rw-r--r--mail-filter/dcc/Manifest4
-rw-r--r--mail-filter/dcc/dcc-1.3.119.ebuild135
3 files changed, 145 insertions, 3 deletions
diff --git a/mail-filter/dcc/ChangeLog b/mail-filter/dcc/ChangeLog
index 230352d42271..fb7eaff95778 100644
--- a/mail-filter/dcc/ChangeLog
+++ b/mail-filter/dcc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/dcc
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/ChangeLog,v 1.59 2009/09/23 17:52:47 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/ChangeLog,v 1.60 2010/02/01 08:39:42 robbat2 Exp $
+
+*dcc-1.3.119 (01 Feb 2010)
+
+ 01 Feb 2010; Robin H. Johnson <robbat2@gentoo.org> +dcc-1.3.119.ebuild:
+ Bug #299258: version bump.
23 Sep 2009; Patrick Lauer <patrick@gentoo.org> dcc-1.3.55.ebuild,
dcc-1.3.97.ebuild, dcc-1.3.102.ebuild:
diff --git a/mail-filter/dcc/Manifest b/mail-filter/dcc/Manifest
index 2724c9c74b50..ceef90576e06 100644
--- a/mail-filter/dcc/Manifest
+++ b/mail-filter/dcc/Manifest
@@ -2,10 +2,12 @@ AUX dcc-1.3.86.patch 1337 RMD160 266253bd960c5a81c7af50174818538b6fd734f6 SHA1 d
AUX dcc.confd 274 RMD160 da42330e9085960e6dae4fe26db74ae2742ef0a9 SHA1 36e1920c5cab693e123f6b324bd229903531d8f2 SHA256 c3c379c26d3c06a18ba87bd22bb299cbcacad262eff78ce75385c6d753373a0e
AUX dcc.initd 3112 RMD160 ed649dac393301fb96f4f0b415a5010af5dd896d SHA1 ea1894b1fc9a88e33dbdb5902cd7940ad7200d26 SHA256 0db8f6330c2fb3d06e16c0c527b0326f0cd1ea29550cdf223aeb587c7192cc5f
DIST dcc-1.3.102.tar.Z 2451793 RMD160 06f19438705ec8a9a5ea506289b44f92106f900a SHA1 dc6fbdf7a7f617f206434aa16ecf883a99e70ebb SHA256 5da6d017048801b8dec39a7a4a078e15b41fa26aa1c486ad69c1fc1b41bde149
+DIST dcc-1.3.119.tar.Z 1635339 RMD160 bb830466e09088bc0726d295e84b23b228bc8a33 SHA1 af406b57d23a6d7f9cfe3feb779dd0c5d646d41e SHA256 1527d293481a7c957227cc2e39609135401adb0c1281b48f4132ee31bc903bd2
DIST dcc-1.3.97.tar.Z 2548599 RMD160 b777ed19912f3bb0a617d083d479b9cc2cc47b59 SHA1 8212e07c5eee573c36cdb7527e1efe7573bc05a1 SHA256 d959351a7440e0703f35ebcfc4bfd8e83b92867a82970f716816aa84c55c49f7
DIST dcc-dccd-1.3.55.tar.Z 1457561 RMD160 8182bdd8f5c96a68ba6989bf37807dfa5aee19b7 SHA1 fa926bfb6c8418cea65cbc0c442c9b0a9a833b36 SHA256 9aa82c645b90a1000c6cc812e6df18768885486e053194220e8753d1c45ebb94
EBUILD dcc-1.3.102.ebuild 4235 RMD160 00b7c88924a5587eec50550ff4a07b9dd3ef9633 SHA1 332676359980c49d196fddc76f4d6a5e0fbff363 SHA256 4310a1371a7177a02bfb55e170cfc553ab4451f494788f87ab4feeb035606a57
+EBUILD dcc-1.3.119.ebuild 4280 RMD160 c52cf8ec68d0e94cfa0e8559cdfb3842845d19c6 SHA1 77b70bd1dad7bc02fb6b43a5a232daf089858f87 SHA256 39ad6f29441ef4957064bbebb309f0b29187db11f814417a62c3b6770f89c047
EBUILD dcc-1.3.55.ebuild 3905 RMD160 2048de4a0ea38b451806261e00cd5492475f3cd5 SHA1 750529f7bf9aec06595ad8831afd5a6ff16a0720 SHA256 6e40f958e75847e4b515dc20677294808ee11af0474b094c6e3bff160379a036
EBUILD dcc-1.3.97.ebuild 4234 RMD160 16a8c7f27bea2d3ff7fc647fa11706273177c973 SHA1 9e572f511e0e6f933c2d8f1ce7229e18e6ead319 SHA256 a6aaa86f28b023a7c3d019aeda19bf3de65094bd10460cf5b14a4a9d4f12bc46
-MISC ChangeLog 7131 RMD160 78478d99ccf70ae2d7da0f66bc2fa7f43660e25c SHA1 585171926e0fc2518bbbfb8eb3c9eac55639d83a SHA256 f701d8b1432ff26b914bd4cafc89193a099d5279977da63be1c5e481a42ef62a
+MISC ChangeLog 7263 RMD160 5752d33da0a151b6e52b4b74383fea13fa0413cd SHA1 08714c47b85019ed570443b122dd51aeac403704 SHA256 1fb895a3d58cfd0eda70cfe8bbc9cbb2379a2105ad0618410e26cd4979eac34f
MISC metadata.xml 324 RMD160 76205802852d0b5b55cdfe30c25452661675f4ae SHA1 9c261fe7a0389a016a42475447505c6c816a6a42 SHA256 ceb55854f84ec88f0305b0138c48c22bd8fa0834127c78cc158447527dad7155
diff --git a/mail-filter/dcc/dcc-1.3.119.ebuild b/mail-filter/dcc/dcc-1.3.119.ebuild
new file mode 100644
index 000000000000..fe59e4cd5554
--- /dev/null
+++ b/mail-filter/dcc/dcc-1.3.119.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.119.ebuild,v 1.1 2010/02/01 08:39:42 robbat2 Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="Distributed Checksum Clearinghouse"
+HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
+SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${PN}-${PV}.tar.Z"
+
+LICENSE="DCC"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="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 )"
+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
+
+src_unpack() {
+ unpack ${A}
+ #cd "${S}"
+ #epatch "${FILESDIR}"/${PN}-1.3.86.patch
+}
+
+src_compile() {
+ 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}"
+ myconf="${myconf} --with-DCC-MD5"
+ myconf="${myconf} --with-uid=root"
+ myconf="${myconf} --enable-server"
+ myconf="${myconf} --enable-dccifd"
+ #myconf="${myconf} --without-cgibin"
+ myconf="${myconf} --with-cgibin=${dcc_cgibin}"
+ 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} $(use_enable ipv6 IPv6)"
+
+ if use milter ; then
+ myconf="${myconf} --enable-dccm"
+ myconf="${myconf} --with-sendmail="
+ else
+ myconf="${myconf} --disable-dccm"
+ fi
+
+ einfo "Using config: ${myconf}"
+
+ # This is NOT a normal configure script.
+ ./configure ${myconf} || die "configure failed!"
+ #make -C homedir
+ emake || die "emake failed!"
+}
+
+moveconf() {
+ for i in $@; do
+ local into=/etc/dcc/
+ 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=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
+
+ addwrite "${dcc_homedir}/map"
+# 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 || 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 "Enabling milter"
+ if use milter ; then
+ sed -i -e "s:^[\t #]*\(DCCM_ENABLE[\t ]*=[\t ]*\).*:\1on:g" \
+ "${D}"${dcc_homedir}/dcc_conf
+ fi
+
+ einfo "Providing cronjob"
+ mv "${D}"/usr/sbin/cron-dccd "${D}"/etc/cron.daily/dccd
+
+ einfo "Cleaning up"
+ mv "${D}"/usr/sbin/logger "${D}"/usr/sbin/logger-dcc
+
+ statslist="${D}/usr/sbin/{dcc-stats-graph,dcc-stats-init,dcc-stats-collect}"
+ if ! use rrdtool; then
+ einfo "Removing rrdtool interface scripts"
+ eval rm -f ${statslist} || die "Failed to clean up rrdtool scripts"
+ fi
+
+ einfo "Cleaning up"
+ rm -f "${D}"/usr/sbin/{rcDCC,updatedcc}
+
+ einfo "Placing configuration files into /etc instead of /var/dcc"
+ moveconf dcc_conf flod grey_flod grey_whitelist ids map map.txt whiteclnt whitecommon whitelist
+
+ einfo "Install conf.d configuration"
+ newconfd "${FILESDIR}"/dcc.confd dcc
+
+ einfo "Install init.d script"
+ newinitd "${FILESDIR}"/dcc.initd dcc
+
+ rmdir "${D}"/var/dcc/log/
+}