public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/iodine/, net-misc/iodine/files/
@ 2016-11-25 14:14 Jason Donenfeld
  0 siblings, 0 replies; only message in thread
From: Jason Donenfeld @ 2016-11-25 14:14 UTC (permalink / raw
  To: gentoo-commits

commit:     e2649018143dce25f5e298536118fcea0acadc66
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 14:13:52 2016 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 14:14:13 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2649018

net-misc/iodine: fix 477102 competently

While we're at it, we make sure this builds with new systemd.

Package-Manager: portage-2.3.2

 net-misc/iodine/files/iodine-0.7.0-new-systemd.patch  | 19 +------------------
 ...{iodine-0.7.0-r1.ebuild => iodine-0.7.0-r2.ebuild} |  3 +--
 2 files changed, 2 insertions(+), 20 deletions(-)

diff --git a/net-misc/iodine/files/iodine-0.7.0-new-systemd.patch b/net-misc/iodine/files/iodine-0.7.0-new-systemd.patch
index 1f54d38..e18b64a 100644
--- a/net-misc/iodine/files/iodine-0.7.0-new-systemd.patch
+++ b/net-misc/iodine/files/iodine-0.7.0-new-systemd.patch
@@ -1,20 +1,3 @@
-From cc4bc22447d15deacf44bc1d369621a63c934427 Mon Sep 17 00:00:00 2001
-From: "Jason A. Donenfeld" <Jason@zx2c4.com>
-Date: Fri, 25 Jul 2014 02:02:48 +0200
-Subject: [PATCH] osflags: use pkg-config for systemd support
-
-Recent versions of systemd don't ship with libsystemd-daemon.so anymore,
-but instead use libsystemd.so for everything. This is obviously
-problematic for using the same LDFLAGS on old systemd and new systemd.
-So, they also ship compatability pkgconfig files, which use the old
-names but return the new library. So, the most portable way to support
-both old and new systemd is to use pkgconfig. It's not a problem either,
-since systems that use systemd are bound to also have pkgconfig
-installed.
----
- src/osflags | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
 diff --git a/src/osflags b/src/osflags
 index 9eda8f0..0f8a26c 100755
 --- a/src/osflags
@@ -24,7 +7,7 @@ index 9eda8f0..0f8a26c 100755
  			FLAGS="";
  			[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
 -			[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
-+			[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS $(pkg-config --libs libsystemd-daemon)";
++			[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS $(pkg-config --libs libsystemd)";
  			echo $FLAGS;
  		;;
  	esac

diff --git a/net-misc/iodine/iodine-0.7.0-r1.ebuild b/net-misc/iodine/iodine-0.7.0-r2.ebuild
similarity index 93%
rename from net-misc/iodine/iodine-0.7.0-r1.ebuild
rename to net-misc/iodine/iodine-0.7.0-r2.ebuild
index 00beaa1..cf75d16 100644
--- a/net-misc/iodine/iodine-0.7.0-r1.ebuild
+++ b/net-misc/iodine/iodine-0.7.0-r2.ebuild
@@ -48,6 +48,5 @@ src_install() {
 	newinitd "${FILESDIR}"/iodined-1.init iodined
 	newconfd "${FILESDIR}"/iodined.conf iodined
 	keepdir /var/empty
-	fowners root:nogroup /etc/conf.d/iodined
-	fperms 640 /etc/conf.d/iodined
+	fperms 600 /etc/conf.d/iodined
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-25 14:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-25 14:14 [gentoo-commits] repo/gentoo:master commit in: net-misc/iodine/, net-misc/iodine/files/ Jason Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox