From 4ab59d1924b9994721970d14dcfe446cf89d5670 Mon Sep 17 00:00:00 2001 From: Martin Sekera Date: Wed, 12 Dec 2018 23:03:31 +0100 Subject: [PATCH] add app-security/over-crypt --- metadata/categories.conf | 1 + .../over-crypt/over-crypt-scm.exheres-0 | 32 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 packages/app-security/over-crypt/over-crypt-scm.exheres-0 diff --git a/metadata/categories.conf b/metadata/categories.conf index 198f281..bfe8788 100644 --- a/metadata/categories.conf +++ b/metadata/categories.conf @@ -12,3 +12,4 @@ net-im net-p2p sys-apps x11-apps +app-security diff --git a/packages/app-security/over-crypt/over-crypt-scm.exheres-0 b/packages/app-security/over-crypt/over-crypt-scm.exheres-0 new file mode 100644 index 0000000..387965f --- /dev/null +++ b/packages/app-security/over-crypt/over-crypt-scm.exheres-0 @@ -0,0 +1,32 @@ +# Copyright 2018 Martin Sekera +# Distributed under the terms of the GNU General Public License v2 + +SUMMARY="An encrypted secret (noun) storage." +HOMEPAGE="https://git.aggregate.cz/overwatch/${PN}" +LICENCES="GPL-3" +SLOT="0" +PLATFORMS="~amd64 ~armv7 ~x86" +MYOPTIONS="" +SCM_REPOSITORY="https://git.aggregate.cz/overwatch/${PN}.git" +if ! ever is_scm; then + SCM_BRANCH="${PV}" +fi + +DEPENDENCIES=" + run: + dev-python/over + dev-python/pycrypto +" + +require scm-git + +src_install() { + exeinto /usr/share/${PN} + doexe ${PN}.py + + insinto /usr/share/${PN} + doins version.py + + dodir /usr/$(exhost --target)/bin + dosym /usr/share/${PN}/${PN}.py /usr/$(exhost --target)/bin/${PN} +}