From 2e6b3d0c89b571d4a085e4bce70811828e5d0aa5 Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Sun, 8 Apr 2007 20:14:39 +0000 Subject: [PATCH] Version bump. Package-Manager: portage-2.1.2.3 --- mail-filter/dcc/ChangeLog | 7 +- mail-filter/dcc/Manifest | 24 +++-- mail-filter/dcc/dcc-1.3.55.ebuild | 112 ++++++++++++++++++++++++ mail-filter/dcc/files/digest-dcc-1.3.55 | 3 + 4 files changed, 137 insertions(+), 9 deletions(-) create mode 100644 mail-filter/dcc/dcc-1.3.55.ebuild create mode 100644 mail-filter/dcc/files/digest-dcc-1.3.55 diff --git a/mail-filter/dcc/ChangeLog b/mail-filter/dcc/ChangeLog index 8cbda964af75..1a3241c6d49d 100644 --- a/mail-filter/dcc/ChangeLog +++ b/mail-filter/dcc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-filter/dcc # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/ChangeLog,v 1.38 2007/03/15 18:46:46 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/ChangeLog,v 1.39 2007/04/08 20:14:39 ticho Exp $ + +*dcc-1.3.55 (08 Apr 2007) + + 08 Apr 2007; Andrej Kacian +dcc-1.3.55.ebuild: + Version bump. 15 Mar 2007; Gustavo Zacarias dcc-1.3.31.ebuild: Stable on sparc diff --git a/mail-filter/dcc/Manifest b/mail-filter/dcc/Manifest index 16a03db50e61..f97e7c7fcaf8 100644 --- a/mail-filter/dcc/Manifest +++ b/mail-filter/dcc/Manifest @@ -6,6 +6,7 @@ DIST dcc-dccd-1.2.74.tar.Z 1232905 RMD160 886183bef5b032154a43e9cf17c59282d4580f DIST dcc-dccd-1.3.16.tar.Z 1370359 RMD160 9ec7b4a8a1ebad7fe910d7d8bd415ba2c004b0c4 SHA1 323f8a80ce3b0753035db0ec19125ac1bfb3aaa9 SHA256 d63c2baa55354200e512e723f309dc1eb0f493bf8c581f6acf1ae0066c44cdb4 DIST dcc-dccd-1.3.24.tar.Z 1392701 RMD160 39874c3ba844555534ccae4bb17d4b6d7c4a4d62 SHA1 13f8e50acd38eb831a91e8f61ceb63a6e108c036 SHA256 2ae4b63a9ac5168ca3ff3e3a4a3de2d5494548f09b059139c8fc885fce350851 DIST dcc-dccd-1.3.31.tar.Z 1406285 RMD160 d3df67cf9e86ccf4819264de37571ef16b4c5484 SHA1 a1462f781b2125e9bb8d90037e8c45db1ab5c212 SHA256 e3a30c57e5e0978b478430e7cbf35eed685922d0008efb44f856d1c0010e5922 +DIST dcc-dccd-1.3.55.tar.Z 1457561 RMD160 8182bdd8f5c96a68ba6989bf37807dfa5aee19b7 SHA1 fa926bfb6c8418cea65cbc0c442c9b0a9a833b36 SHA256 9aa82c645b90a1000c6cc812e6df18768885486e053194220e8753d1c45ebb94 EBUILD dcc-1.2.28-r1.ebuild 3468 RMD160 e958315b9654cf7e5d7619950081ef476e1e8f8d SHA1 899d9281718edabe56a2c697decdf79aa788832d SHA256 507ca243301c205015ca63876c80756e090c443756eaf12d3695040a35de90de MD5 9820a1516eab5f987d0acc4937109f37 dcc-1.2.28-r1.ebuild 3468 RMD160 e958315b9654cf7e5d7619950081ef476e1e8f8d dcc-1.2.28-r1.ebuild 3468 @@ -30,10 +31,14 @@ EBUILD dcc-1.3.31.ebuild 3946 RMD160 fd2c517e498a159aaf7e6ca8cbedbd35367720ec SH MD5 440f35f97e2c6300075e0c354c841bc7 dcc-1.3.31.ebuild 3946 RMD160 fd2c517e498a159aaf7e6ca8cbedbd35367720ec dcc-1.3.31.ebuild 3946 SHA256 5291e8339464f9ba0b912deefa49d6c792a6e1e6c139f8d2e01035c0ead28b24 dcc-1.3.31.ebuild 3946 -MISC ChangeLog 4584 RMD160 eef2f54c089c66c451f51a47a2db3ec207e4f89c SHA1 7782a112f8fa5880226a62eda007ac50db59331b SHA256 57130b1136f5848208bd8f71f89fa4d8125c666292ce72f6f7bb943a180150e3 -MD5 57e7b7a97a959150fec5d42ce16f6364 ChangeLog 4584 -RMD160 eef2f54c089c66c451f51a47a2db3ec207e4f89c ChangeLog 4584 -SHA256 57130b1136f5848208bd8f71f89fa4d8125c666292ce72f6f7bb943a180150e3 ChangeLog 4584 +EBUILD dcc-1.3.55.ebuild 3957 RMD160 a79044c342fa507bd91e0afda7651ec577854711 SHA1 32c30941b92d6f13ad951680d54fb385724052fa SHA256 792b161f4b986456136fdc00eaf8ba8dd8aad7f3c3aa9141d963f9fdc3637416 +MD5 6cf334bddee8aded4a7a90c5207f2435 dcc-1.3.55.ebuild 3957 +RMD160 a79044c342fa507bd91e0afda7651ec577854711 dcc-1.3.55.ebuild 3957 +SHA256 792b161f4b986456136fdc00eaf8ba8dd8aad7f3c3aa9141d963f9fdc3637416 dcc-1.3.55.ebuild 3957 +MISC ChangeLog 4693 RMD160 35dfee30f37677eff970072f0f2a7361db728b88 SHA1 1e05aa58d2464f64afb7ff6638b60b571e43def4 SHA256 5d1d3aa2e97e25979d41a4b0b58e5d006ad031d1a707354eb3d57a3e0c252d14 +MD5 33747141dbd2b1b82f58e0489fbb7d1f ChangeLog 4693 +RMD160 35dfee30f37677eff970072f0f2a7361db728b88 ChangeLog 4693 +SHA256 5d1d3aa2e97e25979d41a4b0b58e5d006ad031d1a707354eb3d57a3e0c252d14 ChangeLog 4693 MISC metadata.xml 224 RMD160 7a7b22292aa2fdfd4c9e3f9abe62aff83170f428 SHA1 fe58bf16a97abdec4e349b42c57664597893b0d8 SHA256 d67b611ce73649753af8a136a53c5dfae6628c053d01687779f108753fd20929 MD5 5e658b705b2985d36d82b2a5d218ec78 metadata.xml 224 RMD160 7a7b22292aa2fdfd4c9e3f9abe62aff83170f428 metadata.xml 224 @@ -56,10 +61,13 @@ SHA256 e0deea05579fef70fb9676de78f29a8ec8403a22b9aa85e00b4dca60fa923f72 files/di MD5 8d925686c6729563a2b5a8e473ad9dd3 files/digest-dcc-1.3.31 247 RMD160 29c310f2988324a48e4c450c5baed030c10506f7 files/digest-dcc-1.3.31 247 SHA256 1325c14e3c5d3539047ac1bc1eb115c9b7a4bb65d6fc06ce9f5fd2b2030f9695 files/digest-dcc-1.3.31 247 +MD5 a428d66a6036dec58ffe51bb9c7372d3 files/digest-dcc-1.3.55 247 +RMD160 198ca9c54b1990f24cb2c19f962e13f24fd8ee73 files/digest-dcc-1.3.55 247 +SHA256 791263ab71008294e13efc0ec96a9638c3b3860c2f7adfd4b170bfe39a9e7be9 files/digest-dcc-1.3.55 247 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux) +Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFF+ZSeKRy60XGEcJIRAspoAJ4lXkp4Ms1ph7ZXMQ/nRpI30r9+SACgq3qn -2sPnL6daiHTKuLO9SSYIlug= -=cT0L +iD8DBQFGGU02QlM6RnzZP+IRApEYAJ9wanVJf8GZP1O4KWmgQkus7nLduACgrdTR +/ncYGz2UytxOoJIjL+vZDyI= +=4W+/ -----END PGP SIGNATURE----- diff --git a/mail-filter/dcc/dcc-1.3.55.ebuild b/mail-filter/dcc/dcc-1.3.55.ebuild new file mode 100644 index 000000000000..5470c7e1ed57 --- /dev/null +++ b/mail-filter/dcc/dcc-1.3.55.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2007 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.1 2007/04/08 20:14:39 ticho 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 ) + 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 + append-ldflags $(bindnow-flags) + 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/files/digest-dcc-1.3.55 b/mail-filter/dcc/files/digest-dcc-1.3.55 new file mode 100644 index 000000000000..b934b21ef4b4 --- /dev/null +++ b/mail-filter/dcc/files/digest-dcc-1.3.55 @@ -0,0 +1,3 @@ +MD5 703bbeaa0fcb5e89d1e8d84a4b5a0303 dcc-dccd-1.3.55.tar.Z 1457561 +RMD160 8182bdd8f5c96a68ba6989bf37807dfa5aee19b7 dcc-dccd-1.3.55.tar.Z 1457561 +SHA256 9aa82c645b90a1000c6cc812e6df18768885486e053194220e8753d1c45ebb94 dcc-dccd-1.3.55.tar.Z 1457561 -- 2.26.2