[gentoo-commits] repo/gentoo:master commit in: net-misc/iodine/files/

2017-01-14 Thread Göktürk Yüksek
commit: 984a2b3698705793b5fdc3b70c6b12aa7d607f1e
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Sat Jan  7 17:17:16 2017 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Sun Jan 15 03:51:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=984a2b36

net-misc/iodine: remove unused init file

 net-misc/iodine/files/iodined.init | 62 --
 1 file changed, 62 deletions(-)

diff --git a/net-misc/iodine/files/iodined.init 
b/net-misc/iodine/files/iodined.init
deleted file mode 100644
index d8bb453..
--- a/net-misc/iodine/files/iodined.init
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-PID_FILE="/var/run/iodined.pid"
-
-depend() {
-   need net
-}
-
-start() {
-   ebegin "Starting iodined"
-   ARGS=""
-   if [ "$IODINED_USER" ]; then
-   ARGS="$ARGS -u $IODINED_USER"
-   fi
-   if [ "$IODINED_CHROOT" ]; then
-   ARGS="$ARGS -t $IODINED_CHROOT"
-   fi
-   if [ "$IODINED_MTU" ]; then
-   ARGS="$ARGS -m $IODINED_MTU"
-   fi
-   if [ "$IODINED_LISTENPORT" ]; then
-   ARGS="$ARGS -p $IODINED_LISTENPORT"
-   fi
-   if [ "$IODINED_EXTERN_IP" ]; then
-   ARGS="$ARGS -n $IODINED_EXTERN_IP"
-   fi
-   if [ "$IODINED_LOCAL_DNS_PORT" ]; then
-   ARGS="$ARGS -b $IODINED_LOCAL_DNS_PORT"
-   fi
-   if [ "$IODINED_LISTENIP" ]; then
-   ARGS="$ARGS -l $IODINED_LISTENIP"
-   fi
-   if [ "$IODINED_PASSWD" ]; then
-   ARGS="$ARGS -P $IODINED_PASSWD"
-   else
-   eerror "Please set a password (IODINED_PASSWD) in 
/etc/conf.d/iodined!"
-   return 1
-   fi
-   if [ "$IODINED_IP" ]; then
-   ARGS="$ARGS $IODINED_IP"
-   else
-   eerror "Please set an IP (IODINED_IP) in /etc/conf.d/iodined!"
-   return 1
-   fi
-   if [ "$IODINED_DOMAIN" ]; then
-   ARGS="$ARGS $IODINED_DOMAIN"
-   else
-   eerror "Please set a domain (IODINED_DOMAIN) in 
/etc/conf.d/iodined!"
-   return 1
-   fi
-   start-stop-daemon --start --exec /usr/bin/iodined --pidfile $PID_FILE 
-- -F $PID_FILE $ARGS
-   eend $?
-}
-
-stop() {
-   ebegin "Stopping iodined"
-   start-stop-daemon --stop --exec /usr/bin/iodined --pidfile $PID_FILE
-   eend $?
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/iodine/, net-misc/iodine/files/

2016-11-25 Thread Jason Donenfeld
commit: e2649018143dce25f5e298536118fcea0acadc66
Author: Jason A. Donenfeld  gentoo  org>
AuthorDate: Fri Nov 25 14:13:52 2016 +
Commit: Jason Donenfeld  gentoo  org>
CommitDate: Fri Nov 25 14:14:13 2016 +
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" 
-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
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/iodine/

2016-11-25 Thread Aaron Bauman
commit: 82d62d66c8eef722a36e6136398521d92d07c644
Author: Aaron Bauman  gentoo  org>
AuthorDate: Fri Nov 25 12:48:22 2016 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Nov 25 12:48:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82d62d66

net-misc/iodine: cleanup wrt security bug #477102

 net-misc/iodine/iodine-0.7.0.ebuild | 51 -
 1 file changed, 51 deletions(-)

diff --git a/net-misc/iodine/iodine-0.7.0.ebuild 
b/net-misc/iodine/iodine-0.7.0.ebuild
deleted file mode 100644
index 37870ef..
--- a/net-misc/iodine/iodine-0.7.0.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit linux-info eutils toolchain-funcs
-
-DESCRIPTION="IP over DNS tunnel"
-HOMEPAGE="http://code.kryo.se/iodine/;
-SRC_URI="http://code.kryo.se/${PN}/${P}.tar.gz;
-
-CONFIG_CHECK="~TUN"
-
-LICENSE="ISC GPL-2" #GPL-2 for init script bug #426060
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-RDEPEND="sys-libs/zlib"
-DEPEND="${RDEPEND}
-   test? ( dev-libs/check )"
-
-src_prepare(){
-   epatch "${FILESDIR}"/${P}-TestMessage.patch
-   epatch "${FILESDIR}"/${P}-new-systemd.patch
-
-   sed -e '/^\s@echo \(CC\|LD\)/d' \
-   -e 's:^\(\s\)@:\1:' \
-   -i {,src/}Makefile || die
-
-   tc-export CC
-}
-
-src_compile() {
-   #shipped ./Makefiles doesn't pass -j to submake
-   emake -C src TARGETOS=Linux all
-}
-
-src_install() {
-   #don't re-run submake
-   sed -e '/^install:/s: all: :' \
-   -i Makefile || die
-   emake prefix="${EPREFIX}"usr DESTDIR="${D}" install
-
-   dodoc CHANGELOG README TODO
-
-   newinitd "${FILESDIR}"/iodined-1.init iodined
-   newconfd "${FILESDIR}"/iodined.conf iodined
-   keepdir /var/empty
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/iodine/

2016-11-25 Thread Aaron Bauman
commit: 508426be9fae3be1f70cfb9e642b40d2e258a040
Author: Aaron Bauman  gentoo  org>
AuthorDate: Fri Nov 25 12:47:26 2016 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Nov 25 12:48:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=508426be

net-misc/iodine: revbump wrt security bug #477102

 net-misc/iodine/{iodine-0.7.0.ebuild => iodine-0.7.0-r1.ebuild} | 4 +++-
 net-misc/iodine/iodine-0.7.0.ebuild | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-misc/iodine/iodine-0.7.0.ebuild 
b/net-misc/iodine/iodine-0.7.0-r1.ebuild
similarity index 90%
copy from net-misc/iodine/iodine-0.7.0.ebuild
copy to net-misc/iodine/iodine-0.7.0-r1.ebuild
index ec2d1dd..00beaa1 100644
--- a/net-misc/iodine/iodine-0.7.0.ebuild
+++ b/net-misc/iodine/iodine-0.7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -48,4 +48,6 @@ 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
 }

diff --git a/net-misc/iodine/iodine-0.7.0.ebuild 
b/net-misc/iodine/iodine-0.7.0.ebuild
index ec2d1dd..37870ef 100644
--- a/net-misc/iodine/iodine-0.7.0.ebuild
+++ b/net-misc/iodine/iodine-0.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/iodine/

2016-08-07 Thread Pacho Ramos
commit: f4768f6fd390984dd397632c4f494de5fd3fd8d7
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Aug  7 06:25:30 2016 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Aug  7 06:31:26 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4768f6f

net-misc/iodine: Cleanup per bug #267342

Package-Manager: portage-2.3.0

 net-misc/iodine/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/net-misc/iodine/metadata.xml b/net-misc/iodine/metadata.xml
index e8b8983..073848f 100644
--- a/net-misc/iodine/metadata.xml
+++ b/net-misc/iodine/metadata.xml
@@ -2,10 +2,6 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   vosto...@gentoo.org
-   Víctor Ostorga
-   
-   
r...@kryo.se
Erik Ekman