[gentoo-commits] repo/gentoo:master commit in: app-misc/notary/

2022-04-18 Thread Conrad Kostecki
commit: 0d175ee9ec20f9fa307b576e4ebbc4006ea972e5
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Apr 18 12:11:19 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Apr 18 21:04:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d175ee9

app-misc/notary: udpate github link

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/25088
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-misc/notary/notary-0.7.0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-misc/notary/notary-0.7.0.ebuild 
b/app-misc/notary/notary-0.7.0.ebuild
index 141759da1bd1..4ca8fbf90066 100644
--- a/app-misc/notary/notary-0.7.0.ebuild
+++ b/app-misc/notary/notary-0.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -6,8 +6,8 @@ inherit go-module
 GIT_COMMIT=b0b6bfdd
 
 DESCRIPTION="A project that allows anyone to have trust over arbitrary 
collections of data"
-HOMEPAGE="https://github.com/theupdateframework/notary;
-SRC_URI="https://github.com/theupdateframework/notary/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+HOMEPAGE="https://github.com/notaryproject/notary;
+SRC_URI="https://github.com/notaryproject/notary/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: app-misc/notary/

2021-09-04 Thread William Hubbs
commit: 6458db8c80e509b9ddd8efc9080ede40d6396846
Author: William Hubbs  gentoo  org>
AuthorDate: Sat Sep  4 22:10:08 2021 +
Commit: William Hubbs  gentoo  org>
CommitDate: Sat Sep  4 22:10:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6458db8c

app-misc/notary: 0.7.0 bump

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: William Hubbs  gentoo.org>

 app-misc/notary/Manifest|  1 +
 app-misc/notary/notary-0.7.0.ebuild | 36 
 2 files changed, 37 insertions(+)

diff --git a/app-misc/notary/Manifest b/app-misc/notary/Manifest
index ef95fe07f70..93321a20bbd 100644
--- a/app-misc/notary/Manifest
+++ b/app-misc/notary/Manifest
@@ -1 +1,2 @@
 DIST notary-0.6.1.tar.gz 5741924 BLAKE2B 
125e1e09178f090de9d73bb97170737d03c8f43927cf070a2c78e0c5eff3cd56a58aaf703a4ba60aa3e1bd7e22d2ceb0921abaa98e6f871ed1131249e44c622d
 SHA512 
76e223c0c5c59796db924f0e52ea59d2bdbb101a9a059cd70d336928dcac616943d75fc9b8d7703de8609b2f694d2fc5627deb341971dc9401c00974261d57c3
+DIST notary-0.7.0.tar.gz 7146025 BLAKE2B 
2aafa82e27eb498d21d09781b54f9a40df57ba23fd4386b5d8fdc0eb09a74b761a1bc3c618ad2403b21e049c4dfb9e75281e949cc8f29474da6903d5fc06ede3
 SHA512 
8996f4d64fda5db54d460ae8168360fdde86986752b30255ab9cf9cf12d475f88d7ac4f2b0e15d6cb9ee8eff2709306fd0b3d38708ee41caa94862d795ca6a75

