public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/pglinux/
Date: Thu,  3 Nov 2016 11:19:28 +0000 (UTC)	[thread overview]
Message-ID: <1478171943.868a4432ae40853116a7679b243042e15209da03.pacho@gentoo> (raw)

commit:     868a4432ae40853116a7679b243042e15209da03
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  3 10:56:46 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu Nov  3 11:19:03 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=868a4432

net-firewall/pglinux: Drop .la files, we don't need to specify docdir with eapi6, fix init.d script to call openrc-run, set subslot for NM dep as it will be needed in the future

Package-Manager: portage-2.3.2

 net-firewall/pglinux/pglinux-2.3.1.ebuild | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/net-firewall/pglinux/pglinux-2.3.1.ebuild b/net-firewall/pglinux/pglinux-2.3.1.ebuild
index a762801..7a3b7ba 100644
--- a/net-firewall/pglinux/pglinux-2.3.1.ebuild
+++ b/net-firewall/pglinux/pglinux-2.3.1.ebuild
@@ -3,8 +3,7 @@
 # $Id$
 
 EAPI=6
-
-inherit gnome2-utils linux-info systemd
+inherit eutils gnome2-utils linux-info systemd
 
 MY_P="pgl-${PV}"
 
@@ -16,6 +15,7 @@ LICENSE="GPL-3"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 IUSE="cron dbus logrotate networkmanager qt4 zlib"
+REQUIRED_USE="qt4? ( dbus )"
 
 COMMON_DEPEND="
 	net-libs/libnetfilter_queue
@@ -27,18 +27,19 @@ COMMON_DEPEND="
 		dev-qt/qtdbus:4
 		dev-qt/qtgui:4
 		|| ( kde-apps/kdesu x11-misc/ktsuss )
-	)"
+	)
+"
 DEPEND="${COMMON_DEPEND}
 	virtual/pkgconfig
-	sys-devel/libtool:2"
+	sys-devel/libtool:2
+"
 RDEPEND="${COMMON_DEPEND}
 	net-firewall/iptables
 	sys-apps/sysvinit
 	cron? ( virtual/cron )
 	logrotate? ( app-admin/logrotate )
-	networkmanager? ( net-misc/networkmanager )"
-
-REQUIRED_USE="qt4? ( dbus )"
+	networkmanager? ( net-misc/networkmanager:= )
+"
 
 CONFIG_CHECK="~NETFILTER_NETLINK
 	~NETFILTER_NETLINK_QUEUE
@@ -55,12 +56,16 @@ CONFIG_CHECK="~NETFILTER_NETLINK
 	~IP_NF_IPTABLES
 	~IP_NF_TARGET_REJECT"
 
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+	default
+	sed -i -e 's:/sbin/runscript:/sbin/openrc-run:' pglcmd/init/pgl.gentoo.in || die
+}
 
 src_configure() {
 	econf \
 		--localstatedir=/var \
-		--docdir=/usr/share/doc/${PF} \
 		$(use_enable logrotate) \
 		$(use_enable cron) \
 		$(use_enable networkmanager) \
@@ -77,6 +82,7 @@ src_install() {
 	default
 	keepdir /var/{lib,log,spool}/pgl
 	rm -rf "${ED%/}"/tmp || die
+	prune_libtool_files --modules
 }
 
 pkg_preinst() {


             reply	other threads:[~2016-11-03 11:19 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-03 11:19 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-04 11:45 [gentoo-commits] repo/gentoo:master commit in: net-firewall/pglinux/ Andreas Sturmlechner
2024-09-04 11:45 Andreas Sturmlechner
2023-12-23  9:13 Andreas Sturmlechner
2021-07-31  0:33 Sam James
2021-01-17  4:10 Sam James
2021-01-08  0:14 Andreas Sturmlechner
2021-01-08  0:00 Andreas Sturmlechner
2018-08-18 17:40 Andreas Sturmlechner
2018-04-13 20:00 Andreas Sturmlechner
2018-04-13  9:40 Andreas Sturmlechner
2018-04-08 20:13 Andreas Sturmlechner
2018-04-08 20:11 Andreas Sturmlechner
2018-01-23  1:20 Andreas Sturmlechner
2018-01-23  1:20 Andreas Sturmlechner
2017-05-06 20:05 Andreas Sturmlechner
2016-11-03 11:19 Pacho Ramos
2016-11-03 11:19 Pacho Ramos
2016-09-18 11:54 Pacho Ramos
2016-09-18 11:54 Pacho Ramos
2016-07-07 19:48 Austin English
2016-04-21 16:45 Amy Winston
2015-08-15 19:45 Julian Ospald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1478171943.868a4432ae40853116a7679b243042e15209da03.pacho@gentoo \
    --to=pacho@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox