public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/gateway6: gateway6-6.0.ebuild ChangeLog gateway6-5.1.ebuild metadata.xml
@ 2009-06-03 15:06 Bernard Cafarelli (voyageur)
  0 siblings, 0 replies; only message in thread
From: Bernard Cafarelli (voyageur) @ 2009-06-03 15:06 UTC (permalink / raw
  To: gentoo-commits

voyageur    09/06/03 15:06:34

  Added:                gateway6-6.0.ebuild ChangeLog gateway6-5.1.ebuild
                        metadata.xml
  Log:
  Package move from freenet6 to gateway6, bug #267107
  (Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force)

Revision  Changes    Path
1.1                  net-misc/gateway6/gateway6-6.0.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/gateway6/gateway6-6.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/gateway6/gateway6-6.0.ebuild?rev=1.1&content-type=text/plain

Index: gateway6-6.0.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/gateway6/gateway6-6.0.ebuild,v 1.1 2009/06/03 15:06:34 voyageur Exp $

inherit eutils versionator toolchain-funcs

MY_P=gw6c-$(replace_all_version_separators "_")
MY_P=${MY_P/_beta/-BETA}

DESCRIPTION="Client to connect to a tunnel broker using the TSP protocol (freenet6 for example)"
HOMEPAGE="http://go6.net/4105/application.asp"
SRC_URI="http://go6.net/4105/file.asp?file_id=158&file=/${MY_P}.tar.gz"

LICENSE="VPL-1.0"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~sparc ~x86"
IUSE="radvd"

DEPEND="dev-libs/openssl
	sys-apps/iproute2
	radvd? ( net-misc/radvd )"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${MY_P}-RELEASE"

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}"/${PN}-6.0_beta4-no-template-validation.patch

	for i in gw6c-config gw6c-messaging ; do
		sed -i -e "s/-O2//" \
			-e "s/CXXFLAGS=/CXXFLAGS+=/" \
			-e "s/CFLAGS=/CFLAGS+=/" \
			-e "s/LDFAGS=/LDFLAGS+=/" \
			${i}/Makefile || die "sed failed in ${i}"
	done

	cd tspc-advanced
	for i in platform/linux platform/unix-common src/lib src/net src/tsp src/xml ; do
		sed -i -e "s/-O2//" \
			-e "s/CXXFLAGS=/CXXFLAGS+=/" \
			-e "s/CFLAGS=/CFLAGS+=/" \
			-e "s/LDFAGS=/LDFLAGS+=/" \
			${i}/Makefile || die "sed failed in ${i}"
	done
}

src_compile() {
	# Parallel compilation broken
	emake -j1\
		AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
		CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
		all configdir=/etc/gateway6 target=linux || die "Build Failed"
}

