[gentoo-commits] repo/proj/guru:dev commit in: net-misc/purritobin/files/, net-misc/purritobin/

2021-02-11 Thread Aisha Tammy
commit: ae7b0bfbb92f3ee9001e409405f7e98d33ee2611
Author: Aisha Tammy  aisha  cc>
AuthorDate: Thu Feb 11 18:20:32 2021 +
Commit: Aisha Tammy  aisha  cc>
CommitDate: Thu Feb 11 19:01:17 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ae7b0bfb

net-misc/purritobin: drop old version

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Aisha Tammy  aisha.cc>

 net-misc/purritobin/Manifest |  1 -
 net-misc/purritobin/files/purritobin.initd   | 16 --
 net-misc/purritobin/files/purritobin.service | 17 --
 net-misc/purritobin/purritobin-0.4.1.ebuild  | 47 
 4 files changed, 81 deletions(-)

diff --git a/net-misc/purritobin/Manifest b/net-misc/purritobin/Manifest
index 84ad34bf..93d703f7 100644
--- a/net-misc/purritobin/Manifest
+++ b/net-misc/purritobin/Manifest
@@ -1,2 +1 @@
-DIST purritobin-0.4.1.tar.gz 14363 BLAKE2B 
96bcfe76556f430db52ea99bb991acd66c92926faf3c3259b56db16c0195b1a5c70e311e51054a7c1d7d78d687de2e162c214933f9ba6f16dbf3189536e98f06
 SHA512 
83b448e9599ab87d324d8ff988f339cafe38f8681c92ab986cea0042862db8fe8ce51d979edffedd0a819baa4d25ebffa26fa5362e5e96ab76b8a982a8cb0877
 DIST purritobin-0.4.2.tar.gz 15436 BLAKE2B 
3e632738a9dc17beb331f80a79b52cf75716401d5aa6c6ebb696fd22ea6c65a5f0b7b80e78f8849783ef9688adcc740837d0ae0ab24407f49b274cb09e60eb7d
 SHA512 
1e348ba30ffc1d79643b15da275e29536d3c0a7719ecf27455fafe84a066c7f8d08c5fad5be513d9d6b2b9a7e094dbe38f982eb791b2224a5c32e6fe2a41e0bc

diff --git a/net-misc/purritobin/files/purritobin.initd 
b/net-misc/purritobin/files/purritobin.initd
deleted file mode 100644
index aebbb117..
--- a/net-misc/purritobin/files/purritobin.initd
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-name="PurritoBin"
-description="ultra fast, minimalistic command line paste-bin"
-
-command="/usr/bin/purrito"
-command_background=true
-command_args="${command_args:- -d /var/www/purritobin/}"
-pidfile="/run/${RC_SVCNAME}.pid"
-command_user="purritobin:purritobin"
-
-depend() {
-need net
-}

diff --git a/net-misc/purritobin/files/purritobin.service 
b/net-misc/purritobin/files/purritobin.service
deleted file mode 100644
index 7a274879..
--- a/net-misc/purritobin/files/purritobin.service
+++ /dev/null
@@ -1,17 +0,0 @@
-[Unit]
-Description=PurritoBin
-After=network.target
-
-[Service]
-SyslogIdentifier=purritobin
-Restart=always
-RestartSec=5
-Type=simple
-User=purritobin
-Group=purritobin
-WorkingDirectory=/var/www/purritobin
-ExecStart=/usr/bin/purrito -d /var/www/purritobin/
-TimeoutStopSec=30
-
-[Install]
-WantedBy=multi-user.target

diff --git a/net-misc/purritobin/purritobin-0.4.1.ebuild 
b/net-misc/purritobin/purritobin-0.4.1.ebuild
deleted file mode 100644
index 5bfefc1e..
--- a/net-misc/purritobin/purritobin-0.4.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="minimalistic commandline pastebin"
-HOMEPAGE="https://bsd.ac;
-
-inherit systemd toolchain-funcs
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/PurritoBin/PurritoBin.git;
-else
-   SRC_URI="https://github.com/PurritoBin/PurritoBin/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~x86"
-   S="${WORKDIR}/PurritoBin-${PV}"
-fi
-
-LICENSE="ISC"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   net-libs/usockets[ssl]
-   acct-user/purritobin
-   acct-group/purritobin
-"
-DEPEND="${RDEPEND}
-   www-apps/uwebsockets
-"
-
-src_configure() {
-   default
-   tc-export CXX
-}
-
-src_install() {
-   emake PREFIX="/usr" MANDIR="/usr/share/man" DESTDIR="${ED}" install
-   insinto /var/www/purritobin
-   doins frontend/paste.html
-   fowners purritobin:purritobin /var/www/purritobin
-   newinitd "${FILESDIR}"/purritobin.initd purritobin
-   systemd_dounit "${FILESDIR}"/purritobin.service
-   einstalldocs
-}



