diff options
author | 2013-08-22 07:45:52 +0200 | |
---|---|---|
committer | 2013-08-22 07:45:52 +0200 | |
commit | 2c8d064b367a44723b9b557fb1edca59387edf49 (patch) | |
tree | 762432f58f66cfa663464bd506f40bd73a8a812d /mail-filter | |
parent | initial setup (diff) | |
download | wschlich-2c8d064b367a44723b9b557fb1edca59387edf49.tar.gz wschlich-2c8d064b367a44723b9b557fb1edca59387edf49.tar.bz2 wschlich-2c8d064b367a44723b9b557fb1edca59387edf49.zip |
added all ebuilds from my old svn repository
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/dkimproxy/ChangeLog | 8 | ||||
-rw-r--r-- | mail-filter/dkimproxy/Manifest | 7 | ||||
-rw-r--r-- | mail-filter/dkimproxy/dkimproxy-1.0.1.ebuild | 54 | ||||
-rw-r--r-- | mail-filter/dkimproxy/dkimproxy-1.1.ebuild | 54 | ||||
-rw-r--r-- | mail-filter/dkimproxy/files/dkimproxy.init | 39 | ||||
-rw-r--r-- | mail-filter/dkimproxy/metadata.xml | 10 | ||||
-rw-r--r-- | mail-filter/dovecot-antispam/ChangeLog | 12 | ||||
-rw-r--r-- | mail-filter/dovecot-antispam/Manifest | 2 | ||||
-rw-r--r-- | mail-filter/dovecot-antispam/dovecot-antispam-9999.ebuild | 80 | ||||
-rw-r--r-- | mail-filter/sbd-proxy/ChangeLog | 14 | ||||
-rw-r--r-- | mail-filter/sbd-proxy/Manifest | 9 | ||||
-rw-r--r-- | mail-filter/sbd-proxy/files/sbd-proxy.confd | 5 | ||||
-rwxr-xr-x | mail-filter/sbd-proxy/files/sbd-proxy.initd | 33 | ||||
-rw-r--r-- | mail-filter/sbd-proxy/sbd-proxy-1.0.ebuild | 49 | ||||
-rw-r--r-- | mail-filter/sbd-proxy/sbd-proxy-1.1.ebuild | 49 | ||||
-rw-r--r-- | mail-filter/sbd-proxy/sbd-proxy-1.2.ebuild | 49 |
16 files changed, 474 insertions, 0 deletions
diff --git a/mail-filter/dkimproxy/ChangeLog b/mail-filter/dkimproxy/ChangeLog new file mode 100644 index 0000000..2d20f94 --- /dev/null +++ b/mail-filter/dkimproxy/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for mail-filter/dkimproxy +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 04 Mar 2009; Wolfram Schlich <wschlich@gentoo.org> +metadata.xml, + +dkimproxy-1.1.ebuild: + version bump, added metadata.xml + diff --git a/mail-filter/dkimproxy/Manifest b/mail-filter/dkimproxy/Manifest new file mode 100644 index 0000000..dc00bca --- /dev/null +++ b/mail-filter/dkimproxy/Manifest @@ -0,0 +1,7 @@ +AUX dkimproxy.init 908 RMD160 adfeca8ef1cc47aa04df395921025a15ce23a95f SHA1 f933dad12e612eca79e25bf76fd9f233c01bb974 SHA256 15e9b9b92ad90d63fb375bdca0be32f4e3ea4911f98747a20c3c171035640aeb +DIST dkimproxy-1.0.1.tar.gz 77675 RMD160 e33ad826a9c9fba2a02154b95fb4f21da33541fb SHA1 73c7af9f37291725e39c5e3103c24c4d9ffd4bc8 SHA256 715ec44fd9a014804c9660e36afb3eaae9c8d860c3f2a4bf07c6cc1ddfacb6bd +DIST dkimproxy-1.1.tar.gz 78775 RMD160 575fc23152209a72160944a8ffc2714079fa543a SHA1 d6ff204690974824d546919756a408a0770182b7 SHA256 f08bfcb2e166de4c52c96ccf5c3e6b54b589beaf0d442868bd04fbd23158aba5 +EBUILD dkimproxy-1.0.1.ebuild 1340 RMD160 954e999961aba31fc3747c71163f8b98eb690445 SHA1 42f64e83d1544a7787e507169988692813e76c36 SHA256 8fbd6c4da0319b7d995a961e4e753aa78a396778c4713e8d6205c238783dfd13 +EBUILD dkimproxy-1.1.ebuild 1340 RMD160 e35e3c6355ba0995752b4d76d7ea02c2f7a4bc05 SHA1 6901f62f1d24514df277723f960aa3df9a3bb8d9 SHA256 26b4c89a3f7b08fee7f0535a435f0dc48972352125f4761c16c3e0c624eedf31 +MISC ChangeLog 251 RMD160 e63da850e809ce84fab81500c526d019842816a5 SHA1 b40343a5f0afa34166a328b49927471002be5066 SHA256 52406c1e87846ea543fdb8e5ca9d476be031e184985029ceefa9cf5e7f9a4908 +MISC metadata.xml 300 RMD160 3b9c1cd628f9d7ac94b68543ec737d5c2381a47e SHA1 33c5efd31a8aa789118535b921e211ffb5023ac3 SHA256 bc07a9aecce5770d1ace9af0a6c6af8ff6c7b16eb5e7947a1b178d1970855e43 diff --git a/mail-filter/dkimproxy/dkimproxy-1.0.1.ebuild b/mail-filter/dkimproxy/dkimproxy-1.0.1.ebuild new file mode 100644 index 0000000..952ada8 --- /dev/null +++ b/mail-filter/dkimproxy/dkimproxy-1.0.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils perl-module + +DESCRIPTION="An SMTP proxy that signs and/or verifies emails using the Mail::DKIM module" +HOMEPAGE="http://dkimproxy.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=dev-perl/Mail-DKIM-0.30 + dev-perl/Error + >=dev-perl/net-server-0.91" +RDEPEND="${DEPEND}" + +pkg_setup() { + enewgroup dkim + enewuser dkim -1 -1 -1 dkim +} + +src_compile(){ + perlinfo + export perllibdir=${VENDOR_LIB} + econf || die "econf failed" + emake || die "emake failed" +} + +src_install(){ + emake DESTDIR="${D}" install || die "emake install failed" + dosed '1s:^\(#!/usr/bin/perl\).*$:\1:' /usr/bin/dkimproxy.{in,out} + for i in in out; do + newinitd ${FILESDIR}/dkimproxy.init dkimproxy_${i} + done + dodoc README NEWS TODO + diropts -odkim -gdkim -m0750 + dodir /etc/dkimproxy +} + +pkg_postinst() { + einfo + einfo "If you want to sign outgoing mail using DKIM, you might want" + einfo "to generate an RSA keypair now:" + einfo + einfo "umask 0027" + einfo "openssl genrsa -out /etc/dkimproxy/privkey.pem 1024" + einfo "openssl rsa -in /etc/dkimproxy/privkey.pem -pubout -out /etc/dkimproxy/pubkey.pem" + einfo "chgrp dkim /etc/dkimproxy/*.pem" + einfo +} diff --git a/mail-filter/dkimproxy/dkimproxy-1.1.ebuild b/mail-filter/dkimproxy/dkimproxy-1.1.ebuild new file mode 100644 index 0000000..f87ff5f --- /dev/null +++ b/mail-filter/dkimproxy/dkimproxy-1.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils perl-module + +DESCRIPTION="An SMTP proxy that signs and/or verifies emails using the Mail::DKIM module" +HOMEPAGE="http://dkimproxy.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=dev-perl/Mail-DKIM-0.32 + dev-perl/Error + >=dev-perl/net-server-0.91" +RDEPEND="${DEPEND}" + +pkg_setup() { + enewgroup dkim + enewuser dkim -1 -1 -1 dkim +} + +src_compile(){ + perlinfo + export perllibdir=${VENDOR_LIB} + econf || die "econf failed" + emake || die "emake failed" +} + +src_install(){ + emake DESTDIR="${D}" install || die "emake install failed" + dosed '1s:^\(#!/usr/bin/perl\).*$:\1:' /usr/bin/dkimproxy.{in,out} + for i in in out; do + newinitd ${FILESDIR}/dkimproxy.init dkimproxy_${i} + done + dodoc README NEWS TODO + diropts -odkim -gdkim -m0750 + dodir /etc/dkimproxy +} + +pkg_postinst() { + einfo + einfo "If you want to sign outgoing mail using DKIM, you might want" + einfo "to generate an RSA keypair now:" + einfo + einfo "umask 0027" + einfo "openssl genrsa -out /etc/dkimproxy/privkey.pem 1024" + einfo "openssl rsa -in /etc/dkimproxy/privkey.pem -pubout -out /etc/dkimproxy/pubkey.pem" + einfo "chgrp dkim /etc/dkimproxy/*.pem" + einfo +} diff --git a/mail-filter/dkimproxy/files/dkimproxy.init b/mail-filter/dkimproxy/files/dkimproxy.init new file mode 100644 index 0000000..80ceae9 --- /dev/null +++ b/mail-filter/dkimproxy/files/dkimproxy.init @@ -0,0 +1,39 @@ +#!/sbin/runscript +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +dkimproxy_bin=/usr/bin/${SVCNAME%_*}.${SVCNAME#*_} # dkimproxy.in/dkimproxy.out +dkimproxy_pidfile=/var/run/${SVCNAME}.pid +dkimproxy_conf=/etc/${SVCNAME}.conf +#dkimproxy_opts: can be set in /etc/conf.d/${SVCNAME} + +depend() { + need net + use mta +} + +checkconfig() { + if [ ! -f ${dkimproxy_conf} ]; then + eerror "Configuration file ${dkimproxy_conf} not found" + return 1 + fi +} + +start() { + checkconfig || return 1 + ebegin "Starting ${SVCNAME}" + start-stop-daemon --start --quiet \ + --exec ${dkimproxy_bin} -- \ + --daemonize --user=dkim --group=dkim \ + --conf_file=${dkimproxy_conf} \ + --pidfile=${dkimproxy_pidfile} \ + ${dkimproxy_opts} + eend ${?} +} + +stop() { + ebegin "Stopping ${SVCNAME}" + start-stop-daemon --stop --quiet --pidfile ${dkimproxy_pidfile} + eend ${?} +} diff --git a/mail-filter/dkimproxy/metadata.xml b/mail-filter/dkimproxy/metadata.xml new file mode 100644 index 0000000..a7162e9 --- /dev/null +++ b/mail-filter/dkimproxy/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>wschlich@gentoo.org</email> + <name>Wolfram Schlich</name> + <description>Primary maintainer</description> +</maintainer> +</pkgmetadata> diff --git a/mail-filter/dovecot-antispam/ChangeLog b/mail-filter/dovecot-antispam/ChangeLog new file mode 100644 index 0000000..83df1f3 --- /dev/null +++ b/mail-filter/dovecot-antispam/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for mail-filter/dovecot-antispam +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 01 Jun 2008; Wolfram Schlich <wschlich@gentoo.org> + dovecot-antispam-9999.ebuild: + added debug CFLAGS + + 27 Apr 2008; Wolfram Schlich <wschlich@gentoo.org> + +dovecot-antispam-9999.ebuild: + initial import + diff --git a/mail-filter/dovecot-antispam/Manifest b/mail-filter/dovecot-antispam/Manifest new file mode 100644 index 0000000..7a4eadb --- /dev/null +++ b/mail-filter/dovecot-antispam/Manifest @@ -0,0 +1,2 @@ +EBUILD dovecot-antispam-9999.ebuild 2145 RMD160 0b9573768b7a56808d6083a64999bcee9acc4da4 SHA1 f545fff6ba503b9853b11625afe3d3390a8dba96 SHA256 1a53cee4be2de15e0daddd000116374f3a60f1bb07cee58f491d937d12097b5d +MISC ChangeLog 340 RMD160 3efc4216a0f8aeab9440d0aa68ebf780f5524c0b SHA1 1872f008894039a561349c514b00ce6780d6a0cd SHA256 7e35f295a3d32dfe017fd02427f3b0de508b3bf221108859e856215df5baa54c diff --git a/mail-filter/dovecot-antispam/dovecot-antispam-9999.ebuild b/mail-filter/dovecot-antispam/dovecot-antispam-9999.ebuild new file mode 100644 index 0000000..11b0699 --- /dev/null +++ b/mail-filter/dovecot-antispam/dovecot-antispam-9999.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/dovecot-antispam-20080424.ebuild,v 1.1 2008/04/24 11:46:40 hollow Exp $ + +inherit confutils eutils autotools flag-o-matic git multilib + +EGIT_REPO_URI="http://git.sipsolutions.net/dovecot-antispam.git" + +DESCRIPTION="A dovecot antispam plugin supporting multiple backends" +HOMEPAGE="http://johannes.sipsolutions.net/Projects/dovecot-antispam" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug dspam crm114 mailtrain signature-log syslog" + +DEPEND="net-mail/dovecot + dspam? ( mail-filter/dspam ) + crm114? ( app-text/crm114 )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${PN} + +# we need this to prevent errors from dovecot-config +top_builddir() { + return +} + +pkg_setup() { + confutils_require_one dspam signature-log mailtrain crm114 + confutils_use_depend_all syslog debug +} + +src_unpack() { + git_src_unpack + cd "${S}" + sed -e 's/$(INSTALLDIR)/$(DESTDIR)$(INSTALLDIR)/' -i Makefile +} + +src_compile() { + source "${ROOT}"/usr/lib/dovecot/dovecot-config || \ + die "cannot find dovecot-config" + + echo DOVECOT=${dovecot_incdir} > .config + if has_version '=net-mail/dovecot-1.0*'; then + echo DOVECOT_VERSION=1.0 >> .config + elif has_version '=net-mail/dovecot-1.1*'; then + echo DOVECOT_VERSION=1.1 >> .config + fi + echo INSTALLDIR=${moduledir}/imap/ >> .config + echo PLUGINNAME=antispam >> .config + echo USER=root >> .config + echo GROUP=root >> .config + + use dspam && echo BACKEND=dspam-exec >> .config + use signature-log && echo BACKEND=signature-log >> .config + use mailtrain && echo BACKEND=mailtrain >> .config + use crm114 && echo BACKEND=crm114-exec >> .config + + if use debug; then + echo CFLAGS+=-g3 >> .config + if use syslog; then + echo DEBUG=syslog >> .config + else + echo DEBUG=stderr >> .config + fi + fi + + emake || die "make failed" +} + +src_install() { + source "${ROOT}"/usr/lib/dovecot/dovecot-config || \ + die "cannot find dovecot-config" + + dodir "${moduledir}"/imap/ + make DESTDIR="${D}" install || die "make install failed" + + newman antispam.7 dovecot-antispam.7 +} diff --git a/mail-filter/sbd-proxy/ChangeLog b/mail-filter/sbd-proxy/ChangeLog new file mode 100644 index 0000000..21f0e6a --- /dev/null +++ b/mail-filter/sbd-proxy/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for mail-filter/sbd-proxy +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 25 Jan 2010; Wolfram Schlich <wschlich@gentoo.org> +sbd-proxy-1.2.ebuild: + version bump + + 04 Nov 2009; Wolfram Schlich <wschlich@gentoo.org> +sbd-proxy-1.1.ebuild: + version bump + + 28 Oct 2009; Wolfram Schlich <wschlich@gentoo.org> +files/sbd-proxy.confd, + +files/sbd-proxy.initd, +sbd-proxy-1.0.ebuild: + initial import + diff --git a/mail-filter/sbd-proxy/Manifest b/mail-filter/sbd-proxy/Manifest new file mode 100644 index 0000000..30c91fc --- /dev/null +++ b/mail-filter/sbd-proxy/Manifest @@ -0,0 +1,9 @@ +AUX sbd-proxy.confd 187 RMD160 05ea13942b87b34efc7fbd7da5ee9e7b090aaf31 SHA1 c800e8303a08a41a3cd09535d5ddd87a459e711e SHA256 4c884c252cf1d65635daa59a0687f33509a56c1d4a403dcf4fcb87d0ba09f955 +AUX sbd-proxy.initd 798 RMD160 deacda480e48c30fc8d4230a28ce956dc2aac6b9 SHA1 259ee4d091b255203a3ad2c84eecd9b5f567fe33 SHA256 0b9dd9e3e765e5d14a5cb1ed33678db7e2f4ef07fc0947552788c78a9a4e3c8a +DIST sbd-proxy-1.0.tar.bz2 6425 RMD160 585017e239dc14835443805cf0ab75690b529f39 SHA1 c45815e3935b944dde86daeb5634dab3c0b60dc3 SHA256 c8d838e46cb0f3d39792f6c56ac5cc6b74b302c6987e3b3453f1f2733ab5dad3 +DIST sbd-proxy-1.1.tar.bz2 6488 RMD160 d4e5725f92cd6fc26735220a32e237858a89cfb5 SHA1 6cc38b9d64d347854929459ab8f358e7aae0ed57 SHA256 4723b7d23e3556c91accd407baaba4de88286d025c23520e60eabecc6fae65be +DIST sbd-proxy-1.2.tar.bz2 7797 RMD160 bdea663404e8749c7b0254ad25ed5c30ec7bc6a2 SHA1 9ed4a31785be0ffb04bf1aac468537298bf2688b SHA256 7de022956e47149c5140447aec8c6ba7a7e278c71281dafaef512c5dc3f1440e +EBUILD sbd-proxy-1.0.ebuild 1062 RMD160 cf0ad92b5d062c46b3d34f1d5f7b141ee544295c SHA1 b448b8111e4bf8c7f9f667a4f491002e4c87d4a9 SHA256 2eed5616946c59025e1a4243a7b89d7f81d11a16de0095324234823b36da83ad +EBUILD sbd-proxy-1.1.ebuild 1062 RMD160 cf0ad92b5d062c46b3d34f1d5f7b141ee544295c SHA1 b448b8111e4bf8c7f9f667a4f491002e4c87d4a9 SHA256 2eed5616946c59025e1a4243a7b89d7f81d11a16de0095324234823b36da83ad +EBUILD sbd-proxy-1.2.ebuild 1062 RMD160 1720d4d93d63c48f2c628f4495d0b0c9bf07cd57 SHA1 45ae27158a147fbc1d83d05a7d94d23215616287 SHA256 b21dadd020484fab4b111bc46124a0297fe55113da9685bda57a18c80e61d9e2 +MISC ChangeLog 450 RMD160 d8827ba8ea0186d046439ae7e7e16eb316238848 SHA1 5a5bf79f22a8d3bb3e2c68c4c76c10658dfedf14 SHA256 10499a7fa83348cfab7515c8c1bba578e1b552a178c9ab9f7e8ba0f65ff9d80a diff --git a/mail-filter/sbd-proxy/files/sbd-proxy.confd b/mail-filter/sbd-proxy/files/sbd-proxy.confd new file mode 100644 index 0000000..8314cc6 --- /dev/null +++ b/mail-filter/sbd-proxy/files/sbd-proxy.confd @@ -0,0 +1,5 @@ +#sbdproxy_uid="sbd" +#sbdproxy_gid="sbd" +#sbdproxy_bin="/usr/local/bin/sbd-proxy.pl" +#sbdproxy_pidfile="/var/run/${SVCNAME}.pid" +sbdproxy_opts="--simulate 127.0.0.1:10033 127.0.0.1:10034" diff --git a/mail-filter/sbd-proxy/files/sbd-proxy.initd b/mail-filter/sbd-proxy/files/sbd-proxy.initd new file mode 100755 index 0000000..006c275 --- /dev/null +++ b/mail-filter/sbd-proxy/files/sbd-proxy.initd @@ -0,0 +1,33 @@ +#!/sbin/runscript +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +sbdproxy_bin="/usr/bin/sbd-proxy.pl" +sbdproxy_pidfile="/var/run/${SVCNAME}.pid" +#sbdproxy_uid: can be set in /etc/conf.d/${SVCNAME} +#sbdproxy_gid: can be set in /etc/conf.d/${SVCNAME} +#sbdproxy_opts: can be set in /etc/conf.d/${SVCNAME} + +depend() { + need net + use mta +} + +start() { + ebegin "Starting ${SVCNAME}" + start-stop-daemon --start --quiet \ + --chuid "${sbdproxy_uid:-sbd}:${sbdproxy_gid:-sbd}" \ + --exec "${sbdproxy_bin}" \ + --background \ + --pidfile "${sbdproxy_pidfile}" \ + --make-pidfile \ + -- ${sbdproxy_opts} + eend ${?} +} + +stop() { + ebegin "Stopping ${SVCNAME}" + start-stop-daemon --stop --quiet --pidfile "${sbdproxy_pidfile}" + eend ${?} +} diff --git a/mail-filter/sbd-proxy/sbd-proxy-1.0.ebuild b/mail-filter/sbd-proxy/sbd-proxy-1.0.ebuild new file mode 100644 index 0000000..002ddd3 --- /dev/null +++ b/mail-filter/sbd-proxy/sbd-proxy-1.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="An SMTP proxy for solicited bounce detection" +HOMEPAGE="http://dev.gentoo.org/~wschlich/" +SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=" + virtual/perl-Getopt-Long + virtual/perl-Sys-Syslog + dev-perl/Config-IniFiles + dev-perl/DBI + dev-perl/Exception-Class + dev-perl/Exception-Class-TryCatch + dev-perl/Exception-Class-DBI +" +RDEPEND="${DEPEND} + virtual/mysql +" + +pkg_setup() { + enewgroup sbd + enewuser sbd -1 -1 -1 sbd +} + +src_install(){ + newinitd ${FILESDIR}/${PN}.initd ${PN} || die + newconfd ${FILESDIR}/${PN}.confd ${PN} || die + dobin ${PN}.pl || die + insopts -o sbd -g sbd -m 0640 + insinto /etc + doins ${PN}.ini || die + dodoc sbd-proxy-setup-mysql.sql +} + +pkg_postinst() { + einfo + einfo "See the bundled sbd-proxy-setup-mysql.sql example on" + einfo "how to create the needed MySQL database, user and table." + einfo +} diff --git a/mail-filter/sbd-proxy/sbd-proxy-1.1.ebuild b/mail-filter/sbd-proxy/sbd-proxy-1.1.ebuild new file mode 100644 index 0000000..002ddd3 --- /dev/null +++ b/mail-filter/sbd-proxy/sbd-proxy-1.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="An SMTP proxy for solicited bounce detection" +HOMEPAGE="http://dev.gentoo.org/~wschlich/" +SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=" + virtual/perl-Getopt-Long + virtual/perl-Sys-Syslog + dev-perl/Config-IniFiles + dev-perl/DBI + dev-perl/Exception-Class + dev-perl/Exception-Class-TryCatch + dev-perl/Exception-Class-DBI +" +RDEPEND="${DEPEND} + virtual/mysql +" + +pkg_setup() { + enewgroup sbd + enewuser sbd -1 -1 -1 sbd +} + +src_install(){ + newinitd ${FILESDIR}/${PN}.initd ${PN} || die + newconfd ${FILESDIR}/${PN}.confd ${PN} || die + dobin ${PN}.pl || die + insopts -o sbd -g sbd -m 0640 + insinto /etc + doins ${PN}.ini || die + dodoc sbd-proxy-setup-mysql.sql +} + +pkg_postinst() { + einfo + einfo "See the bundled sbd-proxy-setup-mysql.sql example on" + einfo "how to create the needed MySQL database, user and table." + einfo +} diff --git a/mail-filter/sbd-proxy/sbd-proxy-1.2.ebuild b/mail-filter/sbd-proxy/sbd-proxy-1.2.ebuild new file mode 100644 index 0000000..b2d3bac --- /dev/null +++ b/mail-filter/sbd-proxy/sbd-proxy-1.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="An SMTP proxy for solicited bounce detection" +HOMEPAGE="http://dev.gentoo.org/~wschlich/" +SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=" + virtual/perl-Getopt-Long + virtual/perl-Sys-Syslog + dev-perl/Config-IniFiles + dev-perl/DBI + dev-perl/Exception-Class + dev-perl/Exception-Class-TryCatch + dev-perl/Exception-Class-DBI +" +RDEPEND="${DEPEND} + virtual/mysql +" + +pkg_setup() { + enewgroup sbd + enewuser sbd -1 -1 -1 sbd +} + +src_install(){ + newinitd ${FILESDIR}/${PN}.initd ${PN} || die + newconfd ${FILESDIR}/${PN}.confd ${PN} || die + dobin ${PN}.pl || die + insopts -o sbd -g sbd -m 0640 + insinto /etc + doins ${PN}.ini || die + dodoc sbd-proxy-setup-mysql.sql +} + +pkg_postinst() { + einfo + einfo "See the bundled sbd-proxy-setup-mysql.sql example on" + einfo "how to create the needed MySQL database, user and table." + einfo +} |