# ChangeLog for mail-filter/gld
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/ChangeLog,v 1.24 2005/08/21 11:44:07 slarti Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/ChangeLog,v 1.25 2005/10/08 08:36:12 slarti Exp $
+
+*gld-1.6 (08 Oct 2005)
+
+ 08 Oct 2005; Tom Martin <slarti@gentoo.org>
+ -files/gld-1.5.2-mxgrey-fix.patch, -gld-1.4.ebuild, -gld-1.5.ebuild,
+ -gld-1.5-r1.ebuild, -gld-1.5-r2.ebuild, +gld-1.6.ebuild:
+ Version bump to 1.6 for bug 108124 and also a purge.
21 Aug 2005; Tom Martin <slarti@gentoo.org>
+files/gld-1.5.2-mxgrey-fix.patch, gld-1.5.2.ebuild:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 974cd6869dfa50025d5a8f8097f29b3f ChangeLog 3867
-MD5 ee053a16e9eae0a66bd394e135dbe16b gld-1.5-r1.ebuild 1595
-MD5 fd1a136fe1866eb522142c76feafa47e gld-1.4.ebuild 1159
-MD5 9b90c83173d174bf703b7cd1962b298f gld-1.5.ebuild 1363
-MD5 c06c8a7fc6d211a8f437ee1f1023b230 gld-1.5-r2.ebuild 1592
-MD5 8a1c6c5f4c13a4109f6f4198fdd1874b metadata.xml 223
-MD5 92553e000dd0a23d31042352b053cbdf gld-1.5.2.ebuild 1562
-MD5 916c55bdbe2dcf1a53507a6d0028158c files/gld-1.5.2-mxgrey-fix.patch 1696
-MD5 408be3de93fe18f0361ad976ab36589f files/digest-gld-1.4 55
-MD5 4ec33dbb0fd9c8a61e86f738deb457e4 files/digest-gld-1.5 55
-MD5 4ec33dbb0fd9c8a61e86f738deb457e4 files/digest-gld-1.5-r2 55
+MD5 eeddbde7d4f88edd9d2a51e7c0a9b972 ChangeLog 4123
MD5 96d50f09283d0a87235b23ce0795499e files/Makefile.in 980
-MD5 4e2b779070d26c7675574fe2420541b8 files/gld.rc 544
MD5 63658f0d53451dbb79e4330fd997bfab files/digest-gld-1.5.2 57
-MD5 4ec33dbb0fd9c8a61e86f738deb457e4 files/digest-gld-1.5-r1 55
+MD5 f91281c6461e403a77e5351e89e398be files/digest-gld-1.6 55
+MD5 4e2b779070d26c7675574fe2420541b8 files/gld.rc 544
+MD5 92553e000dd0a23d31042352b053cbdf gld-1.5.2.ebuild 1562
+MD5 c82f4d42b6f4cb1d4a64e6d031b018d6 gld-1.6.ebuild 1554
+MD5 8a1c6c5f4c13a4109f6f4198fdd1874b metadata.xml 223
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDCHdZCHk4+ZoBpvsRAgukAJ9xBrEFIH26v54pJ2WF0EcQ+mp+WgCeKZ9J
-Pc+6zcYVsnu4Jv0NmHR6M9o=
-=C0hJ
+iD8DBQFDR4USCHk4+ZoBpvsRAjtjAJ9xCMi4GdPDt6fz7tvB/BKjYnHK5wCeM3FD
+bNnNviQ5yoO7WLSioTRmOWY=
+=qQHN
-----END PGP SIGNATURE-----
+++ /dev/null
-MD5 0913b8e940a02f1ea011c6601474f08b gld-1.4.tgz 35714
+++ /dev/null
-MD5 0696b6c469a19bfb92bf93b19955cab6 gld-1.5.tgz 39132
+++ /dev/null
-MD5 0696b6c469a19bfb92bf93b19955cab6 gld-1.5.tgz 39132
+++ /dev/null
-MD5 0696b6c469a19bfb92bf93b19955cab6 gld-1.5.tgz 39132
--- /dev/null
+MD5 95cfe17b92767db4460385972c7f6774 gld-1.6.tgz 40333
+++ /dev/null
---- gld-1.5.2/greylist.c.orig 2005-08-17 00:44:06.000000000 +0200
-+++ gld-1.5.2/greylist.c 2005-08-17 00:40:32.000000000 +0200
-@@ -181,10 +181,29 @@
-
- if(conf->update==1)
- {
-- if(conf->lightd==1 && fnotdomain==1)
-- snprintf(query,sizeof(query)-1,"update greylist set last=%d,n=n+1 where ip='%s' and sender='%s' and recipient='%s'",ts,ip,osender,orecipient);
--
-- snprintf(query,sizeof(query)-1,"update greylist set last=%d,n=n+1 where ip='%s' and sender='%s' and recipient='%s'",ts,ip,sender,recipient);
-+
-+ if(ts-n>conf->mini)
-+ {
-+ if(conf->lightd==1 && fnotdomain==1)
-+ snprintf(query,sizeof(query)-1,"update greylist set last=%d,n=n+1 where ip='%s' and sender='%s' and recipient='%s'",ts,ip,osender,orecipient);
-+
-+ snprintf(query,sizeof(query)-1,"update greylist set last=%d,n=n+1 where ip='%s' and sender='%s' and recipient='%s'",ts,ip,sender,recipient);
-+ }
-+ else
-+ {
-+ //
-+ // We have NOT reached the greylist-timeout, so we do NOT increase the message-counter (SQL-field n),
-+ // because otherwise we will braek the MXGREY-option.
-+ // In fact this means that the THIRD retry will immidiately pass the greylist, as mxgrey checks only for ip and (n>1).
-+ //
-+ // 2005-08-16 martin@it4linux.de
-+ //
-+
-+ if(conf->lightd==1 && fnotdomain==1)
-+ snprintf(query,sizeof(query)-1,"update greylist set last=%d where ip='%s' and sender='%s' and recipient='%s'",ts,ip,osender,orecipient);
-+
-+ snprintf(query,sizeof(query)-1,"update greylist set last=%d where ip='%s' and sender='%s' and recipient='%s'",ts,ip,sender,recipient);
-+ }
-
- SQLQuery(query);
- if(conf->debug==1) printf("%d: Query=(%s)\n",pid,query);
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/gld-1.4.ebuild,v 1.5 2004/11/13 12:44:34 slarti Exp $
-
-DESCRIPTION="A standalone anti-spam greylisting algorithm on top of Postfix"
-HOMEPAGE="http://www.gasmi.net/gld.html"
-SRC_URI="http://www.gasmi.net/down/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86 ~ppc"
-IUSE=""
-DEPEND="virtual/libc
- dev-db/mysql
- sys-libs/zlib
- >=dev-libs/openssl-0.9.6"
-RDEPEND="${DEPEND}
- >=mail-mta/postfix-2.1"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- cp ${FILESDIR}/Makefile.in ${S}/Makefile.in
-}
-
-src_compile() {
- econf || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- dobin gld
-
- insinto /etc
- newins gld.conf gld.conf.sample
-
- dodoc HISTORY LICENSE README
-
- dodir /usr/share/doc/${PF}/sql
- insinto /usr/share/doc/${PF}/sql
- doins tables.sql
-
- newinitd ${FILESDIR}/gld.rc gld
-}
-
-pkg_postinst() {
- echo
- einfo "Please read /usr/share/doc/${PF}/README.gz for details on how to setup"
- einfo "gld."
- echo
- einfo "The tables.sql file is located at /usr/share/doc/${PF}/sql/tables.sql."
- echo
-}
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/gld-1.5-r1.ebuild,v 1.4 2005/04/16 18:48:42 mr_bones_ Exp $
-
-DESCRIPTION="A standalone anti-spam greylisting algorithm on top of Postfix"
-HOMEPAGE="http://www.gasmi.net/gld.html"
-SRC_URI="http://www.gasmi.net/down/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~ppc"
-IUSE="postgres"
-# Not adding a mysql USE flag. The package defaults to it, so we will too.
-DEPEND="virtual/libc
- sys-libs/zlib
- >=dev-libs/openssl-0.9.6
- postgres? ( dev-db/postgresql )
- !postgres? ( dev-db/mysql )"
-RDEPEND="${DEPEND}
- >=mail-mta/postfix-2.1"
-
-MY_P="${P}.1"
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-# cp ${FILESDIR}/Makefile.in ${S}/Makefile.in
-}
-
-src_compile() {
- # It's kind of weird. $(use_with postgres pgsql) won't work...
- if use postgres ; then
- myconf="${myconf} --with-pgsql"
- fi
-
- econf ${myconf} \
- || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- dobin gld
-
- insinto /etc
- newins gld.conf gld.conf.sample
- dosed 's:^LOOPBACKONLY=.*:LOOPBACKONLY=1:' /etc/gld.conf.sample
- dosed 's:^#USER=.*:USER=nobody:' /etc/gld.conf.sample
- dosed 's:^#GROUP=.*:GROUP=nobody:' /etc/gld.conf.sample
-
- dodoc HISTORY README*
-
- insinto /usr/share/${PN}/sql
- doins table*
-
- newinitd ${FILESDIR}/gld.rc gld
-}
-
-pkg_postinst() {
- echo
- einfo "Please read /usr/share/doc/${PF}/README.gz for details on how to setup"
- einfo "gld."
- echo
- einfo "The tables.*sql files are located at /usr/share/${PN}/sql."
- echo
-}
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/gld-1.5.ebuild,v 1.5 2005/06/05 11:55:22 hansmi Exp $
-
-DESCRIPTION="A standalone anti-spam greylisting algorithm on top of Postfix"
-HOMEPAGE="http://www.gasmi.net/gld.html"
-SRC_URI="http://www.gasmi.net/down/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-DEPEND="virtual/libc
- dev-db/mysql
- sys-libs/zlib
- >=dev-libs/openssl-0.9.6"
-RDEPEND="${DEPEND}
- >=mail-mta/postfix-2.1"
-
-MY_P="${P}.1"
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-# cp ${FILESDIR}/Makefile.in ${S}/Makefile.in
-}
-
-src_compile() {
- econf || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- dobin gld
-
- insinto /etc
- newins gld.conf gld.conf.sample
- dosed 's:^LOOPBACKONLY=.*:LOOPBACKONLY=1:' /etc/gld.conf.sample
- dosed 's:^#USER=.*:USER=nobody:' /etc/gld.conf.sample
- dosed 's:^#GROUP=.*:GROUP=nobody:' /etc/gld.conf.sample
-
- dodoc HISTORY LICENSE README*
-
- dodir /usr/share/doc/${PF}/sql
- insinto /usr/share/doc/${PF}/sql
- doins table*
-
- newinitd ${FILESDIR}/gld.rc gld
-}
-
-pkg_postinst() {
- echo
- einfo "Please read /usr/share/doc/${PF}/README.gz for details on how to setup"
- einfo "gld."
- echo
- einfo "The tables.*sql files are located at /usr/share/doc/${PF}/sql."
- echo
-}
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/gld-1.5-r2.ebuild,v 1.1 2005/04/20 15:18:09 slarti Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/gld-1.6.ebuild,v 1.1 2005/10/08 08:36:12 slarti Exp $
DESCRIPTION="A standalone anti-spam greylisting algorithm on top of Postfix"
HOMEPAGE="http://www.gasmi.net/gld.html"
RDEPEND="${DEPEND}
>=mail-mta/postfix-2.1"
-MY_P="${P}.1"
-S="${WORKDIR}/${MY_P}"
-
src_unpack() {
unpack ${A}
cd ${S}
}
pkg_postinst() {
- echo
+ einfo
einfo "Please read /usr/share/doc/${PF}/README.gz for details on how to setup"
einfo "gld."
- echo
- einfo "The tables.*sql files are located at /usr/share/${PN}/sql."
- echo
+ einfo
+ einfo "The sql files have been installed to /usr/share/${PN}/sql."
+ einfo
}