net-misc/purritobin: drop old version

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
Aisha Tammy
2021-02-11 18:20:32 +00:00
parent d43819b4b9
commit ae7b0bfbb9
4 changed files with 0 additions and 81 deletions

View File

@@ -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

View File

@@ -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
}

View File

@@ -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

View File

@@ -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} == 9999 ]]; 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
}