[gentoo-commits] repo/proj/guru:dev commit in: net-misc/purritobin/files/, net-misc/purritobin/

2021-01-12 Thread Aisha Tammy
commit: 83d610ecd4301ab42294b77c7fee9d7ce6f2588c
Author: Aisha Tammy  aisha  cc>
AuthorDate: Tue Jan 12 18:24:54 2021 +
Commit: Aisha Tammy  aisha  cc>
CommitDate: Tue Jan 12 18:25:15 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=83d610ec

net-misc/purritobin: fix systemd unit executable

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Aisha Tammy  aisha.cc>

 net-misc/purritobin/files/purritobin.service| 2 +-
 .../{purritobin-0.3.3-r1.ebuild => purritobin-0.3.3-r2.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/purritobin/files/purritobin.service 
b/net-misc/purritobin/files/purritobin.service
index 1a55dbcd..7a274879 100644
--- a/net-misc/purritobin/files/purritobin.service
+++ b/net-misc/purritobin/files/purritobin.service
@@ -10,7 +10,7 @@ Type=simple
 User=purritobin
 Group=purritobin
 WorkingDirectory=/var/www/purritobin
-ExecStart=/usr/bin/purritobin
+ExecStart=/usr/bin/purrito -d /var/www/purritobin/
 TimeoutStopSec=30
 
 [Install]

diff --git a/net-misc/purritobin/purritobin-0.3.3-r1.ebuild 
b/net-misc/purritobin/purritobin-0.3.3-r2.ebuild
similarity index 100%
rename from net-misc/purritobin/purritobin-0.3.3-r1.ebuild
rename to net-misc/purritobin/purritobin-0.3.3-r2.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: net-misc/purritobin/files/

2021-01-11 Thread Aisha Tammy
commit: 01fe4b8c2860c54d8179142e1525f4d9c997f7be
Author: Aisha Tammy  aisha  cc>
AuthorDate: Mon Jan 11 17:01:56 2021 +
Commit: Aisha Tammy  aisha  cc>
CommitDate: Mon Jan 11 17:01:56 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=01fe4b8c

net-misc/purritobin: fix command_args name

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Aisha Tammy  aisha.cc>

 net-misc/purritobin/files/purritobin.initd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/purritobin/files/purritobin.initd 
b/net-misc/purritobin/files/purritobin.initd
index 8c070466..aebbb117 100644
--- a/net-misc/purritobin/files/purritobin.initd
+++ b/net-misc/purritobin/files/purritobin.initd
@@ -7,7 +7,7 @@ description="ultra fast, minimalistic command line paste-bin"
 
 command="/usr/bin/purrito"
 command_background=true
-command_args="${ARGS:- -d /var/www/purritobin/}"
+command_args="${command_args:- -d /var/www/purritobin/}"
 pidfile="/run/${RC_SVCNAME}.pid"
 command_user="purritobin:purritobin"
 



[gentoo-commits] repo/proj/guru:dev commit in: net-misc/purritobin/files/, net-misc/purritobin/

2021-01-11 Thread Aisha Tammy
commit: d0d685768daab8011c44f8675b7978d4474ef312
Author: Aisha Tammy  aisha  cc>
AuthorDate: Mon Jan 11 16:07:35 2021 +
Commit: Aisha Tammy  aisha  cc>
CommitDate: Mon Jan 11 16:30:34 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0d68576

net-misc/purritobin: add init file

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Aisha Tammy  aisha.cc>

 net-misc/purritobin/files/purritobin.initd  | 16 
 net-misc/purritobin/files/purritobin.service| 17 +
 ...rritobin-0.3.3.ebuild => purritobin-0.3.3-r1.ebuild} | 15 ---
 net-misc/purritobin/purritobin-.ebuild  | 15 ---
 4 files changed, 57 insertions(+), 6 deletions(-)

