summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2015-04-23 23:14:40 +0000
committerManuel Rüger <mrueg@gentoo.org>2015-04-23 23:14:40 +0000
commita8127216c7f31ffc9d97744db88ba4865d6d3a06 (patch)
treea2a85be8d68868b759858c4f2cf2101a38f67e8e /mail-filter
parentVersion bump. (diff)
downloadgentoo-2-a8127216c7f31ffc9d97744db88ba4865d6d3a06.tar.gz
gentoo-2-a8127216c7f31ffc9d97744db88ba4865d6d3a06.tar.bz2
gentoo-2-a8127216c7f31ffc9d97744db88ba4865d6d3a06.zip
Remove old.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/dcc/ChangeLog9
-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
7 files changed, 7 insertions, 785 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/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/
-}