Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2006 22:39:31 -0800 (PST)
From:      Daniel Bretoi <daniel@netwalk.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/94676: new port
Message-ID:  <20060319063931.30F34879C@nero.netwalk.org>
Resent-Message-ID: <200603190650.k2J6oF1M060011@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94676
>Category:       ports
>Synopsis:       new port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 19 06:50:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Bretoi
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD nero.netwalk.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Fri Nov 4 17:55:08 PST 2005 debonair@nero.netwalk.org:/usr/obj/usr/src/sys/NERO i386


	
>Description:
	
    New port: news/sabnzbd
>How-To-Repeat:
	
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	sabnzbd/
#	sabnzbd/pkg-plist
#	sabnzbd/Makefile
#	sabnzbd/pkg-descr
#	sabnzbd/distinfo
#	sabnzbd/files
#	sabnzbd/files/patch-setup.py
#
echo c - sabnzbd/
mkdir -p sabnzbd/ > /dev/null 2>&1
echo x - sabnzbd/pkg-plist
sed 's/^X//' >sabnzbd/pkg-plist << 'END-of-sabnzbd/pkg-plist'
Xbin/SABnzbd.py
X%%PYTHON_SITELIBDIR%%/sabnzbd/__init__.py
X%%PYTHON_SITELIBDIR%%/sabnzbd/assembler.py
X%%PYTHON_SITELIBDIR%%/sabnzbd/cron.py
X%%PYTHON_SITELIBDIR%%/sabnzbd/downloader.py
X%%PYTHON_SITELIBDIR%%/sabnzbd/interface.py
X%%PYTHON_SITELIBDIR%%/sabnzbd/misc.py
X%%PYTHON_SITELIBDIR%%/sabnzbd/newsunpack.py
X%%PYTHON_SITELIBDIR%%/sabnzbd/newswrapper.py
X%%PYTHON_SITELIBDIR%%/sabnzbd/nzbgrab.py
X%%PYTHON_SITELIBDIR%%/sabnzbd/nzbqueue.py
X%%PYTHON_SITELIBDIR%%/sabnzbd/nzbstuff.py
X%%PYTHON_SITELIBDIR%%/sabnzbd/httpauthfilter_sabnzbd.py
X%%PYTHON_SITELIBDIR%%/sabnzbd/httpauth.py
X%%PYTHON_SITELIBDIR%%/sabnzbd/__init__.pyc
X%%PYTHON_SITELIBDIR%%/sabnzbd/assembler.pyc
X%%PYTHON_SITELIBDIR%%/sabnzbd/cron.pyc
X%%PYTHON_SITELIBDIR%%/sabnzbd/downloader.pyc
X%%PYTHON_SITELIBDIR%%/sabnzbd/interface.pyc
X%%PYTHON_SITELIBDIR%%/sabnzbd/misc.pyc
X%%PYTHON_SITELIBDIR%%/sabnzbd/newsunpack.pyc
X%%PYTHON_SITELIBDIR%%/sabnzbd/newswrapper.pyc
X%%PYTHON_SITELIBDIR%%/sabnzbd/nzbgrab.pyc
X%%PYTHON_SITELIBDIR%%/sabnzbd/nzbqueue.pyc
X%%PYTHON_SITELIBDIR%%/sabnzbd/nzbstuff.pyc
X%%PYTHON_SITELIBDIR%%/sabnzbd/httpauthfilter_sabnzbd.pyc
X%%PYTHON_SITELIBDIR%%/sabnzbd/httpauth.pyc
X%%PYTHON_SITELIBDIR%%/sabnzbd/__init__.pyo
X%%PYTHON_SITELIBDIR%%/sabnzbd/assembler.pyo
X%%PYTHON_SITELIBDIR%%/sabnzbd/cron.pyo
X%%PYTHON_SITELIBDIR%%/sabnzbd/downloader.pyo
X%%PYTHON_SITELIBDIR%%/sabnzbd/httpauth.pyo
X%%PYTHON_SITELIBDIR%%/sabnzbd/httpauthfilter_sabnzbd.pyo
X%%PYTHON_SITELIBDIR%%/sabnzbd/interface.pyo
X%%PYTHON_SITELIBDIR%%/sabnzbd/misc.pyo
X%%PYTHON_SITELIBDIR%%/sabnzbd/newsunpack.pyo
X%%PYTHON_SITELIBDIR%%/sabnzbd/newswrapper.pyo
X%%PYTHON_SITELIBDIR%%/sabnzbd/nzbgrab.pyo
X%%PYTHON_SITELIBDIR%%/sabnzbd/nzbqueue.pyo
X%%PYTHON_SITELIBDIR%%/sabnzbd/nzbstuff.pyo
X@dirrm %%PYTHON_SITELIBDIR%%/sabnzbd/
X%%PORTDOCS%%%%DOCSDIR%%/README.txt
X%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
X%%PORTDOCS%%%%DOCSDIR%%/TODO.txt
X%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.txt
X%%PORTDOCS%%%%DOCSDIR%%/UPGRADE.txt
X%%PORTDOCS%%share/%%PORTNAME%%/SABnzbd.ini.sample
X%%PORTDOCS%%share/%%PORTNAME%%/templates/default.css
X%%PORTDOCS%%share/%%PORTNAME%%/templates/history.tmpl
X%%PORTDOCS%%share/%%PORTNAME%%/templates/main.tmpl
X%%PORTDOCS%%share/%%PORTNAME%%/templates/connection_info.tmpl
X%%PORTDOCS%%share/%%PORTNAME%%/templates/config.tmpl
X%%PORTDOCS%%share/%%PORTNAME%%/templates/queue.tmpl
X%%PORTDOCS%%share/%%PORTNAME%%/templates/config_directories.tmpl
X%%PORTDOCS%%share/%%PORTNAME%%/templates/config_general.tmpl
X%%PORTDOCS%%share/%%PORTNAME%%/templates/config_server.tmpl
X%%PORTDOCS%%share/%%PORTNAME%%/templates/config_switches.tmpl
X%%PORTDOCS%%share/%%PORTNAME%%/templates/config_scheduling.tmpl
X@dirrm %%PORTDOCS%%%%DOCSDIR%%
X@dirrm %%PORTDOCS%%share/%%PORTNAME%%/templates
X@dirrm %%PORTDOCS%%share/%%PORTNAME%%/
END-of-sabnzbd/pkg-plist
echo x - sabnzbd/Makefile
sed 's/^X//' >sabnzbd/Makefile << 'END-of-sabnzbd/Makefile'
X# New ports collection makefile for:   sabnzbd
X# Date created:        16 March 2006
X# Whom:                Daniel Bretoi
X#
X# $FreeBSD$
X#
X# http://easynews.dl.sourceforge.net/sourceforge/sabnzbd/SABnzbd-0.1.7.3.tar.gz
X
XPORTNAME=      SABnzbd
XPORTVERSION=   0.1.7.3
XCATEGORIES=    news
XMASTER_SITES=  ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= sabnzbd
X
XMAINTAINER=    daniel@netwalk.org
XCOMMENT=       A web-interface based binary newsgrabber in python, with nzb support
X
XRUN_DEPENDS= cheetah:${PORTSDIR}/devel/py-cheetah \
X			${PYTHON_SITELIBDIR}/cherrypy/__init__.py:${PORTSDIR}/www/py-cherrypy \
X			${PYTHON_SITELIBDIR}/pythonutils/configobj.py:${PORTSDIR}/devel/py-utils
X
XUSE_PYTHON= 2.4
XUSE_PYDISTUTILS= yes
X
XPLIST_SUB+= PORTNAME=${PORTNAME}
X
XOPTIONS= CELEMENTTREE "Use cElements for speed-increase" on \
X	PAR2CMDLINE "Required for postprocessing of par files." on \
X	UNRAR "Often required for unpacking many downloads." on
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_CELEMENTTREE)
XRUN_DEPENDS+= ${PYTHON_SITELIBDIR}/cElementTree.so:${PORTSDIR}/devel/py-celementtree
X.endif
X
X.if defined(WITH_PAR2CMDLINE)
XRUN_DEPENDS+= par2repair:${PORTSDIR}/archivers/par2cmdline
X.endif
X
X.if defined(WITH_UNRAR)
XRUN_DEPENDS+= unrar:${PORTSDIR}/archivers/unrar
X.endif
X
Xpost-install:
X	@${ECHO_MSG} -e "\n \
X****************************************************************************\n \
XCheck ${PREFIX}/share/${PORTNAME} for SABnzbd.ini.sample and templates\n \
X****************************************************************************\n \
X"
X
X.include <bsd.port.post.mk>
END-of-sabnzbd/Makefile
echo x - sabnzbd/pkg-descr
sed 's/^X//' >sabnzbd/pkg-descr << 'END-of-sabnzbd/pkg-descr'
XA web-interface based standalone binary newsgrabber written in python, supports
X.nzb files
X
XWWW: http://sourceforge.net/projects/sabnzbd
END-of-sabnzbd/pkg-descr
echo x - sabnzbd/distinfo
sed 's/^X//' >sabnzbd/distinfo << 'END-of-sabnzbd/distinfo'
XMD5 (SABnzbd-0.1.7.3.tar.gz) = bfc2c9ef7fc21c8651c1627e44cd8d1e
XSHA256 (SABnzbd-0.1.7.3.tar.gz) = d830e0b570821c4efd478f0d072c1711b68619275aae5d294a84bbda6f1e26f3
XSIZE (SABnzbd-0.1.7.3.tar.gz) = 53387
END-of-sabnzbd/distinfo
echo c - sabnzbd/files
mkdir -p sabnzbd/files > /dev/null 2>&1
echo x - sabnzbd/files/patch-setup.py
sed 's/^X//' >sabnzbd/files/patch-setup.py << 'END-of-sabnzbd/files/patch-setup.py'
X*** setup.py.orig	Sat Mar  4 13:16:01 2006
X--- setup.py	Sat Mar 18 21:59:59 2006
X***************
X*** 15,20 ****
X        license = 'Academic Free License 2.1',
X!       data_files = [('/usr/share/doc/SABnzbd-' + sabnzbd.__version__,
X!                              ['SABnzbd.ini.sample', 'README.txt', 'LICENSE.txt',
X                                'TODO.txt', 'CHANGELOG.txt', 'UPGRADE.txt']),
X!                     ('/usr/share/doc/SABnzbd-' + sabnzbd.__version__ + '/templates',
X                               ['templates/default.css', 'templates/history.tmpl',
X--- 15,21 ----
X        license = 'Academic Free License 2.1',
X!       data_files = [('share/doc/SABnzbd',
X!                              ['README.txt', 'LICENSE.txt',
X                                'TODO.txt', 'CHANGELOG.txt', 'UPGRADE.txt']),
X!                     ('share/SABnzbd',['SABnzbd.ini.sample']),
X!                     ('share/SABnzbd' + '/templates',
X                               ['templates/default.css', 'templates/history.tmpl',
END-of-sabnzbd/files/patch-setup.py
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



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