diff --git a/acct-group/wikijs/wikijs-0.ebuild b/acct-group/wikijs/wikijs-0.ebuild deleted file mode 100644 index 718d2c1..0000000 --- a/acct-group/wikijs/wikijs-0.ebuild +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit acct-group - -DESCRIPTION="A group for Wiki.js" - -ACCT_GROUP_ID="-1" diff --git a/acct-user/wikijs/wikijs-0.ebuild b/acct-user/wikijs/wikijs-0.ebuild deleted file mode 100644 index 1e6a52f..0000000 --- a/acct-user/wikijs/wikijs-0.ebuild +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit acct-user - -DESCRIPTION="A user for Wiki.js" - -ACCT_USER_GROUPS=( "${PN}" ) -ACCT_USER_HOME="/var/lib/${PN}" -ACCT_USER_ID="-1" - -acct-user_add_deps diff --git a/www-apps/wikijs/files/wikijs.service b/www-apps/wikijs/files/wikijs.service deleted file mode 100644 index 6ef6056..0000000 --- a/www-apps/wikijs/files/wikijs.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=Wiki.js -After=network.target - -[Service] -Type=simple -ExecStart=/usr/bin/node server -User=wikijs -Group=wikijs -Environment=NODE_ENV=production -WorkingDirectory=/usr/share/wikijs -Restart=always -RestartSec=25 - -[Install] -WantedBy=multi-user.target diff --git a/www-apps/wikijs/wikijs-2.5.285.ebuild b/www-apps/wikijs/wikijs-2.5.285.ebuild deleted file mode 100644 index 0e1bb61..0000000 --- a/www-apps/wikijs/wikijs-2.5.285.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd - -DESCRIPTION="Powerful and extensible open source Wiki software" -HOMEPAGE="https://wiki.js.org" -SRC_URI="https://github.com/Requarks/wiki/releases/download/v${PV}/wiki-js.tar.gz -> ${P}.tar.gz" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="*" - -RDEPEND=" - acct-user/wikijs - >=net-libs/nodejs-14 - >=dev-db/postgresql-9.5 -" - -src_unpack() { - mkdir "${P}" - cd "${P}" - unpack "${A}" -} - -src_install() { - insinto /usr/share/${PN} - doins -r assets data node_modules server package.json - - insinto /etc/${PN} - mv config.sample.yml config.yml.example - doins config.yml.example - - dosym /etc/${PN}/config.yml /usr/share/${PN}/config.yml - - systemd_dounit ${FILESDIR}/${PN}.service -} - -pkg_postinst() { - elog "Before enabling ${PN}.service, create a configuration file:" - elog "# cp /etc/${PN}/config.yml.example /etc/${PN}/config.yml" - elog "and edit its contents to match your needs." -}