diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-01-22 14:56:13 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-01-22 14:56:13 +0100 |
commit | b073853b39896b22219860ff75400e827eebcf77 (patch) | |
tree | 13cf73bab16efb1ed847f6e2739ed940f29c0d66 /pcr/agent-transfer | |
parent | 10bccc373f220ade191ba88676605a1d08c56850 (diff) | |
download | abslibre-b073853b39896b22219860ff75400e827eebcf77.tar.gz abslibre-b073853b39896b22219860ff75400e827eebcf77.tar.bz2 abslibre-b073853b39896b22219860ff75400e827eebcf77.zip |
pcr/agent-transfer: added
Diffstat (limited to 'pcr/agent-transfer')
-rw-r--r-- | pcr/agent-transfer/PKGBUILD | 37 | ||||
-rw-r--r-- | pcr/agent-transfer/agent-transfer.patch | 51 |
2 files changed, 88 insertions, 0 deletions
diff --git a/pcr/agent-transfer/PKGBUILD b/pcr/agent-transfer/PKGBUILD new file mode 100644 index 000000000..ac60154e1 --- /dev/null +++ b/pcr/agent-transfer/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer (AUR): svalo <valo@eigenlab.org> + +# parabola changes and rationale: +# no changes. + +pkgname=agent-transfer +_pkgsrcname=monkeysphere +pkgver=0.41 +pkgrel=1 +pkgdesc="Copy a secret key from GnuPG's gpg-agent to OpenSSH's ssh-agent" +arch=('i686' 'x86_64' 'armv7h') +url="http://web.monkeysphere.info/" +license=('GPL3') +depends=('libassuan>=2.0.1' 'libgcrypt>=1.7.0') +source=(http://archive.monkeysphere.info/debian/pool/${_pkgsrcname}/m/${_pkgsrcname}/${_pkgsrcname}_${pkgver}.orig.tar.gz + agent-transfer.patch + ) + +sha256sums=('911a2f1622ddb81151b0f41cf569ccf2154d10a09b2f446dbe98fac7279fe74b' + '7209c99d3f11bfdd6484012e989c296d3f484b6f1f7e37ae65bd54b4c3873673') + +prepare() { + cd "${srcdir}/${_pkgsrcname}-${pkgver}" + patch -Ni "${srcdir}/agent-transfer.patch" + +} + +build() { + cd "${srcdir}/${_pkgsrcname}-${pkgver}" + make all +} + +package() { + cd "${srcdir}/${_pkgsrcname}-${pkgver}" + + make DESTDIR="${pkgdir}/" install +} diff --git a/pcr/agent-transfer/agent-transfer.patch b/pcr/agent-transfer/agent-transfer.patch new file mode 100644 index 000000000..708fed129 --- /dev/null +++ b/pcr/agent-transfer/agent-transfer.patch @@ -0,0 +1,51 @@ +--- Makefile.orig 2016-12-03 10:43:04.759768941 +0100 ++++ Makefile 2016-12-03 10:57:02.677366447 +0100 +@@ -62,43 +62,14 @@ + # this target is to be called from the tarball, not from the git + # working dir! + install: all installman +- mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/sbin +- mkdir -p $(DESTDIR)$(PREFIX)/share/monkeysphere/m $(DESTDIR)$(PREFIX)/share/monkeysphere/mh $(DESTDIR)$(PREFIX)/share/monkeysphere/ma $(DESTDIR)$(PREFIX)/share/monkeysphere/transitions +- mkdir -p $(DESTDIR)$(ETCPREFIX)/etc/monkeysphere +- mkdir -p $(DESTDIR)$(PREFIX)/share/doc/monkeysphere +- printf "Monkeysphere %s\n" $(MONKEYSPHERE_VERSION) > $(DESTDIR)$(PREFIX)/share/monkeysphere/VERSION +- install replaced/src/monkeysphere $(DESTDIR)$(PREFIX)/bin +- install replaced/src/monkeysphere-host $(DESTDIR)$(PREFIX)/sbin +- install replaced/src/monkeysphere-authentication $(DESTDIR)$(PREFIX)/sbin +- install src/monkeysphere-authentication-keys-for-user $(DESTDIR)$(PREFIX)/share/monkeysphere +- install -m 0644 src/share/common $(DESTDIR)$(PREFIX)/share/monkeysphere +- install -m 0644 replaced/src/share/defaultenv $(DESTDIR)$(PREFIX)/share/monkeysphere +- install -m 0755 src/share/checkperms $(DESTDIR)$(PREFIX)/share/monkeysphere +- install -m 0755 src/share/keytrans $(DESTDIR)$(PREFIX)/share/monkeysphere +- ln -sf ../share/monkeysphere/keytrans $(DESTDIR)$(PREFIX)/bin/pem2openpgp +- ln -sf ../share/monkeysphere/keytrans $(DESTDIR)$(PREFIX)/bin/openpgp2ssh +- ln -sf ../share/monkeysphere/keytrans $(DESTDIR)$(PREFIX)/bin/openpgp2pem +- ln -sf ../share/monkeysphere/keytrans $(DESTDIR)$(PREFIX)/bin/openpgp2spki ++ mkdir -p $(DESTDIR)$(PREFIX)/bin + install -m 0755 src/agent-transfer/agent-transfer $(DESTDIR)$(PREFIX)/bin +- install -m 0744 replaced/src/transitions/* $(DESTDIR)$(PREFIX)/share/monkeysphere/transitions +- install -m 0644 src/transitions/README.txt $(DESTDIR)$(PREFIX)/share/monkeysphere/transitions +- install -m 0644 src/share/m/* $(DESTDIR)$(PREFIX)/share/monkeysphere/m +- install -m 0644 src/share/mh/* $(DESTDIR)$(PREFIX)/share/monkeysphere/mh +- install -m 0644 src/share/ma/* $(DESTDIR)$(PREFIX)/share/monkeysphere/ma +- install -m 0644 Changelog $(DESTDIR)$(PREFIX)/share/doc/monkeysphere +- install -d $(DESTDIR)$(PREFIX)/share/doc/monkeysphere/examples +- install -m 0644 examples/* $(DESTDIR)$(PREFIX)/share/doc/monkeysphere/examples +- install -m 0644 etc/monkeysphere.conf $(DESTDIR)$(ETCPREFIX)/etc/monkeysphere/monkeysphere.conf$(ETCSUFFIX) +- install -m 0644 etc/monkeysphere-host.conf $(DESTDIR)$(ETCPREFIX)/etc/monkeysphere/monkeysphere-host.conf$(ETCSUFFIX) +- install -m 0644 etc/monkeysphere-authentication.conf $(DESTDIR)$(ETCPREFIX)/etc/monkeysphere/monkeysphere-authentication.conf$(ETCSUFFIX) + + installman: $(REPLACED_COMPRESSED_MANPAGES) +- mkdir -p $(DESTDIR)$(MANPREFIX)/man1 $(DESTDIR)$(MANPREFIX)/man7 $(DESTDIR)$(MANPREFIX)/man8 +- install replaced/man/man1/* $(DESTDIR)$(MANPREFIX)/man1 +- install replaced/man/man7/* $(DESTDIR)$(MANPREFIX)/man7 +- install replaced/man/man8/* $(DESTDIR)$(MANPREFIX)/man8 +- ln -sf openpgp2ssh.1.gz $(DESTDIR)$(MANPREFIX)/man1/openpgp2pem.1.gz +- ln -sf openpgp2ssh.1.gz $(DESTDIR)$(MANPREFIX)/man1/openpgp2spki.1.gz ++ mkdir -p $(DESTDIR)$(MANPREFIX)/man1 ++ gzip -n man/man1/agent-transfer.1 ++ install man/man1/agent-transfer.1.gz $(DESTDIR)$(MANPREFIX)/man1 ++ + + # this target depends on you having the monkeysphere-docs + # repo checked out as a peer of your monkeysphere repo. |