summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2007-05-31 13:30:16 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2007-05-31 13:30:16 +0000
commitcf60f1bc30be14681bb9d67db9459609e0a5d303 (patch)
tree8cacda6213970f575856d3509805a8c89cf85a31 /net-misc/freenet6
parentKeyworded ~sparc (diff)
downloadgentoo-2-cf60f1bc30be14681bb9d67db9459609e0a5d303.tar.gz
gentoo-2-cf60f1bc30be14681bb9d67db9459609e0a5d303.tar.bz2
gentoo-2-cf60f1bc30be14681bb9d67db9459609e0a5d303.zip
Version bump
(Portage version: 2.1.2.9)
Diffstat (limited to 'net-misc/freenet6')
-rw-r--r--net-misc/freenet6/ChangeLog7
-rw-r--r--net-misc/freenet6/files/digest-freenet6-5.03
-rw-r--r--net-misc/freenet6/freenet6-5.0.ebuild54
3 files changed, 63 insertions, 1 deletions
diff --git a/net-misc/freenet6/ChangeLog b/net-misc/freenet6/ChangeLog
index 26598ab0a328..5f380c52406a 100644
--- a/net-misc/freenet6/ChangeLog
+++ b/net-misc/freenet6/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/freenet6
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/freenet6/ChangeLog,v 1.21 2007/05/30 13:18:16 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/freenet6/ChangeLog,v 1.22 2007/05/31 13:30:16 voyageur Exp $
+
+*freenet6-5.0 (31 May 2007)
+
+ 31 May 2007; Bernard Cafarelli <voyageur@gentoo.org> +freenet6-5.0.ebuild:
+ Version bump
30 May 2007; Gustavo Zacarias <gustavoz@gentoo.org> freenet6-4.2.2.ebuild:
Stable on sparc
diff --git a/net-misc/freenet6/files/digest-freenet6-5.0 b/net-misc/freenet6/files/digest-freenet6-5.0
new file mode 100644
index 000000000000..73157e4c0b47
--- /dev/null
+++ b/net-misc/freenet6/files/digest-freenet6-5.0
@@ -0,0 +1,3 @@
+MD5 5dda7941133a199adf3453d105cecf5d gw6c-5_0-RELEASE-src.tar.gz 2441593
+RMD160 737e4d0cc74d78df9543715f8a5f0e3c9a11c699 gw6c-5_0-RELEASE-src.tar.gz 2441593
+SHA256 431e59a6590f0826f1cb34a6319bd69d024ca89e36f8578a2befe039a489e894 gw6c-5_0-RELEASE-src.tar.gz 2441593
diff --git a/net-misc/freenet6/freenet6-5.0.ebuild b/net-misc/freenet6/freenet6-5.0.ebuild
new file mode 100644
index 000000000000..71d9050f394d
--- /dev/null
+++ b/net-misc/freenet6/freenet6-5.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/freenet6/freenet6-5.0.ebuild,v 1.1 2007/05/31 13:30:16 voyageur Exp $
+
+inherit eutils versionator
+
+MY_PV=$(replace_all_version_separators "_")
+DESCRIPTION="Client to configure an IPv6 tunnel to freenet6"
+HOMEPAGE="http://www.freenet6.net/"
+SRC_URI="mirror://gentoo/gw6c-${MY_PV}-RELEASE-src.tar.gz"
+
+LICENSE="VPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~sparc ~x86"
+IUSE=""
+
+DEPEND="dev-libs/openssl"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/tspc-advanced"
+
+src_compile() {
+ emake all configdir=/etc/freenet6 target=linux || die "Build Failed"
+ sed -i "s#tsp-#/tmp/tsp-#" bin/gw6c.conf.sample
+}
+
+src_install() {
+ dosbin bin/gw6c
+
+ insopts -m 600
+ insinto /etc/freenet6
+ newins bin/gw6c.conf.sample gw6c.conf
+ exeinto /etc/freenet6/template
+ doexe template/{linux,checktunnel}.sh
+
+ newinitd ${FILESDIR}/gw6c.rc gw6c
+
+ doman man/{man5/gw6c.conf.5,man8/gw6c.8}
+}
+
+pkg_postinst() {
+ if has_version '=net-misc/freenet6-1*' ; then
+ ewarn "Warning: you are upgrading from an older version"
+ ewarn "The configuration file has been renamed to gw6c.conf"
+ ewarn "Remember to port your personal settings from tspc.conf to it"
+ ewarn "The init script has been renamed to 'gw6c',"
+ else
+ elog "The freenet6 ebuild installs an init script named 'gw6c'"
+ fi
+ elog "to coincide with the name of the client binary installed"
+ elog "To add support for a freenet6 connection at startup, do"
+ elog ""
+ elog "# rc-update add gw6c default"
+}