1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Update to 15.0

- Add 7Z option

PR:		200457
Submitted by:	toxic at doobie.com (maintainer)
This commit is contained in:
Guido Falsi 2015-05-26 22:32:22 +00:00
parent 2a743f346c
commit ca001e95b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=387515
4 changed files with 10 additions and 9 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= nzbget
PORTVERSION= 14.2
PORTVERSION= 15.0
CATEGORIES= news
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION}
@ -30,7 +30,7 @@ python_OLD_CMD= /usr/bin/env python
OPTIONS_DEFINE= 7Z PYTHON RAR DOCS
OPTIONS_SINGLE= TLSLIB
OPTIONS_SINGLE_TLSLIB= GNUTLS OPENSSL
OPTIONS_DEFAULT= GNUTLS PAR PYTHON RAR
OPTIONS_DEFAULT= GNUTLS PAR PYTHON RAR 7Z
7Z_DESC= Support extraction of 7z archives
PYTHON_DESC= Support for python post-processing scripts
RAR_DESC= Support extraction of rar archives

View File

@ -1,2 +1,2 @@
SHA256 (nzbget-14.2.tar.gz) = bb24afb47dc01766c5e5c02d7565190082c6e13ffed565969a2ec52e21104677
SIZE (nzbget-14.2.tar.gz) = 1332612
SHA256 (nzbget-15.0.tar.gz) = 3ef13f3e5917e4cda19c4fc0cd37e79967a19b4e3448c239ff24e37712a6cc0a
SIZE (nzbget-15.0.tar.gz) = 1466814

View File

@ -21,9 +21,9 @@ load_rc_config ${name}
: ${nzbget_enable:=NO}
start_cmd="${name}_start"
status_cmd="${command} status"
status_cmd="${command} -L S"
stop_cmd="${name}_stop"
command=%%PREFIX%%/sbin/nzbgetd
command=%%PREFIX%%/bin/nzbget
nzbget_start()
{
@ -31,13 +31,15 @@ nzbget_start()
# artificial sleep because it doesnt want to start
# after a restart without it
sleep .5
${command} start
${command} -D
}
nzbget_stop()
{
echo "Stopping ${name}."
${command} stop
${command} -Q
# artificial sleep because stop is backgrounded
sleep 3
}
run_rc_command "$1"

View File

@ -1,6 +1,5 @@
bin/nzbget
@sample etc/nzbget.conf.sample
sbin/nzbgetd
@comment %%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog