diff options
author | Roy Marples <uberlord@gentoo.org> | 2007-04-22 17:30:41 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2007-04-22 17:30:41 +0000 |
commit | 82006e3c8e3e38b1ac7c14e367d62861dd7b09bf (patch) | |
tree | 79a019cb6aa19bd5736e2c574b00c2171553b9c5 /sys-apps/ifplugd | |
parent | newins -> newconfd, #174266. (diff) | |
download | historical-82006e3c8e3e38b1ac7c14e367d62861dd7b09bf.tar.gz historical-82006e3c8e3e38b1ac7c14e367d62861dd7b09bf.tar.bz2 historical-82006e3c8e3e38b1ac7c14e367d62861dd7b09bf.zip |
Punt old versions
Package-Manager: portage-2.1.2.4
Diffstat (limited to 'sys-apps/ifplugd')
-rw-r--r-- | sys-apps/ifplugd/Manifest | 22 | ||||
-rw-r--r-- | sys-apps/ifplugd/files/digest-ifplugd-0.28-r5 | 3 | ||||
-rw-r--r-- | sys-apps/ifplugd/files/digest-ifplugd-0.28-r6 | 3 | ||||
-rw-r--r-- | sys-apps/ifplugd/files/ifplugd.conf | 64 | ||||
-rw-r--r-- | sys-apps/ifplugd/files/ifplugd.init | 164 | ||||
-rw-r--r-- | sys-apps/ifplugd/ifplugd-0.28-r5.ebuild | 50 | ||||
-rw-r--r-- | sys-apps/ifplugd/ifplugd-0.28-r6.ebuild | 51 |
7 files changed, 0 insertions, 357 deletions
diff --git a/sys-apps/ifplugd/Manifest b/sys-apps/ifplugd/Manifest index 96fb48d4609a..4d63d94dd865 100644 --- a/sys-apps/ifplugd/Manifest +++ b/sys-apps/ifplugd/Manifest @@ -14,23 +14,7 @@ AUX ifplugd.action 891 RMD160 1ee45a699b2402598cc4c6a18a3d294c4914a105 SHA1 e59b MD5 e6174a8e4c2c6b451d78267453379a51 files/ifplugd.action 891 RMD160 1ee45a699b2402598cc4c6a18a3d294c4914a105 files/ifplugd.action 891 SHA256 55c88d2c773bc242e81f9fe310cd48999e69543fa8e0b2389c054e8890260015 files/ifplugd.action 891 -AUX ifplugd.conf 2255 RMD160 7cac216a7c37a041426668b5ccfe827ff702e976 SHA1 ef32d9e2f69220b9236520e3fc534614e539b78b SHA256 d318c611efa481ab845112c12af0242093219633a980b722c14d06c1eabe5875 -MD5 aaff46e0cdc7f78ba616e8093700cadf files/ifplugd.conf 2255 -RMD160 7cac216a7c37a041426668b5ccfe827ff702e976 files/ifplugd.conf 2255 -SHA256 d318c611efa481ab845112c12af0242093219633a980b722c14d06c1eabe5875 files/ifplugd.conf 2255 -AUX ifplugd.init 4237 RMD160 079baef3c50c287122e19b64ee697813770508e4 SHA1 9cda4fe53e969b924d24f0440e77fac32571e662 SHA256 854926883a73744574463a98b1b11234efb4c9d1e73ba0e3466f00ff9e970554 -MD5 518fd2b1b26794a727e1da6243866c11 files/ifplugd.init 4237 -RMD160 079baef3c50c287122e19b64ee697813770508e4 files/ifplugd.init 4237 -SHA256 854926883a73744574463a98b1b11234efb4c9d1e73ba0e3466f00ff9e970554 files/ifplugd.init 4237 DIST ifplugd-0.28.tar.gz 142677 RMD160 09914a1914a4432822bb660d6aef194debe688f1 SHA1 0f00e6b544c0b7ed6c66fc58cb74f038d3fba77a SHA256 474754ac4ab32d738cbf2a4a3e87ee0a2c71b9048a38bdcd7df1e4f9fd6541f0 -EBUILD ifplugd-0.28-r5.ebuild 1326 RMD160 0a7c2d51b6629611717c1d285b1b61ef7d7598af SHA1 c952cb38fe4ab7685e194d64ea641d1e276565e4 SHA256 dd959b2b28da61ee19f613c60ee4ee2a14d18ddaeb2d8c417b84cc4365f6efd9 -MD5 db8e3e67f45bdd5d06bcdba1387708aa ifplugd-0.28-r5.ebuild 1326 -RMD160 0a7c2d51b6629611717c1d285b1b61ef7d7598af ifplugd-0.28-r5.ebuild 1326 -SHA256 dd959b2b28da61ee19f613c60ee4ee2a14d18ddaeb2d8c417b84cc4365f6efd9 ifplugd-0.28-r5.ebuild 1326 -EBUILD ifplugd-0.28-r6.ebuild 1366 RMD160 14d00ea7cb9e0598555d4320b4b10f35dff597eb SHA1 0850cd62294802170bed38806a206db6ad6fb9e7 SHA256 30e930f12eb193bf21c907c471ecf4c423211a38fc75157d98f9c4fd9fa2aae6 -MD5 ff18fe054b30d32d99c20c4c3244cebd ifplugd-0.28-r6.ebuild 1366 -RMD160 14d00ea7cb9e0598555d4320b4b10f35dff597eb ifplugd-0.28-r6.ebuild 1366 -SHA256 30e930f12eb193bf21c907c471ecf4c423211a38fc75157d98f9c4fd9fa2aae6 ifplugd-0.28-r6.ebuild 1366 EBUILD ifplugd-0.28-r7.ebuild 1883 RMD160 3b255c638b118e94a53e2eb5dbc68a07c89d665a SHA1 7a42bc536c21d67b3e59870b985a3fe1c531146a SHA256 4ac56a354b00e062297bd98760d0decad9c2b60dbd23928d32ff882dc61e9b66 MD5 6901ce1b9eb864e0fece7e0f7e6f35ea ifplugd-0.28-r7.ebuild 1883 RMD160 3b255c638b118e94a53e2eb5dbc68a07c89d665a ifplugd-0.28-r7.ebuild 1883 @@ -47,12 +31,6 @@ MISC metadata.xml 359 RMD160 a6e7020e754414ebf691db22495b6adf36c080dc SHA1 bfd0c MD5 d13433a9981e2386ff10934a71b003a6 metadata.xml 359 RMD160 a6e7020e754414ebf691db22495b6adf36c080dc metadata.xml 359 SHA256 c2255a7d82e88d539b6acdb44db885d353f8943602c36acbe256910d776ec955 metadata.xml 359 -MD5 83ebee09d9faecc03912ee8631d7f372 files/digest-ifplugd-0.28-r5 238 -RMD160 f0dc5bf3ea7253ad7658562a12c7d2ed991069f1 files/digest-ifplugd-0.28-r5 238 -SHA256 b94ae260a7fcdbd983c2809b8df46f528f65e42a61fa3402316fb67bb17939e5 files/digest-ifplugd-0.28-r5 238 -MD5 83ebee09d9faecc03912ee8631d7f372 files/digest-ifplugd-0.28-r6 238 -RMD160 f0dc5bf3ea7253ad7658562a12c7d2ed991069f1 files/digest-ifplugd-0.28-r6 238 -SHA256 b94ae260a7fcdbd983c2809b8df46f528f65e42a61fa3402316fb67bb17939e5 files/digest-ifplugd-0.28-r6 238 MD5 83ebee09d9faecc03912ee8631d7f372 files/digest-ifplugd-0.28-r7 238 RMD160 f0dc5bf3ea7253ad7658562a12c7d2ed991069f1 files/digest-ifplugd-0.28-r7 238 SHA256 b94ae260a7fcdbd983c2809b8df46f528f65e42a61fa3402316fb67bb17939e5 files/digest-ifplugd-0.28-r7 238 diff --git a/sys-apps/ifplugd/files/digest-ifplugd-0.28-r5 b/sys-apps/ifplugd/files/digest-ifplugd-0.28-r5 deleted file mode 100644 index d58875572dca..000000000000 --- a/sys-apps/ifplugd/files/digest-ifplugd-0.28-r5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 df6f4bab52f46ffd6eb1f5912d4ccee3 ifplugd-0.28.tar.gz 142677 -RMD160 09914a1914a4432822bb660d6aef194debe688f1 ifplugd-0.28.tar.gz 142677 -SHA256 474754ac4ab32d738cbf2a4a3e87ee0a2c71b9048a38bdcd7df1e4f9fd6541f0 ifplugd-0.28.tar.gz 142677 diff --git a/sys-apps/ifplugd/files/digest-ifplugd-0.28-r6 b/sys-apps/ifplugd/files/digest-ifplugd-0.28-r6 deleted file mode 100644 index d58875572dca..000000000000 --- a/sys-apps/ifplugd/files/digest-ifplugd-0.28-r6 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 df6f4bab52f46ffd6eb1f5912d4ccee3 ifplugd-0.28.tar.gz 142677 -RMD160 09914a1914a4432822bb660d6aef194debe688f1 ifplugd-0.28.tar.gz 142677 -SHA256 474754ac4ab32d738cbf2a4a3e87ee0a2c71b9048a38bdcd7df1e4f9fd6541f0 ifplugd-0.28.tar.gz 142677 diff --git a/sys-apps/ifplugd/files/ifplugd.conf b/sys-apps/ifplugd/files/ifplugd.conf deleted file mode 100644 index f408e1bde044..000000000000 --- a/sys-apps/ifplugd/files/ifplugd.conf +++ /dev/null @@ -1,64 +0,0 @@ -# -*-sh-*- -# $Id: ifplugd.conf,v 1.1 2005/09/01 15:33:28 uberlord Exp $ - -# This file is part of ifplugd. -# -# ifplugd is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the Free -# Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# -# ifplugd is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# for more details. -# -# You should have received a copy of the GNU General Public License -# along with ifplugd; if not, write to the Free Software Foundation, -# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. - -# ifplugd configuration file - -# Please note that this is a bourne shell fragment sourced by the -# init script of ifplugd. - -# Specify the interfaces to control here, separated by spaces. -# Ifplugd processes will be started for each of these interfaces when -# the ifplugd init script is called with the "start" argument. -# If INTERFACES is not set then ifplugd processes ALL interfaces that are -# available according to /proc/net/dev -# Note that the list of interfaces appearing in /proc/net/dev may depend on -# which kernel modules you have loaded. -INTERFACES="" - -# If INTERFACES is not set above, then when WIRELESS_INTERFACES="no" then -# all interfaces found in /proc/net/wireless are excluded from ifplugd -WIRELESS_INTERFACES="no" - -# Additional parameters for ifplugd. -# See manual page ifplugd.8 for details. -# I recommend a delay of 0, both ways, since then, you can swap ethernet -# cables on different networks and get a new ip address. -# None of the programs I tested had a problem with the interface being -# gone in the mean time. -AUTO="no" -BEEP="yes" -IGNORE_FAIL="yes" -IGNORE_FAIL_POSITIVE="no" -IGNORE_RETVAL="yes" -POLL_TIME="1" -DELAY_UP="0" -DELAY_DOWN="0" -API_MODE="auto" -SHUTDOWN="no" -WAIT_ON_FORK="no" -MONITOR="no" -ARGS="" - -# Additional parameters for ifplugd for the specified interface. Note that -# the global variable is ignored, when a variable like this is set for an -# interface -# MONITOR_wlan0="yes" -# DELAY_UP_wlan0="5" -# DELAY_DOWN_wlan0="5" - diff --git a/sys-apps/ifplugd/files/ifplugd.init b/sys-apps/ifplugd/files/ifplugd.init deleted file mode 100644 index 40082b104884..000000000000 --- a/sys-apps/ifplugd/files/ifplugd.init +++ /dev/null @@ -1,164 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/files/ifplugd.init,v 1.4 2006/04/06 12:23:08 uberlord Exp $ - -#NB: Config is in /etc/conf.d/ifplugd - -depend() { - use pcmcia -} - -opts="stop start status" - -get_start_interfaces() { - if [[ -n ${INTERFACES} ]]; then - echo "${INTERFACES}" - return - fi - - INTERFACES=" $(sed -n -e 's/^[ \t]*\(.*\):.*/\1/p' /proc/net/dev | xargs) " - local exclude iface - if [[ -f /proc/net/wireless && ${WIRELESS_INTERFACES} == "no" ]]; then - exclude="$(sed -n -e 's/^[ \t]*\(.*\):.*/\1/p' /proc/net/wireless \ - | xargs)" - fi - - # Exclude ifplugd started by other scripts - like net.xxx - if [[ -d "${svcdir}/daemons" ]]; then - exclude="${exclude} $( - grep "\"/var/run/ifplugd.*.pid\"" "${svcdir}"/daemons/* 2>/dev/null \ - | grep -v "${svcdir}/daemons/ifplugd:" \ - | sed -n -e 's/.*ifplugd\.\(.*\)\.pid.*/\1/p' - )" - fi - - exclude=" lo ${exclude} " - for iface in ${exclude}; do - INTERFACES="${INTERFACES// ${iface} / }" - done - echo "${INTERFACES}" -} - -get_running_interfaces() { - local exclude="" INTERFACES="$( - cd /var/run - ls ifplugd.*.pid 2>/dev/null | sed -n -e 's/^ifplugd.\(.*\).pid$/\1/p' | xargs - )" - if [[ -d "${svcdir}/daemons" ]]; then - local exclude=$( - grep "\"/var/run/ifplugd.*.pid\"" "${svcdir}"/daemons/* 2>/dev/null \ - | grep -v "${svcdir}/daemons/ifplugd:" \ - | sed -n -e 's/.*ifplugd\.\(.*\)\.pid.*/\1/p' - ) - fi - - INTERFACES=" ${INTERFACES} " - for iface in ${exclude}; do - INTERFACES=${INTERFACES// ${iface} / } - done - echo "${INTERFACES}" -} - -# Check if an option is set for a given interface. -# $1 is interface, $2 is option name, $3 is preset -is_set() { - [[ $(get_opt "$@") == "yes" ]] -} - -# Expand an option value for a given interface. -# $1 is interface, $2 is option name, $3 is preset -get_opt() { - local iface="$1" option="$2" preset="$3" - eval preset=\"\${${option}:=${preset}}\" - eval echo \"\${${option}_${iface}:=${preset}}\" -} - -# Handle starting for all interfaces -start() { - local iface oneworked=false - - einfo "Starting ifplugd: " - eindent - - for iface in $(get_start_interfaces); do - ebegin "${iface}" - local args="" pidfile="/var/run/ifplugd.${iface}.pid" - - if [[ -e ${pidfile} ]] ; then - local running=false - if [[ $(type -t is_daemon_running) == "function" ]] ; then - is_daemon_running /usr/sbin/ifplugd "${pidfile}" && running=true - else - local pid="$(< "${pidfile}")" - [[ " $(pidof /sbin/ifplugd) " == *" ${pid} "* ]] && running=true - fi - if ${running} ; then - eindent - einfo "ifplugd is already running on ${iface}" - eend 0 - eoutdent - oneworked=true - continue - fi - fi - - is_set "${iface}" AUTO yes || args="${args}a" - is_set "${iface}" BEEP yes || args="${args}b" - is_set "${iface}" IGNORE_FAIL yes && args="${args}f" - is_set "${iface}" IGNORE_FAIL_POSITIVE yes || args="${args}F" - is_set "${iface}" IGNORE_RETVAL yes && args="${args}I" - is_set "${iface}" SHUTDOWN yes || args="${args}q" - is_set "${iface}" WAIT_ON_FORK yes && args="${args}w" - is_set "${iface}" MONITOR yes || args="${args}M" - - [[ -n ${args} ]] && args="-${args}" - - args="${args} -t$(get_opt "${iface}" POLL_TIME 1)" - args="${args} -u$(get_opt "${iface}" DELAY_UP 0)" - args="${args} -d$(get_opt "${iface}" DELAY_DOWN 5)" - args="${args} -m$(get_opt "${iface}" API_MODE auto)" - args="${args} $(get_opt "${iface}" ARGS '')" - - start-stop-daemon --start --exec /usr/sbin/ifplugd \ - --pidfile "/var/run/ifplugd.${iface}.pid" \ - -- --iface="${iface}" ${args} - local r="$?" - if is_set "${iface}" WAIT_ON_FORK yes ; then - [[ ${r} -le 2 ]] - else - [[ ${r} == "0" ]] - fi - eend $? && oneworked=true - done - - ${oneworked} -} - -stop() { - local iface allstopped=true - - einfo "Stopping ifplugd: " - eindent - - for iface in $(get_running_interfaces); do - ebegin "${iface}" - start-stop-daemon --stop --exec /usr/sbin/ifplugd \ - --pidfile "/var/run/ifplugd.${iface}.pid" - eend $? || allstopped=false - done - - ${allstopped} -} - -status() { - local iface - - service_started "${myservice}" || return 0 - - for iface in $(get_running_interfaces); do - einfo "$(/usr/sbin/ifplugstatus ${iface})" - done -} - -# vim:ts=4 diff --git a/sys-apps/ifplugd/ifplugd-0.28-r5.ebuild b/sys-apps/ifplugd/ifplugd-0.28-r5.ebuild deleted file mode 100644 index 6c8079392325..000000000000 --- a/sys-apps/ifplugd/ifplugd-0.28-r5.ebuild +++ /dev/null @@ -1,50 +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-r5.ebuild,v 1.1 2006/04/06 12:23:08 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" - -src_unpack() { - unpack "${A}" - cd "${S}" - epatch "${FILESDIR}/${P}-nlapi.diff" -} - -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" - - # Fix init.d configuration - rm -rf "${D}/etc/ifplugd" "${D}/etc/init.d/${PN}" - - insinto /etc/conf.d ; newins "${FILESDIR}/${PN}.conf" "${PN}" || die - exeinto /etc/init.d ; newexe "${FILESDIR}/${PN}.init" "${PN}" || die - 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} -} diff --git a/sys-apps/ifplugd/ifplugd-0.28-r6.ebuild b/sys-apps/ifplugd/ifplugd-0.28-r6.ebuild deleted file mode 100644 index 65fa1a75eaa7..000000000000 --- a/sys-apps/ifplugd/ifplugd-0.28-r6.ebuild +++ /dev/null @@ -1,51 +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-r6.ebuild,v 1.4 2006/09/09 23:17:25 ticho 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" - - # Fix init.d configuration - rm -rf "${D}/etc/ifplugd" "${D}/etc/init.d/${PN}" - - insinto /etc/conf.d ; newins "${FILESDIR}/${PN}.conf" "${PN}" || die - exeinto /etc/init.d ; newexe "${FILESDIR}/${PN}.init" "${PN}" || die - 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} -} |