summaryrefslogtreecommitdiff
path: root/net-mail/pop-before-smtp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-mail/pop-before-smtp
reinit the tree, so we can have metadata
Diffstat (limited to 'net-mail/pop-before-smtp')
-rw-r--r--net-mail/pop-before-smtp/Manifest6
-rw-r--r--net-mail/pop-before-smtp/files/pop-before-smtp.init28
-rw-r--r--net-mail/pop-before-smtp/metadata.xml11
-rw-r--r--net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild35
4 files changed, 80 insertions, 0 deletions
diff --git a/net-mail/pop-before-smtp/Manifest b/net-mail/pop-before-smtp/Manifest
new file mode 100644
index 000000000000..a8ec1fdf2539
--- /dev/null
+++ b/net-mail/pop-before-smtp/Manifest
@@ -0,0 +1,6 @@
+AUX pop-before-smtp.init 613 SHA256 f80a4f4c9db407fee8dc6e829c8b073d4a3f94e9128440026bd78c1a26924b8d SHA512 5018ab8d4acf4bd58c635f029c32ee691462836da37b75afd7e26873b0f0e94969a18cdbd77e69aeb7aa32e5ab08b2c3b644939799e3601367ab0380423516ca WHIRLPOOL 72c531ba9124935b2772e8ce8f4288c043b822282556619fbd01f724d1ded5b1ba10f988302cef4d1e8f627a41349abb7b898ff3209a803bc62153c61eefe8ec
+DIST pop-before-smtp-1.42.tar.gz 40612 SHA256 cfa9e1b24b185c1f7bd9a5f076d39d9b4e50f92d68a1463ec937e7c1526aaa41 SHA512 54556509dcd51025519deb1253e0860c23e2862061992781c79606af00d6db493a5b3b1ca505f609f6a157918b19e959568dc138cc926f8886bec54cf9b404ea WHIRLPOOL 1cb5f6da761865b8915a0806385c05e43fb59866a878443dd6e89caf79bf3a7afe28e0e330970827bd418bddc716519ea3adc0a17a50f5b069a6a14dc40850ed
+EBUILD pop-before-smtp-1.42.ebuild 1046 SHA256 8bb5a5d323013e2698743de2498316f90cf968780af3f166f34a3b984b49a4fd SHA512 7278763ed2538654edcff1451a4c204951bb54f9339e6fbbfb8cf470ab1a13bd7b585dd84b0ae6111dd58346fedb842686c455cf14c6d0bcad0a62d5a88e893f WHIRLPOOL 00628c4b76e58dc34cc4e2774a65d84a25bf763e0b4f625891dacf074334399ae877a9ebedc72da2eb25bfc89893c176a2390b7037d3c9cba006698d0629edad
+MISC ChangeLog 2617 SHA256 93afa3d4c56f30d00b6d31dd0da2305938a113870ff885e811f56a7d76a65c7a SHA512 bbe8db0ac5333cd2ddf03c9dd1e40afa0c35a4e1c674487f1d067a01e3daa8173d3b529352d419d7f3cf570f224764f9fc51a0b2ab2a7c6a19802b6b3d6c256a WHIRLPOOL 353096cbc2c69b8813f6e39a03835502e881c12985bbf0638619f9cba4621f8c4a6fc5ed17d92c37bf73a7f69e40acac906e83eaf3093f6125afafb7113d4ec8
+MISC ChangeLog-2015 3218 SHA256 a9465b8a2175304209140ba57c5a5e4eb2bf4f004f4e8c07852f2f5d2dd33751 SHA512 f7d4cec07eae80eba20ee13da5c0c2b3ff9ec7cc9f7fcec1d0059623a5a2bc1f8a8477e338795e2edeb8caa443e94526032c6e1df6636ea1d8842d9eae82c0e7 WHIRLPOOL 7cb426da9cdf8d2e6e16668a97fbf4b6f5d228f2d10496f32c7670f1fd5a7b4663288ae2b2f54a1f64f3471bf5644fd122e00de201091827df3748b86dfc0827
+MISC metadata.xml 322 SHA256 ec0f2a4199d2d32904711bfaae5c85201900b205e93f862ef45f08618a21283b SHA512 7b2b6cd86a1183ee11439fb0e5128c36ca9e5945335f9fd55cefa1e3c05c2d284e5fe8766962fb1cce4fb84a0fa5d536378e4472310a8055d119f977588ffe3b WHIRLPOOL 34c523cfdd367489e042f6a44f351aadf750e302cee90b3991000165a27cc5bf4acbe0de8a1b7ea717eb29128903417bc0bae4c4e84e174c2d18740c67175677
diff --git a/net-mail/pop-before-smtp/files/pop-before-smtp.init b/net-mail/pop-before-smtp/files/pop-before-smtp.init
new file mode 100644
index 000000000000..5ae84aa2fc11
--- /dev/null
+++ b/net-mail/pop-before-smtp/files/pop-before-smtp.init
@@ -0,0 +1,28 @@
+#!/sbin/openrc-run
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+extra_started_commands="reload"
+
+depend() {
+ need net
+ use logger dns ypbind
+}
+
+start() {
+ ebegin "Starting pop-before-smtp"
+ start-stop-daemon --start --pidfile /var/run/pop-before-smtp.pid --exec /usr/sbin/pop-before-smtp -- --daemon=/var/run/pop-before-smtp.pid
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping pop-before-smtp"
+ start-stop-daemon --stop --pidfile /var/run/pop-before-smtp.pid
+ eend $?
+}
+
+reload() {
+ ebegin "Reloading postfix"
+ /usr/sbin/postfix reload &>/dev/null
+ eend $?
+}
diff --git a/net-mail/pop-before-smtp/metadata.xml b/net-mail/pop-before-smtp/metadata.xml
new file mode 100644
index 000000000000..97ce2c2591bb
--- /dev/null
+++ b/net-mail/pop-before-smtp/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>net-mail@gentoo.org</email>
+ <name>Net-Mail</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">popbsmtp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild b/net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild
new file mode 100644
index 000000000000..89c00b0fa817
--- /dev/null
+++ b/net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+DESCRIPTION="a simple daemon to allow email relay control based on successful POP or IMAP logins"
+HOMEPAGE="http://popbsmtp.sourceforge.net"
+SRC_URI="mirror://sourceforge/popbsmtp/${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 BSD Artistic )"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="dev-lang/perl[berkdb]
+ dev-perl/Net-Netmask
+ dev-perl/TimeDate"
+
+src_prepare() {
+ # enable syslog
+ sed -i \
+ -e "/^=cut #============================= syslog ===========================START=$/d" \
+ -e "/^=cut #============================= syslog =============================END=$/d" \
+ "${S}"/pop-before-smtp-conf.pl \
+ || die "sed pop-before-smtp-conf.pl failed"
+}
+
+src_install() {
+ dosbin pop-before-smtp || die "dosbin failed"
+ dodoc README ChangeLog TODO contrib/README.QUICKSTART
+ insinto /etc
+ doins pop-before-smtp-conf.pl || die "doins failed"
+ newinitd "${FILESDIR}/pop-before-smtp.init" pop-before.smtp \
+ || die "newinitd failed"
+}