src_install() {
	cd "${S}"/tspc-advanced
	dosbin bin/gw6c

	insopts -m 600
	insinto /etc/gateway6
	doins "${FILESDIR}"/gw6c.conf
	exeinto /etc/gateway6/template
	doexe template/linux.sh

	newinitd "${FILESDIR}"/gw6c.rc gw6c

	doman man/{man5/gw6c.conf.5,man8/gw6c.8}
	dodir /var/lib/gateway6

	dodoc "${S}"/*.pdf
}

pkg_postinst() {
	elog "To add support for a TSP IPv6 connection at startup,"
	elog "remember to run:"
	elog "# rc-update add gw6c default"
}



1.1                  net-misc/gateway6/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/gateway6/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/gateway6/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for net-misc/gateway6
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/gateway6/ChangeLog,v 1.1 2009/06/03 15:06:34 voyageur Exp $

*gateway6-6.0 (03 Jun 2009)
*gateway6-5.1 (03 Jun 2009)

  03 Jun 2009; Bernard Cafarelli <voyageur@gentoo.org>
  +files/gateway6-5.1-gcc43.patch, +files/gw6c.rc, +gateway6-5.1.ebuild,
  +gateway6-6.0.ebuild,
  +files/gateway6-6.0_beta4-no-template-validation.patch, +files/gw6c.conf,
  +metadata.xml:
  Package move from freenet6 to gateway6, bug #267107

  03 Jun 2009; Bernard Cafarelli <voyageur@gentoo.org> -freenet6-5.0.ebuild,
  -freenet6-6.0_beta4.ebuild:
  Remove old 5.0 and beta 6.0

  07 Apr 2009; Bernard Cafarelli <voyageur@gentoo.org> freenet6-6.0.ebuild:
  Commit the correct ebuild this time, fixes bug #265115

*freenet6-6.0 (06 Apr 2009)

  06 Apr 2009; Bernard Cafarelli <voyageur@gentoo.org> +freenet6-6.0.ebuild:
  Version bump, thanks to Dmitry S. Kulyabov <yamadharma@gmail.com> in bug
  #264350

  30 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org> files/gw6c.rc:
  Stopping the tunnel needs SIGHUP, thanks Christian Limberg
  <barneyman@gmx.de> in bug #252186

  14 Dec 2008; Friedrich Oslage <bluebird@gentoo.org> freenet6-5.1.ebuild:
  Stable on sparc, bug #245871

*freenet6-6.0_beta4 (28 Nov 2008)

  28 Nov 2008; Bernard Cafarelli <voyageur@gentoo.org>
  -files/freenet6-4.2.2-noretry.patch,
  +files/freenet6-6.0_beta4-no-template-validation.patch, files/gw6c.conf,
  +freenet6-6.0_beta4.ebuild:
  Bump to 6.0 beta (connection stability fixes), ebuild cleanup thanks to
  Flameeyes and Alexandre Hamelin <alexandre.hamelin@gmail.com>. Closes bugs
  #241064 and #246577

  22 Nov 2008; Jeroen Roovers <jer@gentoo.org> freenet6-5.1.ebuild:
  Stable for HPPA (bug #245871).

  08 Nov 2008; Markus Meier <maekke@gentoo.org> freenet6-5.1.ebuild:
  amd64/x86 stable, bug #245871

  16 Jun 2008; Bernard Cafarelli <voyageur@gentoo.org>
  +files/freenet6-5.1-gcc43.patch, -freenet6-4.2.2.ebuild,
  freenet6-5.1.ebuild:
  gcc 4.3 compilation fix, thanks to Marek Miller <mlm@shells.pl>
  Fixes bug #226663. Also remove last 4.2 version

  15 Jun 2008; Zac Medico <zmedico@gentoo.org> freenet6-4.2.2.ebuild,
  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 <armin76@gentoo.org> freenet6-5.0.ebuild:
  sparc stable wrt #211360

  27 Apr 2008; Markus Meier <maekke@gentoo.org> freenet6-5.0.ebuild:
  amd64 stable, bug #211360

  29 Feb 2008; <cla@gentoo.org> freenet6-5.0.ebuild:
  Stable on x86 (bug #211360)

  27 Feb 2008; Jeroen Roovers <jer@gentoo.org> freenet6-5.0.ebuild:
  Stable for HPPA (bug #211360).

  27 Feb 2008; Bernard Cafarelli <voyageur@gentoo.org> files/gw6c.rc:
  Add tun module detection/load to init script, patch provided by jakub

  27 Feb 2008; Bernard Cafarelli <voyageur@gentoo.org> freenet6-5.1.ebuild:
  Honor C[XX]FLAGS+LDFLAGS, many thanks to jakub in bug #211581

*freenet6-5.1 (26 Feb 2008)

  26 Feb 2008; Bernard Cafarelli <voyageur@gentoo.org> files/gw6c.rc,
  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 <angelos@gentoo.org> freenet6-4.2.2.ebuild:
  Stable on amd64 wrt bug 180450

  03 Jun 2007; Bernard Cafarelli <voyageur@gentoo.org> -files/gentoo.sh,
  -files/tspc.conf, -files/tspc.rc, -freenet6-1.0.0.ebuild:
  Remove old version

  02 Jun 2007; Markus Ullmann <jokey@gentoo.org> freenet6-4.2.2.ebuild:
  Stable on x86 wrt bug #180450

*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

  12 May 2007; Bernard Cafarelli <voyageur@gentoo.org> metadata.xml:
  Added no-herd to metadata.xml

  11 May 2007; Jeroen Roovers <jer@gentoo.org> freenet6-4.2.2.ebuild:
  Marked ~hppa (bug #174840).

  28 Apr 2007; Sven Wegener <swegener@gentoo.org> freenet6-1.0.0.ebuild,
  freenet6-4.2.2.ebuild:
  Fix *initd, *confd and *envd calls (#17388, #174266)

  18 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org> freenet6-4.2.2.ebuild:
  Keyworded ~sparc wrt #174840

*freenet6-4.2.2 (16 Apr 2007)

  16 Apr 2007; Bernard Cafarelli <voyageur@gentoo.org> +files/gw6c.conf,
  +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 <voyageur@gentoo.org>
  -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 <wolf31o2@gentoo.org> files/gentoo.sh:
  Added a patch from Steve Egbert <s.egbert@sbcglobal.net> to fix bug #118942.

  28 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> freenet6-1.0.0.ebuild:
  Add tspc to the DESCRIPTION so it shows up in searches.  Closing bug #94283.

  09 May 2006; Diego Pettenò <flameeyes@gentoo.org> freenet6-1.0.0.ebuild:
  Add changes to build on Gentoo/*BSD (from Kiko, bug #132553) and respect
  CC/CFLAGS/LDFLAGS.

  01 May 2005; Michael Hanselmann <hansmi@gentoo.org> freenet6-1.0.0.ebuild:
  Stable on ppc.

  29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
  Change encoding to UTF-8 for GLEP 31 compliance

  02 Oct 2004; Markus Nigbur <pyrania@gentoo.org> freenet6-0.9.7.ebuild:
  hooray for epatch!

  07 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> freenet6-1.0.0.ebuild:
  Stable on alpha.

*freenet6-1.0.0 (7 Dec 2003)

  07 Dec 2003; Guy Martin <gmsoft@gentoo.org> files/tspc.rc,
  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 <latexer@gentoo.org> files/tspc.rc:
  missing #!/sbin/runscript

  10 Jun 2003; Peter Johanson <latexer@gentoo.org> freenet6-0.9.7.ebuild,
  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 <latexer@gentoo.org> freenet6-0.9.7.ebuild,
  files/freenet6-0.9.2.diff, files/tspc.conf, files/tspc.rc:
  Initial import. bug#9020




1.1                  net-misc/gateway6/gateway6-5.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/gateway6/gateway6-5.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/gateway6/gateway6-5.1.ebuild?rev=1.1&content-type=text/plain

Index: gateway6-5.1.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/gateway6/gateway6-5.1.ebuild,v 1.1 2009/06/03 15:06:34 voyageur Exp $

inherit eutils versionator toolchain-funcs

MY_PV=$(replace_all_version_separators "_")
DESCRIPTION="Client to connect to a tunnel broker using the TSP protocol (freenet6 for example)"
HOMEPAGE="http://go6.net/4105/application.asp"
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/gateway6 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/gateway6
	newins bin/gw6c.conf.sample gw6c.conf
	exeinto /etc/gateway6/template
	doexe template/linux.sh

	newinitd "${FILESDIR}"/gw6c.rc gw6c

	doman man/{man5/gw6c.conf.5,man8/gw6c.8}
}

pkg_postinst() {
	elog "To add support for a TSP IPv6 connection at startup,"
	elog "remember to run:"
	elog "# rc-update add gw6c default"
}



1.1                  net-misc/gateway6/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/gateway6/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/gateway6/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<herd>no-herd</herd>
	<maintainer>
		<email>voyageur@gentoo.org</email>
		<name>Bernard Cafarelli</name>
	</maintainer>
	<longdescription>TSP is a control protocol used to establish and maintain static tunnels. The Gateway6 client is used on the host computer to connect to a tunnel broker using the TSP protocol and to get the information for its tunnel. When it receives the information for the tunnel, the Gateway6 client creates the static tunnel on its operating system</longdescription>
	<use>
		<flag name="radvd">Enable support for <pkg>net-misc/radvd</pkg></flag>
	</use>
</pkgmetadata>






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

only message in thread, other threads:[~2009-06-03 15:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-03 15:06 [gentoo-commits] gentoo-x86 commit in net-misc/gateway6: gateway6-6.0.ebuild ChangeLog gateway6-5.1.ebuild metadata.xml Bernard Cafarelli (voyageur)

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