diff options
author | Tuan Van <langthang@gentoo.org> | 2006-07-18 01:06:48 +0000 |
---|---|---|
committer | Tuan Van <langthang@gentoo.org> | 2006-07-18 01:06:48 +0000 |
commit | abecb30241930b69dabd8f5054ebccd515410c78 (patch) | |
tree | cc092bbe82c5e51914334842579e975b3c4c2d5f /mail-filter | |
parent | add mail-filter/sid-milter for testing (diff) | |
download | historical-abecb30241930b69dabd8f5054ebccd515410c78.tar.gz historical-abecb30241930b69dabd8f5054ebccd515410c78.tar.bz2 historical-abecb30241930b69dabd8f5054ebccd515410c78.zip |
Initial import
Package-Manager: portage-2.1.1_pre2-r6
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/sid-milter/ChangeLog | 12 | ||||
-rw-r--r-- | mail-filter/sid-milter/Manifest | 42 | ||||
-rw-r--r-- | mail-filter/sid-milter/files/digest-sid-milter-0.2.13 | 3 | ||||
-rw-r--r-- | mail-filter/sid-milter/files/sid-filter.conf | 7 | ||||
-rwxr-xr-x | mail-filter/sid-milter/files/sid-filter.init | 22 | ||||
-rw-r--r-- | mail-filter/sid-milter/files/sid-milter-0.2.13-queueID.patch | 13 | ||||
-rw-r--r-- | mail-filter/sid-milter/files/site.config.m4 | 2 | ||||
-rw-r--r-- | mail-filter/sid-milter/metadata.xml | 6 | ||||
-rw-r--r-- | mail-filter/sid-milter/sid-milter-0.2.13.ebuild | 65 |
9 files changed, 172 insertions, 0 deletions
diff --git a/mail-filter/sid-milter/ChangeLog b/mail-filter/sid-milter/ChangeLog new file mode 100644 index 000000000000..9049c698303b --- /dev/null +++ b/mail-filter/sid-milter/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for mail-filter/sid-filter +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/ChangeLog,v 1.1 2006/07/18 01:06:48 langthang Exp $ + +*sid-milter-0.2.13 (18 Jul 2006) + + 18 Jul 2006; Tuấn Văn <langthang@gentoo.org> + +files/sid-milter-0.2.13-queueID.patch, +files/sid-filter.conf, + +files/sid-filter.init, +files/site.config.m4, +metadata.xml, + +sid-milter-0.2.13.ebuild: + Initial import + diff --git a/mail-filter/sid-milter/Manifest b/mail-filter/sid-milter/Manifest new file mode 100644 index 000000000000..e5adcf59d29e --- /dev/null +++ b/mail-filter/sid-milter/Manifest @@ -0,0 +1,42 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX sid-filter.conf 232 RMD160 680ac0ac2c1c34a772e57aec028332f40958049d SHA1 bda5b00650acd6a79c1c56405f06842916aa0781 SHA256 17ac7a949bd06e369ddc9da81dae7d44ece8b83bbfdc587357c92cd368a7cff0 +MD5 63eab85fa9fc990fc32164b9d91740ec files/sid-filter.conf 232 +RMD160 680ac0ac2c1c34a772e57aec028332f40958049d files/sid-filter.conf 232 +SHA256 17ac7a949bd06e369ddc9da81dae7d44ece8b83bbfdc587357c92cd368a7cff0 files/sid-filter.conf 232 +AUX sid-filter.init 561 RMD160 4985cd7b429af32795bb8f36bcdbeca248f33882 SHA1 81cbe378b67e7de2c534b0609fdf72d39165e7fd SHA256 dbdcd808d4c1e486fb314c36142392c54ebe094a6504e452bd7227d47b8c875f +MD5 ec943bd2f46564faa563a4ca75f859e5 files/sid-filter.init 561 +RMD160 4985cd7b429af32795bb8f36bcdbeca248f33882 files/sid-filter.init 561 +SHA256 dbdcd808d4c1e486fb314c36142392c54ebe094a6504e452bd7227d47b8c875f files/sid-filter.init 561 +AUX sid-milter-0.2.13-queueID.patch 351 RMD160 ef69e8c735619087832f516e32e9e84eefca2f94 SHA1 78077f5cca0c28662cf3b62373901b13d9bd2bab SHA256 4a6cefeed01d8a8527bb12bf655f012b10a75c44ce8060508a398ead8a94912e +MD5 359e72b0945a8eedef8aaf6d2ab95d9a files/sid-milter-0.2.13-queueID.patch 351 +RMD160 ef69e8c735619087832f516e32e9e84eefca2f94 files/sid-milter-0.2.13-queueID.patch 351 +SHA256 4a6cefeed01d8a8527bb12bf655f012b10a75c44ce8060508a398ead8a94912e files/sid-milter-0.2.13-queueID.patch 351 +AUX site.config.m4 94 RMD160 d9de9bfcaaf69bb39f0597e3b59e0195e513559e SHA1 cb3e5528e791716f03541a1e18e403e2f0d9a8bf SHA256 4e177b598ebc524febfcabf0a1da37df8d3d7e4d0d51051476cdde4bee3b5b93 +MD5 daafe563fbfe874bb0d92c1ac2698735 files/site.config.m4 94 +RMD160 d9de9bfcaaf69bb39f0597e3b59e0195e513559e files/site.config.m4 94 +SHA256 4e177b598ebc524febfcabf0a1da37df8d3d7e4d0d51051476cdde4bee3b5b93 files/site.config.m4 94 +DIST sid-milter-0.2.13.tar.gz 340623 RMD160 7ade12202212e479a0b14fb11df9358cabd31607 SHA1 a903ec3b01b6e553d8d01ff5b0ea6d9c300f7545 SHA256 346d143449f9daef75a4f1cea77116024c6913e331c780379863fe6a18951736 +EBUILD sid-milter-0.2.13.ebuild 1559 RMD160 dd655169f98e177184c1d6acd239772121d0074a SHA1 15828865a8887b2a1f8b551068b00c5c8f009cfd SHA256 1bda63f41c0f175c8686bc1b924fd663a98d5d9ff6188016dc76f6418b75b7d8 +MD5 9760df1dd7c9ce209da1a47b2039d683 sid-milter-0.2.13.ebuild 1559 +RMD160 dd655169f98e177184c1d6acd239772121d0074a sid-milter-0.2.13.ebuild 1559 +SHA256 1bda63f41c0f175c8686bc1b924fd663a98d5d9ff6188016dc76f6418b75b7d8 sid-milter-0.2.13.ebuild 1559 +MISC ChangeLog 481 RMD160 af403db2f03196e0f57b92eef469e81ee40b2982 SHA1 c1d2ed527dff5104b81851746ae79dd0307fabe3 SHA256 892183783b3fb7a3ef5b90e833f124897143f05b5c6d98660069a51f28b08f5e +MD5 bcaafb8489a9dc9a103e06b066a6307b ChangeLog 481 +RMD160 af403db2f03196e0f57b92eef469e81ee40b2982 ChangeLog 481 +SHA256 892183783b3fb7a3ef5b90e833f124897143f05b5c6d98660069a51f28b08f5e ChangeLog 481 +MISC metadata.xml 221 RMD160 3f13d342b35e471ab3bc6d5b6a491918688ea452 SHA1 1e4ce4ec962e1bae402fdce6f17a1729e1efb4e2 SHA256 9d7907404731a8635f1fb42c8901da3d996aa936fd23e67159a38cf48bb90e0f +MD5 f1c604a8eaa7929364a593541a1d0efe metadata.xml 221 +RMD160 3f13d342b35e471ab3bc6d5b6a491918688ea452 metadata.xml 221 +SHA256 9d7907404731a8635f1fb42c8901da3d996aa936fd23e67159a38cf48bb90e0f metadata.xml 221 +MD5 14d699248fc2be67881703c36734bd9d files/digest-sid-milter-0.2.13 253 +RMD160 cb12a2816d38938ffc74e5d6902eb981feb9f3f0 files/digest-sid-milter-0.2.13 253 +SHA256 255f086123ba1e4efdeb3cda6d1d54ba6090e0af930c5e05dbc615369c6e0f2d files/digest-sid-milter-0.2.13 253 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.3 (GNU/Linux) + +iD8DBQFEvDRB5FrxP71izLARAsNMAJ0WIZPkQTuTngHCLerlpiJ3EzDdrACeNKUd +7rvell68uK/MQx5G0HfwXW4= +=BjmW +-----END PGP SIGNATURE----- diff --git a/mail-filter/sid-milter/files/digest-sid-milter-0.2.13 b/mail-filter/sid-milter/files/digest-sid-milter-0.2.13 new file mode 100644 index 000000000000..2f7ff613225e --- /dev/null +++ b/mail-filter/sid-milter/files/digest-sid-milter-0.2.13 @@ -0,0 +1,3 @@ +MD5 0cad0d5315827c6176130b9c3f9bce51 sid-milter-0.2.13.tar.gz 340623 +RMD160 7ade12202212e479a0b14fb11df9358cabd31607 sid-milter-0.2.13.tar.gz 340623 +SHA256 346d143449f9daef75a4f1cea77116024c6913e331c780379863fe6a18951736 sid-milter-0.2.13.tar.gz 340623 diff --git a/mail-filter/sid-milter/files/sid-filter.conf b/mail-filter/sid-milter/files/sid-filter.conf new file mode 100644 index 000000000000..106a01d9ad02 --- /dev/null +++ b/mail-filter/sid-milter/files/sid-filter.conf @@ -0,0 +1,7 @@ +# Additional options for the Sender-ID Milter +# see sid-filter(8) for more information. +SID_FILTER_OPTS="" +SOCKETSPEC="inet:8026@localhost" +DOMAIN="example.com" +USER="milter" +SID_FILTER_OPTS="-u milter -l -p $SOCKETSPEC -d $DOMAIN" diff --git a/mail-filter/sid-milter/files/sid-filter.init b/mail-filter/sid-milter/files/sid-filter.init new file mode 100755 index 000000000000..aaa2b4f9632e --- /dev/null +++ b/mail-filter/sid-milter/files/sid-filter.init @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/files/sid-filter.init,v 1.1 2006/07/18 01:06:48 langthang Exp $ + +depend() { + # need net + use dns logger net +} + +start() { + ebegin "Starting Sender-ID Filter" + start-stop-daemon --start --quiet --background \ + --exec /usr/bin/sid-filter -- ${SID_FILTER_OPTS} + eend $? +} + +stop() { + ebegin "Stopping Sender-ID Filter" + start-stop-daemon --stop --quiet --name sid-filter + eend $? +} diff --git a/mail-filter/sid-milter/files/sid-milter-0.2.13-queueID.patch b/mail-filter/sid-milter/files/sid-milter-0.2.13-queueID.patch new file mode 100644 index 000000000000..ab84dd367ce2 --- /dev/null +++ b/mail-filter/sid-milter/files/sid-milter-0.2.13-queueID.patch @@ -0,0 +1,13 @@ +--- sid-filter/sid-filter.c.orig 2006-07-17 16:01:52.000000000 -0700 ++++ sid-filter/sid-filter.c 2006-07-17 16:16:37.000000000 -0700 +@@ -1867,6 +1867,10 @@ + assert(ctx != NULL); + #endif /* !DEBUG */ + ++ ret = mlfi_eoh(ctx); ++ if (ret != SMFIS_CONTINUE) ++ return ret; ++ + memset(stathdr, '\0', sizeof stathdr); + + sic = (Context) smfi_getpriv(ctx); diff --git a/mail-filter/sid-milter/files/site.config.m4 b/mail-filter/sid-milter/files/site.config.m4 new file mode 100644 index 000000000000..20dd5abce625 --- /dev/null +++ b/mail-filter/sid-milter/files/site.config.m4 @@ -0,0 +1,2 @@ +define(`confCCOPTS', `@@confCCOPTS@@') +APPENDDEF(`confINCDIRS', `@@conf_libmilter_INCDIRS@@') diff --git a/mail-filter/sid-milter/metadata.xml b/mail-filter/sid-milter/metadata.xml new file mode 100644 index 000000000000..dda87916e233 --- /dev/null +++ b/mail-filter/sid-milter/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-mail</herd> +<maintainer><email>net-mail@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/mail-filter/sid-milter/sid-milter-0.2.13.ebuild b/mail-filter/sid-milter/sid-milter-0.2.13.ebuild new file mode 100644 index 000000000000..081303284b8b --- /dev/null +++ b/mail-filter/sid-milter/sid-milter-0.2.13.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/sid-milter-0.2.13.ebuild,v 1.1 2006/07/18 01:06:48 langthang Exp $ + +inherit eutils + +DESCRIPTION="A milter-based application provide Sender-ID service" + +HOMEPAGE="http://sourceforge.net/projects/sid-milter/" + +SRC_URI="mirror://sourceforge/sid-milter/${P}.tar.gz" + +LICENSE="Sendmail-Open-Source" + +SLOT="0" + +KEYWORDS="~x86" + + +IUSE="" + +DEPEND="dev-libs/openssl + >=sys-libs/db-3.2 + mail-filter/libmilter" + +S=${WORKDIR}/${P} + +pkg_setup() { + enewgroup milter + enewuser milter -1 -1 -1 milter +} + +src_unpack() { + unpack "${A}" && cd "${S}" + + # Postfix queue ID patch. See MILTER_README.html#workarounds + epatch "${FILESDIR}/"${P}-queueID.patch + + confCCOPTS="${CFLAGS}" + conf_libmilter_INCDIRS="-I/usr/include/libmilter" + sed -e "s:@@confCCOPTS@@:${confCCOPTS}:" \ + -e "s:@@conf_libmilter_INCDIRS@@:${conf_libmilter_INCDIRS}:" \ + "${FILESDIR}"/site.config.m4 > "${S}"/devtools/Site/site.config.m4 \ + || die "sed failed" +} + +src_install() { + OBJDIR="obj.`uname -s`.`uname -r`.`arch`" + + dodir /usr/bin /usr/share/man/man8 + make DESTDIR=${D} MANROOT=/usr/share/man/man \ + install -C "${OBJDIR}"/sid-filter \ + || die "make install failed" + doman sid-filter/sid-filter.8 + + newinitd "${FILESDIR}/sid-filter.init" sid-filter \ + || die "newinitd failed" + newconfd "${FILESDIR}/sid-filter.conf" sid-filter \ + || die "newconfd failed" +} + +pkg_postinst() { + enewgroup milter + enewuser milter -1 -1 -1 milter +} |