1 |
commit: 0ab6b522712e0c9a0fc35f09148c1312a34e7979 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 19 13:28:30 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 19 13:33:16 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ab6b522 |
7 |
|
8 |
net-firewall/nufw: Old |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-firewall/nufw/nufw-2.2.22-r1.ebuild | 102 -------------------------------- |
14 |
1 file changed, 102 deletions(-) |
15 |
|
16 |
diff --git a/net-firewall/nufw/nufw-2.2.22-r1.ebuild b/net-firewall/nufw/nufw-2.2.22-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 79f0b929094..00000000000 |
19 |
--- a/net-firewall/nufw/nufw-2.2.22-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,102 +0,0 @@ |
22 |
-# Copyright 1999-2014 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-SSL_CERT_MANDATORY=1 |
28 |
-inherit autotools eutils multilib pam ssl-cert |
29 |
- |
30 |
-DESCRIPTION="An enterprise grade authenticating firewall based on netfilter" |
31 |
-HOMEPAGE="http://www.nufw.org/" |
32 |
-SRC_URI="http://www.nufw.org/attachments/download/39/${P}.tar.bz2" |
33 |
- |
34 |
-LICENSE="GPL-2" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="~amd64 x86" |
37 |
-IUSE="debug ldap mysql pam pam_nuauth plaintext postgres prelude unicode nfqueue nfconntrack static syslog test" |
38 |
- |
39 |
-REQUIRED_USE="pam_nuauth? ( plaintext )" |
40 |
-DEPEND=" |
41 |
- dev-libs/cyrus-sasl |
42 |
- dev-libs/glib:2 |
43 |
- dev-libs/libgcrypt:0 |
44 |
- dev-python/ipy |
45 |
- net-firewall/iptables |
46 |
- net-libs/gnutls |
47 |
- ldap? ( >=net-nds/openldap-2 ) |
48 |
- mysql? ( virtual/mysql ) |
49 |
- nfconntrack? ( net-libs/libnetfilter_conntrack ) |
50 |
- nfqueue? ( net-libs/libnfnetlink net-libs/libnetfilter_queue ) |
51 |
- pam? ( sys-libs/pam ) |
52 |
- pam_nuauth? ( sys-libs/pam ) |
53 |
- postgres? ( dev-db/postgresql[server] ) |
54 |
- prelude? ( dev-libs/libprelude ) |
55 |
-" |
56 |
-RDEPEND=${DEPEND} |
57 |
- |
58 |
-RESTRICT="test" |
59 |
- |
60 |
-src_prepare() { |
61 |
- epatch "${FILESDIR}"/${P}-var-run.patch |
62 |
- sed -i \ |
63 |
- -e 's:^#\(nuauth_tls_key="/etc/nufw/\)nuauth-key.pem:\1nuauth.key:' \ |
64 |
- -e 's:^#\(nuauth_tls_cert="/etc/nufw/\)nuauth-cert.pem:\1nuauth.pem:' \ |
65 |
- conf/nuauth.conf || die |
66 |
- sed -i \ |
67 |
- -e "/^modulesdir/s|=.*|= /$(get_libdir)/security|g" \ |
68 |
- src/clients/pam_nufw/Makefile.am || die |
69 |
- eautoreconf |
70 |
-} |
71 |
- |
72 |
-src_configure() { |
73 |
- econf \ |
74 |
- $(use_enable debug) \ |
75 |
- $(use_enable pam_nuauth pam-nufw) \ |
76 |
- $(use_enable static) \ |
77 |
- $(use_with ldap) \ |
78 |
- $(use_with mysql mysql-auth) \ |
79 |
- $(use_with mysql mysql-log) \ |
80 |
- $(use_with nfconntrack) \ |
81 |
- $(use_with nfqueue) \ |
82 |
- $(use_with pam system-auth) \ |
83 |
- $(use_with plaintext plaintext-auth) \ |
84 |
- $(use_with postgres pgsql-log) \ |
85 |
- $(use_with prelude prelude-log) \ |
86 |
- $(use_with syslog syslog-log) \ |
87 |
- $(use_with unicode utf8) \ |
88 |
- --enable-shared \ |
89 |
- --includedir="/usr/include/nufw" \ |
90 |
- --localstatedir="/var" \ |
91 |
- --sysconfdir="/etc/nufw" \ |
92 |
- --with-mark-group \ |
93 |
- --with-user-mark |
94 |
-} |
95 |
- |
96 |
-src_install() { |
97 |
- default |
98 |
- |
99 |
- newinitd "${FILESDIR}"/nufw-init.d nufw |
100 |
- newconfd "${FILESDIR}"/nufw-conf.d nufw |
101 |
- |
102 |
- newinitd "${FILESDIR}"/nuauth-init.d nuauth |
103 |
- newconfd "${FILESDIR}"/nuauth-conf.d nuauth |
104 |
- |
105 |
- insinto /etc/nufw |
106 |
- doins conf/nuauth.conf |
107 |
- |
108 |
- dodoc AUTHORS ChangeLog NEWS README TODO |
109 |
- docinto scripts |
110 |
- dodoc scripts/{clean_conntrack.pl,nuaclgen,nutop,README,ulog_rotate_daily.sh,ulog_rotate_weekly.sh} |
111 |
- docinto conf |
112 |
- dodoc conf/*.{nufw,schema,conf,dump,xml} |
113 |
- |
114 |
- if use pam; then |
115 |
- pamd_mimic system-auth nufw auth account password session |
116 |
- fi |
117 |
- |
118 |
- prune_libtool_files |
119 |
-} |
120 |
- |
121 |
-pkg_postinst() { |
122 |
- install_cert /etc/nufw/{nufw,nuauth} |
123 |
-} |