diff --git a/app-misc/notary/notary-0.7.0.ebuild 
b/app-misc/notary/notary-0.7.0.ebuild
new file mode 100644
index 000..141759da1bd
--- /dev/null
+++ b/app-misc/notary/notary-0.7.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+GIT_COMMIT=b0b6bfdd
+
+DESCRIPTION="A project that allows anyone to have trust over arbitrary 
collections of data"
+HOMEPAGE="https://github.com/theupdateframework/notary;
+SRC_URI="https://github.com/theupdateframework/notary/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   acct-group/notary
+   acct-user/notary
+"
+BDEPEND="${RDEPEND}"
+
+src_compile() {
+   emake GITCOMMIT=${GIT_COMMIT} NOTARY_VERSION=${PV} binaries
+}
+
+src_install() {
+   dobin bin/${PN}{,-server,-signer}
+   insinto /var/lib/notary
+   doins -r migrations fixtures
+   fowners -R ${PN}:${PN} /var/lib/notary
+   fperms -R 0600 /var/lib/notary/fixtures/database/
+   newinitd "${FILESDIR}"/notary-signer.initd notary-signer
+   newconfd "${FILESDIR}"/notary-signer.confd notary-signer
+   newinitd "${FILESDIR}"/notary-server.initd notary-server
+   newconfd "${FILESDIR}"/notary-server.confd notary-server
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/notary/

2021-09-04 Thread William Hubbs
commit: 2719f5f9108d1d662cfc4dc5dfc8b26a7bc600ae
Author: William Hubbs  gentoo  org>
AuthorDate: Sat Sep  4 22:10:34 2021 +
Commit: William Hubbs  gentoo  org>
CommitDate: Sat Sep  4 22:10:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2719f5f9

app-misc/notary: remove old

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: William Hubbs  gentoo.org>

 app-misc/notary/Manifest   |  1 -
 app-misc/notary/notary-0.6.1-r2.ebuild | 46 --
 2 files changed, 47 deletions(-)

diff --git a/app-misc/notary/Manifest b/app-misc/notary/Manifest
index 93321a20bbd..d9d54ecd62f 100644
--- a/app-misc/notary/Manifest
+++ b/app-misc/notary/Manifest
@@ -1,2 +1 @@
-DIST notary-0.6.1.tar.gz 5741924 BLAKE2B 
125e1e09178f090de9d73bb97170737d03c8f43927cf070a2c78e0c5eff3cd56a58aaf703a4ba60aa3e1bd7e22d2ceb0921abaa98e6f871ed1131249e44c622d
 SHA512 
76e223c0c5c59796db924f0e52ea59d2bdbb101a9a059cd70d336928dcac616943d75fc9b8d7703de8609b2f694d2fc5627deb341971dc9401c00974261d57c3
 DIST notary-0.7.0.tar.gz 7146025 BLAKE2B 
2aafa82e27eb498d21d09781b54f9a40df57ba23fd4386b5d8fdc0eb09a74b761a1bc3c618ad2403b21e049c4dfb9e75281e949cc8f29474da6903d5fc06ede3
 SHA512 
8996f4d64fda5db54d460ae8168360fdde86986752b30255ab9cf9cf12d475f88d7ac4f2b0e15d6cb9ee8eff2709306fd0b3d38708ee41caa94862d795ca6a75

diff --git a/app-misc/notary/notary-0.6.1-r2.ebuild 
b/app-misc/notary/notary-0.6.1-r2.ebuild
deleted file mode 100644
index 840f089bb57..000
--- a/app-misc/notary/notary-0.6.1-r2.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit golang-vcs-snapshot golang-build
-
-KEYWORDS="~amd64"
-DESCRIPTION="A project that allows anyone to have trust over arbitrary 
collections of data"
-EGO_PN="github.com/theupdateframework/notary"
-GIT_COMMIT="d6e1431feb32348e0650bf7551ac5cffd01d857b"
-
-HOMEPAGE="https://github.com/theupdateframework/notary;
-SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-
-RDEPEND="
-   acct-group/notary
-   acct-user/notary
-"
-BDEPEND="${RDEPEND}"
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
-   ${EGO_PN}/cmd/notary-server || die
-   GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
-   ${EGO_PN}/cmd/notary-signer || die
-   GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
-   ${EGO_PN}/cmd/notary || die
-   popd || die
-}
-
-src_install() {
-   dobin bin/${PN}{,-server,-signer}
-   pushd src/${EGO_PN} || die
-   insinto /var/lib/notary
-   doins -r migrations fixtures
-   fowners -R ${PN}:${PN} /var/lib/notary
-   fperms -R 0600 /var/lib/notary/fixtures/database/
-   newinitd "${FILESDIR}"/notary-signer.initd notary-signer
-   newconfd "${FILESDIR}"/notary-signer.confd notary-signer
-   newinitd "${FILESDIR}"/notary-server.initd notary-server
-   newconfd "${FILESDIR}"/notary-server.confd notary-server
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/notary/

2021-04-11 Thread Conrad Kostecki
commit: 1f6b576ad4d33b0f8277d867b1df8d12d565b4c2
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Apr 11 18:47:07 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Apr 11 19:23:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f6b576a

app-misc/notary: migrate to GLEP 81

Closes: https://bugs.gentoo.org/781260
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-misc/notary/notary-0.6.1-r2.ebuild | 46 ++
 1 file changed, 46 insertions(+)

diff --git a/app-misc/notary/notary-0.6.1-r2.ebuild 
b/app-misc/notary/notary-0.6.1-r2.ebuild
new file mode 100644
index 000..840f089bb57
--- /dev/null
+++ b/app-misc/notary/notary-0.6.1-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit golang-vcs-snapshot golang-build
+
+KEYWORDS="~amd64"
+DESCRIPTION="A project that allows anyone to have trust over arbitrary 
collections of data"
+EGO_PN="github.com/theupdateframework/notary"
+GIT_COMMIT="d6e1431feb32348e0650bf7551ac5cffd01d857b"
+
+HOMEPAGE="https://github.com/theupdateframework/notary;
+SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND="
+   acct-group/notary
+   acct-user/notary
+"
+BDEPEND="${RDEPEND}"
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
+   ${EGO_PN}/cmd/notary-server || die
+   GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
+   ${EGO_PN}/cmd/notary-signer || die
+   GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
+   ${EGO_PN}/cmd/notary || die
+   popd || die
+}
+
+src_install() {
+   dobin bin/${PN}{,-server,-signer}
+   pushd src/${EGO_PN} || die
+   insinto /var/lib/notary
+   doins -r migrations fixtures
+   fowners -R ${PN}:${PN} /var/lib/notary
+   fperms -R 0600 /var/lib/notary/fixtures/database/
+   newinitd "${FILESDIR}"/notary-signer.initd notary-signer
+   newconfd "${FILESDIR}"/notary-signer.confd notary-signer
+   newinitd "${FILESDIR}"/notary-server.initd notary-server
+   newconfd "${FILESDIR}"/notary-server.confd notary-server
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/notary/

2021-04-11 Thread Conrad Kostecki
commit: a688b7ffcaa17bb852fa95f4120fbaab3905f3ac
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Apr 11 18:48:19 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Apr 11 19:23:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a688b7ff

app-misc/notary: drop old version

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-misc/notary/notary-0.6.1-r1.ebuild | 46 --
 1 file changed, 46 deletions(-)

diff --git a/app-misc/notary/notary-0.6.1-r1.ebuild 
b/app-misc/notary/notary-0.6.1-r1.ebuild
deleted file mode 100644
index 5def4a774c5..000
--- a/app-misc/notary/notary-0.6.1-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit golang-vcs-snapshot golang-build user
-
-KEYWORDS="~amd64"
-DESCRIPTION="A project that allows anyone to have trust over arbitrary 
collections of data"
-EGO_PN="github.com/theupdateframework/notary"
-GIT_COMMIT="d6e1431feb32348e0650bf7551ac5cffd01d857b"
-
-HOMEPAGE="https://github.com/theupdateframework/notary;
-SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-pkg_setup() {
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
-   ${EGO_PN}/cmd/notary-server || die
-   GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
-   ${EGO_PN}/cmd/notary-signer || die
-   GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
-   ${EGO_PN}/cmd/notary || die
-   popd || die
-}
-
-src_install() {
-   dobin bin/${PN}{,-server,-signer}
-   pushd src/${EGO_PN} || die
-   insinto /var/lib/notary
-   doins -r migrations fixtures
-   fowners -R ${PN}:${PN} /var/lib/notary
-   fperms -R 0600 /var/lib/notary/fixtures/database/
-   newinitd "${FILESDIR}"/notary-signer.initd notary-signer
-   newconfd "${FILESDIR}"/notary-signer.confd notary-signer
-   newinitd "${FILESDIR}"/notary-server.initd notary-server
-   newconfd "${FILESDIR}"/notary-server.confd notary-server
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/notary/

2019-08-13 Thread Michał Górny
commit: de0c017e29dcc5c14ca9ca423192194c7a5e3196
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 13 13:56:29 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 13 14:10:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de0c017e

app-misc/notary: Fix whitespace

Signed-off-by: Michał Górny  gentoo.org>

 app-misc/notary/notary-0.6.1-r1.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-misc/notary/notary-0.6.1-r1.ebuild 
b/app-misc/notary/notary-0.6.1-r1.ebuild
index 00221646040..5def4a774c5 100644
--- a/app-misc/notary/notary-0.6.1-r1.ebuild
+++ b/app-misc/notary/notary-0.6.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -24,11 +24,11 @@ pkg_setup() {
 src_compile() {
pushd src/${EGO_PN} || die
GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
-${EGO_PN}/cmd/notary-server || die
+   ${EGO_PN}/cmd/notary-server || die
GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
-${EGO_PN}/cmd/notary-signer || die
+   ${EGO_PN}/cmd/notary-signer || die
GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
-${EGO_PN}/cmd/notary || die
+   ${EGO_PN}/cmd/notary || die
popd || die
 }
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/notary/

2019-04-10 Thread Manuel Rüger
commit: f0f0d99e4b207c5f04f0f106e1d8623085ed35a0
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Apr 10 08:48:49 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Apr 10 08:48:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0f0d99e

app-misc/notary: Unmaintain

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Manuel Rüger  gentoo.org>

 app-misc/notary/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/app-misc/notary/metadata.xml b/app-misc/notary/metadata.xml
index 0f3553a0a4c..bd7fe8dd590 100644
--- a/app-misc/notary/metadata.xml
+++ b/app-misc/notary/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-mr...@gentoo.org
-Manuel Rüger
-  
+  
   
 theupdateframework/notary
   



[gentoo-commits] repo/gentoo:master commit in: app-misc/notary/

2018-04-16 Thread Manuel Rüger
commit: e78f7709489527daf8a9417416d98cd4997d33ec
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Apr 16 13:12:42 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Apr 16 13:12:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e78f7709

app-misc/notary: Install init scripts

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 app-misc/notary/notary-0.6.1-r1.ebuild | 46 ++
 1 file changed, 46 insertions(+)

diff --git a/app-misc/notary/notary-0.6.1-r1.ebuild 
b/app-misc/notary/notary-0.6.1-r1.ebuild
new file mode 100644
index 000..00221646040
--- /dev/null
+++ b/app-misc/notary/notary-0.6.1-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit golang-vcs-snapshot golang-build user
+
+KEYWORDS="~amd64"
+DESCRIPTION="A project that allows anyone to have trust over arbitrary 
collections of data"
+EGO_PN="github.com/theupdateframework/notary"
+GIT_COMMIT="d6e1431feb32348e0650bf7551ac5cffd01d857b"
+
+HOMEPAGE="https://github.com/theupdateframework/notary;
+SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+pkg_setup() {
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
+${EGO_PN}/cmd/notary-server || die
+   GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
+${EGO_PN}/cmd/notary-signer || die
+   GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
+${EGO_PN}/cmd/notary || die
+   popd || die
+}
+
+src_install() {
+   dobin bin/${PN}{,-server,-signer}
+   pushd src/${EGO_PN} || die
+   insinto /var/lib/notary
+   doins -r migrations fixtures
+   fowners -R ${PN}:${PN} /var/lib/notary
+   fperms -R 0600 /var/lib/notary/fixtures/database/
+   newinitd "${FILESDIR}"/notary-signer.initd notary-signer
+   newconfd "${FILESDIR}"/notary-signer.confd notary-signer
+   newinitd "${FILESDIR}"/notary-server.initd notary-server
+   newconfd "${FILESDIR}"/notary-server.confd notary-server
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/notary/

2018-04-16 Thread Manuel Rüger
commit: 68ad8c68c5cea920e91b92f20ae7b757b6084f5f
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Apr 16 13:14:31 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Apr 16 13:14:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ad8c68

app-misc/notary: Remove old

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 app-misc/notary/notary-0.6.1.ebuild | 42 -
 1 file changed, 42 deletions(-)

diff --git a/app-misc/notary/notary-0.6.1.ebuild 
b/app-misc/notary/notary-0.6.1.ebuild
deleted file mode 100644
index f0ee76af233..000
--- a/app-misc/notary/notary-0.6.1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit golang-vcs-snapshot golang-build user
-
-KEYWORDS="~amd64"
-DESCRIPTION="A project that allows anyone to have trust over arbitrary 
collections of data"
-EGO_PN="github.com/theupdateframework/notary"
-GIT_COMMIT="d6e1431feb32348e0650bf7551ac5cffd01d857b"
-
-HOMEPAGE="https://github.com/theupdateframework/notary;
-SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-pkg_setup() {
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
-${EGO_PN}/cmd/notary-server || die
-   GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
-${EGO_PN}/cmd/notary-signer || die
-   GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X 
${EGO_PN}/version.NotaryVersion=${PV}" \
-${EGO_PN}/cmd/notary || die
-   popd || die
-}
-
-src_install() {
-   dobin bin/${PN}{,-server,-signer}
-   pushd src/${EGO_PN} || die
-   insinto /var/lib/notary
-   doins -r migrations fixtures
-   fowners -R ${PN}:${PN} /var/lib/notary
-   fperms -R 0600 /var/lib/notary/fixtures/database/
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/notary/files/, app-misc/notary/

2018-04-13 Thread Manuel Rüger
commit: 4d5a7f8f0bc75ccc1125053be6b06f0ed6d4e389
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Apr 13 13:58:46 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Apr 13 13:59:13 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d5a7f8f

app-misc/notary: Initial version

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 app-misc/notary/Manifest  |  1 +
 app-misc/notary/files/notary-server.confd |  2 ++
 app-misc/notary/files/notary-server.initd | 19 ++
 app-misc/notary/files/notary-signer.confd |  2 ++
 app-misc/notary/files/notary-signer.initd | 19 ++
 app-misc/notary/metadata.xml  | 11 
 app-misc/notary/notary-0.6.1.ebuild   | 42 +++
 7 files changed, 96 insertions(+)

diff --git a/app-misc/notary/Manifest b/app-misc/notary/Manifest
new file mode 100644
index 000..ef95fe07f70
--- /dev/null
+++ b/app-misc/notary/Manifest
@@ -0,0 +1 @@
+DIST notary-0.6.1.tar.gz 5741924 BLAKE2B 
125e1e09178f090de9d73bb97170737d03c8f43927cf070a2c78e0c5eff3cd56a58aaf703a4ba60aa3e1bd7e22d2ceb0921abaa98e6f871ed1131249e44c622d
 SHA512 
76e223c0c5c59796db924f0e52ea59d2bdbb101a9a059cd70d336928dcac616943d75fc9b8d7703de8609b2f694d2fc5627deb341971dc9401c00974261d57c3

diff --git a/app-misc/notary/files/notary-server.confd 
b/app-misc/notary/files/notary-server.confd
new file mode 100644
index 000..eb47b978cbe
--- /dev/null
+++ b/app-misc/notary/files/notary-server.confd
@@ -0,0 +1,2 @@
+# arguments for notary server
+command_args="-config=/var/lib/notary/fixtures/server-config-local.json"

diff --git a/app-misc/notary/files/notary-server.initd 
b/app-misc/notary/files/notary-server.initd
new file mode 100644
index 000..6d2bd22fc61
--- /dev/null
+++ b/app-misc/notary/files/notary-server.initd
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 2016-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Notary server"
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
+user=${user:-notary}
+group=${group:-notary}
+
+command="/usr/bin/notary-server"
+command_args="${command_args:--config=/var/lib/notary/fixtures/server-config-local.json}"
+command_background="true"
+start_stop_daemon_args="--user ${user} --group ${group} \
+   --stdout /var/log/notary/${RC_SVCNAME}.log \
+   --stderr /var/log/notary/${RC_SVCNAME}.log"
+
+depend() {
+   after net
+}

diff --git a/app-misc/notary/files/notary-signer.confd 
b/app-misc/notary/files/notary-signer.confd
new file mode 100644
index 000..5ead0d85b2c
--- /dev/null
+++ b/app-misc/notary/files/notary-signer.confd
@@ -0,0 +1,2 @@
+# arguments for notary signer
+command_args="-config=/var/lib/notary/fixtures/signer-config-local.json"

diff --git a/app-misc/notary/files/notary-signer.initd 
b/app-misc/notary/files/notary-signer.initd
new file mode 100644
index 000..5238b31b5b4
--- /dev/null
+++ b/app-misc/notary/files/notary-signer.initd
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 2016-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Notary signer"
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
+user=${user:-notary}
+group=${group:-notary}
+
+command="/usr/bin/notary-signer"
+command_args="${command_args:--config=/var/lib/notary/fixtures/signer-config-local.json}"
+command_background="true"
+start_stop_daemon_args="--user ${user} --group ${group} \
+   --stdout /var/log/notary/${RC_SVCNAME}.log \
+   --stderr /var/log/notary/${RC_SVCNAME}.log"
+
+depend() {
+   after net
+}

diff --git a/app-misc/notary/metadata.xml b/app-misc/notary/metadata.xml
new file mode 100644
index 000..0f3553a0a4c
--- /dev/null
+++ b/app-misc/notary/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+mr...@gentoo.org
+Manuel Rüger
+  
+  
+theupdateframework/notary
+  
+

diff --git a/app-misc/notary/notary-0.6.1.ebuild 
b/app-misc/notary/notary-0.6.1.ebuild
new file mode 100644
index 000..f0ee76af233
--- /dev/null
+++ b/app-misc/notary/notary-0.6.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit golang-vcs-snapshot golang-build user
+
+KEYWORDS="~amd64"
+DESCRIPTION="A project that allows anyone to have trust over arbitrary 
collections of data"
+EGO_PN="github.com/theupdateframework/notary"
+GIT_COMMIT="d6e1431feb32348e0650bf7551ac5cffd01d857b"
+
+HOMEPAGE="https://github.com/theupdateframework/notary;
+SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+pkg_setup() {
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH=${S} go install -v -tags pkcs11 -ldflags "-w -X 
${EGO_PN}/version.GitCommit=${GIT_COMMIT} -X