a335880343
Clears TODO item. Version 1.1.17 (released 25-Oct-2012) * fix exception caused by uninitialized variable usage (issue #516) Version 1.1.16 (released 24-Oct-2012) * security fix: escape "extra" diff info to avoid XSS attack (issue #515) * add 'binary_mime_types' configuration option and handling (issue #510) * fix 'select for diffs' persistence across log pages (issue #512) * remove lock status and filesize check on directories in remote SVN views * fix bogus 'Annotation of' page title for non-annotated view (issue #514) Version 1.1.15 (released 22-Jun-2012) * security fix: complete authz support for remote SVN views (issue #353) * security fix: log msg leak in SVN revision view with unreadable copy source * fix several instances of incorrect information in remote SVN views * increase performance of some revision metadata lookups in remote SVN views * fix RSS feed regression introduced in 1.1.14 Version 1.1.14 (released 12-Jun-2012) * fix annotation of svn files with non-URI-safe paths (issue #504) * handle file:/// Subversion rootpaths as local roots (issue #446) * fix bug caused by trying to case-normalize anon usernames (issue #505) * speed up log handling by reusing tokenization results (issue #506) * add support for custom review log markup rules (issue #429) Version 1.1.13 (released 23-Jan-2012) * fix svndbadmin failure on deleted paths under Subversion 1.7 (issue #499) * fix annotation of files in svn roots with non-URI-safe paths * fix stray annotation warning in markup display of images * more gracefully handle attempts to display binary content (issue #501) Version 1.1.12 (released 03-Nov-2011) * fix path display in patch and certain diff views (issue #485) * fix broken cvsdb glob searching (issue 486) * allow svn revision specifiers to have leading r's (issue #441, #448) * allow environmental override of configuration location (issue #494) * fix exception HTML-escaping non-string data under WSGI (issue #454) * add links to root logs from roots view (issue #470) * use Pygments lexer-guessing functionality (issue #495)
70 lines
2 KiB
Makefile
70 lines
2 KiB
Makefile
# $NetBSD: Makefile,v 1.18 2012/12/27 12:56:36 darcy Exp $
|
|
#
|
|
|
|
DISTNAME= viewvc-1.1.17
|
|
CATEGORIES= devel www
|
|
MASTER_SITES= # http://viewvc.tigris.org/files/documents/3330/49022/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.viewvc.org/
|
|
COMMENT= Viewing the content of CVS/SVN repositories with a Webbrowser
|
|
LICENSE= 2-clause-bsd
|
|
|
|
PYTHON_PATCH_SCRIPTS= viewvc-install bin/* bin/cgi/*.cgi lib/*.py
|
|
|
|
.if !exists(/usr/bin/rlog)
|
|
DEPENDS+= rcs-[0-9]*:../../devel/rcs
|
|
RCS_PKG= YES
|
|
.else
|
|
RCS_PKG= NO
|
|
.endif
|
|
|
|
NO_BUILD= YES
|
|
VIEWVCDIR= share/viewvc
|
|
PLIST_SUBST+= VIEWVCDIR=${VIEWVCDIR:Q}
|
|
|
|
CONF_FILES= ${PREFIX}/share/examples/viewvc/viewvc.conf \
|
|
${PREFIX}/${VIEWVCDIR:Q}/viewvc.conf
|
|
CONF_FILES+= ${PREFIX}/share/examples/viewvc/cvsgraph.conf \
|
|
${PREFIX}/${VIEWVCDIR:Q}/cvsgraph.conf
|
|
|
|
.include "options.mk"
|
|
|
|
SUBST_CLASSES+= conf
|
|
SUBST_STAGE.conf= post-patch
|
|
SUBST_MESSAGE.conf= Fixing configuration files.
|
|
SUBST_FILES.conf= conf/viewvc.conf.dist
|
|
SUBST_FILES.conf+= conf/cvsgraph.conf.dist
|
|
SUBST_SED.conf= -e "s|@VIEWVCDIR@|${VIEWVCDIR}|g"
|
|
SUBST_SED.conf+= -e "s|@PREFIX@|${PREFIX}|g"
|
|
SUBST_SED.conf+= -e "s|@PHP_OPT@|${PHP_OPT}|g"
|
|
SUBST_SED.conf+= -e "s|@CVSGRAPH_OPT@|${CVSGRAPH_OPT}|g"
|
|
|
|
.if defined(RCS_PKG) && ${RCS_PKG} == "YES"
|
|
SUBST_SED.conf+= -e "s|@RCS_PREFIX@|${PREFIX}|g"
|
|
.else
|
|
SUBST_SED.conf+= -e "s|@RCS_PREFIX@|/usr|g"
|
|
.endif
|
|
|
|
CHECK_PORTABILITY_SKIP= tools/make-release
|
|
|
|
INSTALLATION_DIRS= share/examples/viewvc
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && \
|
|
${PYTHONBIN} \
|
|
viewvc-install --prefix=${PREFIX}/${VIEWVCDIR} --destdir=${DESTDIR})
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/conf/viewvc.conf.dist \
|
|
${DESTDIR}${PREFIX}/share/examples/viewvc/viewvc.conf
|
|
${INSTALL_DATA} ${WRKSRC}/conf/cvsgraph.conf.dist \
|
|
${DESTDIR}${PREFIX}/share/examples/viewvc/cvsgraph.conf
|
|
|
|
post-install:
|
|
${CHMOD} ${SHAREMODE} \
|
|
${DESTDIR}/${PREFIX}/share/viewvc/bin/mod_python/.htaccess
|
|
${CHMOD} ${SHAREMODE} \
|
|
${DESTDIR}/${PREFIX}/share/viewvc/bin/mod_python/*.py
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|