diff --git a/net-misc/purritobin/files/purritobin.initd 
b/net-misc/purritobin/files/purritobin.initd
new file mode 100644
index ..8c070466
--- /dev/null
+++ b/net-misc/purritobin/files/purritobin.initd
@@ -0,0 +1,16 @@
+#!/sbin/openrc-run
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="PurritoBin"
+description="ultra fast, minimalistic command line paste-bin"
+
+command="/usr/bin/purrito"
+command_background=true
+command_args="${ARGS:- -d /var/www/purritobin/}"
+pidfile="/run/${RC_SVCNAME}.pid"
+command_user="purritobin:purritobin"
+
+depend() {
+need net
+}

diff --git a/net-misc/purritobin/files/purritobin.service 
b/net-misc/purritobin/files/purritobin.service
new file mode 100644
index ..1a55dbcd
--- /dev/null
+++ b/net-misc/purritobin/files/purritobin.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=PurritoBin
+After=network.target
+
+[Service]
+SyslogIdentifier=purritobin
+Restart=always
+RestartSec=5
+Type=simple
+User=purritobin
+Group=purritobin
+WorkingDirectory=/var/www/purritobin
+ExecStart=/usr/bin/purritobin
+TimeoutStopSec=30
+
+[Install]
+WantedBy=multi-user.target

diff --git a/net-misc/purritobin/purritobin-0.3.3.ebuild 
b/net-misc/purritobin/purritobin-0.3.3-r1.ebuild
similarity index 63%
rename from net-misc/purritobin/purritobin-0.3.3.ebuild
rename to net-misc/purritobin/purritobin-0.3.3-r1.ebuild
index 37179319..fd9c6136 100644
--- a/net-misc/purritobin/purritobin-0.3.3.ebuild
+++ b/net-misc/purritobin/purritobin-0.3.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
 DESCRIPTION="minimalistic commandline pastebin"
 HOMEPAGE="https://bsd.ac;
 
-inherit toolchain-funcs
+inherit systemd toolchain-funcs
 
 if [[ ${PV} ==  ]]; then
inherit git-r3
@@ -20,7 +20,11 @@ fi
 LICENSE="ISC"
 SLOT="0"
 
-RDEPEND="net-libs/usockets[ssl]"
+RDEPEND="
+   net-libs/usockets[ssl]
+   acct-user/purritobin
+   acct-group/purritobin
+"
 DEPEND="${RDEPEND}
www-apps/uwebsockets
 "
@@ -32,5 +36,10 @@ src_configure() {
 
 src_install() {
emake PREFIX="/usr" MANDIR="/usr/share/man" DESTDIR="${ED}" install
+   insinto /var/www/purritobin
+   doins frontend/paste.html
+   fowners purritobin:purritobin /var/www/purritobin
+   newinitd "${FILESDIR}"/purritobin.initd purritobin
+   systemd_dounit "${FILESDIR}"/purritobin.service
einstalldocs
 }

diff --git a/net-misc/purritobin/purritobin-.ebuild 
b/net-misc/purritobin/purritobin-.ebuild
index 37179319..fd9c6136 100644
--- a/net-misc/purritobin/purritobin-.ebuild
+++ b/net-misc/purritobin/purritobin-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,7 +6,7 @@ EAPI=7
 DESCRIPTION="minimalistic commandline pastebin"
 HOMEPAGE="https://bsd.ac;
 
-inherit toolchain-funcs
+inherit systemd toolchain-funcs
 
 if [[ ${PV} ==  ]]; then
inherit git-r3
@@ -20,7 +20,11 @@ fi
 LICENSE="ISC"
 SLOT="0"
 
-RDEPEND="net-libs/usockets[ssl]"
+RDEPEND="
+   net-libs/usockets[ssl]
+   acct-user/purritobin
+   acct-group/purritobin
+"
 DEPEND="${RDEPEND}
www-apps/uwebsockets
 "
@@ -32,5 +36,10 @@ src_configure() {
 
 src_install() {
emake PREFIX="/usr" MANDIR="/usr/share/man" DESTDIR="${ED}" install
+   insinto /var/www/purritobin
+   doins frontend/paste.html
+   fowners purritobin:purritobin /var/www/purritobin
+   newinitd "${FILESDIR}"/purritobin.initd purritobin
+   systemd_dounit "${FILESDIR}"/purritobin.service
einstalldocs
 }