Remove old packages
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
AUX wekan.confd 249 SHA256 22e97b05dfee376eb66ba3464b01d46a537bf2e358efed2c5bd7a1891b4a0057 SHA512 34aff1594385449a80cb97878fb2b7f4bfc73fd5a94cc315226544b5ed884a4b956491d791d1189ffe67bd7d4cd46dfe5027acb0f56b50d7d748c5e38179fe1a WHIRLPOOL 7d173196f28385148d491434d88731d687e67ee2117425947714242a63c8ed2d4211bae82cffeaa73c5c184934a069475de8a094d9138ee415f38561c47d6cb0
|
||||
AUX wekan.initd-r1 893 SHA256 c13d0e8a28163848b0bdf4135a1d1f0d35800feaa583db8860ab020a8dfd51ef SHA512 02ef02a84197606931f7e56b0d9eae472354fb11aae4e06f86ce9c400b4a51b4854e57892a4daa8d0361a7d790e283be4f4da5ddee3c37ad5c409ac8e2ab6b56 WHIRLPOOL 398944873bd1f965120ae603e7b05cd1271c950a72e6c9b9ddec8fcacfba3fadb42e5c95ab7bef49716a708cf2793afc97dc5db919a9e6515194e7dc995e1789
|
||||
DIST wekan-0.80.tar.gz 901486 SHA256 b6220c2d53dd09f647bf6f51509c7f7cf60ab8d5164e101258b7429079ac1722 SHA512 3c747b52d2162440db5c916d3c41a09fbc394ea9fd93545566da2a78dd85937c58ba1290f760aaaf340f2a2c043877fed537ef6308983dde715722278d69f47a WHIRLPOOL 04e277483150d5ee6f00d6738c18097c81109d894ac5037affbdb7f68b4c6f3113f06087ca5f44f57777daa78ec4ae02a7d58fd0784bf02fae1f04d3b1370d9b
|
||||
EBUILD wekan-0.80.ebuild 2162 SHA256 369e7de2f26056f9c79b6af00b3b9eb22718cecb9af097ab2d9d487dadfd0e21 SHA512 bd744531ff4083e321553d720877193751f62b762944a29698bdb55b8fab4198714e99deab4039d87adb0708de5d87c7a71191d66f775f60ba81d7283b745e18 WHIRLPOOL fa06210d7a946ff8a2efb9e898f1b58440743be59b104b203e0f7e5fb1bbba042a178e6de732f8c09b67c7afba9f6bcc448b7fcc80c23848adfa6eb5f2b48831
|
||||
@@ -1,7 +0,0 @@
|
||||
# config file for /etc/init.d/wekan
|
||||
|
||||
WEKAN_MONGO_URL="mongodb://localhost:27017/wekan"
|
||||
WEKAN_ROOT_URL="http://localhost:8080/"
|
||||
WEKAN_PORT="8080"
|
||||
WEKAN_MAIL_URL="smtp://user:pass@mailserver.examples.com:25/"
|
||||
WEKAN_MAIL_FROM="wekan-admin@example.com"
|
||||
@@ -1,31 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
: ${WEKAN_USER:=wekan}
|
||||
: ${WEKAN_LOG_DIR:="/var/log/wekan"}
|
||||
: ${WEKAN_LOG_APP:="${WEKAN_LOG_DIR}/app.log"}
|
||||
: ${WEKAN_LOG_ERR:="${WEKAN_LOG_DIR}/err.log"}
|
||||
: ${SSD_OPTS:="--wait 1000 -1 ${WEKAN_LOG_APP} -2 ${WEKAN_LOG_ERR}"}
|
||||
|
||||
command="/usr/libexec/wekan/npm/bin/node"
|
||||
command_args="/usr/share/wekan/main.js"
|
||||
command_user="${WEKAN_USER}"
|
||||
command_background=true
|
||||
pidfile="/run/${SVCNAME}.pid"
|
||||
retry=${WEKAN_TERMTIMEOUT:-"TERM/60/KILL/5"}
|
||||
start_stop_daemon_args="${SSD_OPTS} \
|
||||
-e \"MONGO_URL=${WEKAN_MONGO_URL}\" \
|
||||
-e \"ROOT_URL=${WEKAN_ROOT_URL}\" \
|
||||
-e \"PORT=${WEKAN_PORT}\" \
|
||||
-e \"MAIL_URL=${WEKAN_MAIL_URL}\" \
|
||||
-e \"MAIL_FROM=${WEKAN_MAIL_FROM}\""
|
||||
|
||||
depend() {
|
||||
need net
|
||||
after mongodb
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath -d -m 0750 -o ${WEKAN_USER} "${WEKAN_LOG_DIR}"
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="An open-source and collaborative kanban board application"
|
||||
HOMEPAGE="https://wekan.github.io/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="net-libs/nodejs[npm]"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-db/mongodb-3.2"
|
||||
|
||||
QA_PRESTRIPPED="usr/libexec/wekan/phantomjs"
|
||||
|
||||
#S="${WORKDIR}/bundle"
|
||||
|
||||
pkg_setup() {
|
||||
# Unfortunately 'network-sandbox' needs to
|
||||
# disabled because npm fetch a few dependencies.
|
||||
if has network-sandbox $FEATURES; then
|
||||
die "www-apps/wekan require 'network-sandbox' to be disabled in FEATURES"
|
||||
fi
|
||||
|
||||
enewgroup wekan
|
||||
enewuser wekan -1 -1 /usr/share/wekan wekan
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
export N_PREFIX="${WORKDIR}/npm"
|
||||
local N_VERSION="4.8.4" PATH="${N_PREFIX}"/bin:$PATH
|
||||
mkdir "${N_PREFIX}"{,-cache} || die
|
||||
|
||||
ebegin "Installing node ${N_VERSION}"
|
||||
pushd "${N_PREFIX}" > /dev/null || die
|
||||
npm install --cache "${WORKDIR}"/npm-cache n || die
|
||||
./node_modules/n/bin/n -q ${N_VERSION} || die
|
||||
popd > /dev/null || die
|
||||
eend $?
|
||||
|
||||
ebegin "Using node $(node --version) to install wekan dependencies"
|
||||
pushd "programs/server" > /dev/null || die
|
||||
npm install --cache "${WORKDIR}"/npm-cache || die
|
||||
# Remove useless fibers.node
|
||||
rm -rf node_modules/fibers/bin/{darwin,linux-ia32,win-32}* || die
|
||||
popd > /dev/null || die
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local PHANTOM_DIR="programs/server/npm/node_modules/meteor/rajit_bootstrap3-datepicker/lib/bootstrap-datepicker/node_modules/phantomjs/lib/phantom/bin"
|
||||
|
||||
mkdir -p "${D%/}"/usr/{libexec,share}/wekan || die
|
||||
mv ${PHANTOM_DIR}/phantomjs "${D%/}"/usr/libexec/wekan || die
|
||||
dosym ../../../../../../../../../../../../../../../libexec/wekan/phantomjs \
|
||||
/usr/share/wekan/${PHANTOM_DIR}/phantomjs
|
||||
|
||||
cp -a "${N_PREFIX}" "${D%/}"/usr/libexec/wekan || die
|
||||
cp -a . "${D%/}"/usr/share/wekan || die
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
|
||||
diropts -o wekan -g wekan -m 0750
|
||||
dodir /var/log/wekan
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="An open-source and collaborative kanban board application"
|
||||
HOMEPAGE="https://wekan.github.io/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="net-libs/nodejs[npm]"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-db/mongodb-3.2"
|
||||
|
||||
QA_PRESTRIPPED="usr/libexec/wekan/phantomjs"
|
||||
|
||||
#S="${WORKDIR}/bundle"
|
||||
|
||||
pkg_setup() {
|
||||
# Unfortunately 'network-sandbox' needs to
|
||||
# disabled because npm fetch a few dependencies.
|
||||
if has network-sandbox $FEATURES; then
|
||||
die "www-apps/wekan require 'network-sandbox' to be disabled in FEATURES"
|
||||
fi
|
||||
|
||||
enewgroup wekan
|
||||
enewuser wekan -1 -1 /usr/share/wekan wekan
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
export N_PREFIX="${WORKDIR}/npm"
|
||||
local N_VERSION="4.8.4" PATH="${N_PREFIX}"/bin:$PATH
|
||||
mkdir "${N_PREFIX}"{,-cache} || die
|
||||
|
||||
ebegin "Installing node ${N_VERSION}"
|
||||
pushd "${N_PREFIX}" > /dev/null || die
|
||||
npm install --cache "${WORKDIR}"/npm-cache n || die
|
||||
./node_modules/n/bin/n -q ${N_VERSION} || die
|
||||
popd > /dev/null || die
|
||||
eend $?
|
||||
|
||||
ebegin "Using node $(node --version) to install wekan dependencies"
|
||||
pushd "programs/server" > /dev/null || die
|
||||
npm install --cache "${WORKDIR}"/npm-cache || die
|
||||
# Remove useless fibers.node
|
||||
rm -rf node_modules/fibers/bin/{darwin,linux-ia32,win-32}* || die
|
||||
popd > /dev/null || die
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local PHANTOM_DIR="programs/server/npm/node_modules/meteor/rajit_bootstrap3-datepicker/lib/bootstrap-datepicker/node_modules/phantomjs/lib/phantom/bin"
|
||||
|
||||
mkdir -p "${D%/}"/usr/{libexec,share}/wekan || die
|
||||
mv ${PHANTOM_DIR}/phantomjs "${D%/}"/usr/libexec/wekan || die
|
||||
dosym ../../../../../../../../../../../../../../../libexec/wekan/phantomjs \
|
||||
/usr/share/wekan/${PHANTOM_DIR}/phantomjs
|
||||
|
||||
cp -a "${N_PREFIX}" "${D%/}"/usr/libexec/wekan || die
|
||||
cp -a . "${D%/}"/usr/share/wekan || die
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
|
||||
diropts -o wekan -g wekan -m 0750
|
||||
dodir /var/log/wekan
|
||||
}
|
||||
Reference in New Issue
Block a user