summaryrefslogtreecommitdiff
path: root/net-mail/serialmail
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/serialmail')
-rw-r--r--net-mail/serialmail/Manifest7
-rw-r--r--net-mail/serialmail/files/serialmail-0.75-implicit.patch42
-rw-r--r--net-mail/serialmail/metadata.xml8
-rw-r--r--net-mail/serialmail/serialmail-0.75-r4.ebuild49
4 files changed, 106 insertions, 0 deletions
diff --git a/net-mail/serialmail/Manifest b/net-mail/serialmail/Manifest
new file mode 100644
index 000000000000..86edfa610483
--- /dev/null
+++ b/net-mail/serialmail/Manifest
@@ -0,0 +1,7 @@
+AUX serialmail-0.75-implicit.patch 965 SHA256 bb982ee188fefbe81d96aafeecb80c68334a96ca06f87778eb8a2696919d6d50 SHA512 2c3bb49ed651aaea32f29e25db29c2a7d538e583c8d2b2200cb68790c397edebda5f8d36cf997059694f8209472e5d3949d934be9877cf0da524ff816a2ef268 WHIRLPOOL a32cdda3fe49bbefbda2f7b8c8d9a71fd9f1626a74ac8050ff246a04873064c1584e808503eab855177d547637137c934abf7e3278cf8475e66490c02f406c7d
+DIST serialmail-0.75-patch.tar.bz2 7702 SHA256 61e3895faad9820f02f69f0873b0af30baf4a73dc3cc4beebad7d00b1b35a079 SHA512 da1eb9a9a834fe5a9db4233d1a7e09657f5a2903f3356ebd6922f03c7f4833d96b4b9ecfb3412733dcdd3b384e503b25fd2564d0f93c639a7a9409872dc52c25 WHIRLPOOL 4dd9dfb737958484edfc172f742dd81deeab01a9ba9b117f5d8926072009ffa30194600c1edd96234d0db0be7ef618eb5142810e3555294e5a91b2a9de130c7d
+DIST serialmail-0.75.tar.gz 55079 SHA256 1825c911087f28692c3441d4f95747201c520a22575ab3e6132b5c14097038f3 SHA512 f0c7f14330b44f12f8e5f3590416d707bb2daaca84db8fcd236ae05855269005a726d946269c0cbb25f51238fba350420e0e3a1d57f0ab227c447fafcae497dc WHIRLPOOL 3773e02f75e7609e6e362af7355448daebdf6c98bae42d3ce268cc9bf5e4750306ec85080e7514c32a5fa0917912958083e428eec759f2d1cedd0fb8ede5d8d0
+EBUILD serialmail-0.75-r4.ebuild 1269 SHA256 e94000a5f1a74a3e1e7ef268b6176c7528a5d31f541667ed41edb5b0a00fe62e SHA512 ba52172765ae312b8f7aa27eebf9463b23179a8c4ce8822a2ecf6fc3d63f12ee40cce071dfd91cc56bddadb0e2e68c80723f34e51ecbd0fb65e9f0b7b3d69b99 WHIRLPOOL 0d6a9f5e8dcce8bfd1facaca3b6e24c25ba8b1edb4aa2a1c79dab1a5968f43ca230672d3f50fad5e86d52fe64b933635cc5d53608cc49b0b10b0a2f547c12fb5
+MISC ChangeLog 2501 SHA256 4fefaa6e46b1fb3a52ee4b84a4c608c495c973e9e7373af5cb60ae6c8708dd6d SHA512 42ef414b975811de90fa706d8f66a800141e14e2718d93bfeb1771a94107c2fd651b86ee77642e739c1ada8650b563b933de4eecc691170310ec941457ba0fc2 WHIRLPOOL 2c23fdf508ea130825196e160d94ed8866639f614999f69f5588dd954357d6636af09ceaf1384e0c0be8b9b0208c8c0932602a615183bf6fbefa161e68b31386
+MISC ChangeLog-2015 3829 SHA256 4ca32834ed2e19b8267c06027ef5c50d41493c391a7416ca058b5ebf1492606e SHA512 64229c9e2051ade909e224328389521c16da58ac56cad7496a58462fcefe55a050e103e4ca31b3b87655777ffb1df5298542c93c2a2b804629745c72a705c90a WHIRLPOOL 96622fe115f3f3cc5e55c1c1167dee64d7c2e3d6e5a4a7ae1afafc81776b54e2c6108cdf9482fe99f563c142d41bb49dc2bcbe661950c987ad909ed9c228ce5a
+MISC metadata.xml 240 SHA256 f0e0bb7a24c4b1ff6b6a8a3e9315245c298499c03fbda429c0f775ec6a5396af SHA512 97824dbce22630efb21e647b55212b7a8a19d8e38b5bf05cb0b8078530bbbaaf4dc91284e2a11beab7dfcfb779df82b87b49d11a746c7a4f6dc71f2fda8942db WHIRLPOOL a7adfcb24489ae67a43a59d8350a70b20874fb03de95681c5b516a741d95422560a433f641de5a7222cf5d3500333e215055ec0cb3844e7abc6d6a836de97357
diff --git a/net-mail/serialmail/files/serialmail-0.75-implicit.patch b/net-mail/serialmail/files/serialmail-0.75-implicit.patch
new file mode 100644
index 000000000000..988fa31bb92c
--- /dev/null
+++ b/net-mail/serialmail/files/serialmail-0.75-implicit.patch
@@ -0,0 +1,42 @@
+commit 3672e8edd2887775168c4c6c0c670a80dd413825
+Author: Eray Aslan <eras@gentoo.org>
+Date: Mon Jun 6 07:12:06 2011 +0000
+
+ Add missing includes for incompatible implicit declaration warnings.
+
+diff --git a/leapsecs_read.c b/leapsecs_read.c
+index c8f975f..248632d 100644
+--- a/leapsecs_read.c
++++ b/leapsecs_read.c
+@@ -2,6 +2,7 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <errno.h>
++#include <stdlib.h>
+ #include "tai.h"
+ #include "leapsecs.h"
+
+diff --git a/maildirserial.c b/maildirserial.c
+index 707470e..09214db 100644
+--- a/maildirserial.c
++++ b/maildirserial.c
+@@ -1,5 +1,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <stdlib.h>
++#include "exit.h"
+ #include "sgetopt.h"
+ #include "scan.h"
+ #include "stralloc.h"
+diff --git a/myMd5.c b/myMd5.c
+index 5f41908..869a7f9 100644
+--- a/myMd5.c
++++ b/myMd5.c
+@@ -25,6 +25,7 @@
+ */
+
+ #include "myMd5.h"
++#include <string.h>
+
+ /* Constants for MD5Transform routine. */
+ #define S11 7
diff --git a/net-mail/serialmail/metadata.xml b/net-mail/serialmail/metadata.xml
new file mode 100644
index 000000000000..9a6d80e5da48
--- /dev/null
+++ b/net-mail/serialmail/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/net-mail/serialmail/serialmail-0.75-r4.ebuild b/net-mail/serialmail/serialmail-0.75-r4.ebuild
new file mode 100644
index 000000000000..bf0fede65d3e
--- /dev/null
+++ b/net-mail/serialmail/serialmail-0.75-r4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="A serialmail is a collection of tools for passing mail across serial links"
+HOMEPAGE="http://cr.yp.to/serialmail.html"
+SRC_URI="http://cr.yp.to/software/${P}.tar.gz
+ mirror://gentoo/${P}-patch.tar.bz2"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE="static"
+RESTRICT="mirror bindist"
+
+DEPEND="sys-apps/groff
+ >=sys-apps/ucspi-tcp-0.88"
+
+RDEPEND="sys-apps/groff
+ >=sys-apps/ucspi-tcp-0.88
+ virtual/daemontools"
+
+src_prepare() {
+ epatch "${WORKDIR}"/${P}-gentoo.patch
+ epatch "${WORKDIR}"/${P}-smtpauth.patch
+ epatch "${WORKDIR}"/${P}-smtpauth_comp.patch
+ sed -i "s:@CFLAGS@:${CFLAGS}:" conf-cc
+ use static && LDFLAGS="${LDFLAGS} -static"
+ sed -i "s:@LDFLAGS@:${LDFLAGS}:" conf-ld
+ epatch "${FILESDIR}"/${P}-implicit.patch
+}
+
+src_compile() {
+ grep -v man hier.c | grep -v doc > hier.c.tmp ; mv hier.c.tmp hier.c
+ emake it man
+}
+
+src_install() {
+ dobin serialsmtp serialqmtp maildirsmtp maildirserial maildirqmtp
+
+ dodoc AUTOTURN CHANGES FROMISP SYSDEPS THANKS TOISP \
+ BLURB FILES INSTALL README TARGETS TODO VERSION
+
+ doman maildirqmtp.1 maildirserial.1 maildirsmtp.1 \
+ serialqmtp.1 serialsmtp.1
+}