diff options
author | 2008-04-14 22:38:43 +0200 | |
---|---|---|
committer | 2008-04-14 22:38:43 +0200 | |
commit | a284d418f05618df475dc12375bd752d0849acee (patch) | |
tree | b9b8e682fa9c2cd32a0a13f2cbe46c4d1b6558cf | |
download | falco-a284d418f05618df475dc12375bd752d0849acee.tar.gz falco-a284d418f05618df475dc12375bd752d0849acee.tar.bz2 falco-a284d418f05618df475dc12375bd752d0849acee.zip |
initial import: proxsmtp ebuild, v. 1.7, old one (2007)
Signed-off-by: Raphaël Marichez <falco@gentoo.org>
-rw-r--r-- | mail-filter/proxsmtp/Manifest | 16 | ||||
-rw-r--r-- | mail-filter/proxsmtp/files/digest-proxsmtp-1.7 | 3 | ||||
-rw-r--r-- | mail-filter/proxsmtp/files/proxsmtpd.init | 21 | ||||
-rw-r--r-- | mail-filter/proxsmtp/metadata.xml | 13 | ||||
-rw-r--r-- | mail-filter/proxsmtp/proxsmtp-1.7.ebuild | 41 |
5 files changed, 94 insertions, 0 deletions
diff --git a/mail-filter/proxsmtp/Manifest b/mail-filter/proxsmtp/Manifest new file mode 100644 index 0000000..d323e02 --- /dev/null +++ b/mail-filter/proxsmtp/Manifest @@ -0,0 +1,16 @@ +AUX proxsmtpd.init 457 RMD160 35f939a4a3c19cc6c1619a8b763a7a4d42be4e29 SHA1 108f3bf7956c304968b15c723a5968c6b768bf06 SHA256 fbcd75573bc45040e721eb36b32c72115b4f736a2f8b4f4517643fabdfde5ac2 +MD5 f8943f50309e078876d06627177488cf files/proxsmtpd.init 457 +RMD160 35f939a4a3c19cc6c1619a8b763a7a4d42be4e29 files/proxsmtpd.init 457 +SHA256 fbcd75573bc45040e721eb36b32c72115b4f736a2f8b4f4517643fabdfde5ac2 files/proxsmtpd.init 457 +DIST proxsmtp-1.7.tar.gz 186015 RMD160 fc4fbcb9d7dd03e10975412fe6ea8bafaa1060c8 SHA1 cc7bc5e52871a74cd74daa51918b10467a048388 SHA256 53fa714c7c4a63cfeec2cd27b646f43aea58141aad2368a1063db47dadb7e1b6 +EBUILD proxsmtp-1.7.ebuild 924 RMD160 ca2a6cb6e33f0387886f42fdd7cdfba8fe83c39f SHA1 5ebc2c12c11e5dc0a536c2a3faff06039bd553b2 SHA256 aacd27c9072f878f5bab4afa56575604b566ee943a07c5a675c20044d80f6c44 +MD5 036e3d8c1fe603e3e01384311ae13c6b proxsmtp-1.7.ebuild 924 +RMD160 ca2a6cb6e33f0387886f42fdd7cdfba8fe83c39f proxsmtp-1.7.ebuild 924 +SHA256 aacd27c9072f878f5bab4afa56575604b566ee943a07c5a675c20044d80f6c44 proxsmtp-1.7.ebuild 924 +MISC metadata.xml 353 RMD160 689d721c328745dcd41f91ab4c444b5e24d115a1 SHA1 08288e5dcd832c94dbdcb19ee333798534b9f98b SHA256 43d54453f44850380de77324539e212a1e4e6916a001e9004cc1c248d5f9a851 +MD5 554e1c980e2a5fa90d040dc8d0f4b8ec metadata.xml 353 +RMD160 689d721c328745dcd41f91ab4c444b5e24d115a1 metadata.xml 353 +SHA256 43d54453f44850380de77324539e212a1e4e6916a001e9004cc1c248d5f9a851 metadata.xml 353 +MD5 cbb9814b1f41a6c1bb7dbea1cb40d60c files/digest-proxsmtp-1.7 238 +RMD160 dd9239ac65a9e73ab16bfcebf351df7552251f48 files/digest-proxsmtp-1.7 238 +SHA256 1d14ee234b60d585d99b97ccdb8402841f49572ed9a0750028e953b5445825d4 files/digest-proxsmtp-1.7 238 diff --git a/mail-filter/proxsmtp/files/digest-proxsmtp-1.7 b/mail-filter/proxsmtp/files/digest-proxsmtp-1.7 new file mode 100644 index 0000000..4172677 --- /dev/null +++ b/mail-filter/proxsmtp/files/digest-proxsmtp-1.7 @@ -0,0 +1,3 @@ +MD5 de6ce4a743b45cf84c4dbaccda9ee147 proxsmtp-1.7.tar.gz 186015 +RMD160 fc4fbcb9d7dd03e10975412fe6ea8bafaa1060c8 proxsmtp-1.7.tar.gz 186015 +SHA256 53fa714c7c4a63cfeec2cd27b646f43aea58141aad2368a1063db47dadb7e1b6 proxsmtp-1.7.tar.gz 186015 diff --git a/mail-filter/proxsmtp/files/proxsmtpd.init b/mail-filter/proxsmtp/files/proxsmtpd.init new file mode 100644 index 0000000..cd87ce3 --- /dev/null +++ b/mail-filter/proxsmtp/files/proxsmtpd.init @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +depend() { + +} + +start() { + ebegin "Starting ProxSMTPd" + start-stop-daemon --start --quiet \ + --exec /usr/sbin/proxsmtpd -- -p /var/run/proxsmtp/proxsmtpd.pid -f /etc/proxsmtpd.conf + eend $? +} + +stop() { + ebegin "Stopping ProxSMTPd" + start-stop-daemon --stop --quiet --pidfile /var/run/proxsmtp/proxsmtpd.pid + eend $? +} diff --git a/mail-filter/proxsmtp/metadata.xml b/mail-filter/proxsmtp/metadata.xml new file mode 100644 index 0000000..0f71c05 --- /dev/null +++ b/mail-filter/proxsmtp/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>falco@gentoo.org</email> + <name>Raphael Marichez</name> + </maintainer> + <longdescription lang="en"> + A SMTP proxy around any user-defined filter. + </longdescription> +</pkgmetadata> + diff --git a/mail-filter/proxsmtp/proxsmtp-1.7.ebuild b/mail-filter/proxsmtp/proxsmtp-1.7.ebuild new file mode 100644 index 0000000..6de0bbc --- /dev/null +++ b/mail-filter/proxsmtp/proxsmtp-1.7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="An SMTP proxy similar to ClamSMTP but that works with any user-defined filter." +HOMEPAGE="http://memberwebs.com/stef/software/proxsmtp/" +SRC_URI="http://memberwebs.com/stef/software/proxsmtp/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" + +DEPEND="virtual/libc" +RDEPEND="${DEPEND}" + +pkg_setup() { + enewgroup proxsmtp + enewuser proxsmtp -1 -1 /dev/null proxsmtp +} + +src_compile() { + econf $(use_enable debug) || die + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + dodoc AUTHORS ChangeLog README NEWS scripts/*.sh + + newinitd ${FILESDIR}/proxsmtpd.init proxsmtpd + + insinto /etc + newins doc/proxsmtpd.conf proxsmtpd.conf + + dodir /var/run/proxsmtp + keepdir /var/run/proxsmtp + fowners proxsmtp:proxsmtp /var/run/proxsmtp +} |