Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2012 18:30:01 GMT
From:      Grzegorz Blach <magik@roorback.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/164377: New port: www/trac-permredirect
Message-ID:  <201201221830.q0MIU1nN004061@red.freebsd.org>
Resent-Message-ID: <201201221830.q0MIUDUM026188@freefall.freebsd.org>

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

>Number:         164377
>Category:       ports
>Synopsis:       New port: www/trac-permredirect
>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 Jan 22 18:30:13 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Grzegorz Blach
>Release:        9.0 amd64
>Organization:
>Environment:
FreeBSD silver.nine 9.0-RELEASE FreeBSD 9.0-RELEASE #5 r229491: Wed Jan  4 19:17:56 CET 2012     magik@silver.nine:/usr/obj/usr/src/sys/SILVER  amd64

>Description:
Trac plugin which redirect users to the login screen on PermissionError.


http://trac-hacks.org/wiki/PermRedirectPlugin

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	www/trac-permredirect
#	www/trac-permredirect/pkg-descr
#	www/trac-permredirect/distinfo
#	www/trac-permredirect/Makefile
#
echo c - www/trac-permredirect
mkdir -p www/trac-permredirect > /dev/null 2>&1
echo x - www/trac-permredirect/pkg-descr
sed 's/^X//' >www/trac-permredirect/pkg-descr << '72809c5721ca9b59d745462d1fdeb797'
XTrac plugin which redirect users to the login screen on PermissionError.
X
XWWW: http://trac-hacks.org/wiki/PermRedirectPlugin
72809c5721ca9b59d745462d1fdeb797
echo x - www/trac-permredirect/distinfo
sed 's/^X//' >www/trac-permredirect/distinfo << 'a5816140a53e6ffb1054d6d20abb6a48'
XSHA256 (permredirect-2.0.3593.zip) = 0064b7063be2ff9c605545c803d00f69ff22e5c2f62e6fcff65ec369bb71a47c
XSIZE (permredirect-2.0.3593.zip) = 1538
a5816140a53e6ffb1054d6d20abb6a48
echo x - www/trac-permredirect/Makefile
sed 's/^X//' >www/trac-permredirect/Makefile << '20167997d3d9c25ee5cd4244d6ba6725'
X# New ports collection makefile for: trac-accountmanager
X# Date created:                      17 Feb 2006
X# Whom:                              kuriyama@FreeBSD.org
X#
X# $FreeBSD$
X#
X
XPORTNAME=	permredirect
XPORTVERSION=	2.0.${REV}
XCATEGORIES=	www devel python
XMASTER_SITES=	http://trac-hacks.org/changeset/${REV}/${PORTNAME}plugin/${BRANCH}?old_path=/&format=zip&filename= \
X		http://files.roorback.net/
XPKGNAMEPREFIX=	trac-
X
XMAINTAINER=	magik@roorback.net
XCOMMENT=	Redirect users to the login screen on PermissionError
X
XBUILD_DEPENDS=	${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
XRUN_DEPENDS=	tracd:${PORTSDIR}/www/trac
X
XFETCH_BEFORE_ARGS=	-o ${DISTFILES}
XBRANCH=			0.11
XREV=			3593
XUSE_ZIP=		yes
XUSE_PYTHON=		yes
XUSE_PYDISTUTILS=	easy_install
XPYDISTUTILS_PKGNAME=	TracPermRedirect
XPYDISTUTILS_PKGVERSION=	2.0
XWRKSRC=			${WRKDIR}/${PORTNAME}plugin/${BRANCH}
X
XPLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
X
Xpre-build:
X	cd ${WRKSRC} && ${PYTHON_CMD} setup.py bdist_egg
X
X.include <bsd.port.mk>
20167997d3d9c25ee5cd4244d6ba6725
exit



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



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