Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/purritobin/files/, net-misc/purritobin/
Date: Thu, 11 Feb 2021 19:01:26
Message-Id: 1613070077.ae7b0bfbb92f3ee9001e409405f7e98d33ee2611.epsilon-0@gentoo
1 commit: ae7b0bfbb92f3ee9001e409405f7e98d33ee2611
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Thu Feb 11 18:20:32 2021 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Thu Feb 11 19:01:17 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ae7b0bfb
7
8 net-misc/purritobin: drop old version
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 net-misc/purritobin/Manifest | 1 -
14 net-misc/purritobin/files/purritobin.initd | 16 ----------
15 net-misc/purritobin/files/purritobin.service | 17 ----------
16 net-misc/purritobin/purritobin-0.4.1.ebuild | 47 ----------------------------
17 4 files changed, 81 deletions(-)
18
19 diff --git a/net-misc/purritobin/Manifest b/net-misc/purritobin/Manifest
20 index 84ad34bf..93d703f7 100644
21 --- a/net-misc/purritobin/Manifest
22 +++ b/net-misc/purritobin/Manifest
23 @@ -1,2 +1 @@
24 -DIST purritobin-0.4.1.tar.gz 14363 BLAKE2B 96bcfe76556f430db52ea99bb991acd66c92926faf3c3259b56db16c0195b1a5c70e311e51054a7c1d7d78d687de2e162c214933f9ba6f16dbf3189536e98f06 SHA512 83b448e9599ab87d324d8ff988f339cafe38f8681c92ab986cea0042862db8fe8ce51d979edffedd0a819baa4d25ebffa26fa5362e5e96ab76b8a982a8cb0877
25 DIST purritobin-0.4.2.tar.gz 15436 BLAKE2B 3e632738a9dc17beb331f80a79b52cf75716401d5aa6c6ebb696fd22ea6c65a5f0b7b80e78f8849783ef9688adcc740837d0ae0ab24407f49b274cb09e60eb7d SHA512 1e348ba30ffc1d79643b15da275e29536d3c0a7719ecf27455fafe84a066c7f8d08c5fad5be513d9d6b2b9a7e094dbe38f982eb791b2224a5c32e6fe2a41e0bc
26
27 diff --git a/net-misc/purritobin/files/purritobin.initd b/net-misc/purritobin/files/purritobin.initd
28 deleted file mode 100644
29 index aebbb117..00000000
30 --- a/net-misc/purritobin/files/purritobin.initd
31 +++ /dev/null
32 @@ -1,16 +0,0 @@
33 -#!/sbin/openrc-run
34 -# Copyright 2020-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -name="PurritoBin"
38 -description="ultra fast, minimalistic command line paste-bin"
39 -
40 -command="/usr/bin/purrito"
41 -command_background=true
42 -command_args="${command_args:- -d /var/www/purritobin/}"
43 -pidfile="/run/${RC_SVCNAME}.pid"
44 -command_user="purritobin:purritobin"
45 -
46 -depend() {
47 - need net
48 -}
49
50 diff --git a/net-misc/purritobin/files/purritobin.service b/net-misc/purritobin/files/purritobin.service
51 deleted file mode 100644
52 index 7a274879..00000000
53 --- a/net-misc/purritobin/files/purritobin.service
54 +++ /dev/null
55 @@ -1,17 +0,0 @@
56 -[Unit]
57 -Description=PurritoBin
58 -After=network.target
59 -
60 -[Service]
61 -SyslogIdentifier=purritobin
62 -Restart=always
63 -RestartSec=5
64 -Type=simple
65 -User=purritobin
66 -Group=purritobin
67 -WorkingDirectory=/var/www/purritobin
68 -ExecStart=/usr/bin/purrito -d /var/www/purritobin/
69 -TimeoutStopSec=30
70 -
71 -[Install]
72 -WantedBy=multi-user.target
73
74 diff --git a/net-misc/purritobin/purritobin-0.4.1.ebuild b/net-misc/purritobin/purritobin-0.4.1.ebuild
75 deleted file mode 100644
76 index 5bfefc1e..00000000
77 --- a/net-misc/purritobin/purritobin-0.4.1.ebuild
78 +++ /dev/null
79 @@ -1,47 +0,0 @@
80 -# Copyright 2019-2021 Gentoo Authors
81 -# Distributed under the terms of the GNU General Public License v2
82 -
83 -EAPI=7
84 -
85 -DESCRIPTION="minimalistic commandline pastebin"
86 -HOMEPAGE="https://bsd.ac"
87 -
88 -inherit systemd toolchain-funcs
89 -
90 -if [[ ${PV} == 9999 ]]; then
91 - inherit git-r3
92 - EGIT_REPO_URI="https://github.com/PurritoBin/PurritoBin.git"
93 -else
94 - SRC_URI="https://github.com/PurritoBin/PurritoBin/archive/${PV}.tar.gz -> ${P}.tar.gz"
95 - KEYWORDS="~amd64 ~arm64 ~x86"
96 - S="${WORKDIR}/PurritoBin-${PV}"
97 -fi
98 -
99 -LICENSE="ISC"
100 -SLOT="0"
101 -IUSE="test"
102 -RESTRICT="!test? ( test )"
103 -
104 -RDEPEND="
105 - net-libs/usockets[ssl]
106 - acct-user/purritobin
107 - acct-group/purritobin
108 -"
109 -DEPEND="${RDEPEND}
110 - www-apps/uwebsockets
111 -"
112 -
113 -src_configure() {
114 - default
115 - tc-export CXX
116 -}
117 -
118 -src_install() {
119 - emake PREFIX="/usr" MANDIR="/usr/share/man" DESTDIR="${ED}" install
120 - insinto /var/www/purritobin
121 - doins frontend/paste.html
122 - fowners purritobin:purritobin /var/www/purritobin
123 - newinitd "${FILESDIR}"/purritobin.initd purritobin
124 - systemd_dounit "${FILESDIR}"/purritobin.service
125 - einstalldocs
126 -}