summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2007-05-18 14:39:09 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2007-05-18 14:39:09 +0000
commit85ac08cb1363c5417a82556175f93ab8e780f2c8 (patch)
treeb4e69638d380d3065f30ffdc37e6b23f48b79f1e /sys-apps
parentalpha/ia64/x86 stable wrt #178510 (diff)
downloadgentoo-2-85ac08cb1363c5417a82556175f93ab8e780f2c8.tar.gz
gentoo-2-85ac08cb1363c5417a82556175f93ab8e780f2c8.tar.bz2
gentoo-2-85ac08cb1363c5417a82556175f93ab8e780f2c8.zip
Version bump wrt bug #157256.
Authorized by maintainer. (Portage version: 2.1.2.7)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/hwinfo/ChangeLog11
-rw-r--r--sys-apps/hwinfo/files/digest-hwinfo-13.286
-rw-r--r--sys-apps/hwinfo/files/hwinfo-13.11-makefile-fixes.patch12
-rw-r--r--sys-apps/hwinfo/hwinfo-13.28.ebuild45
4 files changed, 72 insertions, 2 deletions
diff --git a/sys-apps/hwinfo/ChangeLog b/sys-apps/hwinfo/ChangeLog
index 0e5a1389b60c..95d78208ea62 100644
--- a/sys-apps/hwinfo/ChangeLog
+++ b/sys-apps/hwinfo/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/hwinfo
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwinfo/ChangeLog,v 1.5 2006/09/29 22:40:15 robbat2 Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwinfo/ChangeLog,v 1.6 2007/05/18 14:39:09 drizzt Exp $
+
+*hwinfo-13.28 (18 May 2007)
+
+ 18 May 2007; Timothy Redaelli <drizzt@gentoo.org>
+ +files/hwinfo-13.11-makefile-fixes.patch, +hwinfo-13.28.ebuild:
+ Version bump wrt bug #157256.
+ Authorized by maintainer.
29 Sep 2006; Robin H. Johnson <robbat2@gentoo.org>
+files/hwinfo-13.0-makefile-fixes.patch, hwinfo-13.0.ebuild:
diff --git a/sys-apps/hwinfo/files/digest-hwinfo-13.28 b/sys-apps/hwinfo/files/digest-hwinfo-13.28
new file mode 100644
index 000000000000..bb3ba26a3eaf
--- /dev/null
+++ b/sys-apps/hwinfo/files/digest-hwinfo-13.28
@@ -0,0 +1,6 @@
+MD5 0fcd2c6fbb5f0f19aa568a0c99e8395a hwinfo_13.28-1.diff.gz 8358
+RMD160 eb3214fcb0ed9f8885d9718aa39ff335629ec1b7 hwinfo_13.28-1.diff.gz 8358
+SHA256 915d283fd8a78670e2c37aa9f06783b056db90730431ac6fd2ea6212122978f7 hwinfo_13.28-1.diff.gz 8358
+MD5 0ce3f9b6758849884df160befbe0a767 hwinfo_13.28.orig.tar.gz 796912
+RMD160 043553f1dcead1e9cb96a4b10fdf59475efa4dd7 hwinfo_13.28.orig.tar.gz 796912
+SHA256 5bf57faf048b1dd3881f84986c55b7ab89baf1592977e7af1210f74ade67221e hwinfo_13.28.orig.tar.gz 796912
diff --git a/sys-apps/hwinfo/files/hwinfo-13.11-makefile-fixes.patch b/sys-apps/hwinfo/files/hwinfo-13.11-makefile-fixes.patch
new file mode 100644
index 000000000000..0497ad8407b6
--- /dev/null
+++ b/sys-apps/hwinfo/files/hwinfo-13.11-makefile-fixes.patch
@@ -0,0 +1,12 @@
+diff -urN hwinfo-13.11/Makefile.common hwinfo-13.11.new/Makefile.common
+--- hwinfo-13.11/Makefile.common 2006-09-11 11:36:57.000000000 +0100
++++ hwinfo-13.11.new/Makefile.common 2007-01-22 18:43:43.000000000 +0000
+@@ -22,7 +22,7 @@
+
+ CC = gcc
+ LD = ld
+-CFLAGS = $(RPM_OPT_FLAGS) -Wall -Wno-pointer-sign -pipe -g $(SHARED_FLAGS) $(EXTRA_FLAGS) -I$(TOPDIR)/src/hd
++CFLAGS = $(RPM_OPT_FLAGS) -Wall -pipe -g $(SHARED_FLAGS) $(EXTRA_FLAGS) -I$(TOPDIR)/src/hd
+ SHARED_FLAGS = -fPIC
+
+ LDFLAGS = -Lsrc
diff --git a/sys-apps/hwinfo/hwinfo-13.28.ebuild b/sys-apps/hwinfo/hwinfo-13.28.ebuild
new file mode 100644
index 000000000000..38c53ad23e1e
--- /dev/null
+++ b/sys-apps/hwinfo/hwinfo-13.28.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwinfo/hwinfo-13.28.ebuild,v 1.1 2007/05/18 14:39:09 drizzt Exp $
+
+inherit eutils
+
+DESCRIPTION="hwinfo is the hardware detection tool used in SuSE Linux."
+HOMEPAGE="http://www.suse.com"
+DEBIAN_PV="1"
+DEBIAN_BASE_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/"
+SRC_URI="${DEBIAN_BASE_URI}/${PN}_${PV}.orig.tar.gz
+ ${DEBIAN_BASE_URI}/${PN}_${PV}-${DEBIAN_PV}.diff.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86 ~amd64"
+IUSE=""
+RDEPEND=">=sys-fs/sysfsutils-2
+ sys-apps/hal
+ sys-apps/dbus"
+# this package won't work on *BSD
+DEPEND="${RDEPEND}
+ >=sys-kernel/linux-headers-2.6.17"
+
+src_unpack (){
+ unpack ${PN}_${PV}.orig.tar.gz
+ EPATCH_OPTS="-p1 -d ${S}" epatch "${DISTDIR}"/${PN}_${PV}-${DEBIAN_PV}.diff.gz
+ rm "${S}"/debian/patches/series
+ EPATCH_OPTS="-p0 -d ${S}" EPATCH_SUFFIX="" EPATCH_FORCE="yes" epatch "${S}"/debian/patches/
+ EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${PN}-13.11-makefile-fixes.patch
+ #sed -i -e "s,^LIBS[ \t]*= -lhd,LIBS = -lhd -lsysfs," ${S}/Makefile
+ #sed -i -e "s,^LIBDIR[ \t]*= /usr/lib$,LIBDIR = /usr/$(get_libdir)," ${S}/Makefile
+ echo 'libs: $(LIBHD) $(LIBHD_SO)' >>${S}/Makefile
+}
+
+src_compile(){
+ # build is NOT parallel safe
+ emake -j1 EXTRA_FLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ [[ "$(get_libdir)" != "lib" ]] && mv "${D}"/usr/lib "${D}/usr/$(get_libdir)"
+ dodoc VERSION README COPYING
+ doman doc/hwinfo.8
+}