Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-firewall/pglinux: pglinux-2.2.3.ebuild ChangeLog
Date: Sat, 02 Nov 2013 13:52:37
Message-Id: 20131102135213.969602004B@flycatcher.gentoo.org
1 hasufell 13/11/02 13:52:13
2
3 Modified: ChangeLog
4 Added: pglinux-2.2.3.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
9
10 Revision Changes Path
11 1.16 net-firewall/pglinux/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/pglinux/ChangeLog?rev=1.16&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/pglinux/ChangeLog?rev=1.16&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/pglinux/ChangeLog?r1=1.15&r2=1.16
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-firewall/pglinux/ChangeLog,v
20 retrieving revision 1.15
21 retrieving revision 1.16
22 diff -u -r1.15 -r1.16
23 --- ChangeLog 23 Sep 2013 23:55:18 -0000 1.15
24 +++ ChangeLog 2 Nov 2013 13:52:13 -0000 1.16
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-firewall/pglinux
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/pglinux/ChangeLog,v 1.15 2013/09/23 23:55:18 hasufell Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/pglinux/ChangeLog,v 1.16 2013/11/02 13:52:13 hasufell Exp $
30 +
31 +*pglinux-2.2.3 (02 Nov 2013)
32 +
33 + 02 Nov 2013; Julian Ospald <hasufell@g.o> +pglinux-2.2.3.ebuild:
34 + version bump
35
36 *pglinux-2.2.2-r1 (23 Sep 2013)
37
38
39
40
41 1.1 net-firewall/pglinux/pglinux-2.2.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/pglinux/pglinux-2.2.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/pglinux/pglinux-2.2.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pglinux-2.2.3.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-firewall/pglinux/pglinux-2.2.3.ebuild,v 1.1 2013/11/02 13:52:13 hasufell Exp $
51
52 EAPI=5
53
54 inherit eutils gnome2-utils linux-info systemd
55
56 MY_P="pgl-${PV}"
57
58 DESCRIPTION="Privacy oriented firewall application"
59 HOMEPAGE="https://sourceforge.net/projects/peerguardian/"
60 SRC_URI="mirror://sourceforge/peerguardian/${MY_P}.tar.gz"
61
62 LICENSE="GPL-3"
63 KEYWORDS="~amd64 ~x86"
64 SLOT="0"
65 IUSE="cron dbus logrotate networkmanager qt4 zlib"
66
67 COMMON_DEPEND="
68 net-libs/libnetfilter_queue
69 net-libs/libnfnetlink
70 dbus? ( sys-apps/dbus )
71 zlib? ( sys-libs/zlib )
72 qt4? ( sys-auth/polkit-qt
73 dev-qt/qtcore:4
74 dev-qt/qtdbus:4
75 dev-qt/qtgui:4
76 || ( kde-base/kdesu x11-libs/gksu x11-misc/ktsuss )
77 )"
78 DEPEND="${COMMON_DEPEND}
79 virtual/pkgconfig
80 sys-devel/libtool:2"
81 RDEPEND="${COMMON_DEPEND}
82 net-firewall/iptables
83 sys-apps/sysvinit
84 cron? ( virtual/cron )
85 logrotate? ( app-admin/logrotate )
86 networkmanager? ( net-misc/networkmanager )"
87
88 REQUIRED_USE="qt4? ( dbus )"
89
90 CONFIG_CHECK="~NETFILTER_NETLINK
91 ~NETFILTER_NETLINK_QUEUE
92 ~NETFILTER_XTABLES
93 ~NETFILTER_XT_TARGET_NFQUEUE
94 ~NETFILTER_XT_MATCH_IPRANGE
95 ~NETFILTER_XT_MARK
96 ~NETFILTER_XT_MATCH_MULTIPORT
97 ~NETFILTER_XT_MATCH_STATE
98 ~NF_CONNTRACK
99 ~NF_CONNTRACK_IPV4
100 ~NF_DEFRAG_IPV4
101 ~IP_NF_FILTER
102 ~IP_NF_IPTABLES
103 ~IP_NF_TARGET_REJECT"
104
105 S=${WORKDIR}/${MY_P}
106
107 src_configure() {
108 econf \
109 --localstatedir=/var \
110 --docdir=/usr/share/doc/${PF} \
111 $(use_enable logrotate) \
112 $(use_enable cron) \
113 $(use_enable networkmanager) \
114 $(use_enable zlib) \
115 $(use_enable dbus) \
116 --disable-lowmem \
117 --with-iconsdir=/usr/share/icons/hicolor/128x128/apps \
118 --with-gentoo-init \
119 $(use_with qt4) \
120 --with-systemd="$(systemd_get_unitdir)"
121 }
122
123 src_install() {
124 default
125 keepdir /var/{lib,log,spool}/pgl
126 rm -rf "${ED}"/tmp
127 }
128
129 pkg_preinst() {
130 gnome2_icon_savelist
131 }
132
133 pkg_postinst() {
134 elog "optional dependencies:"
135 elog " app-arch/p7zip (needed for blocklists packed as .7z)"
136 elog " app-arch/unzip (needed for blocklists packed as .zip)"
137 elog " virtual/mta (needed to send informational (blocklist updates) and"
138 elog " warning mails (if pglcmd.wd detects a problem.))"
139
140 gnome2_icon_cache_update
141 }
142
143 pkg_postrm() {
144 gnome2_icon_cache_update
145 }