mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-02-13 10:53:01 +01:00
fwknop: added ebuild for rewrite in C (2.0.0-rc1)
This commit is contained in:
parent
5f1318d212
commit
0ee4fa51ef
2 changed files with 41 additions and 0 deletions
|
|
@ -1,2 +1,4 @@
|
|||
DIST fwknop-1.9.12.tar.bz2 510364 RMD160 6b52cce7efb57409d02e4b97b1724d9ebdbb61fd SHA1 ece88ad7653bebee46ae348d9854f3e8751f392c SHA256 a43df5b66ebfcc9d79fc95db56719d56b760f3575daea17e18286b7d55dcb066
|
||||
DIST fwknop-2.0.0rc1.tar.bz2 535123 RMD160 3e065deeefab997dcc41725c15b67493598b3571 SHA1 45b2f26908cf37df7a92a9a8b799b5a38eedbd95 SHA256 16945e1bffb80d863af37c3655ddd685add0da73a4bbb995cc1dbbdb713ec44b
|
||||
EBUILD fwknop-1.9.12.ebuild 2592 RMD160 e157864b02434bad47a930181248eac4b8d136d0 SHA1 626921564764fb3a0c6bdd86357c7784703f97db SHA256 b61523c70b3908246f5a1f4cf1fa3975c084e5aa60e10a581b0d5611b6fea949
|
||||
EBUILD fwknop-2.0.0_rc1.ebuild 814 RMD160 208ba8f3253433956ffeaa0c8181507f053fde39 SHA1 862931ec391e93afc2bf1d06eb3842208a81d7a6 SHA256 47bc5dffc4b7ba1de889e5821ccd96da3bb2a138578469de2c377518f3626b2f
|
||||
|
|
|
|||
39
net-misc/fwknop/fwknop-2.0.0_rc1.ebuild
Normal file
39
net-misc/fwknop/fwknop-2.0.0_rc1.ebuild
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit versionator
|
||||
|
||||
MY_PV=$(delete_version_separator 3)
|
||||
MY_P=${PN}-${MY_PV}
|
||||
DESCRIPTION="Single Packet Authorization and Port Knocking application"
|
||||
HOMEPAGE="http://www.cipherdyne.org/fwknop/"
|
||||
SRC_URI="http://www.cipherdyne.org/${PN}/download/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+gpg +client +server"
|
||||
|
||||
DEPEND="gpg? ( app-crypt/gpg )"
|
||||
RDEPEND="${DEPEND}
|
||||
net-firewall/iptables"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's|gpgme.h|gpgme/gpgme.h|g' lib/{fko_common.h,fko_error.c} || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable client) \
|
||||
$(use_enable server) \
|
||||
$(use_with gpg gpgme)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" emake install || die
|
||||
}
|
||||
Loading…
Reference in a new issue