summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2015-04-23 23:19:39 +0000
committerManuel Rüger <mrueg@gentoo.org>2015-04-23 23:19:39 +0000
commit7a7be77638fe7016ae6b5677efa8e4691c3195fc (patch)
treed4340a9b95bd1e22b1f0994bc3e6442449c75cb2 /mail-filter/dcc
parentVersion bump. (diff)
downloadhistorical-7a7be77638fe7016ae6b5677efa8e4691c3195fc.tar.gz
historical-7a7be77638fe7016ae6b5677efa8e4691c3195fc.tar.bz2
historical-7a7be77638fe7016ae6b5677efa8e4691c3195fc.zip
Remove old.
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Diffstat (limited to 'mail-filter/dcc')
-rw-r--r--mail-filter/dcc/ChangeLog9
-rw-r--r--mail-filter/dcc/Manifest13
-rw-r--r--mail-filter/dcc/dcc-1.3.102.ebuild134
-rw-r--r--mail-filter/dcc/dcc-1.3.119-r1.ebuild135
-rw-r--r--mail-filter/dcc/dcc-1.3.119.ebuild135
-rw-r--r--mail-filter/dcc/dcc-1.3.135.ebuild135
-rw-r--r--mail-filter/dcc/dcc-1.3.55.ebuild110
-rw-r--r--mail-filter/dcc/dcc-1.3.97.ebuild134
8 files changed, 8 insertions, 797 deletions
diff --git a/mail-filter/dcc/ChangeLog b/mail-filter/dcc/ChangeLog
index 1d7953190c0b..798591db4afe 100644
--- a/mail-filter/dcc/ChangeLog
+++ b/mail-filter/dcc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/dcc
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/ChangeLog,v 1.77 2013/12/28 04:50:23 robbat2 Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/ChangeLog,v 1.78 2015/04/23 23:14:40 mrueg Exp $
+
+ 23 Apr 2015; Manuel Rüger <mrueg@gentoo.org> -dcc-1.3.102.ebuild,
+ -dcc-1.3.119-r1.ebuild, -dcc-1.3.119.ebuild, -dcc-1.3.135.ebuild,
+ -dcc-1.3.55.ebuild, -dcc-1.3.97.ebuild:
+ Remove old.
28 Dec 2013; Robin H. Johnson <robbat2@gentoo.org>
+files/dcc-1.3.140-freebsd.patch, dcc-1.3.154.ebuild, files/dcc.initd-1.3.154:
diff --git a/mail-filter/dcc/Manifest b/mail-filter/dcc/Manifest
index f8dbce481172..b44b542e45a0 100644
--- a/mail-filter/dcc/Manifest
+++ b/mail-filter/dcc/Manifest
@@ -5,20 +5,9 @@ AUX dcc.confd 274 SHA256 c3c379c26d3c06a18ba87bd22bb299cbcacad262eff78ce75385c6d
AUX dcc.initd 3119 SHA256 3b953c64975953d657f67d7d4697626508696ef262e786616a951017445dd339 SHA512 b3a3d050528127e8550f101e77cf07ebbe991c6a0cd51e8d9506c9747b8a212193ee87a201931425ca1be77c427c1098fa0d02b4d1eb511a0a9218c66be337c4 WHIRLPOOL 1a73ec208fea17cd128424a5f318d34804c1a7a61b048ba987d7e4f29e0f6af8b2f64ba76756d96a662a25d820a6e9d3f6b049b2e3cb4259391de42ea8cb399a
AUX dcc.initd-1.3.140 2812 SHA256 8ccc6f817d8cc9568fee920c597987340114b319436e79403336faf82f5c5b50 SHA512 e29613b7159f30a23eb58253801813cd0e5636a0d6ddeabf9d89d9e9556a1d46961cadae779ae2bfe756f125751ef00ac0a44431af699a3ea6344d155c121eea WHIRLPOOL ed81bb971a5e58dbbdb8e41994183e1b9bd1ce8b43379d00e5dc74ddd3b6b097e66ed1910a22760437acf49182d945bce7d331ddf05b1b913dadac9d9477763f
AUX dcc.initd-1.3.154 2907 SHA256 a5fd663d06e0cd2469d1e2c3c35b01e722aacdf0d1a2ff2afbf31f66535132e8 SHA512 9357cc3ed6c1278e326ce24f47af316d13811f8ef384eb0dd3485017af819f6d0dbe18e717d14d5e039ed816e1518789e048888df3b13185e61274d96e70616c WHIRLPOOL 15c4b5fb408d1b982ed42b86d379145d0652a94297a8f84f1321b1809b1ae18f779f63c451081f736f613499685f834756c7554b47bc7e1e6fb89f272c912c81
-DIST dcc-1.3.102.tar.Z 2451793 SHA256 5da6d017048801b8dec39a7a4a078e15b41fa26aa1c486ad69c1fc1b41bde149 SHA512 eced863f2955756c7fbd2a2f951fe79b77369ad4d86a6df6a790bb81c89c0f792b93feef84ce2a8e750e1a9b72fb35a33a4beae2cc265f861dcb9c15602ef6e2 WHIRLPOOL 8ac599b2c0647723a4ad9f59f5bb549be1900cf18806b2071e45c881623f9c234ac6388c1d47b686a500a38ef0a4365dcd639e9b3e4a885ffcd803f9f30711f1
-DIST dcc-1.3.119.tar.Z 1635339 SHA256 1527d293481a7c957227cc2e39609135401adb0c1281b48f4132ee31bc903bd2 SHA512 ea22941031edd02e1f86755a03b78214baf9acbc3f9764ada9e2948cc0a07e9ac4ab7e5566e506d9f40a56f15d482a97b404f3709ac174f84b1fd2f5c3377454 WHIRLPOOL 3bc5e8b3a80139982fda42f042a9f2945f94c1ac3c7460a7fc40f467718f4d026161635be9e2eb59687536d841faf212364dc92f3fae68416bcab71612fa487b
-DIST dcc-1.3.135.tar.Z 1680018 SHA256 d439c2d4b05884826646b46139a81a769857e669150c732266cede6a30506670 SHA512 48fd0a496915e9a5c6678613ab6a80e70767f1a8122ae687b955314d90dc5fef44dc24daf43874dbac99987094b238173a0e090694976532e19a4232931d57f9 WHIRLPOOL 2270549c30c1b12f60281fe61df397d41a7a00c35d2faa840efeaa4f1631ef4212751109ec56a82f575832305118affd2db4ca058e57bfc0384b3a7a120a1e90
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.97.tar.Z 2548599 SHA256 d959351a7440e0703f35ebcfc4bfd8e83b92867a82970f716816aa84c55c49f7 SHA512 33e7f79e4de7356f094c653205445bfbeecd7b80c5fa667a482aec571c5023f826bdd47a5ff8f95613b24604d90bb1e63e6be9acfa012a7c5e13755d95781e8c WHIRLPOOL d533efc55ed07b474080ad72e80e30a2629b10c9c234166f139c4b5376d140a575002942eebcc076d6b5366684039692202802db0ca9be8f4599cb994cc96461
-DIST dcc-dccd-1.3.55.tar.Z 1457561 SHA256 9aa82c645b90a1000c6cc812e6df18768885486e053194220e8753d1c45ebb94 SHA512 8f2d3ed12818f61b5f8e9a247187ef3b22106f5d6063448b322a171f9c278e4c6333427aa4a5e3ce4a331279d885811d6e513e9b74da3b2c73267a14d86005f8 WHIRLPOOL 205d4025eae2b1bf283257823c5ab10fe9e343c43ea03527e9f4ab7cfc592332f4b3fee8a81173f7ad5a66be910429478b5ae855ee1fc3021e98889978a3076a
-EBUILD dcc-1.3.102.ebuild 4242 SHA256 63d7e19498fbb8e0696cd142e0a289f2258d5d8906ab057df4a3fae5a35981c3 SHA512 cd8ee5d60be41dfe7122cad79c29babf72176ae390eae7bed0aa0bca16568aff5d378d62efed8575f8667e84f3755c004f52089f692751f1e7ac30a4be0aa504 WHIRLPOOL 2e76679bbc8f3a2a69534c29b3aae2999e21fc1a7ad284fc5af2c9dec7489220ba9cd1498cc139faec302ae6b7fcb5ea8364090240bc6df4a04e05a3410638c3
-EBUILD dcc-1.3.119-r1.ebuild 4316 SHA256 dd5febb6de63cc2fb531c61570f4863f49fb39c6fcb6ec4923cedb64398a7802 SHA512 83f787805293e439f9659e995ab3ae6d2c5b19b7da8330d326ce4ddf13f1ea0faebc5311689c2def30771b8f2f77c40fd7898186967b9094fe4dcbb4ce1f5c0e WHIRLPOOL d6b8259a42a40d775b7811b73eaae3091dc2333d7820340bd2079edec1769a6d19ff21feea84bd69deb20e7db37cc7f42a59692fd4802b4509d65c6d708cae5a
-EBUILD dcc-1.3.119.ebuild 4281 SHA256 5e41bf38b798a92def77c40dabd34d7a243238565de8cdb945ad9990a7c8c9b1 SHA512 9b6156799e998cec0493e117805de4bedfc90e5cc2469822364e70cc64d1dc641abb95e6986e273daac49c359409aaf6b9c723089b748399c86010283eb7a8e0 WHIRLPOOL 50e78833927355ab4bd639cfb5998d6ce666efcb9d86707db3225bc672ee0dfd3f3feb2f42b0c7c2897a9f34a29a2a789646d41444fc540a691f4e1c90319b84
-EBUILD dcc-1.3.135.ebuild 4312 SHA256 9259c69aae7641f99b001638902bf6f7597938d3bfe237b15c3d9e0b4da1f4d5 SHA512 46c88df862d3a605e7cbf25000beae7003dcf2e148b9d3803ba9501c7b7a4619a322a1e03c10c1d8bf77a5779ebed47109636cb289522387a05ae4cb57284d6b WHIRLPOOL 97bdd35a6017cee61a31a3d0b83ae48753db4e2be32c56ac2413f0749dc3c760be4109684eda0754d08b865fafb178e17e68c91edbe53b2826075b934d2f3aec
EBUILD dcc-1.3.140-r1.ebuild 4560 SHA256 73a6cbe5e37398351af758a3b31289aeb45bf7083f58e0ff66999e4df3b8e7cf SHA512 c4428d6ef0232e18bbcf23b9f4adbe203b7c245053089ae587bcc0de1da9af2fc0e4441c6555b0c986d8c8d9a9de7369760946376cd04798f16cf69507ac82b1 WHIRLPOOL 753ad160163ed57e826344654d690d50dccfe77d3991f7abeddd5ad52967b4718e02d67f0210ea9072e5a327a1dc463b912f545c69ab3aba970d747aef40417a
EBUILD dcc-1.3.154.ebuild 4468 SHA256 b62c824c7e8450389c21ad511ee418e461d7d517539f831f825298c21cb5e4d5 SHA512 4aa015875e555b8bca0856a35bd50b101fecb97ce95999f35f94842bd87e96bccfb75f939b1e606de06e5ee963146ac653f56e841dfd554d3de61539c875d864 WHIRLPOOL 43575d7f54b60f678ff987a8c6afb6c82905e3d1fec79f85d5547c96c900118fb6837b1eb00a0df150b8c9268c3c3499350523cb778ea3ca7c2d083e92b1c645
-EBUILD dcc-1.3.55.ebuild 3905 SHA256 6e40f958e75847e4b515dc20677294808ee11af0474b094c6e3bff160379a036 SHA512 380fb1ccbb88f96a008694a4398444a00591601b1f4ead3820b95080c10feb7f040498eeec6ed52608cccef2791bc86d0788895d3dbc69a49c616d8da2c44849 WHIRLPOOL 05a4b98fc6a165e107d221be145b319a58676b0520f0d47bbf2a6c68643b31054cf93bd1a5f3852f392b1c31023e77b0475c25c8a00e4d887b52315c8eac2cca
-EBUILD dcc-1.3.97.ebuild 4241 SHA256 0833e9402dd81fabae7c99f63a25e8ee0b11eebf950884643cc6c22329c9ff4d SHA512 7fe980e4dec6632c5dd2c77967a4d10babbb14dcbcb253cf047c088a818c05ebd156da212eb7d82c3f8d3d3fcd5f92d1fa432eb5789f933594994c63b268ffef WHIRLPOOL c7ec85d3eaeaf3ec76a0075569b97c1f05c17f57f1bf1f891b794adb03f0d9260f6fec330782d85968e82721ce0542b5c3ce04304cf45f7f0437df9e8af36553
-MISC ChangeLog 9973 SHA256 9ba0f5499ea69aeb5288b018ba86611ecd5cb160cf74ad4b4b285d47b3859bba SHA512 68ef39a6cb71c2f95ecdc9a4d6c4f399e0ef6fa531709c2d1af620b936a425cc2b1690d5937600a2dcdbaee10073d77794b4dc719f381db15a3d41edc54d7955 WHIRLPOOL 9543959dae8b8eda8af9e1e3a23bbafaa23fca9467fed0a9643b545a7a3f50e2d423908f4ce756059c4673c4c4319d4e6f582cb5d5c677d5ecc06f5ebbfa8151
+MISC ChangeLog 10165 SHA256 8e7a89bedd240f782074b11fd5b8ad0198ea4905742be6df82afaf05bb31749e SHA512 10497649366befa039a025d7faf40e83fbcb369b09697f165ab16bdb7a355611f7446db8e499d11b70822079037dfa73dcae7bd84eddcf0416b8614b3528176d WHIRLPOOL 450184e5aaef8acca9ae3449a83fcf24b52c9ba16ee9a95268fc75d6552fcbedd0aa5723e8ae225f5d8f57f5fe1d97bb6d215416ee3cc7f5670aea5202e919f6
MISC metadata.xml 324 SHA256 ceb55854f84ec88f0305b0138c48c22bd8fa0834127c78cc158447527dad7155 SHA512 cd9f142a6a797fdc44efb0f11740c7a940140d6e4a8ad80c0369925062da0f9bc6e93645d53400941c91396e547200f79ce0c54de96034fa788be19b5794f25a WHIRLPOOL 7f4703f428f5b3902b1b50b7c09082a7bfee2f2a6913574eb6d5c73076157ac42796def2dea991cc996cc4b3c6949de555a07aa44992dc4e2d3e4504cbf70fd9
diff --git a/mail-filter/dcc/dcc-1.3.102.ebuild b/mail-filter/dcc/dcc-1.3.102.ebuild
deleted file mode 100644
index 6ac6dda78036..000000000000
--- a/mail-filter/dcc/dcc-1.3.102.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.102.ebuild,v 1.3 2012/06/04 23:45:28 zmedico Exp $
-
-inherit eutils 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}"
-
- ./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/
-}
diff --git a/mail-filter/dcc/dcc-1.3.119-r1.ebuild b/mail-filter/dcc/dcc-1.3.119-r1.ebuild
deleted file mode 100644
index 8e6c092ab25e..000000000000
--- a/mail-filter/dcc/dcc-1.3.119-r1.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# 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-r1.ebuild,v 1.1 2010/07/10 22:18:20 hwoarang Exp $
-
-inherit 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/${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 CC="$(tc-getCC)" || 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/
-}
diff --git a/mail-filter/dcc/dcc-1.3.119.ebuild b/mail-filter/dcc/dcc-1.3.119.ebuild
deleted file mode 100644
index 6b0611481bd3..000000000000
--- a/mail-filter/dcc/dcc-1.3.119.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# 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.2 2010/02/01 17:42:36 mr_bones_ 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/
-}
diff --git a/mail-filter/dcc/dcc-1.3.135.ebuild b/mail-filter/dcc/dcc-1.3.135.ebuild
deleted file mode 100644
index 183a5945b269..000000000000
--- a/mail-filter/dcc/dcc-1.3.135.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.135.ebuild,v 1.1 2011/01/25 04:21:27 robbat2 Exp $
-
-inherit 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/${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 CC="$(tc-getCC)" || 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/
-}
diff --git a/mail-filter/dcc/dcc-1.3.55.ebuild b/mail-filter/dcc/dcc-1.3.55.ebuild
deleted file mode 100644
index b1834129ae91..000000000000
--- a/mail-filter/dcc/dcc-1.3.55.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2009 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.11 2009/09/23 17:52:47 patrick 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 )"
-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 "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/
-}
diff --git a/mail-filter/dcc/dcc-1.3.97.ebuild b/mail-filter/dcc/dcc-1.3.97.ebuild
deleted file mode 100644
index 1f5e436d1700..000000000000
--- a/mail-filter/dcc/dcc-1.3.97.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.97.ebuild,v 1.8 2012/06/04 23:45:28 zmedico Exp $
-
-inherit eutils 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}"
-
- ./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/
-}