Update, closes #9797.
authorDaniel Ahlberg <aliz@gentoo.org>
Tue, 29 Oct 2002 14:13:31 +0000 (14:13 +0000)
committerDaniel Ahlberg <aliz@gentoo.org>
Tue, 29 Oct 2002 14:13:31 +0000 (14:13 +0000)
net-ftp/atftp/ChangeLog
net-ftp/atftp/atftp-0.6-r1.ebuild [new file with mode: 0644]
net-ftp/atftp/files/digest-atftp-0.6-r1 [new file with mode: 0644]

index 194427d2d5519ea48c0ccd598002a2d9e130f9af..b3f505f00649bd09910e895d20e9aa426d2ee2f0 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-misc/atftp
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/atftp/ChangeLog,v 1.1 2002/10/15 11:32:42 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/atftp/ChangeLog,v 1.2 2002/10/29 14:13:31 aliz Exp $
+
+*atftp-0.6-r1 (29 Oct 2002)
+
+  29 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> :
+  Updated ebuild with tcpd support. Ebuild contributed by Cory Visi <cory@visi.name> in #9797.
 
 *atftp-0.6 (16 Aug 2002)
 
diff --git a/net-ftp/atftp/atftp-0.6-r1.ebuild b/net-ftp/atftp/atftp-0.6-r1.ebuild
new file mode 100644 (file)
index 0000000..0292cf3
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/atftp/atftp-0.6-r1.ebuild,v 1.1 2002/10/29 14:13:31 aliz Exp $
+
+DESCRIPTION="Advanced TFTP implementation client/server"
+HOMEPAGE="ftp://ftp.mamalinux.com/pub/atftp/"
+LICENSE="GPL-2"
+DEPEND="tcpd? ( sys-apps/tcp-wrappers )"
+SLOT="0"
+KEYWORDS="~x86"
+SRC_URI="ftp://ftp.mamalinux.com/pub/atftp/${P}.tar.gz"
+S=${WORKDIR}/${P}
+
+src_compile () {
+       myconf=""
+       use tcpd && myconf="${myconf} --enable-libwrap" \
+               || myconf="${myconf} --disable-libwrap"
+
+       econf ${myconf} || die "./configure failed"
+
+       cp Makefile Makefile.orig
+       sed "s:CFLAGS = -g -Wall -D_REENTRANT -O2:CFLAGS = -g -Wall -D_REENTRANT ${CFLAGS}:" Makefile.orig >Makefile
+
+       emake || die
+}
+
+src_install () {
+       einstall || die "Installation failed"
+}
+
diff --git a/net-ftp/atftp/files/digest-atftp-0.6-r1 b/net-ftp/atftp/files/digest-atftp-0.6-r1
new file mode 100644 (file)
index 0000000..5cfcb46
--- /dev/null
@@ -0,0 +1 @@
+MD5 fcbc9118b02fa2090046be987b1e1aec atftp-0.6.tar.gz 119898