summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-05-31 03:02:14 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-05-31 03:02:14 +0000
commit9bca19e876f1adbb32b422124005879f21da6c1e (patch)
treec05b809d0c949d17899e0ab3afe2e597d623a471 /sys-apps/ucspi-tcp
parentNew upstream version; Fix vanilla-module.mk to install Lisp source in additio... (diff)
downloadgentoo-2-9bca19e876f1adbb32b422124005879f21da6c1e.tar.gz
gentoo-2-9bca19e876f1adbb32b422124005879f21da6c1e.tar.bz2
gentoo-2-9bca19e876f1adbb32b422124005879f21da6c1e.zip
New revision, fix for the 0.0.0.0: file does not exist bug.
(Portage version: 2.1_rc3)
Diffstat (limited to 'sys-apps/ucspi-tcp')
-rw-r--r--sys-apps/ucspi-tcp/ChangeLog8
-rw-r--r--sys-apps/ucspi-tcp/files/digest-ucspi-tcp-0.88-r1515
-rw-r--r--sys-apps/ucspi-tcp/ucspi-tcp-0.88-r15.ebuild103
3 files changed, 125 insertions, 1 deletions
diff --git a/sys-apps/ucspi-tcp/ChangeLog b/sys-apps/ucspi-tcp/ChangeLog
index 64ffd31b56ba..272855592653 100644
--- a/sys-apps/ucspi-tcp/ChangeLog
+++ b/sys-apps/ucspi-tcp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/ucspi-tcp
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-tcp/ChangeLog,v 1.48 2006/05/06 12:21:36 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-tcp/ChangeLog,v 1.49 2006/05/31 03:02:14 robbat2 Exp $
+
+*ucspi-tcp-0.88-r15 (31 May 2006)
+
+ 31 May 2006; Robin H. Johnson <robbat2@gentoo.org>
+ +ucspi-tcp-0.88-r15.ebuild:
+ New revision, fix for the 0.0.0.0: file does not exist bug.
06 May 2006; Simon Stelling <blubb@gentoo.org> ucspi-tcp-0.88-r14.ebuild:
stable on amd64
diff --git a/sys-apps/ucspi-tcp/files/digest-ucspi-tcp-0.88-r15 b/sys-apps/ucspi-tcp/files/digest-ucspi-tcp-0.88-r15
new file mode 100644
index 000000000000..d2cf3a30c068
--- /dev/null
+++ b/sys-apps/ucspi-tcp/files/digest-ucspi-tcp-0.88-r15
@@ -0,0 +1,15 @@
+MD5 554ec0eb60f619667efde3fb5325310d ucspi-rss.diff 1828
+RMD160 e65f7317351f45eab70ed7b66d98e3c4b4494389 ucspi-rss.diff 1828
+SHA256 5101354eb86d8e11edefd7b83df4e9c274a55b845f4cb2ce36dda912aced56f4 ucspi-rss.diff 1828
+MD5 bc9fe9b5a65193bbc3629f91fa5644f4 ucspi-tcp-0.88-ipv6-ssl-20050405.patch 19411
+RMD160 f7c7f36429eef7dd36b691cc3a17805e4947d65b ucspi-tcp-0.88-ipv6-ssl-20050405.patch 19411
+SHA256 80d4112de4cb556b0a1bf823cde175d55f1ecd0da2ad80951280adc6a8ab9407 ucspi-tcp-0.88-ipv6-ssl-20050405.patch 19411
+MD5 355259551301e93c6cd70b6461a78d34 ucspi-tcp-0.88-ipv6.diff17.bz2 22514
+RMD160 ce9bc1cfe8f27f573662d0993aca0ed5318df91e ucspi-tcp-0.88-ipv6.diff17.bz2 22514
+SHA256 94c8aa47a34b1afe2ebdc0957a543bda7e03ab200e522eebdbbe964700aac97b ucspi-tcp-0.88-ipv6.diff17.bz2 22514
+MD5 39b619147db54687c4a583a7a94c9163 ucspi-tcp-0.88.tar.gz 53019
+RMD160 eb20085ea6ffd5d137a805f7c8768e0312c1f56a ucspi-tcp-0.88.tar.gz 53019
+SHA256 4a0615cab74886f5b4f7e8fd32933a07b955536a3476d74ea087a3ea66a23e9c ucspi-tcp-0.88.tar.gz 53019
+MD5 cbe2443539d5289ffb5ae2a036e0ba3d ucspi-tcp-ssl-20050405.patch.gz 13173
+RMD160 8afbe6362aa23b56731a2e05262fcaf49382058b ucspi-tcp-ssl-20050405.patch.gz 13173
+SHA256 931ebeb9ca3ceb9394464aca0c4585048d04fc194fc5a9d4bb49bdd8ac249467 ucspi-tcp-ssl-20050405.patch.gz 13173
diff --git a/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r15.ebuild b/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r15.ebuild
new file mode 100644
index 000000000000..26a0ac7b07cb
--- /dev/null
+++ b/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r15.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r15.ebuild,v 1.1 2006/05/31 03:02:14 robbat2 Exp $
+
+inherit eutils toolchain-funcs fixheadtails flag-o-matic
+
+IPV6_PATCH="diff17"
+
+DESCRIPTION="Collection of tools for managing UNIX services"
+HOMEPAGE="http://cr.yp.to/ucspi-tcp.html"
+SRC_URI="
+ http://cr.yp.to/${PN}/${P}.tar.gz
+ ipv6? ( http://www.fefe.de/ucspi/ucspi-tcp-0.88-ipv6.${IPV6_PATCH}.bz2 )
+ mirror://qmail/ucspi-rss.diff
+ ssl? (
+ !ipv6? ( http://www.nrg4u.com/qmail/ucspi-tcp-ssl-20050405.patch.gz )
+ ipv6? ( mirror://gentoo/ucspi-tcp-0.88-ipv6-ssl-20050405.patch )
+ )
+"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="ssl ipv6 selinux doc"
+RESTRICT="test"
+
+DEPEND="virtual/libc
+ ssl? ( >=dev-libs/openssl-0.9.6g )"
+RDEPEND="${DEPEND}
+ doc? ( app-doc/ucspi-tcp-man )
+ selinux? ( sec-policy/selinux-ucspi-tcp )"
+PROVIDE="virtual/inetd"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd ${S}
+
+ if use ipv6; then
+ epatch ${DISTDIR}/ucspi-tcp-0.88-ipv6.${IPV6_PATCH}.bz2
+ # Fixes bug 18892
+ epatch ${FILESDIR}/${PV}-bigendian.patch
+ epatch ${FILESDIR}/${PV}-tcprules.patch
+ fi
+
+ if use ssl; then
+ if use ipv6 ; then
+ # Rediffed patch by hansmi@g.o
+ # -> broken, hansmi on 2006-03-14
+ # epatch ${DISTDIR}/ucspi-tcp-0.88-ipv6-ssl-20050405.patch
+ echo
+ ewarn "SSL support disabled when using IPv6!"
+ ewarn "Please supply us a patch or wait until someone else does."
+ ebeep
+ echo
+ else
+ epatch ${DISTDIR}/ucspi-tcp-ssl-20050405.patch.gz
+ fi
+ fi
+
+ if use !ssl && use !ipv6; then
+ epatch ${FILESDIR}/${PV}-errno.patch
+ fi
+
+ epatch ${DISTDIR}/ucspi-rss.diff
+ epatch ${FILESDIR}/${PV}-rblsmtpd-ignore-on-RELAYCLIENT.patch
+
+ # Bug 98726
+ #epatch ${FILESDIR}/${PV}-limits.patch
+ #use ipv6 && epatch ${FILESDIR}/${PV}-limits-ipv6.patch
+
+ ht_fix_file Makefile
+
+ # gcc-3.4.5 and other several versions contain a bug on some platforms that
+ # cause this error:
+ # tcpserver: fatal: temporarily unable to figure out IP address for 0.0.0.0: file does not exist
+ # To work around this, we use -O1 here instead.
+ replace-flags -O? -O1
+ echo "$(tc-getCC) ${CFLAGS}" > conf-cc
+ echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
+ echo "/usr/" > conf-home
+
+ # allow larger responses
+ sed -i 's|if (text.len > 200) text.len = 200;|if (text.len > 500) text.len = 500;|g' ${S}/rblsmtpd.c
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ dobin tcpserver tcprules tcprulescheck argv0 recordio tcpclient *\@ tcpcat mconnect mconnect-io addcr delcr fixcrio rblsmtpd || die
+ doman *.[15]
+ dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION
+ dodoc README.tcpserver-limits-patch
+ insinto /etc/tcprules.d/
+ newins ${FILESDIR}/tcprules-Makefile Makefile
+}
+
+pkg_postinst() {
+ einfo "We have started a move to get all tcprules files into"
+ einfo "/etc/tcprules.d/, where we have provided a Makefile to"
+ einfo "easily update the CDB file."
+}