Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-firewall/fwknop: metadata.xml fwknop-2.6.6.ebuild ChangeLog fwknop-2.6.2.ebuild
Date: Wed, 29 Apr 2015 23:19:00
Message-Id: 20150429231850.938849A9@oystercatcher.gentoo.org
1 idella4 15/04/29 23:18:49
2
3 Modified: metadata.xml ChangeLog
4 Added: fwknop-2.6.6.ebuild
5 Removed: fwknop-2.6.2.ebuild
6 Log:
7 bump; ebuild supplied by Coacher in bug #519716, newinitd and newconfd files updated, removed prior version to avoid any mismatch, closes bug #519716
8
9 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
10
11 Revision Changes Path
12 1.2 net-firewall/fwknop/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwknop/metadata.xml?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwknop/metadata.xml?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwknop/metadata.xml?r1=1.1&r2=1.2
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-firewall/fwknop/metadata.xml,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- metadata.xml 27 Apr 2014 10:50:49 -0000 1.1
25 +++ metadata.xml 29 Apr 2015 23:18:49 -0000 1.2
26 @@ -12,5 +12,6 @@
27 <flag name="gpg">Enable GPG support via <pkg>app-crypt/gpgme</pkg></flag>
28 <flag name="server">Build fwknopd server</flag>
29 <flag name="extras">Install example apparmor policy</flag>
30 + <flag name="udp-server">Build fwknopd with UDP server mode only</flag>
31 </use>
32 </pkgmetadata>
33
34
35
36 1.4 net-firewall/fwknop/ChangeLog
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwknop/ChangeLog?rev=1.4&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwknop/ChangeLog?rev=1.4&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwknop/ChangeLog?r1=1.3&r2=1.4
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/net-firewall/fwknop/ChangeLog,v
45 retrieving revision 1.3
46 retrieving revision 1.4
47 diff -u -r1.3 -r1.4
48 --- ChangeLog 28 May 2014 16:19:46 -0000 1.3
49 +++ ChangeLog 29 Apr 2015 23:18:49 -0000 1.4
50 @@ -1,6 +1,14 @@
51 # ChangeLog for net-firewall/fwknop
52 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwknop/ChangeLog,v 1.3 2014/05/28 16:19:46 swift Exp $
54 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
55 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwknop/ChangeLog,v 1.4 2015/04/29 23:18:49 idella4 Exp $
56 +
57 +*fwknop-2.6.6 (29 Apr 2015)
58 +
59 + 29 Apr 2015; Ian Delaney <idella4@g.o> +fwknop-2.6.6.ebuild,
60 + -files/fwknop-2.6.0-remove-extra-run-from-paths.patch, -fwknop-2.6.2.ebuild,
61 + files/fwknopd.confd, files/fwknopd.init, metadata.xml:
62 + bump; ebuild supplied by Coacher in bug #519716, newinitd and newconfd files
63 + updated, removed prior version to avoid any mismatch, closes bug #519716
64
65 28 May 2014; Sven Vermeulen <swift@g.o> -fwknop-2.6.1.ebuild:
66 Remove 2.6.1 ebuild (double free bug). Thanks to Coacher (itumaykin@)
67
68
69
70 1.1 net-firewall/fwknop/fwknop-2.6.6.ebuild
71
72 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwknop/fwknop-2.6.6.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/fwknop/fwknop-2.6.6.ebuild?rev=1.1&content-type=text/plain
74
75 Index: fwknop-2.6.6.ebuild
76 ===================================================================
77 # Copyright 1999-2015 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/net-firewall/fwknop/fwknop-2.6.6.ebuild,v 1.1 2015/04/29 23:18:49 idella4 Exp $
80
81 EAPI=5
82
83 # Does work with python 2.7, does not work with python 3.3 on my machine
84 # More feedback is welcome
85 PYTHON_COMPAT=( python2_7 )
86 DISTUTILS_OPTIONAL=1
87 AUTOTOOLS_AUTORECONF=1
88 AUTOTOOLS_IN_SOURCE_BUILD=1
89 inherit autotools-utils distutils-r1 systemd
90
91 DESCRIPTION="Single Packet Authorization and Port Knocking application"
92 HOMEPAGE="http://www.cipherdyne.org/fwknop/"
93 SRC_URI="https://github.com/mrash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
94
95 LICENSE="GPL-2"
96 SLOT="0"
97 KEYWORDS="~amd64 ~x86"
98 IUSE="client extras gdbm gpg python server udp-server"
99
100 RDEPEND="python? ( ${PYTHON_DEPS} )
101 client? ( net-misc/wget[ssl] )
102 gpg? (
103 dev-libs/libassuan
104 dev-libs/libgpg-error
105 )"
106
107 DEPEND="${RDEPEND}
108 gdbm? ( sys-libs/gdbm )
109 gpg? ( app-crypt/gpgme )
110 server? (
111 !udp-server? ( net-libs/libpcap )
112 net-firewall/iptables
113 )"
114
115 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
116 udp-server? ( server )"
117
118 DOCS=( ChangeLog README.md )
119
120 src_prepare() {
121 # Install example configs with .example suffix
122 if use server; then
123 sed -i 's/conf;/conf.example;/g' "${S}"/Makefile.am || die
124 fi
125
126 autotools-utils_src_prepare
127
128 if use python; then
129 cd "${S}"/python || die
130 distutils-r1_src_prepare
131 fi
132 }
133
134 src_configure() {
135 local myeconfargs=(
136 --localstatedir=/run
137 --enable-digest-cache
138 $(use_enable client)
139 $(use_enable !gdbm file-cache)
140 $(use_enable server)
141 $(use_enable udp-server)
142 $(use_with gpg gpgme)
143 )
144 autotools-utils_src_configure
145 }
146
147 src_compile() {
148 autotools-utils_src_compile
149
150 if use python; then
151 cd "${S}"/python || die
152 distutils-r1_src_compile
153 fi
154 }
155
156 src_install() {
157 autotools-utils_src_install
158 prune_libtool_files --modules
159
160 if use server; then
161 newinitd "${FILESDIR}/fwknopd.init" fwknopd
162 newconfd "${FILESDIR}/fwknopd.confd" fwknopd
163 systemd_newtmpfilesd "${FILESDIR}/fwknopd.tmpfiles.conf" fwknopd.conf
164 fi
165
166 use extras && dodoc "${S}/extras/apparmor/usr.sbin.fwknopd"
167
168 if use python; then
169 # Unset DOCS since distutils-r1.eclass interferes
170 local DOCS=()
171 cd "${S}"/python || die
172 distutils-r1_src_install
173 fi
174 }