Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2012 01:13:12 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r301700 - in head/news/sabnzbdplus: . files
Message-ID:  <201207300113.q6U1DCUx030800@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Jul 30 01:13:11 2012
New Revision: 301700
URL: http://svn.freebsd.org/changeset/ports/301700

Log:
  - Update to 0.7.2
  - Convert to OptionsNG
  
  PR:		ports/170260
  Submitted by:	Mark Felder <feld@feld.me>
  Approved by:	David Brooks <dab@rj45.org> (maintainer)

Modified:
  head/news/sabnzbdplus/Makefile   (contents, props changed)
  head/news/sabnzbdplus/distinfo   (contents, props changed)
  head/news/sabnzbdplus/files/patch-SABnzbd.py   (contents, props changed)

Modified: head/news/sabnzbdplus/Makefile
==============================================================================
--- head/news/sabnzbdplus/Makefile	Mon Jul 30 01:03:04 2012	(r301699)
+++ head/news/sabnzbdplus/Makefile	Mon Jul 30 01:13:11 2012	(r301700)
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	sabnzbdplus
-PORTVERSION=	0.7.0
+PORTVERSION=	0.7.2
 CATEGORIES=	news
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
 DISTNAME=	SABnzbd-${PORTVERSION}-src
@@ -90,31 +90,32 @@ PORTDOCS=	ABOUT.txt \
 USERS=		_sabnzbd
 GROUPS=		_sabnzbd
 
-OPTIONS=	PAR2CMDLINE "Required for postprocessing of par files." on \
-		UNRAR "Often required for unpacking many downloads." on \
-		FEEDPARSER "rss-feed support." on \
-		YENC "yenc support." on \
-		OPENSSL "SSL support" on
+OPTIONS_DEFINE=	PAR2CMDLINE UNRAR FEEDPARSER YENC OPENSSL
+OPTIONS_DEFAULT=	PAR2CMDLINE UNRAR FEEDPARSER YENC OPENSSL
+PAR2CMDLINE_DESC=	Required for postprocessing of par files
+UNRAR_DESC=	Often required for unpacking many downloads
+FEEDPARSER_DESC=	rss-feed support
+YENC_DESC=	yenc support
 
 .include <bsd.port.pre.mk>
 
-.if !defined(WITHOUT_PAR2CMDLINE)
+.if ${PORT_OPTIONS:MPAR2CMDLINE}
 RUN_DEPENDS+=	par2repair:${PORTSDIR}/archivers/par2cmdline-tbb
 .endif
 
-.if !defined(WITHOUT_FEEDPARSER)
+.if ${PORT_OPTIONS:MFEEDPARSER}
 RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/OpenSSL/SSL.so:${PORTSDIR}/security/py-openssl
 .endif
 
-.if !defined(WITHOUT_YENC)
+.if ${PORT_OPTIONS:MYENC}
 RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/_yenc.so:${PORTSDIR}/news/py-yenc
 .endif
 
-.if !defined(WITHOUT_OPENSSL)
+.if ${PORT_OPTIONS:MOPENSSL}
 RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/feedparser.py:${PORTSDIR}/textproc/py-feedparser
 .endif
 
-.if !defined(WITHOUT_UNRAR)
+.if ${PORT_OPTIONS:MUNRAR}
 RUN_DEPENDS+=	unrar:${PORTSDIR}/archivers/unrar
 .endif
 

Modified: head/news/sabnzbdplus/distinfo
==============================================================================
--- head/news/sabnzbdplus/distinfo	Mon Jul 30 01:03:04 2012	(r301699)
+++ head/news/sabnzbdplus/distinfo	Mon Jul 30 01:13:11 2012	(r301700)
@@ -1,2 +1,2 @@
-SHA256 (SABnzbd-0.7.0-src.tar.gz) = 36ddfe48a770381bf8cdd4bd807416a09c7d05c4939c17861977d9413b1e3fa2
-SIZE (SABnzbd-0.7.0-src.tar.gz) = 2238004
+SHA256 (SABnzbd-0.7.2-src.tar.gz) = 4018b79ac9e5219e86e06fc6edad4c7502ee0d153bc2a1666c0649613e02822e
+SIZE (SABnzbd-0.7.2-src.tar.gz) = 2246261
\ No newline at end of file

Modified: head/news/sabnzbdplus/files/patch-SABnzbd.py
==============================================================================
--- head/news/sabnzbdplus/files/patch-SABnzbd.py	Mon Jul 30 01:03:04 2012	(r301699)
+++ head/news/sabnzbdplus/files/patch-SABnzbd.py	Mon Jul 30 01:13:11 2012	(r301700)
@@ -1,5 +1,5 @@
---- SABnzbd.py.orig	2012-06-16 00:42:53.434526408 -0400
-+++ SABnzbd.py	2012-06-16 00:45:08.799296373 -0400
+--- SABnzbd.py.orig	2012-07-23 23:26:14.000000000 -0400
++++ SABnzbd.py	2012-07-23 23:28:04.000000000 -0400
 @@ -40,6 +40,9 @@
      print "The Python module Cheetah is required"
      sys.exit(1)
@@ -10,7 +10,7 @@
  import cherrypy
  if not cherrypy.__version__.startswith("3.2"):
      print "Sorry, requires Python module Cherrypy 3.2 (use the included version)"
-@@ -1003,7 +1006,7 @@
+@@ -1011,7 +1014,7 @@
  
      sabnzbd.MY_FULLNAME = os.path.normpath(os.path.abspath(sabnzbd.MY_FULLNAME))
      sabnzbd.MY_NAME = os.path.basename(sabnzbd.MY_FULLNAME)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207300113.q6U1DCUx030800>