diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2005-12-12 05:41:11 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2005-12-12 05:41:11 +0000 |
commit | 0fb37f45849a2fd8ebb7af3bff3afb1fe970317b (patch) | |
tree | 36810838bf304252c72a8684f5b2f1022b44b35e /mail-filter | |
parent | Version bump. (diff) | |
download | gentoo-2-0fb37f45849a2fd8ebb7af3bff3afb1fe970317b.tar.gz gentoo-2-0fb37f45849a2fd8ebb7af3bff3afb1fe970317b.tar.bz2 gentoo-2-0fb37f45849a2fd8ebb7af3bff3afb1fe970317b.zip |
Bug #111370 - version bump.
(Portage version: 2.0.53)
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/dcc/ChangeLog | 7 | ||||
-rw-r--r-- | mail-filter/dcc/Manifest | 2 | ||||
-rw-r--r-- | mail-filter/dcc/dcc-1.3.24.ebuild | 102 | ||||
-rw-r--r-- | mail-filter/dcc/files/digest-dcc-1.3.24 | 1 |
4 files changed, 111 insertions, 1 deletions
diff --git a/mail-filter/dcc/ChangeLog b/mail-filter/dcc/ChangeLog index 03a7cb1cfd6b..8d0f3f7a1818 100644 --- a/mail-filter/dcc/ChangeLog +++ b/mail-filter/dcc/ChangeLog @@ -1,6 +1,11 @@ # 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.21 2005/12/12 03:38:17 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/ChangeLog,v 1.22 2005/12/12 05:41:11 robbat2 Exp $ + +*dcc-1.3.24 (12 Dec 2005) + + 12 Dec 2005; Robin H. Johnson <robbat2@gentoo.org> +dcc-1.3.24.ebuild: + Bug #111370 - version bump. 12 Dec 2005; Robin H. Johnson <robbat2@gentoo.org> dcc-1.3.16.ebuild: Bug #107028, change SRC_URI to avoid upsteams 301 redirect. diff --git a/mail-filter/dcc/Manifest b/mail-filter/dcc/Manifest index 5fe1dcecc8ce..ab946052ba8b 100644 --- a/mail-filter/dcc/Manifest +++ b/mail-filter/dcc/Manifest @@ -3,8 +3,10 @@ MD5 9820a1516eab5f987d0acc4937109f37 dcc-1.2.28-r1.ebuild 3468 MD5 088846b45a9f76ff360b59e162aa691b dcc-1.2.28.ebuild 3142 MD5 44316ec77134d08f57f6b7092d506758 dcc-1.2.74.ebuild 3558 MD5 60aa8cdc4a2f09dd1e880f74785c0fe6 dcc-1.3.16.ebuild 3539 +MD5 34d970b048e94ffcc45e9fc0cab8daa4 dcc-1.3.24.ebuild 3566 MD5 f4024b299ddf4d0921ef9dc6cce1b0c3 files/digest-dcc-1.2.28 67 MD5 f4024b299ddf4d0921ef9dc6cce1b0c3 files/digest-dcc-1.2.28-r1 67 MD5 1e48ac518bb2e13c6194d45732e6efa5 files/digest-dcc-1.2.74 67 MD5 fb9e3179011fd75dc427787fbcd6a028 files/digest-dcc-1.3.16 67 +MD5 fff69962c33a1f171df123bd9953845d files/digest-dcc-1.3.24 67 MD5 5e658b705b2985d36d82b2a5d218ec78 metadata.xml 224 diff --git a/mail-filter/dcc/dcc-1.3.24.ebuild b/mail-filter/dcc/dcc-1.3.24.ebuild new file mode 100644 index 000000000000..9dd89002c703 --- /dev/null +++ b/mail-filter/dcc/dcc-1.3.24.ebuild @@ -0,0 +1,102 @@ +# 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.3.24.ebuild,v 1.1 2005/12/12 05:41:11 robbat2 Exp $ + +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 ppc ppc64 ~sparc x86" +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 + export LDFLAGS='-Wl,-z,now' + 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,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.3.24 b/mail-filter/dcc/files/digest-dcc-1.3.24 new file mode 100644 index 000000000000..f3e33054e14b --- /dev/null +++ b/mail-filter/dcc/files/digest-dcc-1.3.24 @@ -0,0 +1 @@ +MD5 2d8a135e48bcae6a2cf4f62acaf8298c dcc-dccd-1.3.24.tar.Z 1392701 |