mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-15 18:13:10 -04:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user