summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-01 19:27:48 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-01 19:27:48 +0000
commitb2ae707705987aaf83c159d920c6a1227d20a0b1 (patch)
tree726e626ecfa4d7898d2d3f53610a27ff7dd9c53a /net-misc/knock
parentMarked ~ppc64; bug #64612; adjusted LICENSE for GLEP 23 (Manifest recommit) (diff)
downloadgentoo-2-b2ae707705987aaf83c159d920c6a1227d20a0b1.tar.gz
gentoo-2-b2ae707705987aaf83c159d920c6a1227d20a0b1.tar.bz2
gentoo-2-b2ae707705987aaf83c159d920c6a1227d20a0b1.zip
Fix broken patching.
Diffstat (limited to 'net-misc/knock')
-rw-r--r--net-misc/knock/ChangeLog5
-rw-r--r--net-misc/knock/knock-0.3.1.ebuild22
2 files changed, 14 insertions, 13 deletions
diff --git a/net-misc/knock/ChangeLog b/net-misc/knock/ChangeLog
index ecf376649132..0d1ee5a76d40 100644
--- a/net-misc/knock/ChangeLog
+++ b/net-misc/knock/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/knock
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/ChangeLog,v 1.16 2004/10/27 16:33:58 pyrania Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/ChangeLog,v 1.17 2004/11/01 19:27:48 vapier Exp $
+
+ 01 Nov 2004; Mike Frysinger <vapier@gentoo.org> knock-0.3.1.ebuild:
+ Fix broken patching.
27 Oct 2004; <pyrania@gentoo.org> knock-0.3.1.ebuild:
Removed nonblock patch for 0.3.1.
diff --git a/net-misc/knock/knock-0.3.1.ebuild b/net-misc/knock/knock-0.3.1.ebuild
index 1bac1a4cb15b..e4b1dc6dc33f 100644
--- a/net-misc/knock/knock-0.3.1.ebuild
+++ b/net-misc/knock/knock-0.3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/knock-0.3.1.ebuild,v 1.2 2004/10/27 16:33:58 pyrania Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/knock-0.3.1.ebuild,v 1.3 2004/11/01 19:27:48 vapier Exp $
inherit eutils
@@ -8,28 +8,26 @@ DESCRIPTION="A simple port-knocking daemon"
HOMEPAGE="http://www.zeroflux.org/knock/"
SRC_URI="http://www.zeroflux.org/knock/${P}.tar.gz"
-DEPEND=">=net-libs/libpcap-0.8.3-r1"
-
-KEYWORDS="~x86 ~amd64"
-SLOT="0"
LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
IUSE=""
+RDEPEND=">=net-libs/libpcap-0.8.3-r1"
+DEPEND="${RDEPEND}
+ >=sys-apps/portage-2.0.51"
+
src_unpack() {
unpack ${A}
+ cd ${S}
epatch ${FILESDIR}/knockd.conf.patch
}
-src_compile() {
- econf || die "could not configure"
- emake || die "emake failed"
-}
-
src_install() {
make DESTDIR=${D} install || die "make install failed"
dodoc README
dohtml doc/index.html
- insinto /etc/conf.d; newins ${FILESDIR}/knockd.confd knock
- exeinto /etc/init.d; newexe ${FILESDIR}/knockd.initd knock
+ newinitd ${FILESDIR}/knockd.initd knock
+ newconfd ${FILESDIR}/knockd.confd knock
}