diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-06-05 10:29:56 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-06-05 10:29:56 +0000 |
commit | dfd4d296828c5f68736cc6800441f17c8ee7e42d (patch) | |
tree | a0c347fc759888f62a706a3fad93177cea7d55fe /sys-apps/ifplugd | |
parent | Version bump. (diff) | |
download | historical-dfd4d296828c5f68736cc6800441f17c8ee7e42d.tar.gz historical-dfd4d296828c5f68736cc6800441f17c8ee7e42d.tar.bz2 historical-dfd4d296828c5f68736cc6800441f17c8ee7e42d.zip |
Version bump.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'sys-apps/ifplugd')
-rw-r--r-- | sys-apps/ifplugd/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/ifplugd/Manifest | 11 | ||||
-rw-r--r-- | sys-apps/ifplugd/files/digest-ifplugd-0.28 | 1 | ||||
-rw-r--r-- | sys-apps/ifplugd/files/ifplugd-0.28-gentoo.diff | 24 | ||||
-rw-r--r-- | sys-apps/ifplugd/ifplugd-0.28.ebuild | 53 |
5 files changed, 92 insertions, 5 deletions
diff --git a/sys-apps/ifplugd/ChangeLog b/sys-apps/ifplugd/ChangeLog index b06fa204f391..12fe3133157a 100644 --- a/sys-apps/ifplugd/ChangeLog +++ b/sys-apps/ifplugd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/ifplugd # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ChangeLog,v 1.22 2005/05/06 11:55:13 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ChangeLog,v 1.23 2005/06/05 10:29:56 ka0ttic Exp $ + +*ifplugd-0.28 (04 Jun 2005) + + 04 Jun 2005; Aaron Walker <ka0ttic@gentoo.org> + +files/ifplugd-0.28-gentoo.diff, +ifplugd-0.28.ebuild: + Version bump. 06 May 2005; Aaron Walker <ka0ttic@gentoo.org> ifplugd-0.27.ebuild: Stable on x86. diff --git a/sys-apps/ifplugd/Manifest b/sys-apps/ifplugd/Manifest index d5182e5eaab0..4370f8dbacf5 100644 --- a/sys-apps/ifplugd/Manifest +++ b/sys-apps/ifplugd/Manifest @@ -1,26 +1,29 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +MD5 8671f0af7a98fb190f6f9c3ba2902d5a ifplugd-0.28.ebuild 1446 MD5 06eb9f949f16d25868b04222405798df ifplugd-0.25.ebuild 1679 MD5 9835f287dd724e9e86f4890ad42f609b ifplugd-0.13-r1.ebuild 962 MD5 cce9d1059b50c18761eb59cad6804f9c ifplugd-0.27.ebuild 1452 MD5 937bc5d89438a647988f8e77b4215f69 ifplugd-0.26-r1.ebuild 1446 -MD5 b3bb6a0620426488aba45e860ce4604b ChangeLog 3964 +MD5 f99cf332013018dd828ab242693b4985 ChangeLog 4116 MD5 f452b142802fc6ec5d75004af15d01e6 metadata.xml 258 MD5 0f11772693878629fb851b68920004c5 files/gentoo-ifplugd.action-v2 703 MD5 35a51405ec02cf2cf0116b7b75d98294 files/ifplugd-0.26-gentoo.diff 1547 MD5 d0a4a1e77a6aae59935cfd6d150ee3b7 files/ifplugd.action 583 MD5 35e218c1d5eadc7f98f2759eecb9c651 files/gentoo-ifplugd-init-v3 2685 MD5 046da68d6aa7665b0d3a9fd9e5a67b6a files/gentoo-ifplugd-conf-v3 2248 +MD5 e4322329d76406800bd7810f7d1869cd files/ifplugd-0.28-gentoo.diff 1119 MD5 69b2ed677c0524a1c6dd321e8ce5a6f0 files/ifplugd 892 MD5 fb5b08b163ee5cef2761fa8c851c33c2 files/digest-ifplugd-0.25 64 MD5 6ffdba40cd69c194ad974af95b512898 files/digest-ifplugd-0.27 64 +MD5 c110adefe6c3d268c4c1e861d120fe3a files/digest-ifplugd-0.28 64 MD5 1b861d571aed96fc06f363f318fa7f98 files/digest-ifplugd-0.13-r1 63 MD5 6f22a4f464e4c07ea9220fb81ba6848a files/digest-ifplugd-0.26-r1 64 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFCe1tpEZCkKN40op4RAgspAKCqexu1khX/uVyhL6AvDfFUrz+VEQCfZ2Se -CAr7B0U21ynJo6NfNLy46Tg= -=NKCx +iD8DBQFCotQ2EZCkKN40op4RAsQLAKCMRAKXiHLaLU0booy0cCfEZkgEXgCcCfcu +eeQaSQIlXVtuxaDiExHBlBA= +=3fYb -----END PGP SIGNATURE----- diff --git a/sys-apps/ifplugd/files/digest-ifplugd-0.28 b/sys-apps/ifplugd/files/digest-ifplugd-0.28 new file mode 100644 index 000000000000..a53e0fb022c3 --- /dev/null +++ b/sys-apps/ifplugd/files/digest-ifplugd-0.28 @@ -0,0 +1 @@ +MD5 df6f4bab52f46ffd6eb1f5912d4ccee3 ifplugd-0.28.tar.gz 142677 diff --git a/sys-apps/ifplugd/files/ifplugd-0.28-gentoo.diff b/sys-apps/ifplugd/files/ifplugd-0.28-gentoo.diff new file mode 100644 index 000000000000..cb407822e445 --- /dev/null +++ b/sys-apps/ifplugd/files/ifplugd-0.28-gentoo.diff @@ -0,0 +1,24 @@ +diff -urN ifplugd-0.26.orig/src/ifplugd.c ifplugd-0.26/src/ifplugd.c +--- ifplugd-0.26.orig/src/ifplugd.c 2004-12-20 08:39:14.682706517 -0500 ++++ ifplugd-0.26/src/ifplugd.c 2004-12-20 08:40:56.903506651 -0500 +@@ -64,7 +64,7 @@ + interface_do_message = 1; + + char *interface = NULL; +-char *run = SYSCONFDIR"/ifplugd/ifplugd.action"; ++char *run = "/usr/sbin/ifplugd.action"; + char *extra_arg = NULL; + + int polltime = 1, +diff -urN ifplugd-0.26.orig/src/nlapi.c ifplugd-0.26/src/nlapi.c +--- ifplugd-0.26.orig/src/nlapi.c 2004-12-20 08:39:14.682706517 -0500 ++++ ifplugd-0.26/src/nlapi.c 2004-12-20 08:39:50.185734092 -0500 +@@ -86,7 +86,7 @@ + for (; bytes > 0; p = NLMSG_NEXT(p, bytes)) { + struct callback_info *c; + +- if (!NLMSG_OK(p, bytes) || (size_t) bytes < sizeof(struct nlmsghdr) || (size_t) bytes < p->nlmsg_len) { ++ if (!NLMSG_OK(p, (size_t) bytes) || (size_t) bytes < sizeof(struct nlmsghdr) || (size_t) bytes < (size_t) p->nlmsg_len) { + daemon_log(LOG_ERR, "NLAPI: Packet too small or truncated!\n"); + return -1; + } diff --git a/sys-apps/ifplugd/ifplugd-0.28.ebuild b/sys-apps/ifplugd/ifplugd-0.28.ebuild new file mode 100644 index 000000000000..86c3e8c5011d --- /dev/null +++ b/sys-apps/ifplugd/ifplugd-0.28.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifplugd/ifplugd-0.28.ebuild,v 1.1 2005/06/05 10:29:56 ka0ttic 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="x86 ~amd64 ~ppc" +IUSE="doc" + +DEPEND="dev-util/pkgconfig + doc? ( www-client/lynx )" +RDEPEND=">=dev-libs/libdaemon-0.5" + +# Gentoo-provided scripts. Version is for the scripts, not ifplugd. +INITSCRIPT=${FILESDIR}/gentoo-ifplugd-init-v3 +ACTIONSCRIPT=${FILESDIR}/gentoo-ifplugd.action-v2 +CONFFILE=${FILESDIR}/gentoo-ifplugd-conf-v3 + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.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" + newsbin ${ACTIONSCRIPT} ifplugd.action + + # Fix init.d configuration + rm -fr ${D}/etc/ifplugd ${D}/etc/init.d/ifplugd + + insinto /etc/conf.d ; newins ${CONFFILE} ${PN} || die + exeinto /etc/init.d ; newexe ${INITSCRIPT} ${PN} || die + + cd ${S}/doc + dodoc README SUPPORTED_DRIVERS + use doc && dohtml *.{html,css} +} |