summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2003-09-10 15:58:45 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2003-09-10 15:58:45 +0000
commitaf824e6290743a1e1f084ca910eac4f921c34e49 (patch)
tree97d67132403acad1c774c283b6f158ec1e8d1fa7 /net-mail/serialmail
parentChanged app-emulation/epsxe to games-emulation/epsxe (diff)
downloadhistorical-af824e6290743a1e1f084ca910eac4f921c34e49.tar.gz
historical-af824e6290743a1e1f084ca910eac4f921c34e49.tar.bz2
historical-af824e6290743a1e1f084ca910eac4f921c34e49.zip
Fixing errno problem
Diffstat (limited to 'net-mail/serialmail')
-rw-r--r--net-mail/serialmail/Manifest4
-rw-r--r--net-mail/serialmail/files/digest-serialmail-0.75-r11
-rw-r--r--net-mail/serialmail/files/errno.patch20
-rw-r--r--net-mail/serialmail/serialmail-0.75-r1.ebuild65
4 files changed, 88 insertions, 2 deletions
diff --git a/net-mail/serialmail/Manifest b/net-mail/serialmail/Manifest
index f174d1a755d3..9c4fa2b1f64e 100644
--- a/net-mail/serialmail/Manifest
+++ b/net-mail/serialmail/Manifest
@@ -1,6 +1,6 @@
-MD5 1672d02f315664f6b66449576f6b478a serialmail-0.75-r1.ebuild 1254
+MD5 54ccc7d3d2f6a17429b1a2d31dc5a9f4 serialmail-0.75-r1.ebuild 1258
MD5 40d688d3ea98094cffc06432af009b41 serialmail-0.75.ebuild 1194
-MD5 dfb6a71f2cfb2b291a488a5cdf8738f6 ChangeLog 451
+MD5 5c730efc27fc7be7e1f00bfa8960c193 ChangeLog 721
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
MD5 3339480edaf2f8d572600ce92d8ffa33 files/errno.patch 567
MD5 9470e572fd04d86fc02411a70786ebbc files/digest-serialmail-0.75-r1 66
diff --git a/net-mail/serialmail/files/digest-serialmail-0.75-r1 b/net-mail/serialmail/files/digest-serialmail-0.75-r1
new file mode 100644
index 000000000000..223ae338b5df
--- /dev/null
+++ b/net-mail/serialmail/files/digest-serialmail-0.75-r1
@@ -0,0 +1 @@
+MD5 e6a3049863ae8577b1780fcd9fbc98a9 serialmail-0.75.tar.gz 55079
diff --git a/net-mail/serialmail/files/errno.patch b/net-mail/serialmail/files/errno.patch
new file mode 100644
index 000000000000..884767c5e73a
--- /dev/null
+++ b/net-mail/serialmail/files/errno.patch
@@ -0,0 +1,20 @@
+--- serialmail-0.75/error.h 2003-09-10 20:08:05.000000000 +1200
++++ serialmail-0.75-gentoo/error.h 2003-09-10 20:30:50.000000000 +1200
+@@ -1,7 +1,7 @@
+ #ifndef ERROR_H
+ #define ERROR_H
+
+-extern int errno;
++#include <errno.h>
+
+ extern int error_intr;
+ extern int error_nomem;
+--- serialmail-0.75/leapsecs_read.c 2003-09-10 20:08:06.000000000 +1200
++++ serialmail-0.75-gentoo/leapsecs_read.c 2003-09-10 20:15:57.000000000 +1200
+@@ -2,7 +2,6 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <errno.h>
+-extern int errno;
+ #include "tai.h"
+ #include "leapsecs.h"
diff --git a/net-mail/serialmail/serialmail-0.75-r1.ebuild b/net-mail/serialmail/serialmail-0.75-r1.ebuild
new file mode 100644
index 000000000000..35c9664f2681
--- /dev/null
+++ b/net-mail/serialmail/serialmail-0.75-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/serialmail/serialmail-0.75-r1.ebuild,v 1.1 2003/09/10 15:58:40 phosphan Exp $
+
+IUSE=""
+
+S=${WORKDIR}/${P}
+
+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"
+
+DEPEND="virtual/glibc
+ sys-apps/groff
+ >=sys-apps/ucspi-tcp-0.88"
+
+RDEPEND="virtual/glibc
+ sys-apps/groff
+ >=sys-apps/ucspi-tcp-0.88
+ >=sys-apps/daemontools-0.76-r1"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="x86 ppc sparc"
+
+src_unpack() {
+
+ unpack ${P}.tar.gz
+ patch -p0 < ${FILESDIR}/errno.patch || die "patch failed"
+
+ cd ${S}
+
+ echo "/usr" > conf-home
+ echo "gcc ${CFLAGS}" > conf-cc
+ echo "gcc" > conf-ld
+ echo "500" > conf-spawn
+
+}
+
+src_compile() {
+
+ grep -v man hier.c | grep -v doc > hier.c
+
+ emake it man || die
+
+}
+
+src_install() {
+
+ dodir /usr
+
+ echo "${D}/usr" > conf-home
+
+ make man setup check || die
+
+ 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 setlock.1
+}
+
+
+