summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Farina <zerochaos@gentoo.org>2014-01-23 17:16:43 +0000
committerRichard Farina <zerochaos@gentoo.org>2014-01-23 17:16:43 +0000
commit49b363aa710a71882b4be1fd01432cd7193dd82e (patch)
tree9dbce47d5c331ac5b7c6b8b5f60f3dde2ce69fc8 /sys-fs/go-mtpfs
parentSecurity bump wrt bug #498866; Drop old. (diff)
downloadhistorical-49b363aa710a71882b4be1fd01432cd7193dd82e.tar.gz
historical-49b363aa710a71882b4be1fd01432cd7193dd82e.tar.bz2
historical-49b363aa710a71882b4be1fd01432cd7193dd82e.zip
horrible, horrible update, that happens to build on hardened
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xDD11F94A
Diffstat (limited to 'sys-fs/go-mtpfs')
-rw-r--r--sys-fs/go-mtpfs/ChangeLog7
-rw-r--r--sys-fs/go-mtpfs/Manifest30
-rw-r--r--sys-fs/go-mtpfs/go-mtpfs-9999.ebuild24
3 files changed, 36 insertions, 25 deletions
diff --git a/sys-fs/go-mtpfs/ChangeLog b/sys-fs/go-mtpfs/ChangeLog
index 5d2498743bf5..78c00f34040a 100644
--- a/sys-fs/go-mtpfs/ChangeLog
+++ b/sys-fs/go-mtpfs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-fs/go-mtpfs
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/go-mtpfs/ChangeLog,v 1.3 2013/10/21 03:02:23 zerochaos Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/go-mtpfs/ChangeLog,v 1.4 2014/01/23 17:16:38 zerochaos Exp $
+
+ 23 Jan 2014; Rick Farina <zerochaos@gentoo.org> go-mtpfs-9999.ebuild:
+ horrible, horrible update, that happens to build on hardened
21 Oct 2013; Rick Farina <zerochaos@gentoo.org> go-mtpfs-9999.ebuild:
breaking things up and adding tests
diff --git a/sys-fs/go-mtpfs/Manifest b/sys-fs/go-mtpfs/Manifest
index 01576ddd1b85..3a7724462c88 100644
--- a/sys-fs/go-mtpfs/Manifest
+++ b/sys-fs/go-mtpfs/Manifest
@@ -1,23 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
-EBUILD go-mtpfs-9999.ebuild 1307 SHA256 00544d88c95c0d15d4626f1f1586aaaa2552ddc9b5d050ce5029bef3d43f5c38 SHA512 96a8d2c4fd3d6a2759b1f6fc689db63efbe7eed7e96d814586335d382319b2650398e51b946ff0cfbcec184442aac38697364dc07f8230395d815153c4a87c99 WHIRLPOOL ec615765a56cea202aa868c318c54dc3b4f15309ab3314d84968b47fb41a419517de4fa1bacc47c07006bea65f4a6166b06160d107111b30f3bfb4b1400f59c4
-MISC ChangeLog 601 SHA256 ee300640e5a6a2a9ba234f991523d7dc34124a5d5e66110e29ab28d6cb9c1594 SHA512 c82e750b5bca95dadf9a7f8d39cc0b70ab756fc67fbc7791432d155c4c3c7e0530e8ff5f459d3b3204240e04f5c56c1f8d3a9f96b35af9c6818f95d87c3d00b1 WHIRLPOOL b0ec2ea7fd5ffcbefbd52cbe49623ccc0299ec951f3d6d3d850f896ff541c9fe8c9440dcee7b700f92c09cbc3b3e7c6d2b34de32f990c6a7b885dc096a5b3c24
+EBUILD go-mtpfs-9999.ebuild 1581 SHA256 b22feaa2605f7cb84127b630850fb2e1ca69a107a311f141b65834316eb9316d SHA512 3ee2e8672ba67bcf6421ec2c500097501ff6912c822ed5962ee7239793bcc8eb0eec44332f739472d1b521ab583d6903ee8e8eaaa76498d6afd9a02125e53374 WHIRLPOOL aa753a006669f966e3f7736a75802024eeb5a95430feee7a42b22d3b91a3d4e9dbe6567a86492a45d4c1c415c0184232ad5c576d481d11efc079dd5aca3aaf6b
+MISC ChangeLog 737 SHA256 6d036334b30f819396a9e7eda0e9a6fff1449be737cd4fbe5f42b3ee5ae1b36f SHA512 b537c55d30b2a8d5200f6c9148040b3e4e64af9c4531fa57b1dd33b3e1d52d3202bd1a29ad217b67dc53870885c14d93aaeaab247195dc44887916fb6c7cd515 WHIRLPOOL 1b3139d05e6fde19572e80f51ad044eb2cc01b1b5627605e7f4d836f75d775d1a0291e092c55ed45951bb7f2ba11fb707d53f2cdf1af601c1696bf730d3682ff
MISC metadata.xml 274 SHA256 fcdb6e69f3adb718ed543a83635badf4e360a57c550760997c4c5f8ea5c7193a SHA512 8b3d3358fe15d41a5bae960eb75727923c05bab81f63ab6cbab1134e9f49fe69c7e710edf051765950c57a2ef0025207d5f7c129b2bdccfca5be3ec042cf458e WHIRLPOOL 152e28545dc06eb18012d2545644b8bd223c546d10524a7c879573fb1ad265d75ff1ae8e3a95ee6777dbff155ff4ab6795841a884d3dd722579fa8ed5fa6bb49
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCgAGBQJSZJoQAAoJEKXdFCfdEflKRTkQALQUG+2zKSjXOpNvMiLWgxgP
-gMF++tewzseI0/kBMlcobPvJtV8/fsJx2TSFhfMl2XcdAgCrxEKuVjIhyZCFEG7n
-kw6HKapCTU8IV6pdi2m7y4CkRwMhAHkMnjvFFnt9InLZ/UQxKJJfJxVg0IlNsE2x
-IvlUJDqPgG98G4m0NYhsJ7HJKFRvomzu0d2qDmO8izW6KgzZkTgXe/9ru7wLBaFJ
-WtAq04hW1ZMQrffyiXPFegdkky/AUQEAJyZr4Xx/27tO2kjOHIgA4VHPajv8BR7B
-Vt/Nz0pAi2LcrzW7tv/hwEpEwzBWfbN6xyol0o3XFOMHlC2/SSdYE2mgcQ26Xe2s
-etaXeC0ubcfK4O7FuHg1QoZoKuY+OcndLTckhRLFtDhk1GHKbbSFbDq3eKsc1zuL
-bhQ+UXI2ffizj7DGBb8UyBjRLGAYfCFiFBI+daUctks3xbenI1O/dMwcpYUmnA6c
-uA3UNOHXqxiBTdMYRRylTMnGWudWl9Ua8NeBcRoA4FK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tpfs-9999.ebuild
+++ b/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild,v 1.3 2013/10/21 03:02:23 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild,v 1.4 2014/01/23 17:16:38 zerochaos Exp $
EAPI=5
-inherit git-r3
+inherit git-r3 flag-o-matic toolchain-funcs
DESCRIPTION="a simple FUSE filesystem for mounting Android devices as a MTP device"
HOMEPAGE="https://github.com/hanwen/go-mtpfs"
@@ -26,13 +26,21 @@ GO_PN="github.com/hanwen/${PN}"
EGIT_CHECKOUT_DIR="${S}/src/${GO_PN}"
export GOPATH="${S}"
+export GOGCCFLAGS="${CFLAGS}"
+
+#pkg_setup() {
+#}
src_compile() {
- go build -v -x -work ${GO_PN}/fs || die
- go build -v -x -work ${GO_PN}/usb || die
- go build -v -x -work ${GO_PN}/mtp || die
+ #if gcc-specs-pie ; then
+ # filter-flags -fPIE
+ # append-ldflags -nopie
+ #fi
+ go build -ldflags '-nopie' -v -x -work ${GO_PN}/fs || die
+ go build -ldflags '-nopie' -v -x -work ${GO_PN}/usb || die
+ go build -ldflags '-nopie' -v -x -work ${GO_PN}/mtp || die
#works on hardened up to here
- go build -v -x -work ${GO_PN} || die
+ go build -ldflags '-extldflags=-fno-PIC' -v -x -work ${GO_PN} || die
}
src_test() {
@@ -46,7 +54,7 @@ src_install() {
# go install -v -x -work ${GO_PN}/fs || die
# go install -v -x -work ${GO_PN}/usb || die
# go install -v -x -work ${GO_PN}/mtp || die
- go install -v -x -work ${GO_PN} || die
+ go install -ldflags '-extldflags=-fno-PIC' -v -x -work ${GO_PN} || die
}
#please don't remove commented lines till it works in hardened