summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-04-25 09:52:07 +0000
committerEray Aslan <eras@gentoo.org>2011-04-25 09:52:07 +0000
commit9a97621cc860ef72a54ce0fcc38ed9adee376ef4 (patch)
tree5872311e6fdafe1a82772a31175bcd85c359b5c9 /mail-filter
parentCorrect patch for USE=ffmpeg, 327957; Fix for gcc-4.6 (diff)
downloadhistorical-9a97621cc860ef72a54ce0fcc38ed9adee376ef4.tar.gz
historical-9a97621cc860ef72a54ce0fcc38ed9adee376ef4.tar.bz2
historical-9a97621cc860ef72a54ce0fcc38ed9adee376ef4.zip
Initial commit - thanks to Oleg Gawriloff bug #318853
Package-Manager: portage-2.1.9.46/cvs/Linux x86_64
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/amavisd-milter/ChangeLog10
-rw-r--r--mail-filter/amavisd-milter/Manifest26
-rw-r--r--mail-filter/amavisd-milter/amavisd-milter-1.5.0.ebuild27
-rw-r--r--mail-filter/amavisd-milter/files/amavisd-milter.confd14
-rw-r--r--mail-filter/amavisd-milter/files/amavisd-milter.initd30
-rw-r--r--mail-filter/amavisd-milter/metadata.xml7
6 files changed, 114 insertions, 0 deletions
diff --git a/mail-filter/amavisd-milter/ChangeLog b/mail-filter/amavisd-milter/ChangeLog
new file mode 100644
index 000000000000..fb59eb6949a1
--- /dev/null
+++ b/mail-filter/amavisd-milter/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for mail-filter/amavisd-milter
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-milter/ChangeLog,v 1.1 2011/04/25 09:52:07 eras Exp $
+
+*amavisd-milter-1.5.0 (25 Apr 2011)
+
+ 25 Apr 2011; Eray Aslan <eras@gentoo.org> +amavisd-milter-1.5.0.ebuild,
+ +files/amavisd-milter.confd, +files/amavisd-milter.initd, +metadata.xml:
+ Initial commit - thanks to Oleg Gawriloff bug #318853
+
diff --git a/mail-filter/amavisd-milter/Manifest b/mail-filter/amavisd-milter/Manifest
new file mode 100644
index 000000000000..bab7be4ce88c
--- /dev/null
+++ b/mail-filter/amavisd-milter/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX amavisd-milter.confd 357 RMD160 4bb35ac71e5df7322e1e41bb924e6c93aa52adf1 SHA1 59d3f7bd16181418ea7362387976ec0e82c31fb0 SHA256 fa8208d3bd15141808fc4612011a1f58850758a6191dbb81fad52e30312d9746
+AUX amavisd-milter.initd 816 RMD160 8534bf8a4248f2b67a2b859f80513a067e574e92 SHA1 a358ed7f59abdd4d01d614923528318f610d86f4 SHA256 7825c0b39893b1dd7a7432c02cc7d154f63e587be09ef49938a1dcf40317299a
+DIST amavisd-milter-1.5.0.tar.gz 175759 RMD160 4786278ff09cd8c0e7b268329f827058913796d2 SHA1 b0d36953787fea1a4d94b22d0b7402f30f1ca93b SHA256 cef897e2c172272d52a6e5d9415b25252bf669f0481f9bdf24e95d3071c5a2c5
+EBUILD amavisd-milter-1.5.0.ebuild 761 RMD160 a398bfa3f2544d6a4039e6fbdc3a336c262e4687 SHA1 24e06f150a4ab345d355b444501f4eb55b430e72 SHA256 577316b024294cdf456b480820726f98abb6c670daf25b3884106405899a349b
+MISC ChangeLog 466 RMD160 6191fa40628296ca40449a0f49d5d8310b4c3b7e SHA1 a7e3000993a14e59f1daf2c680f27681f62c4397 SHA256 a4b88736e7978c7043fc3b3275dc8cda24930ca6a8ee3e791e449c32d5e6a350
+MISC metadata.xml 208 RMD160 f6fe85df5beae9c2d27e251e6685a7f580f47404 SHA1 71e2df0ec974065fd0527d7e69b0fe07148d70ab SHA256 fc3144c7664167b56b0babaed686a8f63744ecabdd9490486e035040f9676e58
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQIcBAEBCAAGBQJNtURSAAoJEHfx8XVYajsfc0IP/1nVlQVt+B5ekZahaYZ03s8M
+lwaLt5iYyjY69nTmaC/1sTPkiOEHNyZiGeFY4tPMK5sRTdCBRMwqhWtNbC88OhVI
+vOCTwfG0qd8d2DS05CdYwJhXEWxg1tzYvTm9JB7uLAAimLZ0OoMjTEoz48SWkZ20
+0P1s8/Rc++lZ4WIMLvbFwgFxj1wwTMc2liNDvAZzZBRIxxY8BqvjyZvVWtk2GoHd
+g8lfz00NhCvNLqoVl1GlpAuNkk66IS+vllhanchHismUotKXXdzUcK0ORYjE+UxX
+nyuXsL3YfhkMLN7pEYvTMILAH55yGOv4RZYHXcivcOMa4ltT5H5nw1KEDEsj3g4k
+2m+LLf/gTXFPKF8mojRGdVNqKI8VaUE+SkiLy9jXNq55IIAEQRjLnEEXLhSvC0K/
+zQ60H97YPtL5qWup2YB799xYc3Ri1CUvsZv+WCy2xezgES0GEVo9AriRRTXq4UBR
+vxpYXQ2K0pmUjN7wQJvV2vc1fwqR4pCREGKOhT31rI6QJyuNx456p4R8OCZeNre6
+obD3q0g29Fnx8DOPD3OQHyvABp3j0wYSnEhMVQSxocHBZPblRWZR5aY0nnmul1DL
+tbQELJEDJMB2kHtVyLlsNUpQXjafNjPqMKp3gspOxwjlPzEkd8uNFO77O3KyGrWN
+mnJFUnT3hMMT4KUjei+P
+=tiGb
+-----END PGP SIGNATURE-----
diff --git a/mail-filter/amavisd-milter/amavisd-milter-1.5.0.ebuild b/mail-filter/amavisd-milter/amavisd-milter-1.5.0.ebuild
new file mode 100644
index 000000000000..73658ad7437c
--- /dev/null
+++ b/mail-filter/amavisd-milter/amavisd-milter-1.5.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-milter/amavisd-milter-1.5.0.ebuild,v 1.1 2011/04/25 09:52:07 eras Exp $
+
+EAPI=4
+
+DESCRIPTION="sendmail milter for amavisd-new"
+HOMEPAGE="http://amavisd-milter.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="mail-mta/sendmail
+ mail-filter/amavisd-new"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS CHANGES INSTALL README TODO
+
+ newinitd "${FILESDIR}/amavisd-milter.initd" amavisd-milter
+ newconfd "${FILESDIR}/amavisd-milter.confd" amavisd-milter
+}
diff --git a/mail-filter/amavisd-milter/files/amavisd-milter.confd b/mail-filter/amavisd-milter/files/amavisd-milter.confd
new file mode 100644
index 000000000000..f2b0736851af
--- /dev/null
+++ b/mail-filter/amavisd-milter/files/amavisd-milter.confd
@@ -0,0 +1,14 @@
+# /etc/conf.d/amavisd-milter
+# Check amavisd-milter man page for more options.
+
+# Unix domain socket locations
+SOCKET="/var/amavis/amavisd-milter.sock"
+AM_SOCKET="/var/amavis/amavisd.sock"
+
+# Working directory
+AM_TMP="/var/amavis/tmp"
+
+# Pid file location
+PIDFILE="/var/amavis/amavisd-milter.pid"
+
+DOPTIONS="-s $SOCKET -p $PIDFILE -S $AM_SOCKET -w $AM_TMP"
diff --git a/mail-filter/amavisd-milter/files/amavisd-milter.initd b/mail-filter/amavisd-milter/files/amavisd-milter.initd
new file mode 100644
index 000000000000..8fb23baa9d21
--- /dev/null
+++ b/mail-filter/amavisd-milter/files/amavisd-milter.initd
@@ -0,0 +1,30 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-milter/files/amavisd-milter.initd,v 1.1 2011/04/25 09:52:07 eras Exp $
+
+NAME="amavisd-milter"
+DAEMON="/usr/sbin/${NAME}"
+
+depend() {
+ use logger dns amavis sendmail
+}
+
+start() {
+ ebegin "Starting ${NAME}"
+ start-stop-daemon --start --quiet --startas "${DAEMON}" -p "${PIDFILE}" --user amavis -c amavis -- ${DOPTIONS}
+ eend $? "Failed to start ${NAME}"
+}
+
+stop() {
+ ebegin "Stopping ${NAME}"
+ start-stop-daemon --stop --name "${NAME}"
+ eend $? "Failed to stop ${NAME}"
+}
+
+restart() {
+ svc_stop
+ # needed to avoid potential mi_stop errors
+ sleep 4
+ svc_start
+}
diff --git a/mail-filter/amavisd-milter/metadata.xml b/mail-filter/amavisd-milter/metadata.xml
new file mode 100644
index 000000000000..3b7e86e0ab03
--- /dev/null
+++ b/mail-filter/amavisd-milter/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-mail</herd>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>