From c88ed37dbc7352e3a6f9d67205aa6a53c8288258 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 11 Apr 2007 17:32:17 +0000 Subject: [PATCH] Revbump - new patchset with gcc4 fixes Package-Manager: portage-2.1.2.2 --- sys-apps/sparc-utils/ChangeLog | 10 ++- sys-apps/sparc-utils/Manifest | 26 ++++++- .../files/digest-sparc-utils-1.9-r4 | 6 ++ .../sparc-utils/sparc-utils-1.9-r4.ebuild | 74 +++++++++++++++++++ 4 files changed, 110 insertions(+), 6 deletions(-) create mode 100644 sys-apps/sparc-utils/files/digest-sparc-utils-1.9-r4 create mode 100644 sys-apps/sparc-utils/sparc-utils-1.9-r4.ebuild diff --git a/sys-apps/sparc-utils/ChangeLog b/sys-apps/sparc-utils/ChangeLog index 44c69055ae83..6ed3218a1a93 100644 --- a/sys-apps/sparc-utils/ChangeLog +++ b/sys-apps/sparc-utils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/sparc-utils -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/sparc-utils/ChangeLog,v 1.22 2006/09/19 02:00:32 weeve Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sparc-utils/ChangeLog,v 1.23 2007/04/11 17:32:17 gustavoz Exp $ + +*sparc-utils-1.9-r4 (11 Apr 2007) + + 11 Apr 2007; Gustavo Zacarias + +sparc-utils-1.9-r4.ebuild: + Revbump - new patchset with gcc4 fixes 19 Sep 2006; Jason Wever sparc-utils-1.9-r3.ebuild: Adjust ebuild so that audioctl does not install when diff --git a/sys-apps/sparc-utils/Manifest b/sys-apps/sparc-utils/Manifest index f7d7f77d993d..5fb510d31948 100644 --- a/sys-apps/sparc-utils/Manifest +++ b/sys-apps/sparc-utils/Manifest @@ -1,17 +1,25 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX audioctl.init 571 RMD160 f2c37ee35ff9060b4d6184a26b16eca3e1bbfceb SHA1 b06059a24fdc96cc1bb605b21b25eaad572cc40f SHA256 76f0d64444986ef59fa936d5acc5082773a825b79c49ba18e7619f53a78fbde8 MD5 90419bd873d8ef797f6ac6f982c3bcbf files/audioctl.init 571 RMD160 f2c37ee35ff9060b4d6184a26b16eca3e1bbfceb files/audioctl.init 571 SHA256 76f0d64444986ef59fa936d5acc5082773a825b79c49ba18e7619f53a78fbde8 files/audioctl.init 571 DIST sparc-utils_1.9-2.diff.bz2 7992 RMD160 5d6ed8c107897f2fa71613f7c3dd73c28f966193 SHA1 753bdf216233e62b146ab85e53c6789d17a93d61 SHA256 8124c0ac7d5269ecc4469b6cb0918e5f1797326025ab407822ce536af9f65829 +DIST sparc-utils_1.9-3.diff.gz 10337 RMD160 5703203291f2ff607366064b098646d08e40b873 SHA1 3f0788d2ef2b42a57ca4c80b03a5b04c16b1a5f0 SHA256 f4ffae1a89fc816689da1ad2b50e776bbc079cf2212a0e539949e8a04c5ed983 DIST sparc-utils_1.9.orig.tar.gz 110080 RMD160 9827d9ff7cb4f06d4fb3709593e341e6a3b71a2e SHA1 5dc670e0849b89a2c4c46783528133d46e03ec4b SHA256 b652bc27f95dcf10a7626b1d2943a1084e1e0b7f9bd3a97f9a46b6688370fe4b EBUILD sparc-utils-1.9-r3.ebuild 2434 RMD160 0be24003542925e5b880d47748e4c544b87382aa SHA1 9bb047f76577905e62eceda7e4bd961b98d93a03 SHA256 75f6b490ec321e5a6439793287ae948238010d6962625da96b7513fe08b229e0 MD5 5e8ef343fcf2345538d758478d2a2248 sparc-utils-1.9-r3.ebuild 2434 RMD160 0be24003542925e5b880d47748e4c544b87382aa sparc-utils-1.9-r3.ebuild 2434 SHA256 75f6b490ec321e5a6439793287ae948238010d6962625da96b7513fe08b229e0 sparc-utils-1.9-r3.ebuild 2434 -MISC ChangeLog 3021 RMD160 40ee370ab214ba0b504994be995bd27f68b1722b SHA1 08d08845b67fa29662342d3c8eb66d568b5b46dc SHA256 0406166255832327c94a742a1772b7c61ffc27cbbfc900c16e1b095b7f709adf -MD5 748bf6744e8155d0a8b181d8021c0058 ChangeLog 3021 -RMD160 40ee370ab214ba0b504994be995bd27f68b1722b ChangeLog 3021 -SHA256 0406166255832327c94a742a1772b7c61ffc27cbbfc900c16e1b095b7f709adf ChangeLog 3021 +EBUILD sparc-utils-1.9-r4.ebuild 2314 RMD160 ea3d02f34f130975f8d73c953d50b800e7379662 SHA1 2dfc1eb4386cf51986ca956e924e06333e8dcc6b SHA256 f179c1fee5577cd5c57273b0b0dc63b1e03b171eadf3be8c20bdd4b59ea5f754 +MD5 c7ee05b518a7adeb824236791393148e sparc-utils-1.9-r4.ebuild 2314 +RMD160 ea3d02f34f130975f8d73c953d50b800e7379662 sparc-utils-1.9-r4.ebuild 2314 +SHA256 f179c1fee5577cd5c57273b0b0dc63b1e03b171eadf3be8c20bdd4b59ea5f754 sparc-utils-1.9-r4.ebuild 2314 +MISC ChangeLog 3185 RMD160 faebfa8f4f7306f4017e306d61c62d939fc69d84 SHA1 3b79c4021d5fa2397ffc1e9738b04df8e04ceedd SHA256 370d00aac88f4fbf8492736082d94ce15aa441dca9fe03803e7068675bbaa79e +MD5 fb63de63eca4a222f7c52d55d1346ead ChangeLog 3185 +RMD160 faebfa8f4f7306f4017e306d61c62d939fc69d84 ChangeLog 3185 +SHA256 370d00aac88f4fbf8492736082d94ce15aa441dca9fe03803e7068675bbaa79e ChangeLog 3185 MISC metadata.xml 420 RMD160 b34d46849a98dbb4a21a0193cf6d63a4cb9dee35 SHA1 cb4662a7557c03abaeb5d27c8f3b024a426dcf1a SHA256 bc8be7e68149121d23d293f5c41e728c3ac66cb467fed3e653ae535ba7556d2d MD5 1281e21ae801232cac21628092fbc7f9 metadata.xml 420 RMD160 b34d46849a98dbb4a21a0193cf6d63a4cb9dee35 metadata.xml 420 @@ -19,3 +27,13 @@ SHA256 bc8be7e68149121d23d293f5c41e728c3ac66cb467fed3e653ae535ba7556d2d metadata MD5 a7cdd03df79c51071edc01a86e33fd7a files/digest-sparc-utils-1.9-r3 515 RMD160 162278c1be3a50f83d072d88cc15001c195394d2 files/digest-sparc-utils-1.9-r3 515 SHA256 c1bdf9da175b877184eea84b972e71f3a81993d4af73e359398ee6bbc23ac751 files/digest-sparc-utils-1.9-r3 515 +MD5 364a3a4859dff3226e8f47fd45267158 files/digest-sparc-utils-1.9-r4 515 +RMD160 1732262f24408963d35664a418dbfccd4bfdcc06 files/digest-sparc-utils-1.9-r4 515 +SHA256 594ddc15c58dbc4104837a1c34e04c51e35c089a2b985305779ab7e8a1d9f270 files/digest-sparc-utils-1.9-r4 515 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux) + +iD4DBQFGHRu5KRy60XGEcJIRAtxfAJdTZ894d+YmZSQnfGqE0X2SzNHoAKCrylX2 +dGLHZ7FezvJRg/QnbwcRNw== +=mX5d +-----END PGP SIGNATURE----- diff --git a/sys-apps/sparc-utils/files/digest-sparc-utils-1.9-r4 b/sys-apps/sparc-utils/files/digest-sparc-utils-1.9-r4 new file mode 100644 index 000000000000..6822da6e3c60 --- /dev/null +++ b/sys-apps/sparc-utils/files/digest-sparc-utils-1.9-r4 @@ -0,0 +1,6 @@ +MD5 3dbbc61a0d32c6f3f424aa20fdb08ec5 sparc-utils_1.9-3.diff.gz 10337 +RMD160 5703203291f2ff607366064b098646d08e40b873 sparc-utils_1.9-3.diff.gz 10337 +SHA256 f4ffae1a89fc816689da1ad2b50e776bbc079cf2212a0e539949e8a04c5ed983 sparc-utils_1.9-3.diff.gz 10337 +MD5 08bf3f6d8433a1f4981a2afaa6b49a6c sparc-utils_1.9.orig.tar.gz 110080 +RMD160 9827d9ff7cb4f06d4fb3709593e341e6a3b71a2e sparc-utils_1.9.orig.tar.gz 110080 +SHA256 b652bc27f95dcf10a7626b1d2943a1084e1e0b7f9bd3a97f9a46b6688370fe4b sparc-utils_1.9.orig.tar.gz 110080 diff --git a/sys-apps/sparc-utils/sparc-utils-1.9-r4.ebuild b/sys-apps/sparc-utils/sparc-utils-1.9-r4.ebuild new file mode 100644 index 000000000000..9a01a2b71ad1 --- /dev/null +++ b/sys-apps/sparc-utils/sparc-utils-1.9-r4.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sparc-utils/sparc-utils-1.9-r4.ebuild,v 1.1 2007/04/11 17:32:17 gustavoz Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Various sparc utilities from Debian GNU/Linux" +HOMEPAGE="http://www.debian.org/" +SRC_URI=" http://http.us.debian.org/debian/pool/main/s/${PN}/${PN}_${PV}.orig.tar.gz + http://http.us.debian.org/debian/pool/main/s/${PN}/${PN}_${PV}-3.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~sparc" +IUSE="" + +DEPEND="virtual/os-headers" +RDEPEND="sys-apps/setarch" + +S=${WORKDIR}/${P}.orig + +# NOTE: If a system has >=sys-kernel/linux-headers-2.6.0, don't build audioctl +# as the SPARC sound drivers have been replaced by their ALSA equivalents + +pkg_setup() { + has_version '>=sys-kernel/linux-headers-2.6.0' && \ + einfo "Linux 2.6 kernel headers detected, not building audioctl" +} + +src_unpack() { + unpack ${A} + epatch ${WORKDIR}/${PN}_${PV}-3.diff +} + +src_compile() { + emake -C elftoaout-2.3 CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die + emake -C src piggyback piggyback64 CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die + emake -C prtconf-1.3 CC="$(tc-getCC)" all || die + has_version '>=sys-kernel/linux-headers-2.6.0' || \ + emake -C audioctl-1.3 CC="$(tc-getCC)" || die +} + +src_install() { + # since the debian/piggyback64.1 manpage is a pointer to the + # debian/piggyback.1 manpage, copy debian/piggyback.1 to + # debian/piggyback64.1 + + cp ${S}/debian/piggyback.1 ${S}/debian/piggyback64.1 + + dobin elftoaout-2.3/elftoaout || die + dobin src/piggyback || die + dobin src/piggyback64 || die + dosbin prtconf-1.3/prtconf || die + dosbin prtconf-1.3/eeprom || die + + if ! has_version '>=sys-kernel/linux-headers-2.6.0'; then + dobin audioctl-1.3/audioctl || die + newinitd "${FILESDIR}"/audioctl.init audioctl || die + newconfd debian/audioctl.def audioctl || die + doman audioctl-1.3/audioctl.1 + fi + + doman elftoaout-2.3/elftoaout.1 + doman prtconf-1.3/prtconf.8 + doman prtconf-1.3/eeprom.8 + doman debian/piggyback.1 + doman debian/piggyback64.1 +} + +pkg_postinst() { + ewarn "In order to /usr/sbin/eeprom, make sure you build /dev/openprom" + ewarn "device support (CONFIG_SUN_OPENPROMIO) into the kernel, or as a" + ewarn "module (and that the module is loaded)." +} -- 2.26.2