summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-06-05 10:29:56 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-06-05 10:29:56 +0000
commitb92d0bd3db1f67c27cad19f16fd1aab8fc6fa1d9 (patch)
tree97488082c86adf7c864d63f999ba3314ff247d5c
parentx86 (diff)
downloadgentoo-2-b92d0bd3db1f67c27cad19f16fd1aab8fc6fa1d9.tar.gz
gentoo-2-b92d0bd3db1f67c27cad19f16fd1aab8fc6fa1d9.tar.bz2
gentoo-2-b92d0bd3db1f67c27cad19f16fd1aab8fc6fa1d9.zip
Version bump.
(Portage version: 2.0.51.22-r1)
-rw-r--r--dev-libs/libdaemon/ChangeLog7
-rw-r--r--dev-libs/libdaemon/Manifest8
-rw-r--r--dev-libs/libdaemon/files/digest-libdaemon-0.81
-rw-r--r--dev-libs/libdaemon/libdaemon-0.8.ebuild37
-rw-r--r--sys-apps/ifplugd/ChangeLog8
-rw-r--r--sys-apps/ifplugd/Manifest15
-rw-r--r--sys-apps/ifplugd/files/digest-ifplugd-0.281
-rw-r--r--sys-apps/ifplugd/files/ifplugd-0.28-gentoo.diff24
-rw-r--r--sys-apps/ifplugd/ifplugd-0.28.ebuild53
9 files changed, 138 insertions, 16 deletions
diff --git a/dev-libs/libdaemon/ChangeLog b/dev-libs/libdaemon/ChangeLog
index 7980ca2d4904..5d97b11b5041 100644
--- a/dev-libs/libdaemon/ChangeLog
+++ b/dev-libs/libdaemon/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libdaemon
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdaemon/ChangeLog,v 1.15 2005/04/09 20:53:51 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdaemon/ChangeLog,v 1.16 2005/06/05 10:28:41 ka0ttic Exp $
+
+*libdaemon-0.8 (04 Jun 2005)
+
+ 04 Jun 2005; Aaron Walker <ka0ttic@gentoo.org> +libdaemon-0.8.ebuild:
+ Version bump.
09 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> libdaemon-0.7.ebuild:
Stable on ppc.
diff --git a/dev-libs/libdaemon/Manifest b/dev-libs/libdaemon/Manifest
index a0564d80d100..b228ad9623d5 100644
--- a/dev-libs/libdaemon/Manifest
+++ b/dev-libs/libdaemon/Manifest
@@ -1,8 +1,10 @@
-MD5 a3e1e2b2909483ba00265f162dc16611 libdaemon-0.5.ebuild 891
-MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254
-MD5 c3d93d66e0e597560947e5a3d5356ebf ChangeLog 2105
MD5 1c4d38f214fd886458b54fbb18cbc036 libdaemon-0.7.ebuild 993
+MD5 e5ba240acf0d976a7f1fd3d42cdc9ff4 libdaemon-0.8.ebuild 996
MD5 833b0ec535a1b2c5d9bc377c6d2663e6 libdaemon-0.3.ebuild 857
+MD5 a3e1e2b2909483ba00265f162dc16611 libdaemon-0.5.ebuild 891
+MD5 a764517fbd1f87d317a5a9313514aed1 ChangeLog 2224
+MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254
MD5 0690fac6ae3f714079ef10ca93af077a files/digest-libdaemon-0.3 65
MD5 c030d2ae6f46e1372a2ee9dd8b00d42f files/digest-libdaemon-0.5 65
MD5 6c25258864b43b79744d66091d05a706 files/digest-libdaemon-0.7 65
+MD5 7f4f163f3c9df09fe46f8a2e5aa914d2 files/digest-libdaemon-0.8 65
diff --git a/dev-libs/libdaemon/files/digest-libdaemon-0.8 b/dev-libs/libdaemon/files/digest-libdaemon-0.8
new file mode 100644
index 000000000000..3ff084ad1b36
--- /dev/null
+++ b/dev-libs/libdaemon/files/digest-libdaemon-0.8
@@ -0,0 +1 @@
+MD5 49cc7db480c6d7b8ca88b0db8ac275e7 libdaemon-0.8.tar.gz 331447
diff --git a/dev-libs/libdaemon/libdaemon-0.8.ebuild b/dev-libs/libdaemon/libdaemon-0.8.ebuild
new file mode 100644
index 000000000000..595feabc1faa
--- /dev/null
+++ b/dev-libs/libdaemon/libdaemon-0.8.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdaemon/libdaemon-0.8.ebuild,v 1.1 2005/06/05 10:28:41 ka0ttic Exp $
+
+DESCRIPTION="Simple library for creating daemon processes in C"
+HOMEPAGE="http://0pointer.de/lennart/projects/libdaemon/"
+SRC_URI="http://0pointer.de/lennart/projects/libdaemon/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc"
+
+DEPEND="doc? ( app-doc/doxygen www-client/lynx )"
+
+src_compile() {
+ econf $(use_enable doc lynx) || die "econf failed"
+ emake || die "emake failed"
+
+ if use doc ; then
+ einfo "Building documentation"
+ make doxygen || die "make doxygen failed"
+ fi
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ if use doc; then
+ ln -sf doc/reference/html reference
+ dohtml -r doc/README.html reference
+ doman doc/reference/man/man*/*
+ fi
+
+ dodoc README
+ docinto examples ; dodoc examples/testd.c
+}
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..560e80dea50a 100644
--- a/sys-apps/ifplugd/Manifest
+++ b/sys-apps/ifplugd/Manifest
@@ -1,26 +1,19 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 f3fa629a47e0cc6f2d6ae878df5cff07 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 424024ff7b64fee5f6a467916995b14c 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
------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}
+}