diff options
author | Tom Martin <slarti@gentoo.org> | 2004-08-10 00:45:19 +0000 |
---|---|---|
committer | Tom Martin <slarti@gentoo.org> | 2004-08-10 00:45:19 +0000 |
commit | 347bfab299f2aefaa534a318e54d25f24707dc5f (patch) | |
tree | 6bd64a168c2e8d89f0e2ee4ab51edf25079938ed /mail-filter | |
parent | Version bump for the /proc/cmdline leak vulnerability; bug #59905. (Manifest ... (diff) | |
download | gentoo-2-347bfab299f2aefaa534a318e54d25f24707dc5f.tar.gz gentoo-2-347bfab299f2aefaa534a318e54d25f24707dc5f.tar.bz2 gentoo-2-347bfab299f2aefaa534a318e54d25f24707dc5f.zip |
Initial import
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/gld/ChangeLog | 8 | ||||
-rw-r--r-- | mail-filter/gld/Manifest | 4 | ||||
-rw-r--r-- | mail-filter/gld/files/Makefile.in | 42 | ||||
-rw-r--r-- | mail-filter/gld/files/digest-gld-1.3 | 1 | ||||
-rw-r--r-- | mail-filter/gld/files/gld.rc | 16 | ||||
-rw-r--r-- | mail-filter/gld/gld-1.3.ebuild | 50 | ||||
-rw-r--r-- | mail-filter/gld/metadata.xml | 8 |
7 files changed, 129 insertions, 0 deletions
diff --git a/mail-filter/gld/ChangeLog b/mail-filter/gld/ChangeLog new file mode 100644 index 000000000000..996e63d57a5d --- /dev/null +++ b/mail-filter/gld/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for mail-filter/gld +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/ChangeLog,v 1.1 2004/08/10 00:45:19 slarti Exp $ + +*gld-1.3 (10 Aug 2004) + + 10 Aug 2004; Tom Martin <slarti@gentoo.org> +clamassassin-1.2.0.ebuild: + Initial import. I can only test on amd64, so it lacks [~]x86 for the moment. diff --git a/mail-filter/gld/Manifest b/mail-filter/gld/Manifest new file mode 100644 index 000000000000..3843dac4a260 --- /dev/null +++ b/mail-filter/gld/Manifest @@ -0,0 +1,4 @@ +MD5 00b58f6022951bc727c376830eaef918 gld-1.3.ebuild 945 +MD5 96d50f09283d0a87235b23ce0795499e files/Makefile.in 980 +MD5 fe1fdbfd3fa7ee4baa73b01634cd1255 files/gld.rc6 275 +MD5 a187f47f3f17cf43acfced1abb8f3dd8 files/digest-gld-1.3 55 diff --git a/mail-filter/gld/files/Makefile.in b/mail-filter/gld/files/Makefile.in new file mode 100644 index 000000000000..983cf3134c21 --- /dev/null +++ b/mail-filter/gld/files/Makefile.in @@ -0,0 +1,42 @@ +prefix = @prefix@ +bindir = @bindir@ +DESTDIR = @destdir@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ + +CC = @CC@ +MYSQL_CFLAGS = @MYSQL_CFLAGS@ +MYSQL_LIBS = @MYSQL_LIBS@ +MYSQL_PREFIX = @MYSQL_PREFIX@ +CFLAGS = @CFLAGS@ -Wall +DEFS= @DEFS@ + +DIST_COMMON = README Makefile.am Makefile.in configure configure.in + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +all: gld + +gld: cnf.o server.o sql.o sockets.o greylist.o gld.h + $(CC) $(CFLAGS) $(DEFS) server.o sql.o sockets.o cnf.o greylist.o $(MYSQL_LIBS) -o gld + +sockets.o: sockets.c sockets.h + $(CC) $(CFLAGS) $(DEFS) -c sockets.c + +cnf.o: cnf.c gld.h + $(CC) $(DEFS) -c cnf.c + +greylist.o: greylist.c gld.h + $(CC) $(CFLAGS) $(DEFS) -c greylist.c + +sql.o: sql.c + $(CC) $(CFLAGS) $(DEFS) $(MYSQL_CFLAGS) -c sql.c + +clean: + $(RM) gld *.o + +distclean: clean + $(RM) Makefile config.status config.log config.cache diff --git a/mail-filter/gld/files/digest-gld-1.3 b/mail-filter/gld/files/digest-gld-1.3 new file mode 100644 index 000000000000..f74891513c51 --- /dev/null +++ b/mail-filter/gld/files/digest-gld-1.3 @@ -0,0 +1 @@ +MD5 67355c14de93ee59a62a21e60e27b91b gld-1.3.tgz 33356 diff --git a/mail-filter/gld/files/gld.rc b/mail-filter/gld/files/gld.rc new file mode 100644 index 000000000000..8651ca38fd13 --- /dev/null +++ b/mail-filter/gld/files/gld.rc @@ -0,0 +1,16 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/files/gld.rc,v 1.1 2004/08/10 00:45:19 slarti Exp $ + +depend() { + need + use dns + before postfix +} + +start() { + ebegin "Starting gld" + start-stop-daemon --start --exec --quiet /usr/bin/gld +} + diff --git a/mail-filter/gld/gld-1.3.ebuild b/mail-filter/gld/gld-1.3.ebuild new file mode 100644 index 000000000000..f3fdfbc9911f --- /dev/null +++ b/mail-filter/gld/gld-1.3.ebuild @@ -0,0 +1,50 @@ +# 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.3.ebuild,v 1.1 2004/08/10 00:45:19 slarti Exp $ + +DESCRIPTION="A standalone anti-spam greylisting algorithm on top of Postfix" +HOMEPAGE="http://www.gasmi.net/gld.html" +SRC_URI="ftp://www.gasmi.net/down/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +DEPEND="dev-db/mysql" +RDEPEND=">=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 + + exeinto /etc/init.d + newexe ${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 +} diff --git a/mail-filter/gld/metadata.xml b/mail-filter/gld/metadata.xml new file mode 100644 index 000000000000..112d05f095ef --- /dev/null +++ b/mail-filter/gld/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-mail</herd> +<maintainer> + <email>slarti@gentoo.org</email> +</maintainer> +</pkgmetadata> |