summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2018-05-21 22:31:20 +0300
committerMikle Kolyada <zlogene@gentoo.org>2018-05-21 22:31:20 +0300
commitd43b798be03d8f1f0a10d7cd12433bc227efc8ca (patch)
treeb972269dfb36371887758b62be2035b2e87c3b36
parentx11-wm/cwm: Drop old (diff)
downloadgentoo-d43b798be03d8f1f0a10d7cd12433bc227efc8ca.tar.gz
gentoo-d43b798be03d8f1f0a10d7cd12433bc227efc8ca.tar.bz2
gentoo-d43b798be03d8f1f0a10d7cd12433bc227efc8ca.zip
sys-apps/ifplugd: Drop old
Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r--sys-apps/ifplugd/ifplugd-0.28-r9.ebuild70
1 files changed, 0 insertions, 70 deletions
diff --git a/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild b/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild
deleted file mode 100644
index a3a9bd0112fc..000000000000
--- a/sys-apps/ifplugd/ifplugd-0.28-r9.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-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="~arm amd64 hppa ppc x86"
-IUSE="doc selinux"
-
-DEPEND="virtual/pkgconfig
- doc? ( www-client/lynx )
- >=dev-libs/libdaemon-0.5"
-RDEPEND=">=dev-libs/libdaemon-0.5
- >=sys-apps/baselayout-1.12
- selinux? ( sec-policy/selinux-ifplugd )"
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-nlapi.diff"
- epatch "${FILESDIR}/${P}-interface.patch"
- epatch "${FILESDIR}/${P}-strictalias.patch"
- epatch "${FILESDIR}/${P}-noip.patch"
-}
-
-src_configure() {
- econf \
- $(use_enable doc lynx) \
- --with-initdir=/etc/init.d \
- --disable-xmltoman \
- --disable-subversion
-}
-
-src_install() {
- default
-
- # Remove init.d configuration as we no longer use it
- rm -rf "${D}/etc/ifplugd" "${D}/etc/init.d/${PN}"
-
- exeinto "/etc/${PN}"
- newexe "${FILESDIR}/${PN}.action" "${PN}.action"
-
- 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
-}