public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ned Ludd (solar)" <solar@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/netplug: ChangeLog netplug-1.2.9-r4.ebuild
Date: Sat, 20 Sep 2008 14:52:44 +0000	[thread overview]
Message-ID: <E1Kh3pE-0004wi-Vt@stork.gentoo.org> (raw)

solar       08/09/20 14:52:44

  Modified:             ChangeLog
  Added:                netplug-1.2.9-r4.ebuild
  Log:
  - keyword ~arm. fix cflags settings and make cross compile aware.
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.15                 sys-apps/netplug/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/netplug/ChangeLog?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/netplug/ChangeLog?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/netplug/ChangeLog?r1=1.14&r2=1.15

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/netplug/ChangeLog,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ChangeLog	25 Dec 2007 16:34:41 -0000	1.14
+++ ChangeLog	20 Sep 2008 14:52:44 -0000	1.15
@@ -1,6 +1,11 @@
 # ChangeLog for sys-apps/netplug
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/netplug/ChangeLog,v 1.14 2007/12/25 16:34:41 phreak Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/netplug/ChangeLog,v 1.15 2008/09/20 14:52:44 solar Exp $
+
+*netplug-1.2.9-r4 (20 Sep 2008)
+
+  20 Sep 2008; <solar@gentoo.org> +netplug-1.2.9-r4.ebuild:
+  - keyword ~arm. fix cflags settings and make cross compile aware.
 
   25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
   Removing uberlord from metadata.xml as per #199318. Assigning to



1.1                  sys-apps/netplug/netplug-1.2.9-r4.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/netplug/netplug-1.2.9-r4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/netplug/netplug-1.2.9-r4.ebuild?rev=1.1&content-type=text/plain

Index: netplug-1.2.9-r4.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/netplug/netplug-1.2.9-r4.ebuild,v 1.1 2008/09/20 14:52:44 solar Exp $

inherit eutils toolchain-funcs
DESCRIPTION="Brings up/down ethernet ports automatically with cable detection"
HOMEPAGE="http://www.red-bean.com/~bos/"
SRC_URI="http://www.red-bean.com/~bos/netplug/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~arm"
IUSE=""

hax_bitkeeper() {
	# the makefiles have support for bk ...
	# basically we have to do this or bk will try to write
	# to files in /opt/bitkeeper causing sandbox violations ;(
	mkdir "${T}/fakebin"
	echo "#!/bin/sh"$'\n'"exit 1" > "${T}/fakebin/bk"
	chmod a+x "${T}/fakebin/bk"
	export PATH="${T}/fakebin:${PATH}"
}

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

	# Remove debugging from Makefile
	# Remove -O3 if we have -O[0-9,s] in our CFLAGS
	local remove=" -ggdb3 "
	[[ " ${CFLAGS} " == *" -O"[0-9,s]" "* ]] && remove="${remove}-O3 "
	sed -i -e "s/${remove}/ /" Makefile

	# Use correct structure for getsockname arg 3
	epatch "${FILESDIR}/${P}-gcc4.patch"

	# Remove nested functions, #116140
	epatch "${FILESDIR}/${P}-remove-nest.patch"

	# Ignore wireless events
	epatch "${FILESDIR}/${P}-ignore-wireless.patch"
}

src_compile() {
	tc-export CC
	hax_bitkeeper
	make CC="${CC}" || die "emake failed"
}

src_install() {
	into /
	dosbin netplugd
	doman man/man8/netplugd.8

	dodir /etc/netplug.d
	exeinto /etc/netplug.d
	doexe "${FILESDIR}/netplug"

	dodir /etc/netplug
	echo "eth*" > "${D}"/etc/netplug/netplugd.conf
}






             reply	other threads:[~2008-09-20 14:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-20 14:52 Ned Ludd (solar) [this message]
     [not found] <E1L5p72-00063T-7W@stork.gentoo.org>
2008-11-27 22:13 ` [gentoo-commits] gentoo-x86 commit in sys-apps/netplug: ChangeLog netplug-1.2.9-r4.ebuild Raul Porcel (armin76)

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=E1Kh3pE-0004wi-Vt@stork.gentoo.org \
    --to=solar@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