www-apps/wiki-js-bin: treeclean

Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Bug: https://bugs.gentoo.org/924956
Bug: https://bugs.gentoo.org/924954
Bug: https://bugs.gentoo.org/924955
This commit is contained in:
Michael Mair-Keimberger
2024-09-04 17:02:40 +02:00
parent 88d4cbc144
commit ac6e482aeb
7 changed files with 0 additions and 119 deletions

View File

@@ -54,14 +54,6 @@ net-misc/youtube-dl
# Removal on 2024-09-05 # Removal on 2024-09-05
media-gfx/libpsautohint media-gfx/libpsautohint
# Michael Mair-Keimberger <mmk@levelnine.at> (2024-07-20)
# Decided to move my personal wiki to dokuwiki. If someone wants to
# keep it, feel free to take over it.
# Removal on 2024-08-20
acct-group/wikijs
acct-user/wikijs
www-apps/wiki-js-bin
# Pascal Jaeger <pascal.jaeger@leimstift.de> (2024-06-29) # Pascal Jaeger <pascal.jaeger@leimstift.de> (2024-06-29)
# Package is renamed to 'dissent' # Package is renamed to 'dissent'
# Newer versions do not build in portage because of dependency # Newer versions do not build in portage because of dependency

View File

@@ -1 +0,0 @@
DIST wiki-js-bin-2.5.301.tar.gz 78902327 BLAKE2B 8678f6628320cb1ab03e280b8bd6533972edd39b2e2c041192bdde13dc7590dc2825a8063a9eaa1207e8526cb4dd4037fb32f0979368dd070ee18bbe3f76c580 SHA512 f75f168b302fc4c9a010a19fca79f5fa19735b435c25428c6bc3ee4a2843851b98b1e148466bc47687e38f19a05bcc56971868462734eee6eb653c9514f78b3f

View File

@@ -1,18 +0,0 @@
INSTALLATION
You will need to create a table for your Wiki.js database. This
assumes you have some knowledge of PostgreSQL, and already have it
installed and configured. If not, please refer to the Gentoo PostgreSQL
guide at the following URL:
https://wiki.gentoo.org/wiki/PostgreSQL/QuickStart
Log in to PostgreSQL, and create a new database as well as a user with full
access to this database. After that you will need to provide the details
of this database and the associated user within the file
${MY_INSTALLDIR}/config.yml
Finally you should be able to log in to Wiki.js at
http://${VHOST_HOSTNAME}:3000

View File

@@ -1,11 +0,0 @@
# /etc/conf.d/wiki-js: config file for /etc/init.d/wiki-js
# User and group as which to run
#WIKIJS_USER="wikijs"
#WIKIJS_GROUP="wikijs"
# Configuration directory
#WIKIJS_HOMEDIR="/var/www/localhost/htdocs/wiki-js-bin/"
# Extra options for wikijs
#WIKIJS_OPTS=""

View File

@@ -1,22 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
WIKIJS_USER=${WIKIJS_USER:-wikijs}
WIKIJS_GROUP=${WIKIJS_GROUP:-wikijs}
description="Modern, lightweight and powerful wiki app built on Nodejs"
command="/usr/bin/node server"
command_args="${WIKIJS_OPTS}"
pidfile="/run/${RC_SVCNAME}.pid"
directory="${WIKIJS_HOMEDIR}"
command_background="yes"
command_user="${WIKIJS_USER}:${WIKIJS_GROUP}"
depend() {
need net
}
start_pre() {
checkpath -q -d -o ${WIKIJS_USER}:${WIKIJS_GROUP} ${directory}
}

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mmk@levelnine.at</email>
<name>Michael Mair-Keimberger</name>
</maintainer>
<upstream>
<remote-id type="github">Requarks/wiki</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,48 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit webapp
MY_PN="${PN/-bin/}"
DESCRIPTION="Modern, lightweight and powerful wiki app built on Nodejs"
HOMEPAGE="
https://js.wiki/
https://github.com/Requarks/wiki
"
SRC_URI="https://github.com/requarks/wiki/releases/download/v${PV}/${MY_PN}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"
LICENSE="AGPL-3"
KEYWORDS="~amd64"
RDEPEND="
acct-group/wikijs
acct-user/wikijs
>=net-libs/nodejs-18[npm]"
src_install() {
webapp_src_preinst
dodoc LICENSE
rm LICENSE || die
newconfd "${FILESDIR}"/${MY_PN}.confd ${MY_PN}
newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
[[ -f config.yml ]] || cp config.sample.yml config.yml
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
doins -r .
keepdir "${MY_HTDOCSDIR}"/data
webapp_serverowned -R "${MY_HTDOCSDIR}"/data
webapp_serverowned "${MY_HTDOCSDIR}"/config.sample.yml
webapp_configfile "${MY_HTDOCSDIR}"/config.yml
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
webapp_src_install
}