From: "Diego Petteno (flameeyes)" <flameeyes@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/gogoc: gogoc-1.2-r1.ebuild ChangeLog gogoc-1.2.ebuild
Date: Mon, 11 Oct 2010 23:00:39 +0000 (UTC) [thread overview]
Message-ID: <20101011230039.0E92C2004C@flycatcher.gentoo.org> (raw)
flameeyes 10/10/11 23:00:39
Modified: ChangeLog
Added: gogoc-1.2-r1.ebuild
Removed: gogoc-1.2.ebuild
Log:
Polish around some of the problems found while trying to run this in production.
(Portage version: 2.2_rc92/cvs/Linux x86_64)
Revision Changes Path
1.2 net-misc/gogoc/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/gogoc/ChangeLog?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/gogoc/ChangeLog?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/gogoc/ChangeLog?r1=1.1&r2=1.2
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/gogoc/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog 11 Oct 2010 21:34:24 -0000 1.1
+++ ChangeLog 11 Oct 2010 23:00:38 -0000 1.2
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/gogoc
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gogoc/ChangeLog,v 1.1 2010/10/11 21:34:24 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gogoc/ChangeLog,v 1.2 2010/10/11 23:00:38 flameeyes Exp $
+
+*gogoc-1.2-r1 (11 Oct 2010)
+
+ 11 Oct 2010; Diego E. Pettenò <flameeyes@gentoo.org> -gogoc-1.2.ebuild,
+ +gogoc-1.2-r1.ebuild, files/gogoc.rc:
+ Polish around some of the problems found while trying to run this in
+ production.
*gogoc-1.2 (11 Oct 2010)
1.1 net-misc/gogoc/gogoc-1.2-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/gogoc/gogoc-1.2-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/gogoc/gogoc-1.2-r1.ebuild?rev=1.1&content-type=text/plain
Index: gogoc-1.2-r1.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/gogoc/gogoc-1.2-r1.ebuild,v 1.1 2010/10/11 23:00:38 flameeyes Exp $
EAPI=2
inherit eutils versionator toolchain-funcs
MY_P=${PN}-$(replace_all_version_separators "_")
if [[ ${MY_P/_beta/} != ${MY_P} ]]; then
MY_P=${MY_P/_beta/-BETA}
else
MY_P=${MY_P}-RELEASE
fi
DESCRIPTION="Client to connect to a tunnel broker using the TSP protocol (freenet6 for example)"
HOMEPAGE="http://gogonet.gogo6.com/page/download-1"
SRC_URI="http://gogo6.com/downloads/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug"
DEPEND="dev-libs/openssl"
RDEPEND="${DEPEND}
sys-apps/iproute2"
S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}"/${P}-overflow.patch
# Make the makefile handle linking correctly
find . -name Makefile -exec sed -i \
-e 's:LDFLAGS:LDLIBS:g' \
-e '/\$(LDLIBS)/s:-o:$(LDFLAGS) -o:' \
{} + || die "multised failed"
sed -i -e 's:/usr/local/etc/gogoc:/etc/gogoc:' \
gogoc-tsp/platform/*/tsp_local.c \
|| die "sed failed"
}
src_configure() { :; }
src_compile() {
# parallel make fails as inter-directory dependecies are missing.
emake -j1 \
AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getCXX)" \
EXTRA_CFLAGS="${CFLAGS}" EXTRA_CXXFLAGS="${CXXFLAGS}" \
$(use debug && echo DEBUG=1) \
all target=linux || die "Build Failed"
emake -C gogoc-tsp/conf \
PLATFORM=linux PLATFORM_DIR=../platform BIN_DIR=../bin \
gogoc.conf.sample || die
}
src_install() {
cd "${S}"/gogoc-tsp
dosbin bin/gogoc || die
dodoc bin/gogoc.conf.sample || die
exeinto /etc/gogoc/template
doexe template/linux.sh || die
newinitd "${FILESDIR}"/gogoc.rc gogoc || die
doman man/{man5/gogoc.conf.5,man8/gogoc.8} || die
keepdir /var/lib/gogoc || die
diropts -m0700
keepdir /etc/gogoc || die
}
pkg_postinst() {
elog "You should create an /etc/gogoc/gogoc.conf file starting from"
elog "the sample configuration in /usr/share/doc/${PF}/gogo.conf.sample.*"
elog ""
elog "To add support for a TSP IPv6 connection at startup,"
elog "remember to run:"
elog "# rc-update add gogoc default"
}
reply other threads:[~2010-10-11 23:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101011230039.0E92C2004C@flycatcher.gentoo.org \
--to=flameeyes@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox