1 |
zerochaos 14/01/28 01:13:50 |
2 |
|
3 |
Modified: go-mtpfs-9999.ebuild ChangeLog |
4 |
Log: |
5 |
can't say I'm proud, but this is about as clean as I can get it, and it works |
6 |
|
7 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key DD11F94A) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 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.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild?r1=1.4&r2=1.5 |
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.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- go-mtpfs-9999.ebuild 23 Jan 2014 17:16:38 -0000 1.4 |
23 |
+++ go-mtpfs-9999.ebuild 28 Jan 2014 01:13:50 -0000 1.5 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2014 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild,v 1.4 2014/01/23 17:16:38 zerochaos Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild,v 1.5 2014/01/28 01:13:50 zerochaos Exp $ |
29 |
|
30 |
EAPI=5 |
31 |
|
32 |
@@ -16,45 +16,33 @@ |
33 |
IUSE="" |
34 |
|
35 |
COMMON_DEPEND="virtual/libusb |
36 |
- media-libs/libmtp" |
37 |
+ virtual/udev" |
38 |
DEPEND="${COMMON_DEPEND} |
39 |
dev-libs/go-fuse |
40 |
- dev-lang/go" |
41 |
+ dev-lang/go |
42 |
+ media-libs/libmtp" |
43 |
+ |
44 |
RDEPEND="${COMMON_DEPEND}" |
45 |
|
46 |
+#Tests require a connected mtp device |
47 |
+RESTRICT="test" |
48 |
+ |
49 |
GO_PN="github.com/hanwen/${PN}" |
50 |
EGIT_CHECKOUT_DIR="${S}/src/${GO_PN}" |
51 |
+QA_FLAGS_IGNORED=usr/bin/go-mtpfs |
52 |
|
53 |
export GOPATH="${S}" |
54 |
-export GOGCCFLAGS="${CFLAGS}" |
55 |
- |
56 |
-#pkg_setup() { |
57 |
-#} |
58 |
|
59 |
src_compile() { |
60 |
- #if gcc-specs-pie ; then |
61 |
- # filter-flags -fPIE |
62 |
- # append-ldflags -nopie |
63 |
- #fi |
64 |
- go build -ldflags '-nopie' -v -x -work ${GO_PN}/fs || die |
65 |
- go build -ldflags '-nopie' -v -x -work ${GO_PN}/usb || die |
66 |
- go build -ldflags '-nopie' -v -x -work ${GO_PN}/mtp || die |
67 |
-#works on hardened up to here |
68 |
go build -ldflags '-extldflags=-fno-PIC' -v -x -work ${GO_PN} || die |
69 |
} |
70 |
|
71 |
src_test() { |
72 |
-#none of this works on hardened |
73 |
- go test ${GO_PN}/fs || die |
74 |
- go test ${GO_PN}/usb || die |
75 |
- go test ${GO_PN}/mtp || die |
76 |
+ go test -ldflags '-extldflags=-fno-PIC' ${GO_PN}/fs || die |
77 |
+ go test -ldflags '-extldflags=-fno-PIC' ${GO_PN}/usb || die |
78 |
+ go test -ldflags '-extldflags=-fno-PIC' ${GO_PN}/mtp || die |
79 |
} |
80 |
|
81 |
src_install() { |
82 |
-# go install -v -x -work ${GO_PN}/fs || die |
83 |
-# go install -v -x -work ${GO_PN}/usb || die |
84 |
-# go install -v -x -work ${GO_PN}/mtp || die |
85 |
- go install -ldflags '-extldflags=-fno-PIC' -v -x -work ${GO_PN} || die |
86 |
+ dobin go-mtpfs |
87 |
} |
88 |
- |
89 |
-#please don't remove commented lines till it works in hardened |
90 |
|
91 |
|
92 |
|
93 |
1.5 sys-fs/go-mtpfs/ChangeLog |
94 |
|
95 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/go-mtpfs/ChangeLog?rev=1.5&view=markup |
96 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/go-mtpfs/ChangeLog?rev=1.5&content-type=text/plain |
97 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/go-mtpfs/ChangeLog?r1=1.4&r2=1.5 |
98 |
|
99 |
Index: ChangeLog |
100 |
=================================================================== |
101 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/go-mtpfs/ChangeLog,v |
102 |
retrieving revision 1.4 |
103 |
retrieving revision 1.5 |
104 |
diff -u -r1.4 -r1.5 |
105 |
--- ChangeLog 23 Jan 2014 17:16:38 -0000 1.4 |
106 |
+++ ChangeLog 28 Jan 2014 01:13:50 -0000 1.5 |
107 |
@@ -1,6 +1,9 @@ |
108 |
# ChangeLog for sys-fs/go-mtpfs |
109 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
110 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/go-mtpfs/ChangeLog,v 1.4 2014/01/23 17:16:38 zerochaos Exp $ |
111 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/go-mtpfs/ChangeLog,v 1.5 2014/01/28 01:13:50 zerochaos Exp $ |
112 |
+ |
113 |
+ 28 Jan 2014; Rick Farina <zerochaos@g.o> go-mtpfs-9999.ebuild: |
114 |
+ can't say I'm proud, but this is about as clean as I can get it, and it works |
115 |
|
116 |
23 Jan 2014; Rick Farina <zerochaos@g.o> go-mtpfs-9999.ebuild: |
117 |
horrible, horrible update, that happens to build on hardened |