1 |
zx2c4 14/03/22 19:38:36 |
2 |
|
3 |
Modified: pass-9999.ebuild ChangeLog |
4 |
Log: |
5 |
Support darwin on livebuild. |
6 |
|
7 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A5DE03AE) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 app-admin/pass/pass-9999.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/pass/pass-9999.ebuild?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/pass/pass-9999.ebuild?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/pass/pass-9999.ebuild?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: pass-9999.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/pass/pass-9999.ebuild,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- pass-9999.ebuild 22 Mar 2014 19:30:33 -0000 1.4 |
23 |
+++ pass-9999.ebuild 22 Mar 2014 19:38:36 -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/app-admin/pass/pass-9999.ebuild,v 1.4 2014/03/22 19:30:33 zx2c4 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/pass/pass-9999.ebuild,v 1.5 2014/03/22 19:38:36 zx2c4 Exp $ |
29 |
|
30 |
EAPI=4 |
31 |
|
32 |
@@ -13,7 +13,7 @@ |
33 |
SLOT="0" |
34 |
LICENSE="GPL-2" |
35 |
KEYWORDS="" |
36 |
-IUSE="+git X zsh-completion fish-completion" |
37 |
+IUSE="+git X zsh-completion fish-completion elibc_Darwin" |
38 |
|
39 |
RDEPEND=" |
40 |
app-crypt/gnupg |
41 |
@@ -21,12 +21,23 @@ |
42 |
app-text/tree |
43 |
git? ( dev-vcs/git ) |
44 |
X? ( x11-misc/xclip ) |
45 |
+ elibc_Darwin? ( app-misc/getopt ) |
46 |
zsh-completion? ( app-shells/zsh ) |
47 |
fish-completion? ( app-shells/fish ) |
48 |
" |
49 |
|
50 |
S="${WORKDIR}/password-store-${PV}" |
51 |
|
52 |
+src_prepare() { |
53 |
+ use elibc_Darwin || return |
54 |
+ # use coreutils' |
55 |
+ sed -i -e 's/openssl base64/base64/g' src/platform/darwin.sh || die |
56 |
+ # host getopt isn't cool, and we aren't brew (rip out brew reference) |
57 |
+ sed -i -e '/^GETOPT=/s/=.*$/=getopt-long/' src/platform/darwin.sh || die |
58 |
+ # make sure we can find "mount" |
59 |
+ sed -i -e 's:mount -t:/sbin/mount -t:' src/platform/darwin.sh || die |
60 |
+} |
61 |
+ |
62 |
src_compile() { |
63 |
:; |
64 |
} |
65 |
@@ -44,4 +55,9 @@ |
66 |
insinto /usr/share/fish/completions |
67 |
newins src/completion/pass.fish-completion pass.fish |
68 |
fi |
69 |
+ if use elibc_Darwin ; then |
70 |
+ insinto /usr/share/pass |
71 |
+ newins src/platform/darwin.sh platform.sh |
72 |
+ fi |
73 |
+ |
74 |
} |
75 |
|
76 |
|
77 |
|
78 |
1.8 app-admin/pass/ChangeLog |
79 |
|
80 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/pass/ChangeLog?rev=1.8&view=markup |
81 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/pass/ChangeLog?rev=1.8&content-type=text/plain |
82 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/pass/ChangeLog?r1=1.7&r2=1.8 |
83 |
|
84 |
Index: ChangeLog |
85 |
=================================================================== |
86 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/pass/ChangeLog,v |
87 |
retrieving revision 1.7 |
88 |
retrieving revision 1.8 |
89 |
diff -u -r1.7 -r1.8 |
90 |
--- ChangeLog 22 Mar 2014 19:30:33 -0000 1.7 |
91 |
+++ ChangeLog 22 Mar 2014 19:38:36 -0000 1.8 |
92 |
@@ -1,6 +1,9 @@ |
93 |
# ChangeLog for app-admin/pass |
94 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
95 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/pass/ChangeLog,v 1.7 2014/03/22 19:30:33 zx2c4 Exp $ |
96 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/pass/ChangeLog,v 1.8 2014/03/22 19:38:36 zx2c4 Exp $ |
97 |
+ |
98 |
+ 22 Mar 2014; Jason A. Donenfeld <zx2c4@g.o> pass-9999.ebuild: |
99 |
+ Support darwin on livebuild. |
100 |
|
101 |
22 Mar 2014; Jason A. Donenfeld <zx2c4@g.o> pass-9999.ebuild: |
102 |
Completion location changed in upstream. |