Portage is a package management system used by Gentoo Linux
# ChangeLog for net-misc/freenet6
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/freenet6/ChangeLog,v 1.34 2008/06/16 18:05:04 voyageur Exp $
16 Jun 2008; Bernard Cafarelli
+files/freenet6-5.1-gcc43.patch, -freenet6-4.2.2.ebuild,
freenet6-5.1.ebuild:
gcc 4.3 compilation fix, thanks to Marek Miller
Fixes bug #226663. Also remove last 4.2 version
15 Jun 2008; Zac Medico
freenet6-5.0.ebuild, freenet6-5.1.ebuild:
Bug #226505 - For compatibility with phase execution order in
>=portage-2.1.5, call has_version inside pkg_preinst instead of
pkg_postinst.
29 Apr 2008; Raúl Porcel
sparc stable wrt #211360
27 Apr 2008; Markus Meier
amd64 stable, bug #211360
29 Feb 2008;
Stable on x86 (bug #211360)
27 Feb 2008; Jeroen Roovers
Stable for HPPA (bug #211360).
27 Feb 2008; Bernard Cafarelli
Add tun module detection/load to init script, patch provided by jakub
27 Feb 2008; Bernard Cafarelli
Honor C[XX]FLAGS+LDFLAGS, many thanks to jakub in bug #211581
*freenet6-5.1 (26 Feb 2008)
26 Feb 2008; Bernard Cafarelli
freenet6-5.0.ebuild, +freenet6-5.1.ebuild:
Make initscript depend on bootmisc, as the daemon writes in /tmp.
Thanks jakub in bug #211358
Also version bump to 5.1, and fix quoting
16 Jun 2007; Christoph Mende
Stable on amd64 wrt bug 180450
03 Jun 2007; Bernard Cafarelli
-files/tspc.conf, -files/tspc.rc, -freenet6-1.0.0.ebuild:
Remove old version
02 Jun 2007; Markus Ullmann
Stable on x86 wrt bug #180450
*freenet6-5.0 (31 May 2007)
31 May 2007; Bernard Cafarelli
Version bump
30 May 2007; Gustavo Zacarias
Stable on sparc
12 May 2007; Bernard Cafarelli
Added no-herd to metadata.xml
11 May 2007; Jeroen Roovers
Marked ~hppa (bug #174840).
28 Apr 2007; Sven Wegener
freenet6-4.2.2.ebuild:
Fix *initd, *confd and *envd calls (#17388, #174266)
18 Apr 2007; Gustavo Zacarias
Keyworded ~sparc wrt #174840
*freenet6-4.2.2 (16 Apr 2007)
16 Apr 2007; Bernard Cafarelli
+files/freenet6-4.2.2-noretry.patch, +files/gw6c.rc,
+freenet6-4.2.2.ebuild:
Version bump, fixes bugs #32779, #63710, #102947 and #166210
15 Apr 2007; Bernard Cafarelli
-files/freenet6-0.9.2.diff, metadata.xml, -freenet6-0.9.7.ebuild:
Remove old version. Also fixes bug #169209
28 Jun 2006; Chris Gianelloni
Added a patch from Steve Egbert
28 Jun 2006; Chris Gianelloni
Add tspc to the DESCRIPTION so it shows up in searches. Closing bug #94283.
09 May 2006; Diego Pettenò
Add changes to build on Gentoo/*BSD (from Kiko, bug #132553) and respect
CC/CFLAGS/LDFLAGS.
01 May 2005; Michael Hanselmann
Stable on ppc.
29 Dec 2004; Ciaran McCreesh
Change encoding to UTF-8 for GLEP 31 compliance
02 Oct 2004; Markus Nigbur
hooray for epatch!
07 Jun 2004; Bryan Østergaard
Stable on alpha.
*freenet6-1.0.0 (7 Dec 2003)
07 Dec 2003; Guy Martin
files/tspc.conf, freenet6-1.0.0.ebuild :
Updated version. Marking stable on x86 because old version
does not connect anymore. Other arches are still unstable.
11 Jun 2003; Peter Johanson
missing #!/sbin/runscript
10 Jun 2003; Peter Johanson
files/gentoo.sh:
Added a gentoo.sh script which matches gentoo's placement of things. bug #21865
*freenet6-0.9.7 (28 May 2003)
28 May 2003; Peter Johanson
files/freenet6-0.9.2.diff, files/tspc.conf, files/tspc.rc:
Initial import. bug#9020
AUX freenet6-4.2.2-noretry.patch 1273 RMD160 42dc48455d43ae02cf0f59bdf8c05fd85f5e09f7 SHA1 f8d9a3bb5812353312bf451b6ae97f6a58eda7b0 SHA256 8e9ce8e4fbaf92339c15c56085e3d8c41677f08645f1fa869882038721b12e2f
AUX freenet6-5.1-gcc43.patch 3412 RMD160 3893e9618184f1bfbfb009f64cf4a9b9c74f9883 SHA1 11b3c622c40fe89cc2e8a9f613c909a2833e6bfc SHA256 c5f384d07109a6c1a7efa3c178544fad0f022705e2fd30413a3200e9bd8f1adb
AUX gw6c.conf 8536 RMD160 633eb8d49378459d93931415be401babf88ef42c SHA1 dde098066da1014bb1374d2d5b18de200105f35e SHA256 8da6f62ed5164d54d272ae9d380f1b2387f2ad819ffcd8f52349beeca44c7b1c
AUX gw6c.rc 644 RMD160 89bcf7d0329c59eaee58f5c98924c4c1968df6e9 SHA1 643f89719a0141b271a4808281cf79da757f3f73 SHA256 cafd899ebd4bb315b0491e47b3a2a824351e3ff61553f42dd4d5ffdb93ffe9ac
DIST gw6c-5_0-RELEASE-src.tar.gz 2441593 RMD160 737e4d0cc74d78df9543715f8a5f0e3c9a11c699 SHA1 aad5d89ac87ef50fb930d854c7f97277f83167b4 SHA256 431e59a6590f0826f1cb34a6319bd69d024ca89e36f8578a2befe039a489e894
DIST gw6c-5_1-RELEASE-src.tar.gz 1055230 RMD160 bb507ce6e56e9fd71363d2fdd27ba61c04ab125f SHA1 1ffab56a93d2271001f257d4dcaea82c38aa81f9 SHA256 960a6eceebc685c0b36d75a28d3ac576424837e34ddb7d6ee43334c5c3e15b1f
EBUILD freenet6-5.0.ebuild 1633 RMD160 415202f9badc666b33ea1b2e0a6b2e25a9d5f54a SHA1 ba5925de1e7215cd2f38dfbc08845e4ff404d449 SHA256 6fed189f2e7a7056c1a0285ed5f7e10bfec5953060cf014dfe45b05a4f256a69
EBUILD freenet6-5.1.ebuild 2496 RMD160 614a3398eebfd3a0875e6d4eae751fb22491ce43 SHA1 e7f1765dca996703e22bf2c9a63f0e91d5268ec0 SHA256 985bcfc33c7a9f26a2f867c35300812a1fb2ab31266aa17413d5606a887d4c30
MISC ChangeLog 4743 RMD160 d615e620d2b046ce6e487b4fa25894b8aeda2e55 SHA1 72a873a3370bfa76cf36508c2870f99df3e52463 SHA256 b09be891fd20d170552b8830b3183e155ee28b66649769bb708f98e50b545e55
MISC metadata.xml 348 RMD160 831527825fdc6b58538bb671987c0a562e1559df SHA1 2517554158e3a9d0cd11e7a8ecbe4fa1843a170f SHA256 9a455a8b1ebafab91dcd8d5a1c0d3cc61fc75abc59ad2988d7118032f8309730
# Copyright 1999-2008 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.7 2008/06/15 10:44:02 zmedico 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_preinst() {
has_version "=${CATEGORY}/${PN}-1*"
upgrade_from_1_x=$?
}
pkg_postinst() {
if [[ $upgrade_from_1_x = 0 ]] ; 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"
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/freenet6/freenet6-5.1.ebuild,v 1.4 2008/06/16 18:05:04 voyageur Exp $
inherit eutils versionator toolchain-funcs
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_unpack() {
unpack ${A}
cd "${WORKDIR}"
epatch "${FILESDIR}"/${P}-gcc43.patch
for i in gw6c-config gw6c-messaging ; do
sed -i -e "/ARCHIVER=/s:ar:$(tc-getAR):" \
-e "/COMPILER=/s:g++:$(tc-getCXX):" \
-e "/C_COMPILER=/s:gcc:$(tc-getCC):" \
-e "/CPP_FLAGS=/s:-I.:${CXXFLAGS} -I.:" \
-e "/C_FLAGS=/s:-I.:${CFLAGS} -I.:" \
-e "/C_LINKER=/s:gcc:$(tc-getCC):" \
-e "/LD_FLAGS=/s:-O2::" \
-e "/LD_FLAGS=/s:-L:${LDFLAGS} -L:" \
-e "/LINKER=/s:g++:$(tc-getCXX):" \
-e "/RANLIB=/s:ranlib:$(tc-getRANLIB):" \
${i}/Makefile || die "sed failed in ${i}"
done
cd "${S}"
for i in platform/linux platform/unix-common src/lib src/net src/tsp src/xml ; do
sed -i -e "/CC=/s:gcc:$(tc-getCC):" \
-e "/CFLAGS=/s:-O2:${CFLAGS}:" \
-e "/LDFLAGS=/s:-L..:${LDFLAGS} -L..:" \
${i}/Makefile || die "sed failed in ${i}"
done
}
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.sh
newinitd "${FILESDIR}"/gw6c.rc gw6c
doman man/{man5/gw6c.conf.5,man8/gw6c.8}
}
pkg_preinst() {
has_version "=${CATEGORY}/${PN}-1*"
upgrade_from_1_x=$?
}
pkg_postinst() {
if [[ $upgrade_from_1_x = 0 ]] ; 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"
}
Client to configure an IPv6 tunnel to freenet6