parent
7b0f7e9f0a
commit
a57aeffe1d
@ -1,4 +0,0 @@
|
||||
DIST TorrServer-linux-amd64-118 36077568 BLAKE2B 17e89a49e6d9099c558c560f02b5acac26478dd9ce0e3a918d2b15fbff153ab9d3390afbb17e00772c701e15b3a462d34516637d1400c2189014ba96c8c8a64c SHA512 f6d285d9909436be5b35cd944b3048b85c57a60960498df7d6ae43acda02bdeb94aa22c1054235909891fa782d967471920be1171bed99b23a807a20165dcedd
|
||||
DIST TorrServer-linux-amd64-120 37044224 BLAKE2B b34b34275c60359cd16c1052e6cb074df6dccdd474e06a13670a85b58d3c35b06ff6b903b2baeed1817c650ffaa44c18dbf061946609f3fb7132c3c00ba15152 SHA512 ea05da620e19fd0f1d88c56147139a84e1ac248fcdb4736da47f1f22b19a3e3b517bee9ee1444a771ef0be07de6a78e0768949f8c9cf0c66a7e2db06f7d086b0
|
||||
DIST TorrServer-linux-amd64-122 36323328 BLAKE2B 2b14ebe02f7a3259810a9606ffbb292db0a1868e545a33f6b779eece3539d6506df44cd8b391d6daabb6345250d59bafde1abd99af9d07b359588f47fcea251a SHA512 560a5db85a3e66d8f3fbe7f8992642c2fdc5c2b10cae43b4a14c889eb977eccb3f44d76c882391ee0c71a18c0767d6820902445a6c7b3c5576a61b241fa3276d
|
||||
DIST TorrServer-linux-amd64-124 36790272 BLAKE2B dbee652dd25c5dca172d7a137d4160a07e66047bb5e9b5556e4388214a7e833dcaec87ca51d11819e531f1807ef0145019755907f0655848627c4f1dbd7310c9 SHA512 43355f5a38cc2d2ee73419d18b12b10f3dcad49b991a7b96123f3218c7cf64c08498e6b5c24b1a9fe56922847aaacbada64e07c31c4a55afc30128c7fcdc95c1
|
@ -1 +0,0 @@
|
||||
PATH="/opt/torrserver"
|
@ -1,25 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
name="TorrServer"
|
||||
description="TorrServer, stream torrent to http"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting $name"
|
||||
start-stop-daemon --start --exec /opt/torrserver/TorrServer-linux-amd64 \
|
||||
--env HOME=/var/lib/torrserver --chdir /var/lib/torrserver \
|
||||
--make-pidfile --pidfile /var/run/torrserver.pid \
|
||||
--background --user torrserver:torrserver
|
||||
eend $? "Failed to start $name"
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping $name"
|
||||
start-stop-daemon --stop --pidfile /var/run/torrserver.pid
|
||||
eend $? "Failed to stop $name"
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>support@calculate.ru</email>
|
||||
<name>Mir Calculate</name>
|
||||
<description>Calculate Overlay</description>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">YouROK/TorrServer</remote-id>
|
||||
<bugs-to>https://github.com/YouROK/TorrServer/issues</bugs-to>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
TorrServer, stream torrent to http.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,35 +0,0 @@
|
||||
# Copyright 2019-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="TorrServer, stream torrent to http"
|
||||
HOMEPAGE="https://github.com/YouROK/TorrServer"
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/YouROK/TorrServer/releases/download/MatriX.${PV}/TorrServer-linux-amd64 -> TorrServer-linux-amd64-${PV} )
|
||||
"
|
||||
|
||||
KEYWORDS="amd64"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="
|
||||
acct-user/torrserver
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp -v "${DISTDIR}/${A}" "${S}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/torrserver
|
||||
cp "${S}/TorrServer-linux-amd64-${PV}" "${ED}"/opt/torrserver/TorrServer-linux-amd64 || die
|
||||
fperms 0755 /opt/torrserver/TorrServer-linux-amd64
|
||||
newinitd "${FILESDIR}"/torrserver.initd torrserver
|
||||
doenvd "${FILESDIR}"/99torrserver
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 2019-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="TorrServer, stream torrent to http"
|
||||
HOMEPAGE="https://github.com/YouROK/TorrServer"
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/YouROK/TorrServer/releases/download/MatriX.${PV}/TorrServer-linux-amd64 -> TorrServer-linux-amd64-${PV} )
|
||||
"
|
||||
|
||||
KEYWORDS="amd64"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="
|
||||
acct-user/torrserver
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp -v "${DISTDIR}/${A}" "${S}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/torrserver
|
||||
cp "${S}/TorrServer-linux-amd64-${PV}" "${ED}"/opt/torrserver/TorrServer-linux-amd64 || die
|
||||
fperms 0755 /opt/torrserver/TorrServer-linux-amd64
|
||||
newinitd "${FILESDIR}"/torrserver.initd torrserver
|
||||
doenvd "${FILESDIR}"/99torrserver
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 2019-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="TorrServer, stream torrent to http"
|
||||
HOMEPAGE="https://github.com/YouROK/TorrServer"
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/YouROK/TorrServer/releases/download/MatriX.${PV}/TorrServer-linux-amd64 -> TorrServer-linux-amd64-${PV} )
|
||||
"
|
||||
|
||||
KEYWORDS="amd64"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="
|
||||
acct-user/torrserver
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp -v "${DISTDIR}/${A}" "${S}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/torrserver
|
||||
cp "${S}/TorrServer-linux-amd64-${PV}" "${ED}"/opt/torrserver/TorrServer-linux-amd64 || die
|
||||
fperms 0755 /opt/torrserver/TorrServer-linux-amd64
|
||||
newinitd "${FILESDIR}"/torrserver.initd torrserver
|
||||
doenvd "${FILESDIR}"/99torrserver
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 2019-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="TorrServer, stream torrent to http"
|
||||
HOMEPAGE="https://github.com/YouROK/TorrServer"
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/YouROK/TorrServer/releases/download/MatriX.${PV}/TorrServer-linux-amd64 -> TorrServer-linux-amd64-${PV} )
|
||||
"
|
||||
|
||||
KEYWORDS="amd64"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="
|
||||
acct-user/torrserver
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp -v "${DISTDIR}"/"${A}" "${S}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/torrserver
|
||||
cp "${S}/TorrServer-linux-amd64-${PV}" "${ED}"/opt/torrserver/TorrServer-linux-amd64 || die
|
||||
fperms 0755 /opt/torrserver/TorrServer-linux-amd64
|
||||
newinitd "${FILESDIR}"/torrserver.initd torrserver
|
||||
doenvd "${FILESDIR}"/99torrserver
|
||||
}
|
Loading…
Reference in new issue