public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-apps/netplug: ChangeLog netplug-1.2.9-r4.ebuild
@ 2008-09-20 14:52 Ned Ludd (solar)
  0 siblings, 0 replies; 2+ messages in thread
From: Ned Ludd (solar) @ 2008-09-20 14:52 UTC (permalink / raw
  To: gentoo-commits

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
}






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-27 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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)
2008-09-20 14:52 Ned Ludd (solar)

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