summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-02-07 12:42:55 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-02-07 12:42:55 +0000
commita86575fbb4cd16b3e25809dd9df5b17c4ab2491e (patch)
tree4ad48c8fddf22ccc61cc064bc5eff56daba4473a /sys-apps/ifplugd
parentfix bug 209164 thanks to Harald van Dijk <truedfx@gentoo.org> (diff)
downloadgentoo-2-a86575fbb4cd16b3e25809dd9df5b17c4ab2491e.tar.gz
gentoo-2-a86575fbb4cd16b3e25809dd9df5b17c4ab2491e.tar.bz2
gentoo-2-a86575fbb4cd16b3e25809dd9df5b17c4ab2491e.zip
old
(Portage version: 2.1.3.19)
Diffstat (limited to 'sys-apps/ifplugd')
-rw-r--r--sys-apps/ifplugd/ifplugd-0.28-r7.ebuild69
-rw-r--r--sys-apps/ifplugd/ifplugd-0.28-r8.ebuild72
2 files changed, 0 insertions, 141 deletions
diff --git a/sys-apps/ifplugd/ifplugd-0.28-r7.ebuild b/sys-apps/ifplugd/ifplugd-0.28-r7.ebuild
deleted file mode 100644
index 3ccd3f6dff6f..000000000000
--- a/sys-apps/ifplugd/ifplugd-0.28-r7.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ifplugd-0.28-r7.ebuild,v 1.4 2006/10/03 21:48:52 wolf31o2 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"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-nlapi.diff"
- epatch "${FILESDIR}/${P}-interface.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" \
- || -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
-}
diff --git a/sys-apps/ifplugd/ifplugd-0.28-r8.ebuild b/sys-apps/ifplugd/ifplugd-0.28-r8.ebuild
deleted file mode 100644
index cc56e3eaae05..000000000000
--- a/sys-apps/ifplugd/ifplugd-0.28-r8.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# 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-r8.ebuild,v 1.2 2007/07/26 10:37:21 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"
-}
-
-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" \
- || -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
-}