[4.2] qubes-pass: add service subpackage #73
2 changed files with 25 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
pkgname=qubes-pass
|
pkgname=qubes-pass
|
||||||
pkgver=0.1.0
|
pkgver=0.1.0
|
||||||
_gittag="v$pkgver"
|
_gittag="v$pkgver"
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="An inter-VM password manager for Qubes OS"
|
pkgdesc="An inter-VM password manager for Qubes OS"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
url="https://github.com/Rudd-O/qubes-pass"
|
url="https://github.com/Rudd-O/qubes-pass"
|
||||||
|
@ -14,11 +14,21 @@ makedepends="
|
||||||
pkgconf
|
pkgconf
|
||||||
"
|
"
|
||||||
options="!check"
|
options="!check"
|
||||||
source="$pkgname-$_gittag.tar.gz::https://github.com/Rudd-O/qubes-pass/archive/$_gittag.tar.gz"
|
subpackages="$pkgname-service"
|
||||||
|
source="
|
||||||
|
$pkgname-$_gittag.tar.gz::https://github.com/Rudd-O/qubes-pass/archive/$_gittag.tar.gz
|
||||||
|
service-passquery.sh
|
||||||
|
"
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
make install-client DESTDIR="$pkgdir"
|
make install-client DESTDIR="$pkgdir"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
service() {
|
||||||
|
make -C "$builddir" install-service DESTDIR="$subpkgdir"
|
||||||
|
install -Dm755 "$srcdir"/service-passquery.sh "$subpkgdir"/etc/qubes-rpc/ruddo.PassQuery
|
||||||
|
}
|
||||||
sha512sums="
|
sha512sums="
|
||||||
b304bf8e6b8d04e7df4b52a02984ab03b6f3221c9178f1d91c99cab61e8b5ded45500b51de6d89aa76f4e73c0a3670ce6d07649c0ac159d048c3f0ac736c4d63 qubes-pass-v0.1.0.tar.gz
|
b304bf8e6b8d04e7df4b52a02984ab03b6f3221c9178f1d91c99cab61e8b5ded45500b51de6d89aa76f4e73c0a3670ce6d07649c0ac159d048c3f0ac736c4d63 qubes-pass-v0.1.0.tar.gz
|
||||||
|
77807ba7bd8e1627785358ef2f9e165712ef41ef76f11e7a7b989b1057f462abc433df96265c6c7d669f81e39d89de0f7ea3dcbb207c5a7a22738b843fd7e160 service-passquery.sh
|
||||||
"
|
"
|
||||||
|
|
13
qubes-pass/service-passquery.sh
Normal file
13
qubes-pass/service-passquery.sh
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
read -n 4096 cmd
|
||||||
|
cmd=$(echo "$cmd" | base64 -d)
|
||||||
|
|
||||||
|
if [ "$cmd" == "list-files" ] ; then
|
||||||
|
|
||||||
|
logger -t ruddo.PassQuery "requested password file list"
|
||||||
|
exec pass git ls-files | sed -e '/.gitattributes/d' -e '/.gpg-id/d'
|
||||||
|
|
||||||
|
fi
|
Loading…
Reference in a new issue