mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
net-misc/fileshelter: drop 6.3.0
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST fileshelter-6.3.0.tar.gz 67194 BLAKE2B 716f72b7ab3f22074593008f63e8c3a66ecc45b3d833195c165a78904449606eb5f6b6f3a1e11c438ac6e7efcfa92d8ad77a3c071ccd6b07f8860c22ee01909f SHA512 c73c4a3787976535164a0238602043e4b7561d56b134b628de3f80a7daed2c84ec45286b36ea19d4286cdb98dc1f56abbba9ac4aa831abf3e24f9a2254cb06e7
|
||||
DIST fileshelter-6.4.0.tar.gz 65927 BLAKE2B aff2d3816aa2fb416545b52d0fd482a6d14139e0748b0fbc975f3789116b9327a02c4e9e818a79280463193004364b145b4525a603b72cab169e8ef6189b1a1b SHA512 9d8a95e3a1526b61974234f752d68b7016a437f492f32b10e64573e72be2b3f47dc0b5b9db84096ab5ae55edc5152838a4d2e310d21df8d3ee0e5057ea8b7441
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
PR pending https://github.com/epoupon/fileshelter/pull/123.patch
|
||||
fix boost-1.89
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -11,7 +11,7 @@ include(CTest)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
find_package(Threads REQUIRED)
|
||||
find_package(Filesystem REQUIRED)
|
||||
-find_package(Boost REQUIRED COMPONENTS system program_options)
|
||||
+find_package(Boost REQUIRED COMPONENTS program_options)
|
||||
find_package(Wt REQUIRED COMPONENTS Wt Dbo DboSqlite3 HTTP)
|
||||
pkg_check_modules(Config++ REQUIRED IMPORTED_TARGET libconfig++)
|
||||
pkg_check_modules(Archive REQUIRED IMPORTED_TARGET libarchive)
|
||||
@@ -1,29 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
: ${FILESHELTER_GROUP:=fileshelter}
|
||||
: ${FILESHELTER_USER:=fileshelter}
|
||||
: ${FILESHELTER_BINDIR:=/var/lib/fileshelter}
|
||||
: ${FILESHELTER_PIDFILE:=/run/fileshelter.pid}
|
||||
|
||||
command="/usr/bin/fileshelter"
|
||||
command_user="${FILESHELTER_USER}:${FILESHELTER_GROUP}"
|
||||
command_background=true
|
||||
directory="${FILESHELTER_BINDIR}"
|
||||
pidfile="${FILESHELTER_PIDFILE}"
|
||||
extra_started_commands="reload"
|
||||
|
||||
depend() {
|
||||
use net
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath -d -m 0750 -o "${FILESHELTER_USER}:${FILESHELTER_GROUP}" ${FILESHELTER_BINDIR}
|
||||
}
|
||||
|
||||
reload () {
|
||||
ebegin "Reloading configuration and re-opening log files"
|
||||
start-stop-daemon --signal HUP --pidfile "${pidfile}"
|
||||
eend $?
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake systemd
|
||||
|
||||
DESCRIPTION="FileShelter is a “one-click” file sharing web application "
|
||||
HOMEPAGE="https://fileshelter-demo.poupon.dev https://github.com/epoupon/fileshelter"
|
||||
SRC_URI="https://github.com/epoupon/fileshelter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
acct-user/fileshelter
|
||||
app-arch/libarchive:=
|
||||
dev-cpp/wt:=
|
||||
dev-libs/boost:=
|
||||
dev-libs/libconfig:=[cxx]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( INSTALL.md README.md )
|
||||
|
||||
PATCHES="
|
||||
${FILESDIR}/${PN}-6.2.0-hierarchy.patch
|
||||
${FILESDIR}/${PN}-6.3.0-boost_1.89.patch
|
||||
"
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
systemd_newunit conf/systemd/default.service fileshelter.service
|
||||
newinitd "${FILESDIR}"/fileshelter.init-r1 fileshelter
|
||||
|
||||
keepdir /var/log/fileshelter
|
||||
fowners -R fileshelter:fileshelter /var/log/fileshelter
|
||||
|
||||
mv "${ED}"/usr/share/fileshelter/fileshelter.conf "${ED}"/etc/fileshelter.conf || die
|
||||
|
||||
rm "${ED}"/usr/share/fileshelter/default.service || die
|
||||
|
||||
keepdir /var/lib/fileshelter
|
||||
fowners fileshelter:fileshelter /var/lib/fileshelter
|
||||
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user