aboutsummaryrefslogtreecommitdiffstats
path: root/news/nzbget
diff options
context:
space:
mode:
Diffstat (limited to 'news/nzbget')
-rw-r--r--news/nzbget/Makefile50
-rw-r--r--news/nzbget/distinfo4
-rw-r--r--news/nzbget/pkg-plist7
3 files changed, 30 insertions, 31 deletions
diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile
index 9046de6bacd..e61d3718f6f 100644
--- a/news/nzbget/Makefile
+++ b/news/nzbget/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= nzbget
-PORTVERSION= 10.2
+PORTVERSION= 11.0
CATEGORIES= news
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION}
@@ -11,50 +11,50 @@ COMMENT= Binary newsreader supporting NZB files
LICENSE= GPLv2
-LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 \
- sigc-2:${PORTSDIR}/devel/libsigc++20
+LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 \
+ libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20
-USES= gmake pkgconfig
+USES= pkgconfig
USE_RC_SUBR= nzbget
GNU_CONFIGURE= yes
CONFIGURE_ENV= LOCALBASE="${LOCALBASE}"
-MAKE_JOBS_UNSAFE=yes
+MAKE_JOBS_UNSAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= ${PTHREAD_LIBS}
CFLAGS+= ${PTHREAD_CFLAGS}
-PAR_DESC= Support verifying/repairing with par2 files
OPTIONS_DEFINE= PAR
OPTIONS_SINGLE= TLSLIB
OPTIONS_SINGLE_TLSLIB= GNUTLS OPENSSL
OPTIONS_DEFAULT= PAR GNUTLS
+PAR_DESC= Support verifying/repairing with par2 files
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+PAR_CONFIGURE_ON= --enable-parcheck --disable-libpar2-bugfixes-check
+PAR_CONFIGURE_OFF= --disable-parcheck
+PAR_LIB_DEPENDS= libpar2.so:${PORTSDIR}/archivers/libpar2
-.if ${PORT_OPTIONS:MPAR}
- CONFIGURE_ARGS+= --enable-parcheck --disable-libpar2-bugfixes-check
- LIB_DEPENDS+= par2:${PORTSDIR}/archivers/libpar2
-.else
- CONFIGURE_ARGS+= --disable-parcheck
-.endif
+OPENSSL_CONFIGURE_ON= --with-tlslib=OpenSSL \
+ --with-openssl-includes=${OPENSSLINC} \
+ --with-openssl-libraries=${OPENSSLLIB}
+
+GNUTLS_CONFIGURE_ON= --with-tlslib=GnuTLS
+GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls \
+ libgcrypt.so:${PORTSDIR}/security/libgcrypt
+
+CONFIGURE_ARGS+= --enable-sigchld-handler
+
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENSSL}
USE_OPENSSL= yes
- CONFIGURE_ARGS+= --with-tlslib=OpenSSL \
- --with-openssl-includes=${OPENSSLINC} \
- --with-openssl-libraries=${OPENSSLLIB}
.endif
-.if ${PORT_OPTIONS:MGNUTLS}
- CONFIGURE_ARGS+= --with-tlslib=GnuTLS
- LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
- LIB_DEPENDS+= gcrypt:${PORTSDIR}/security/libgcrypt
-.endif
+post-configure:
+ # necessary for stage
+ @${REINPLACE_CMD} -e 's|555|655|g ; s|444|644|' ${WRKSRC}/Makefile
post-install:
- ${INSTALL_DATA} ${WRKSRC}/nzbget.conf ${PREFIX}/etc/nzbget.conf.sample
- @[ -f ${PREFIX}/etc/nzbget.conf ] || ${CP} ${PREFIX}/etc/nzbget.conf.sample \
- ${PREFIX}/etc/nzbget.conf
+ ${INSTALL_DATA} ${WRKSRC}/nzbget.conf \
+ ${STAGEDIR}${PREFIX}/etc/nzbget.conf.sample
.include <bsd.port.mk>
diff --git a/news/nzbget/distinfo b/news/nzbget/distinfo
index 6fccd933cb7..bc8fcbcd1cf 100644
--- a/news/nzbget/distinfo
+++ b/news/nzbget/distinfo
@@ -1,2 +1,2 @@
-SHA256 (nzbget-10.2.tar.gz) = c9b878744c162e7721ffc8b048a2e4550a8ed8da6e706ee4cbd026ed2d612ec2
-SIZE (nzbget-10.2.tar.gz) = 671808
+SHA256 (nzbget-11.0.tar.gz) = 27abacf6c604969dc987b7e50689caef22a65dbb1690b020b0c6d147ae123b3d
+SIZE (nzbget-11.0.tar.gz) = 694197
diff --git a/news/nzbget/pkg-plist b/news/nzbget/pkg-plist
index 46b70e0d15b..74eedabc30d 100644
--- a/news/nzbget/pkg-plist
+++ b/news/nzbget/pkg-plist
@@ -1,8 +1,6 @@
bin/nzbget
-bin/nzbget-postprocess.sh
sbin/nzbgetd
%%DATADIR%%/nzbget.conf
-%%DATADIR%%/nzbget-postprocess.conf
%%DATADIR%%/webui/config.js
%%DATADIR%%/webui/downloads.js
%%DATADIR%%/webui/edit.js
@@ -24,8 +22,6 @@ sbin/nzbgetd
%%DATADIR%%/webui/lib/jquery.js
%%DATADIR%%/webui/lib/jquery.min.js
%%DATADIR%%/webui/messages.js
-%%DATADIR%%/webui/nzbget-postprocess.conf
-%%DATADIR%%/webui/nzbget.conf
%%DATADIR%%/webui/status.js
%%DATADIR%%/webui/style.css
%%DATADIR%%/webui/upload.js
@@ -33,6 +29,9 @@ sbin/nzbgetd
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
+%%DATADIR%%/ppscripts/EMail.py
+%%DATADIR%%/ppscripts/Logger.py
+@dirrmtry %%DATADIR%%/ppscripts
@dirrm %%DATADIR%%/webui/img
@dirrm %%DATADIR%%/webui/lib
@dirrm %%DATADIR%%/webui