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