public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/shorewall/
Date: Wed,  4 Sep 2019 09:06:17 +0000 (UTC)	[thread overview]
Message-ID: <1567587940.7a72f005ce01318e2ed7a51936782ddcbf71f8f6.whissi@gentoo> (raw)

commit:     7a72f005ce01318e2ed7a51936782ddcbf71f8f6
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  4 09:05:40 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Sep  4 09:05:40 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a72f005

net-firewall/shorewall: fix missing slashes

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 net-firewall/shorewall/shorewall-5.2.3.4.ebuild | 28 ++++++++++++-------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/net-firewall/shorewall/shorewall-5.2.3.4.ebuild b/net-firewall/shorewall/shorewall-5.2.3.4.ebuild
index e377930a382..6effdd7a417 100644
--- a/net-firewall/shorewall/shorewall-5.2.3.4.ebuild
+++ b/net-firewall/shorewall/shorewall-5.2.3.4.ebuild
@@ -272,13 +272,13 @@ src_compile() {
 src_install() {
 	# shorewall-core
 	einfo "Installing ${MY_P_CORE} ..."
-	DESTDIR="${D%/}" ${MY_PN_CORE}/install.sh shorewallrc.gentoo || die "${MY_PN_CORE}/install.sh failed"
+	DESTDIR="${ED}" ${MY_PN_CORE}/install.sh shorewallrc.gentoo || die "${MY_PN_CORE}/install.sh failed"
 	dodoc "${S}"/${MY_PN_CORE}/changelog.txt "${S}"/${MY_PN_CORE}/releasenotes.txt
 
 	# shorewall
 	if use ipv4; then
 		einfo "Installing ${MY_P_IPV4} ..."
-		DESTDIR="${D%/}" ${MY_PN_IPV4}/install.sh shorewallrc.gentoo || die "${MY_PN_IPV4}/install.sh failed"
+		DESTDIR="${ED}" ${MY_PN_IPV4}/install.sh shorewallrc.gentoo || die "${MY_PN_IPV4}/install.sh failed"
 		keepdir /var/lib/shorewall
 
 		if use doc; then
@@ -289,7 +289,7 @@ src_install() {
 	# shorewall6
 	if use ipv6; then
 		einfo "Installing ${MY_P_IPV6} ..."
-		DESTDIR="${D%/}" ${MY_PN_IPV6}/install.sh shorewallrc.gentoo || die "${MY_PN_IPV6}/install.sh failed"
+		DESTDIR="${ED}" ${MY_PN_IPV6}/install.sh shorewallrc.gentoo || die "${MY_PN_IPV6}/install.sh failed"
 		keepdir /var/lib/shorewall6
 
 		if use doc; then
@@ -300,40 +300,40 @@ src_install() {
 	# shorewall-lite
 	if use lite4; then
 		einfo "Installing ${MY_P_LITE4} ..."
-		DESTDIR="${D%/}" ${MY_PN_LITE4}/install.sh shorewallrc.gentoo || die "${MY_PN_LITE4}/install.sh failed"
+		DESTDIR="${ED}" ${MY_PN_LITE4}/install.sh shorewallrc.gentoo || die "${MY_PN_LITE4}/install.sh failed"
 		keepdir /var/lib/shorewall-lite
 	fi
 
 	# shorewall6-lite
 	if use lite6; then
 		einfo "Installing ${MY_P_LITE6} ..."
-		DESTDIR="${D%/}" ${MY_PN_LITE6}/install.sh shorewallrc.gentoo || die "${MY_PN_LITE6}/install.sh failed"
+		DESTDIR="${ED}" ${MY_PN_LITE6}/install.sh shorewallrc.gentoo || die "${MY_PN_LITE6}/install.sh failed"
 		keepdir /var/lib/shorewall6-lite
 	fi
 
 	# shorewall-init
 	if use init; then
 		einfo "Installing ${MY_P_INIT} ..."
-		DESTDIR="${D%/}" ${MY_PN_INIT}/install.sh shorewallrc.gentoo || die "${MY_PN_INIT}/install.sh failed"
+		DESTDIR="${ED}" ${MY_PN_INIT}/install.sh shorewallrc.gentoo || die "${MY_PN_INIT}/install.sh failed"
 		dodoc "${S}"/${MY_PN_INIT}/shorewall-init.README.Gentoo.txt
 
-		if [[ -f "${D}etc/logrotate.d/shorewall-init" ]]; then
+		if [[ -f "${ED}/etc/logrotate.d/shorewall-init" ]]; then
 			# On Gentoo, shorewall-init will not create shorewall-ifupdown.log,
 			# so we don't need a logrotate configuration file for shorewall-init
-			einfo "Removing unused \"${D}etc/logrotate.d/shorewall-init\" ..."
-			rm -rf "${D}"etc/logrotate.d/shorewall-init || die "Removing \"${D}etc/logrotate.d/shorewall-init\" failed"
+			einfo "Removing unused \"${ED}/etc/logrotate.d/shorewall-init\" ..."
+			rm -rf "${ED}"/etc/logrotate.d/shorewall-init || die "Removing \"${ED}/etc/logrotate.d/shorewall-init\" failed"
 		fi
 
-		if [[ -d "${D}etc/NetworkManager" ]]; then
+		if [[ -d "${ED}/etc/NetworkManager" ]]; then
 			# On Gentoo, we don't support NetworkManager
 			# so we don't need this folder at all
-			einfo "Removing unused \"${D}etc/NetworkManager\" ..."
-			rm -rf "${D}"etc/NetworkManager || die "Removing \"${D}etc/NetworkManager\" failed"
+			einfo "Removing unused \"${ED}/etc/NetworkManager\" ..."
+			rm -rf "${ED}"/etc/NetworkManager || die "Removing \"${ED}/etc/NetworkManager\" failed"
 		fi
 
-		if [[ -f "${D}usr/share/shorewall-init/ifupdown" ]]; then
+		if [[ -f "${ED}/usr/share/shorewall-init/ifupdown" ]]; then
 			# This script isn't supported on Gentoo
-			rm -rf "${D}"usr/share/shorewall-init/ifupdown || die "Removing \"${D}usr/share/shorewall-init/ifupdown\" failed"
+			rm -rf "${ED}"/usr/share/shorewall-init/ifupdown || die "Removing \"${ED}/usr/share/shorewall-init/ifupdown\" failed"
 		fi
 	fi
 


             reply	other threads:[~2019-09-04  9:06 UTC|newest]

Thread overview: 160+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-04  9:06 Thomas Deutschmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-22  9:38 [gentoo-commits] repo/gentoo:master commit in: net-firewall/shorewall/ Ulrich Müller
2024-01-08  9:48 Sam James
2021-02-03 20:16 Thomas Deutschmann
2020-09-30 22:18 Thomas Deutschmann
2020-09-30 22:18 Thomas Deutschmann
2020-09-27 13:39 Jeroen Roovers
2020-08-30 17:35 Thomas Deutschmann
2020-08-19 19:52 Thomas Deutschmann
2020-08-06 13:50 Thomas Deutschmann
2020-08-06 13:50 Thomas Deutschmann
2020-08-06 13:50 Thomas Deutschmann
2020-07-26 18:30 Thomas Deutschmann
2020-07-26 18:30 Thomas Deutschmann
2020-07-26 18:30 Thomas Deutschmann
2020-07-08 12:49 Thomas Deutschmann
2020-07-05 19:12 Thomas Deutschmann
2020-07-05 19:12 Thomas Deutschmann
2020-06-29 14:59 Thomas Deutschmann
2020-06-29 14:58 Thomas Deutschmann
2020-06-29 14:58 Thomas Deutschmann
2020-06-25 21:43 Thomas Deutschmann
2020-06-25 21:43 Thomas Deutschmann
2020-06-25 21:43 Thomas Deutschmann
2020-06-14 23:30 Thomas Deutschmann
2020-05-19  9:49 Thomas Deutschmann
2020-05-09 21:41 Thomas Deutschmann
2020-05-01 13:23 Thomas Deutschmann
2020-03-30  1:25 Thomas Deutschmann
2020-03-30  1:25 Thomas Deutschmann
2020-03-30  1:25 Thomas Deutschmann
2020-03-09 15:01 Thomas Deutschmann
2020-02-24 17:28 Thomas Deutschmann
2020-02-24 17:28 Thomas Deutschmann
2020-02-24 17:28 Thomas Deutschmann
2020-01-18  9:51 Thomas Deutschmann
2019-09-12 21:35 Thomas Deutschmann
2019-09-12 21:35 Thomas Deutschmann
2019-09-03 22:23 Thomas Deutschmann
2019-04-18  1:40 Thomas Deutschmann
2019-03-20 19:29 Thomas Deutschmann
2019-03-06 22:52 Thomas Deutschmann
2019-03-06 22:52 Thomas Deutschmann
2019-02-28  3:06 Thomas Deutschmann
2019-02-16 18:17 Thomas Deutschmann
2019-01-26 19:35 Thomas Deutschmann
2018-12-22 19:22 Thomas Deutschmann
2018-12-22 19:22 Thomas Deutschmann
2018-12-17 23:20 Thomas Deutschmann
2018-12-03  0:55 Thomas Deutschmann
2018-11-11 22:37 Thomas Deutschmann
2018-11-11 22:37 Thomas Deutschmann
2018-10-29 14:54 Thomas Deutschmann
2018-10-07 16:02 Thomas Deutschmann
2018-10-07 16:02 Thomas Deutschmann
2018-08-06 23:56 Thomas Deutschmann
2018-06-07  0:02 Thomas Deutschmann
2018-05-21 19:02 Thomas Deutschmann
2018-05-16 23:12 Thomas Deutschmann
2018-05-08  7:57 Thomas Deutschmann
2018-05-04 15:25 Thomas Deutschmann
2018-05-04 15:24 Thomas Deutschmann
2018-04-16 11:37 Thomas Deutschmann
2018-03-13 21:41 Thomas Deutschmann
2018-03-13 21:41 Thomas Deutschmann
2018-03-05 14:07 Thomas Deutschmann
2018-02-22  0:34 Thomas Deutschmann
2018-02-12 23:32 Thomas Deutschmann
2018-02-09 14:30 Thomas Deutschmann
2018-02-01 20:49 Thomas Deutschmann
2018-01-29  2:38 Thomas Deutschmann
2018-01-20 20:58 Thomas Deutschmann
2018-01-01 21:15 Thomas Deutschmann
2017-12-30 19:55 Thomas Deutschmann
2017-12-30 19:55 Thomas Deutschmann
2017-12-30 19:02 Thomas Deutschmann
2017-12-29 17:49 Thomas Deutschmann
2017-12-21 22:08 Thomas Deutschmann
2017-12-18 21:49 Thomas Deutschmann
2017-12-18 21:49 Thomas Deutschmann
2017-12-14 15:41 Thomas Deutschmann
2017-11-27  4:39 Thomas Deutschmann
2017-11-09 18:53 Thomas Deutschmann
2017-10-10 18:58 Thomas Deutschmann
2017-10-01 15:03 Thomas Deutschmann
2017-09-26 13:52 Thomas Deutschmann
2017-09-05 16:43 Thomas Deutschmann
2017-08-20 20:07 Thomas Deutschmann
2017-08-02 17:38 Thomas Deutschmann
2017-07-24 17:20 Thomas Deutschmann
2017-07-03 15:17 Thomas Deutschmann
2017-07-03 15:17 Thomas Deutschmann
2017-07-03 15:17 Thomas Deutschmann
2017-07-03 15:17 Thomas Deutschmann
2017-06-26  1:16 Thomas Deutschmann
2017-06-20  8:11 Thomas Deutschmann
2017-06-13 15:57 Thomas Deutschmann
2017-06-13 15:56 Thomas Deutschmann
2017-05-27 15:30 Thomas Deutschmann
2017-05-09 22:40 Thomas Deutschmann
2017-04-16 13:05 Thomas Deutschmann
2017-04-16  4:29 Thomas Deutschmann
2017-03-30  6:43 Thomas Deutschmann
2017-03-30  6:43 Thomas Deutschmann
2017-02-24 11:38 Thomas Deutschmann
2017-01-10 23:52 Thomas Deutschmann
2017-01-02 18:42 Thomas Deutschmann
2016-12-27 23:37 Thomas Deutschmann
2016-12-20 14:19 Thomas Deutschmann
2016-12-20 14:19 Thomas Deutschmann
2016-11-10  0:08 Thomas Deutschmann
2016-11-07 16:41 Thomas Deutschmann
2016-11-01 15:45 Thomas Deutschmann
2016-10-18 23:46 Thomas Deutschmann
2016-10-18 23:46 Thomas Deutschmann
2016-10-16 11:46 Thomas Deutschmann
2016-10-16  7:00 Jeroen Roovers
2016-10-12 22:05 Thomas Deutschmann
2016-10-04  7:37 Tobias Klausmann
2016-10-03 23:48 Thomas Deutschmann
2016-08-13  0:26 Thomas Deutschmann
2016-08-13  0:26 Thomas Deutschmann
2016-08-13  0:26 Thomas Deutschmann
2016-08-10 19:47 Thomas Deutschmann
2016-08-10 19:47 Thomas Deutschmann
2016-08-04  8:57 Jeroen Roovers
2016-08-03  8:03 Patrice Clement
2016-08-03  8:03 Patrice Clement
2016-08-03  8:03 Patrice Clement
2016-07-08 18:55 Patrice Clement
2016-06-16  7:01 Patrice Clement
2016-06-11 20:20 Patrice Clement
2016-06-11 20:20 Patrice Clement
2016-05-31 13:58 Tobias Klausmann
2016-05-23 11:33 Ian Delaney
2016-05-23 11:33 Ian Delaney
2016-05-13  8:41 Agostino Sarubbo
2016-05-09 16:44 Patrice Clement
2016-04-18  8:13 Patrice Clement
2016-04-01  6:44 Patrice Clement
2016-03-29 13:53 Ian Delaney
2016-03-21 21:50 Patrice Clement
2016-03-21 21:50 Patrice Clement
2016-03-15  9:01 Agostino Sarubbo
2016-03-15  2:24 Ian Delaney
2016-03-14 14:34 Agostino Sarubbo
2016-02-28 19:04 Patrice Clement
2016-02-28 19:04 Patrice Clement
2016-02-20  8:18 Jeroen Roovers
2016-02-04 11:01 Tobias Klausmann
2016-02-03  8:33 Amy Winston
2016-02-03  8:33 Amy Winston
2016-02-01  8:14 Agostino Sarubbo
2015-12-15  4:45 Ian Delaney
2015-12-15  4:45 Ian Delaney
2015-11-10  6:12 Ian Delaney
2015-10-27  3:09 Ian Delaney
2015-09-26  9:09 Ian Delaney
2015-09-18  5:46 Ian Delaney
2015-08-26 10:32 Agostino Sarubbo

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=1567587940.7a72f005ce01318e2ed7a51936782ddcbf71f8f6.whissi@gentoo \
    --to=whissi@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