zx2c4 14/03/22 19:38:36 Modified: pass-9999.ebuild ChangeLog Log: Support darwin on livebuild. (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A5DE03AE)
Revision Changes Path 1.5 app-admin/pass/pass-9999.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/pass/pass-9999.ebuild?rev=1.5&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/pass/pass-9999.ebuild?rev=1.5&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/pass/pass-9999.ebuild?r1=1.4&r2=1.5 Index: pass-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-admin/pass/pass-9999.ebuild,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- pass-9999.ebuild 22 Mar 2014 19:30:33 -0000 1.4 +++ pass-9999.ebuild 22 Mar 2014 19:38:36 -0000 1.5 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/pass/pass-9999.ebuild,v 1.4 2014/03/22 19:30:33 zx2c4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/pass/pass-9999.ebuild,v 1.5 2014/03/22 19:38:36 zx2c4 Exp $ EAPI=4 @@ -13,7 +13,7 @@ SLOT="0" LICENSE="GPL-2" KEYWORDS="" -IUSE="+git X zsh-completion fish-completion" +IUSE="+git X zsh-completion fish-completion elibc_Darwin" RDEPEND=" app-crypt/gnupg @@ -21,12 +21,23 @@ app-text/tree git? ( dev-vcs/git ) X? ( x11-misc/xclip ) + elibc_Darwin? ( app-misc/getopt ) zsh-completion? ( app-shells/zsh ) fish-completion? ( app-shells/fish ) " S="${WORKDIR}/password-store-${PV}" +src_prepare() { + use elibc_Darwin || return + # use coreutils' + sed -i -e 's/openssl base64/base64/g' src/platform/darwin.sh || die + # host getopt isn't cool, and we aren't brew (rip out brew reference) + sed -i -e '/^GETOPT=/s/=.*$/=getopt-long/' src/platform/darwin.sh || die + # make sure we can find "mount" + sed -i -e 's:mount -t:/sbin/mount -t:' src/platform/darwin.sh || die +} + src_compile() { :; } @@ -44,4 +55,9 @@ insinto /usr/share/fish/completions newins src/completion/pass.fish-completion pass.fish fi + if use elibc_Darwin ; then + insinto /usr/share/pass + newins src/platform/darwin.sh platform.sh + fi + } 1.8 app-admin/pass/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/pass/ChangeLog?rev=1.8&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/pass/ChangeLog?rev=1.8&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/pass/ChangeLog?r1=1.7&r2=1.8 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-admin/pass/ChangeLog,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- ChangeLog 22 Mar 2014 19:30:33 -0000 1.7 +++ ChangeLog 22 Mar 2014 19:38:36 -0000 1.8 @@ -1,6 +1,9 @@ # ChangeLog for app-admin/pass # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/pass/ChangeLog,v 1.7 2014/03/22 19:30:33 zx2c4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/pass/ChangeLog,v 1.8 2014/03/22 19:38:36 zx2c4 Exp $ + + 22 Mar 2014; Jason A. Donenfeld <[email protected]> pass-9999.ebuild: + Support darwin on livebuild. 22 Mar 2014; Jason A. Donenfeld <[email protected]> pass-9999.ebuild: Completion location changed in upstream.
