mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
net-misc/fileshelter: drop 6.2.0
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST fileshelter-6.2.0.tar.gz 66406 BLAKE2B bb510331c84f0321e21a87a7cd25886c7c391666504833c5acb8db724322cb2bf8919e8ef281cbe4453aacf7e1c0f93447200f60a79c429a595c8678b7e4bdb8 SHA512 5563fd04a1c97064f443d7081e897e3473d5937d43410d48d32dbb610c90d0eb8df2fb0b642aaf7af9c5fdad30f53d7f3a797021121fc9a3dbd35b2e64fdae6c
|
||||
DIST fileshelter-6.3.0.tar.gz 67194 BLAKE2B 716f72b7ab3f22074593008f63e8c3a66ecc45b3d833195c165a78904449606eb5f6b6f3a1e11c438ac6e7efcfa92d8ad77a3c071ccd6b07f8860c22ee01909f SHA512 c73c4a3787976535164a0238602043e4b7561d56b134b628de3f80a7daed2c84ec45286b36ea19d4286cdb98dc1f56abbba9ac4aa831abf3e24f9a2254cb06e7
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
diff --git a/src/fileshelter/ui/ShareCreateFormView.cpp b/src/fileshelter/ui/ShareCreateFormView.cpp
|
||||
index ff9b79a..0dc3007 100644
|
||||
--- a/src/fileshelter/ui/ShareCreateFormView.cpp
|
||||
+++ b/src/fileshelter/ui/ShareCreateFormView.cpp
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include "ShareCreateFormView.hpp"
|
||||
|
||||
+#include <algorithm>
|
||||
#include <numeric>
|
||||
|
||||
#include <Wt/WApplication.h>
|
||||
@@ -1,23 +0,0 @@
|
||||
https://github.com/epoupon/fileshelter/pull/109/commits/c2f023133f4dd9d5826ea339bb6d278d33c389df
|
||||
use cmake libdir to satisfy some sanity checks
|
||||
|
||||
diff -uNr a/src/libs/share/CMakeLists.txt b/src/libs/share/CMakeLists.txt
|
||||
--- a/src/libs/share/CMakeLists.txt
|
||||
+++ b/src/libs/share/CMakeLists.txt
|
||||
@@ -28,5 +28,5 @@
|
||||
Wt::Wt
|
||||
)
|
||||
|
||||
-install(TARGETS filesheltershare DESTINATION lib)
|
||||
+install(TARGETS filesheltershare DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
|
||||
diff -uNr a/src/libs/utils/CMakeLists.txt b/src/libs/utils/CMakeLists.txt
|
||||
--- a/src/libs/utils/CMakeLists.txt
|
||||
+++ b/src/libs/utils/CMakeLists.txt
|
||||
@@ -27,5 +27,5 @@
|
||||
Wt::Wt
|
||||
)
|
||||
|
||||
-install(TARGETS fileshelterutils DESTINATION lib)
|
||||
+install(TARGETS fileshelterutils DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
|
||||
@@ -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:fileshelter"
|
||||
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 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-fix-lib-dir.patch
|
||||
${FILESDIR}/${PN}-6.2.0-algorithm.patch
|
||||
${FILESDIR}/${PN}-6.2.0-hierarchy.patch
|
||||
"
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
systemd_newunit conf/systemd/default.service fileshelter.service
|
||||
newinitd "${FILESDIR}/fileshelter.init" 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
|
||||
}
|
||||
Reference in New Issue
Block a user