diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2003-09-10 15:58:45 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2003-09-10 15:58:45 +0000 |
commit | a510b8d3e8c08b06f9b597ae94853fc63c04eda2 (patch) | |
tree | 17db74304bb1a56106d4b6d1848afb4511017d1a /net-mail/serialmail | |
parent | Changed app-emulation/epsxe to games-emulation/epsxe (diff) | |
download | gentoo-2-a510b8d3e8c08b06f9b597ae94853fc63c04eda2.tar.gz gentoo-2-a510b8d3e8c08b06f9b597ae94853fc63c04eda2.tar.bz2 gentoo-2-a510b8d3e8c08b06f9b597ae94853fc63c04eda2.zip |
Fixing errno problem
Diffstat (limited to 'net-mail/serialmail')
-rw-r--r-- | net-mail/serialmail/ChangeLog | 9 | ||||
-rw-r--r-- | net-mail/serialmail/Manifest | 4 | ||||
-rw-r--r-- | net-mail/serialmail/files/digest-serialmail-0.75-r1 | 1 | ||||
-rw-r--r-- | net-mail/serialmail/files/errno.patch | 20 | ||||
-rw-r--r-- | net-mail/serialmail/serialmail-0.75-r1.ebuild | 65 |
5 files changed, 96 insertions, 3 deletions
diff --git a/net-mail/serialmail/ChangeLog b/net-mail/serialmail/ChangeLog index 0c9cda77a748..06c9e67b13f8 100644 --- a/net-mail/serialmail/ChangeLog +++ b/net-mail/serialmail/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-mail/serialmail # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/serialmail/ChangeLog,v 1.4 2003/02/12 08:16:24 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/serialmail/ChangeLog,v 1.5 2003/09/10 15:58:40 phosphan Exp $ + +*serialmail-0.75-r1 (10 Sep 2003) + + 10 Sep 2003; Patrick Kursawe <phosphan@gentoo.org> + serialmail-0.75-r1.ebuild, files/errno.patch: + The old errno beast again, reported and fixed in bug 28290. + Declaring stable immediately since this should not break anything. 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords 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 +} + + + |