summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-03-11 14:08:26 +0000
committerAnthony G. Basile <blueness@gentoo.org>2012-03-11 14:08:26 +0000
commitca2af2e013468c017b76ba86659a149fc62059e7 (patch)
tree2c0ef226aef0dba51778b835e1791bded43f9c3f /net-misc/tinc
parentMarking i18n-0.6.0 ~ppc64 for bug 396547 (diff)
downloadgentoo-2-ca2af2e013468c017b76ba86659a149fc62059e7.tar.gz
gentoo-2-ca2af2e013468c017b76ba86659a149fc62059e7.tar.bz2
gentoo-2-ca2af2e013468c017b76ba86659a149fc62059e7.zip
Version bump, some cosmetic cleanups
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/tinc')
-rw-r--r--net-misc/tinc/ChangeLog8
-rw-r--r--net-misc/tinc/files/tincd.lo.114
-rw-r--r--net-misc/tinc/tinc-1.0.16-r4.ebuild6
-rw-r--r--net-misc/tinc/tinc-1.0.17.ebuild44
4 files changed, 59 insertions, 13 deletions
diff --git a/net-misc/tinc/ChangeLog b/net-misc/tinc/ChangeLog
index a3f3d66f05fe..8a37f46fd790 100644
--- a/net-misc/tinc/ChangeLog
+++ b/net-misc/tinc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/tinc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/ChangeLog,v 1.30 2012/02/02 20:29:33 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/ChangeLog,v 1.31 2012/03/11 14:08:26 blueness Exp $
+
+*tinc-1.0.17 (11 Mar 2012)
+
+ 11 Mar 2012; Anthony G. Basile <blueness@gentoo.org> tinc-1.0.16-r4.ebuild,
+ +tinc-1.0.17.ebuild, files/tincd.lo.1:
+ Version bump, some cosmetic cleanups
*tinc-1.0.16-r4 (02 Feb 2012)
diff --git a/net-misc/tinc/files/tincd.lo.1 b/net-misc/tinc/files/tincd.lo.1
index 86dfce1ac4bb..dda464fc6808 100644
--- a/net-misc/tinc/files/tincd.lo.1
+++ b/net-misc/tinc/files/tincd.lo.1
@@ -1,20 +1,18 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/files/tincd.lo.1,v 1.4 2012/02/02 20:29:33 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/files/tincd.lo.1,v 1.5 2012/03/11 14:08:26 blueness Exp $
extra_started_commands="reload"
DAEMON="/usr/sbin/tincd"
-depend()
-{
+depend() {
use logger dns
need net
}
-start()
-{
+start() {
NETNAME="${RC_SVCNAME#*.}"
CONFIG="/etc/tinc/${NETNAME}/tinc.conf"
PIDFILE="/var/run/tinc.${NETNAME}.pid"
@@ -33,8 +31,7 @@ start()
fi
}
-stop()
-{
+stop() {
NETNAME="${RC_SVCNAME#*.}"
CONFIG="/etc/tinc/${NETNAME}/tinc.conf"
PIDFILE="/var/run/tinc.${NETNAME}.pid"
@@ -45,8 +42,7 @@ stop()
fi
}
-reload()
-{
+reload() {
NETNAME=${RC_SVCNAME#*.}
CONFIG="/etc/tinc/${NETNAME}/tinc.conf"
PIDFILE="/var/run/tinc.${NETNAME}.pid"
diff --git a/net-misc/tinc/tinc-1.0.16-r4.ebuild b/net-misc/tinc/tinc-1.0.16-r4.ebuild
index 559a6a3c3dcc..0fa89826361e 100644
--- a/net-misc/tinc/tinc-1.0.16-r4.ebuild
+++ b/net-misc/tinc/tinc-1.0.16-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.16-r4.ebuild,v 1.1 2012/02/02 20:29:33 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.16-r4.ebuild,v 1.2 2012/03/11 14:08:26 blueness Exp $
EAPI="4"
@@ -29,12 +29,12 @@ src_prepare() {
if [[ ${COUNT} -gt 1 ]]; then
eerror
- eerror "\033[1;31m**************************************************\033[1;31m"
+ eerror "\033[1;31m**************************************************\033[00m"
eerror
eerror "\033[1;31m If you selected either raw, uml or vde,\033[1;31m"
eerror "\033[1;31m you can select only one.\033[1;31m"
eerror
- eerror "\033[1;31m**************************************************\033[1;31m"
+ eerror "\033[1;31m**************************************************\033[00m"
eerror
die
fi
diff --git a/net-misc/tinc/tinc-1.0.17.ebuild b/net-misc/tinc/tinc-1.0.17.ebuild
new file mode 100644
index 000000000000..7605489e8160
--- /dev/null
+++ b/net-misc/tinc/tinc-1.0.17.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.17.ebuild,v 1.1 2012/03/11 14:08:26 blueness Exp $
+
+EAPI="4"
+
+DESCRIPTION="tinc is an easy to configure VPN implementation"
+HOMEPAGE="http://www.tinc-vpn.org/"
+SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="+lzo vde +zlib"
+
+DEPEND=">=dev-libs/openssl-0.9.7
+ lzo? ( dev-libs/lzo:2 )
+ zlib? ( >=sys-libs/zlib-1.1.4 )"
+RDEPEND="${DEPEND}
+ vde? ( net-misc/vde )"
+
+src_configure() {
+ # The new DeviceType option can now be used to select dummy and
+ # raw socket, or UML and VDE devices without having to recompile.
+ econf \
+ --enable-jumbograms \
+ $(use_enable lzo) \
+ $(use_enable zlib)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodir /etc/tinc
+ dodoc AUTHORS NEWS README THANKS
+ newinitd "${FILESDIR}"/tincd.1 tincd
+ newinitd "${FILESDIR}"/tincd.lo.1 tincd.lo
+ doconfd "${FILESDIR}"/tinc.networks
+ newconfd "${FILESDIR}"/tincd.conf.1 tincd
+}
+
+pkg_postinst() {
+ elog "This package requires the tun/tap kernel device."
+ elog "Look at http://www.tinc-vpn.org/ for how to configure tinc"
+}