public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Roy Marples (uberlord)" <uberlord@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/ifplugd: ChangeLog ifplugd-0.28-r9.ebuild
Date: Fri, 02 Nov 2007 11:16:42 +0000	[thread overview]
Message-ID: <E1InuW2-00068p-HF@stork.gentoo.org> (raw)

uberlord    07/11/02 11:16:42

  Modified:             ChangeLog
  Added:                ifplugd-0.28-r9.ebuild
  Log:
  ifplugd now works on kernels without IP, #197791 thanks to Alon Bar-Lev.
  (Portage version: 2.1.3.16)

Revision  Changes    Path
1.46                 sys-apps/ifplugd/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ChangeLog,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- ChangeLog	26 Jul 2007 10:37:21 -0000	1.45
+++ ChangeLog	2 Nov 2007 11:16:41 -0000	1.46
@@ -1,6 +1,12 @@
 # ChangeLog for sys-apps/ifplugd
 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ChangeLog,v 1.45 2007/07/26 10:37:21 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ChangeLog,v 1.46 2007/11/02 11:16:41 uberlord Exp $
+
+*ifplugd-0.28-r9 (02 Nov 2007)
+
+  02 Nov 2007; Roy Marples <uberlord@gentoo.org>
+  +files/ifplugd-0.28-noip.patch, +ifplugd-0.28-r9.ebuild:
+  ifplugd now works on kernels without IP, #197791 thanks to Alon Bar-Lev.
 
   26 Jul 2007; Roy Marples <uberlord@gentoo.org> ifplugd-0.28-r8.ebuild:
   RDEPEND on baselayout-1.12, #186418 thanks to Cameron Maxwell.



1.1                  sys-apps/ifplugd/ifplugd-0.28-r9.ebuild

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

Index: ifplugd-0.28-r9.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild,v 1.1 2007/11/02 11:16:41 uberlord Exp $

inherit eutils

DESCRIPTION="Brings up/down ethernet ports automatically with cable detection"
HOMEPAGE="http://0pointer.de/lennart/projects/ifplugd/"
SRC_URI="http://0pointer.de/lennart/projects/ifplugd/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc"

DEPEND="dev-util/pkgconfig
	doc? ( www-client/lynx )
	>=dev-libs/libdaemon-0.5"
RDEPEND=">=dev-libs/libdaemon-0.5
	>=sys-apps/baselayout-1.12"

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}/${P}-nlapi.diff"
	epatch "${FILESDIR}/${P}-interface.patch"
	epatch "${FILESDIR}/${P}-strictalias.patch"
	epatch "${FILESDIR}/${P}-noip.patch"
}

src_compile() {
	econf $(use_enable doc lynx) \
		--with-initdir=/etc/init.d \
		--disable-xmltoman \
		--disable-subversion \
		|| die "econf failed"
	emake || die "emake failed"
}

src_install() {
	make DESTDIR="${D}" install || die "make install failed"

	# Remove init.d configuration as we no longer use it
	rm -rf "${D}/etc/ifplugd" "${D}/etc/init.d/${PN}"

	dodir "/etc/${PN}"
	exeinto "/etc/${PN}"
	newexe "${FILESDIR}/${PN}.action" "${PN}.action" || die

	cd "${S}/doc"
	dodoc README SUPPORTED_DRIVERS
	use doc && dohtml *.html *.css
}

pkg_postinst() {
	# Warn about old init script
	einfo "baselayout now starts ifplugd automatically on wired interfaces"
	einfo "If you do not want this behaviour then add !plug to your modules"
	einfo "in /etc/conf.d/net like so"
	einfo "   modules=( \"!plug\" )"

	if [ -e "${ROOT}/etc/init.d/ifplugd" -o -e "${ROOT}/etc/conf.d/ifplugd" ] ; then
		echo
		ewarn "You should stop the ifplugd service now and remove its init"
		ewarn "script and config file"
		if [ "${ROOT}" = "/" ] ; then
			ewarn "   /etc/init.d/ifplugd stop"
			ewarn "   rc-update del ifplugd"
			ewarn "   rm -f /etc/{conf,init}.d/ifplugd"
		fi
	fi
}



-- 
gentoo-commits@gentoo.org mailing list



             reply	other threads:[~2007-11-02 11:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02 11:16 Roy Marples (uberlord) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-12-14  5:50 [gentoo-commits] gentoo-x86 commit in sys-apps/ifplugd: ChangeLog ifplugd-0.28-r9.ebuild Christian Faulhammer (opfer)
2007-12-16 13:27 Gysbert Wassenaar (nixnut)
2007-12-16 17:30 Samuli Suominen (drac)
2008-02-05 18:06 Jeroen Roovers (jer)
2011-12-28 14:41 Fabio Erculiani (lxnay)
2011-12-28 14:47 Tomas Chvatal (scarabeus)

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=E1InuW2-00068p-HF@stork.gentoo.org \
    --to=uberlord@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