summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-09-01 05:17:19 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-09-01 05:17:19 +0000
commit88688598524fae32045cc23c956f7eabce60a52e (patch)
tree7beab542cbb2456875b8cd6708b9482c2d9d2e71 /sys-apps/pcmciautils
parentbumps (diff)
downloadhistorical-88688598524fae32045cc23c956f7eabce60a52e.tar.gz
historical-88688598524fae32045cc23c956f7eabce60a52e.tar.bz2
historical-88688598524fae32045cc23c956f7eabce60a52e.zip
Fix handling of USE="staticsocket" wrt #521856 by Mehmet Giritli
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'sys-apps/pcmciautils')
-rw-r--r--sys-apps/pcmciautils/ChangeLog8
-rw-r--r--sys-apps/pcmciautils/Manifest17
-rw-r--r--sys-apps/pcmciautils/pcmciautils-018_p8-r1.ebuild73
3 files changed, 89 insertions, 9 deletions
diff --git a/sys-apps/pcmciautils/ChangeLog b/sys-apps/pcmciautils/ChangeLog
index a5663fde4834..d5f0c9d49d8e 100644
--- a/sys-apps/pcmciautils/ChangeLog
+++ b/sys-apps/pcmciautils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/pcmciautils
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v 1.50 2014/07/30 19:41:09 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v 1.51 2014/09/01 05:17:12 ssuominen Exp $
+
+*pcmciautils-018_p8-r1 (01 Sep 2014)
+
+ 01 Sep 2014; Samuli Suominen <ssuominen@gentoo.org>
+ +pcmciautils-018_p8-r1.ebuild:
+ Fix handling of USE="staticsocket" wrt #521856 by Mehmet Giritli
30 Jul 2014; Samuli Suominen <ssuominen@gentoo.org> pcmciautils-018_p8.ebuild:
Use shorter get_udevdir() instead of the longer deprecated udev_get_udevdir()
diff --git a/sys-apps/pcmciautils/Manifest b/sys-apps/pcmciautils/Manifest
index 113d5273b02e..5c2d5a94b39c 100644
--- a/sys-apps/pcmciautils/Manifest
+++ b/sys-apps/pcmciautils/Manifest
@@ -3,17 +3,18 @@ Hash: SHA256
DIST pcmciautils_018-8.debian.tar.gz 11213 SHA256 597879403120c4c258e5c064a2f695aad133529503d66aac0973a02e80756f36 SHA512 8a00d776e208b43d01fe22b9d4e889bc1b2c5982aa1bf225bdd613ffb0f5b37f5266ccc1cb91df9ac49c4ee3e3653ebb29807b61fff53c585e2cfed5aa2cd9e9 WHIRLPOOL 32083f28e4adbf0034df13bfde6936f885b54b22295e2603dc4992188d2ef9366dfc77358766d9cfb8eb31501c8949f1ba043e079d858f6822ac5cc7ad673296
DIST pcmciautils_018.orig.tar.gz 48516 SHA256 b94b71347fa11b7c0eb8dae034b5f7f649b135ffacb80cf60572a5bcb118f095 SHA512 f0af1fc6155686ae61c1c85a6451b032088a3880dfbc05c1d1ed33ca8e975745f9d4bedb0f3ee0a1252461aa008bed8014c73ff850cddd89d930524a6d68d47d WHIRLPOOL c74aa10632748bbd28af892c767c59486ddf1cfa3e1c418e3c727a4867d8905af1770696b2ed9bd15c967fc911aad3b4494d923b42e768bd8c87a364e1aa0e77
+EBUILD pcmciautils-018_p8-r1.ebuild 1644 SHA256 0733230ad0299bdd3f76e3a55cdc14f7aec3f90f803185dc5c3b84b8fb62554e SHA512 b9a8b2f1292d882a1b0fa6d878fd081e09554f02c03f49ac89ca78c1afda6a717eafd4e72f97b5209717bd6a0f1ecc4c7fa3ce73d7e62b75b291f45820383bed WHIRLPOOL 11f9162f4b5b86a12f1005c18a7c3cf79d3601d933d9f3735b01e9592490584f556a915e4caea62c7a4031ef1c10cea30228ed70dfc7f60abd9abb37c35b5c3c
EBUILD pcmciautils-018_p8.ebuild 1636 SHA256 7a3cd46e0597ba2a61a4437cfa8648fda2559eca097063b5cd8ff145a693ccff SHA512 5fdf1fd54d51364f052d1d5559b60ea666ac3d3e9142e2193134025d51c81b2d88530ea38f1e13ac04902ee3460279e0809670abc501cbffbd244e705ab1c798 WHIRLPOOL 2de26ab807c9f3e2326c209263d6ef80fbc1fc21886e29f8b9ae7f019c64efd65a28ed45dc5f5b8b27383f7c185141720be3463bc0e656ae83fa1fe9adca3520
-MISC ChangeLog 7393 SHA256 fe10bb76c4197c7ae7fdfee72f27857f5e6ab4558f28ec167805338014aa14a5 SHA512 6345f64392bb77948c08302f11c22a93cc5a4f26ab649df3069fcd372075525df3615bd707f69ca07ddd7380a902caf779339eb42acd2fc0c11027c69e2c6595 WHIRLPOOL 52c9f916f138ba8d4f266f327914c7c513c80c9dd2a62b0f6dbc29e1bece3625cbd7fa91ca30d376617eff30927bc3c89da92f5a404f8f6e526e53945acab259
+MISC ChangeLog 7586 SHA256 e8248e9583e4ce4089e3d41fbb3315e1a65f6c184d34ac4b943715593abf0797 SHA512 b017d5274531996f8d2103d9711bfa935c10b402b013211e25a676fdca8698241aea9df389f7671ef81a3e7aa945131ea4669a67b4f55f09fbebba5c841cd24e WHIRLPOOL 8e5610da5bfb98356518fd75ae77029c7f3d277fe1144f44cd2370c9ccab84f002fcd0e37bff3fce73257f92c18c5d73bf04a26958e3fc9c82211b73f984e85d
MISC metadata.xml 286 SHA256 92bbbe13c7f83e3121d1cda137a46d9091152089e0547f64f6b05088e3abe784 SHA512 3e39c1f69baf4d58cdd00e8204dd9993240098bc7c137bbcd21392d107d5ad43c31259be301e081d092f476582c748f0d891572104b8350247b6615834885b01 WHIRLPOOL e970ffef53eaa4a5e0e72f59bc9c08cdb7fd37028add3f02bac4f02c4979552f0feaa53502b451eeec55b289a7db03dc275dbfb245afbd38ad99b687c9f24838
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQEcBAEBCAAGBQJT2UpUAAoJEEdUh39IaPFN6GMH/j/i8/1jzsv75ogLsXUqVjfn
-Zzz0wKye+DaMHrkfTtY1pmiRIhc3ik23OpZh7u/2DGLMjSPx5cygUUR/k00cbPH+
-yq5cAcUYj4hFvSKoFYghZHRAl1+tGH2rjA+2SlrV7iGO6e8MFMf0IHtZI6J03tir
-2FmCTfmls6tiH3t61W3t/SaTx7iNdTIk9bM9pRvwLUJnnsWLyBegNfMhOmgMZcSB
-GnET61hIgBrbUihxxQTt+ZRHht4WpNmqgEG9TiziTWZahZmFN4BkNRAbxyV3Ypj6
-509LaMyGnku8dMxKu6OqQzr9pWCq48+suvIZnS1I5hLyUJuih2+iJ3j50dtPHqo=
-=raQg
+iQEcBAEBCAAGBQJUBAC2AAoJEEdUh39IaPFNK/UH/Aizj2E9IHmRJFOipUyYdLmV
+xwubrgChu8J2MAcZRCgAEb23GMOokQcKwbBnFgSK+Kezk/4weP4vZifgVgc+zo0g
+8fcCDVp4S2z2Hdr5UPqnwGku+YAGwk9OnzULFquJfx+izdO7DxIeyW9jGewXnlOr
+TrtPJBT3H9/KxwKAx6aoq5j0v9ZgL+eFDZ9977klTtsX/Wxl8VTi+CqB3wjlATgY
+vrP9Aig157wCI4Y+ehCb8euNSPaVmAXZPywK3clAUizKeEIwsJV913Z4e9lT/CPA
+v/ARXghFSiixhZdymNnacLlq4PEqYgj+jh9cuf2F7ibU6NdKdvtxY6juQjMC0bg=
+=dOfU
-----END PGP SIGNATURE-----
diff --git a/sys-apps/pcmciautils/pcmciautils-018_p8-r1.ebuild b/sys-apps/pcmciautils/pcmciautils-018_p8-r1.ebuild
new file mode 100644
index 000000000000..7139e5c656e4
--- /dev/null
+++ b/sys-apps/pcmciautils/pcmciautils-018_p8-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/pcmciautils-018_p8-r1.ebuild,v 1.1 2014/09/01 05:17:12 ssuominen Exp $
+
+EAPI=5
+inherit eutils flag-o-matic linux-info toolchain-funcs udev
+
+DEB_REV=${PV#*_p}
+MY_PV=${PV%_p*}
+
+DESCRIPTION="PCMCIA userspace utilities for Linux"
+HOMEPAGE="http://packages.qa.debian.org/pcmciautils"
+SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}.orig.tar.gz
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}-${DEB_REV}.debian.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~sh ~x86"
+IUSE="debug staticsocket"
+
+RDEPEND="virtual/modutils"
+DEPEND="${RDEPEND}
+ virtual/yacc
+ sys-devel/flex"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+pkg_setup() {
+ CONFIG_CHECK="~PCMCIA"
+ linux-info_pkg_setup
+
+ kernel_is lt 2 6 32 && ewarn "${P} requires at least kernel 2.6.32."
+
+ mypcmciaopts=(
+ STARTUP=$(usex staticsocket false true)
+ exec_prefix=/usr
+ UDEV=true
+ DEBUG=false
+ STATIC=false
+ V=true
+ udevdir="$(get_udevdir)"
+ CC="$(tc-getCC)"
+ LD="$(tc-getCC)"
+ AR="$(tc-getAR)"
+ STRIP=true
+ RANLIB="$(tc-getRANLIB)"
+ OPTIMIZATION="${CFLAGS} ${CPPFLAGS}"
+ DESTDIR="${D}"
+ )
+
+ use debug && append-cppflags -DDEBUG
+}
+
+src_prepare() {
+ epatch \
+ "${WORKDIR}"/debian/patches/no-modprobe-rules.patch \
+ "${WORKDIR}"/debian/patches/remove-libsysfs-dep.patch
+
+ sed -i \
+ -e '/CFLAGS/s:-fomit-frame-pointer::' \
+ -e '/dir/s:sbin:bin:g' \
+ Makefile || die
+}
+
+src_compile() {
+ emake "${mypcmciaopts[@]}"
+}
+
+src_install() {
+ emake "${mypcmciaopts[@]}" install
+
+ dodoc doc/*.txt
+}