summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2004-02-29 12:08:10 +0000
committerMartin Schlemmer <azarah@gentoo.org>2004-02-29 12:08:10 +0000
commit4b4be38aeb0137cc1392f0902ae5099825357613 (patch)
tree9d668190cdae93f335aaf2e007534ada79b21336 /sys-fs/sysfsutils
parentparallel build works again (diff)
downloadgentoo-2-4b4be38aeb0137cc1392f0902ae5099825357613.tar.gz
gentoo-2-4b4be38aeb0137cc1392f0902ae5099825357613.tar.bz2
gentoo-2-4b4be38aeb0137cc1392f0902ae5099825357613.zip
Update version. Do not check for external libsysfs, else it links systool, etc
against old libsysfs as well if older sysfsutils is installed.
Diffstat (limited to 'sys-fs/sysfsutils')
-rw-r--r--sys-fs/sysfsutils/ChangeLog9
-rw-r--r--sys-fs/sysfsutils/Manifest11
-rw-r--r--sys-fs/sysfsutils/files/digest-sysfsutils-1.0.01
-rw-r--r--sys-fs/sysfsutils/files/sysfsutils-1.0.0-dont-check-for-libsysfs.patch13
-rw-r--r--sys-fs/sysfsutils/sysfsutils-1.0.0.ebuild46
5 files changed, 75 insertions, 5 deletions
diff --git a/sys-fs/sysfsutils/ChangeLog b/sys-fs/sysfsutils/ChangeLog
index 5745ccf8805b..c7234fa655d3 100644
--- a/sys-fs/sysfsutils/ChangeLog
+++ b/sys-fs/sysfsutils/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-fs/sysfsutils
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/sysfsutils/ChangeLog,v 1.6 2004/02/26 19:35:45 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/sysfsutils/ChangeLog,v 1.7 2004/02/29 12:07:57 azarah Exp $
+
+*sysfsutils-1.0.0 (29 Feb 2004)
+
+ 29 Feb 2004; Martin Schlemmer <azarah@gentoo.org> sysfsutils-1.0.0.ebuild,
+ files/sysfsutils-1.0.0-dont-check-for-libsysfs.patch:
+ Update version. Do not check for external libsysfs, else it links systool, etc
+ against old libsysfs as well if older sysfsutils is installed.
26 Feb 2004; Ciaran McCreesh <ciaranm@gentoo.org> sysfsutils-0.4.0.ebuild:
Seems happy on sparc
diff --git a/sys-fs/sysfsutils/Manifest b/sys-fs/sysfsutils/Manifest
index 09cd92feffc1..fc265d665f79 100644
--- a/sys-fs/sysfsutils/Manifest
+++ b/sys-fs/sysfsutils/Manifest
@@ -1,8 +1,11 @@
+MD5 784825f9f787edf22f56b295c09409c6 sysfsutils-0.2.0.ebuild 969
+MD5 394914c24ce95bb17ea0753de0f3295e .sysfsutils-1.0.0.ebuild.swp 12288
MD5 d8a17a8c2043fcd02cea22f29b8358d2 ChangeLog 899
-MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 7bfc4c7b5b3978d703d059bec681a3a6 sysfsutils-1.0.0.ebuild 1014
MD5 07705da73c7006c81518503533cba851 sysfsutils-0.4.0.ebuild 1010
-MD5 784825f9f787edf22f56b295c09409c6 sysfsutils-0.2.0.ebuild 969
MD5 4ae8d2c8eb4eb1d7f64b611cd9ebfc55 sysfsutils-0.3.0.ebuild 1009
-MD5 ae9dcbf820cd304b04eb37505fbc3831 files/digest-sysfsutils-0.4.0 68
-MD5 0384b6e5908a20cdcd66447733b28194 files/digest-sysfsutils-0.3.0 68
+MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 3aeda907194d0ce63ad841586ea3187f files/digest-sysfsutils-0.2.0 67
+MD5 0384b6e5908a20cdcd66447733b28194 files/digest-sysfsutils-0.3.0 68
+MD5 ae9dcbf820cd304b04eb37505fbc3831 files/digest-sysfsutils-0.4.0 68
+MD5 e3fe8d4ec06f785ffc6cf54df2ca4599 files/digest-sysfsutils-1.0.0 68
diff --git a/sys-fs/sysfsutils/files/digest-sysfsutils-1.0.0 b/sys-fs/sysfsutils/files/digest-sysfsutils-1.0.0
new file mode 100644
index 000000000000..d642f05d19b3
--- /dev/null
+++ b/sys-fs/sysfsutils/files/digest-sysfsutils-1.0.0
@@ -0,0 +1 @@
+MD5 0438b08c3feb4a864ddce912b6a830ce sysfsutils-1.0.0.tar.gz 276387
diff --git a/sys-fs/sysfsutils/files/sysfsutils-1.0.0-dont-check-for-libsysfs.patch b/sys-fs/sysfsutils/files/sysfsutils-1.0.0-dont-check-for-libsysfs.patch
new file mode 100644
index 000000000000..00f942cbf7bb
--- /dev/null
+++ b/sys-fs/sysfsutils/files/sysfsutils-1.0.0-dont-check-for-libsysfs.patch
@@ -0,0 +1,13 @@
+--- sysfsutils-1.0.0/configure.ac.orig 2004-02-29 13:47:11.941676208 +0200
++++ sysfsutils-1.0.0/configure.ac 2004-02-29 13:47:18.588665712 +0200
+@@ -13,10 +13,6 @@
+ AC_PROG_RANLIB
+ AC_PROG_AWK
+
+-# Checks for libraries.
+-# FIXME: Replace `main' with a function in `-lsysfs':
+-AC_CHECK_LIB([sysfs], [sysfs_read_directory])
+-
+ # Checks for header files.
+ AC_HEADER_DIRENT
+ AC_HEADER_STDC
diff --git a/sys-fs/sysfsutils/sysfsutils-1.0.0.ebuild b/sys-fs/sysfsutils/sysfsutils-1.0.0.ebuild
new file mode 100644
index 000000000000..a36a72a033d0
--- /dev/null
+++ b/sys-fs/sysfsutils/sysfsutils-1.0.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/sysfsutils/sysfsutils-1.0.0.ebuild,v 1.1 2004/02/29 12:08:07 azarah Exp $
+
+inherit eutils libtool
+
+DESCRIPTION="System Utilities Based on Sysfs"
+HOMEPAGE="http://linux-diag.sourceforge.net/Sysfsutils.html"
+SRC_URI="mirror://sourceforge/linux-diag/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~hppa ~amd64 ~sparc"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ # Make sure we do not link with external libsysfs ..
+ epatch ${FILESDIR}/${P}-dont-check-for-libsysfs.patch
+ aclocal
+ autoconf
+ automake
+
+ elibtoolize
+}
+
+src_compile() {
+ econf || die "./configure failed"
+
+ emake || die
+}
+
+src_install() {
+ einstall includedir=${D}/usr/include/sysfs || die
+
+ # We do not distribute this
+ rm -f ${D}/usr/bin/dlist_test
+
+ dodoc AUTHORS COPYING ChangeLog NEWS README TODO
+ # FIXME: cmd/GPL and lib/LGPL do not exist - should we
+ # then rather add them manually ?
+ dodoc cmd/GPL lib/LGPL docs/libsysfs.txt
+}