1 |
zerochaos 14/01/23 17:16:38 |
2 |
|
3 |
Modified: go-mtpfs-9999.ebuild ChangeLog |
4 |
Log: |
5 |
horrible, horrible update, that happens to build on hardened |
6 |
|
7 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key DD11F94A) |
8 |
|
9 |
Revision Changes Path |
10 |
1.4 sys-fs/go-mtpfs/go-mtpfs-9999.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild?rev=1.4&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild?rev=1.4&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild?r1=1.3&r2=1.4 |
15 |
|
16 |
Index: go-mtpfs-9999.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild,v |
19 |
retrieving revision 1.3 |
20 |
retrieving revision 1.4 |
21 |
diff -u -r1.3 -r1.4 |
22 |
--- go-mtpfs-9999.ebuild 21 Oct 2013 03:02:23 -0000 1.3 |
23 |
+++ go-mtpfs-9999.ebuild 23 Jan 2014 17:16:38 -0000 1.4 |
24 |
@@ -1,10 +1,10 @@ |
25 |
-# Copyright 1999-2013 Gentoo Foundation |
26 |
+# Copyright 1999-2014 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild,v 1.3 2013/10/21 03:02:23 zerochaos Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild,v 1.4 2014/01/23 17:16:38 zerochaos Exp $ |
30 |
|
31 |
EAPI=5 |
32 |
|
33 |
-inherit git-r3 |
34 |
+inherit git-r3 flag-o-matic toolchain-funcs |
35 |
|
36 |
DESCRIPTION="a simple FUSE filesystem for mounting Android devices as a MTP device" |
37 |
HOMEPAGE="https://github.com/hanwen/go-mtpfs" |
38 |
@@ -26,13 +26,21 @@ |
39 |
EGIT_CHECKOUT_DIR="${S}/src/${GO_PN}" |
40 |
|
41 |
export GOPATH="${S}" |
42 |
+export GOGCCFLAGS="${CFLAGS}" |
43 |
+ |
44 |
+#pkg_setup() { |
45 |
+#} |
46 |
|
47 |
src_compile() { |
48 |
- go build -v -x -work ${GO_PN}/fs || die |
49 |
- go build -v -x -work ${GO_PN}/usb || die |
50 |
- go build -v -x -work ${GO_PN}/mtp || die |
51 |
+ #if gcc-specs-pie ; then |
52 |
+ # filter-flags -fPIE |
53 |
+ # append-ldflags -nopie |
54 |
+ #fi |
55 |
+ go build -ldflags '-nopie' -v -x -work ${GO_PN}/fs || die |
56 |
+ go build -ldflags '-nopie' -v -x -work ${GO_PN}/usb || die |
57 |
+ go build -ldflags '-nopie' -v -x -work ${GO_PN}/mtp || die |
58 |
#works on hardened up to here |
59 |
- go build -v -x -work ${GO_PN} || die |
60 |
+ go build -ldflags '-extldflags=-fno-PIC' -v -x -work ${GO_PN} || die |
61 |
} |
62 |
|
63 |
src_test() { |
64 |
@@ -46,7 +54,7 @@ |
65 |
# go install -v -x -work ${GO_PN}/fs || die |
66 |
# go install -v -x -work ${GO_PN}/usb || die |
67 |
# go install -v -x -work ${GO_PN}/mtp || die |
68 |
- go install -v -x -work ${GO_PN} || die |
69 |
+ go install -ldflags '-extldflags=-fno-PIC' -v -x -work ${GO_PN} || die |
70 |
} |
71 |
|
72 |
#please don't remove commented lines till it works in hardened |
73 |
|
74 |
|
75 |
|
76 |
1.4 sys-fs/go-mtpfs/ChangeLog |
77 |
|
78 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/go-mtpfs/ChangeLog?rev=1.4&view=markup |
79 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/go-mtpfs/ChangeLog?rev=1.4&content-type=text/plain |
80 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/go-mtpfs/ChangeLog?r1=1.3&r2=1.4 |
81 |
|
82 |
Index: ChangeLog |
83 |
=================================================================== |
84 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/go-mtpfs/ChangeLog,v |
85 |
retrieving revision 1.3 |
86 |
retrieving revision 1.4 |
87 |
diff -u -r1.3 -r1.4 |
88 |
--- ChangeLog 21 Oct 2013 03:02:23 -0000 1.3 |
89 |
+++ ChangeLog 23 Jan 2014 17:16:38 -0000 1.4 |
90 |
@@ -1,6 +1,9 @@ |
91 |
# ChangeLog for sys-fs/go-mtpfs |
92 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
93 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/go-mtpfs/ChangeLog,v 1.3 2013/10/21 03:02:23 zerochaos Exp $ |
94 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
95 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/go-mtpfs/ChangeLog,v 1.4 2014/01/23 17:16:38 zerochaos Exp $ |
96 |
+ |
97 |
+ 23 Jan 2014; Rick Farina <zerochaos@g.o> go-mtpfs-9999.ebuild: |
98 |
+ horrible, horrible update, that happens to build on hardened |
99 |
|
100 |
21 Oct 2013; Rick Farina <zerochaos@g.o> go-mtpfs-9999.ebuild: |
101 |
breaking things up and adding tests |