pkgsrc/www/websvn/Makefile
schmonz 9a1fa2d47c Update to 2.2.1. From the changelog:
* Fixed downloading tar-gz-archives when using gz-extension
* Improved output when svn-command could not be executed correctly
* Added config option to use full alphabetic order (independent of
    folder or file type)
* Fixed multiple links and minor issues
  * Fixed issues: 212, 213, 214, 215, 216, 217, 219, 222, 223, 224,
      225, 227, 228, 229, 230, 231, 232, 234, 237, 238

2.2.0:
* Fixed revision handling to use PEG revision instead of OPERATIVE revision
  * This fixes many (but not all) cases when working with
      moved/renamed/deleted files
* Removed dependencies to external command
  * Added PEAR Archive_Tar
  * Added PEAR Text_Diff
  * Added usage of gz extension if available
  * Added usage of PHP touch function
* Improved scalability of parent path handling
* Added support for upcoming PHP 5.3
* Added separate customizable extension mapping for GeSHi
* Added possiblity to ignore whitespace on compare and diff
* Added support for aliases in access file and handle continuation
    lines correctly
* Added config option to set custom config path
* Added config option to exclude specific paths from the set of
    repositories added by parentPath
* Added config option to add a subpath of a repository to the list
    of repositories
* Added config option to switch between showing age and date in log
    and listing view (the other is displayed in the title attribute)
* Added auto detection of Windows
* Added message when config file does not exist
* Added new logo and favicon
* Fixed some broken links when navigating through a repository
* Fixed created archive to be identical (for the same revision)
    across multiple request
  * This works under Linux with any PHP version and under Windows with PHP 5.3
* Fixed parsing of access file to support usernames containing equal characters
* Updated translations
  * Dutch
  * French
  * Italian

2.1.0:
* Fixed: Several security fixed
* Added: Added GeSHi for code highlighting.
* Added: New languages.
* Changed: Separated modified files and directory listing.
* Changed: Updated used libraries.
FIX: XSS vulnarabilities (Issue 179)
FIX: Hide modified files in revision view based on authentication.
FIX: Numerous other security problems.
NEW: Added translations: hungarian, indonesian, slovak, uzbek.
CHANGED: Some code cleanup.

2.0:
* Changed: many cleanups and optimisations.
* Added: more documentation for *.php files.
* Removed: extraneous bits.
* Changed: line endings now use UNIX-style across the board.
NEW: New default template theme offered by Erik Pöhler
NEW: Template files may now be specified on a per repository basis
NEW: Add RSS 'alternate' <link> elements to the HTML headers in
     directory listings. This lets you, for example, easily create a
     'live bookmark' in Firefox to monitor commits to a particular SVN path.
NEW: Russian translation.
CHANGE: Bugtraq handling has been updated to account for the latest spec.
FIX: Syntax highlighting across lines has been fixed (Issue 85)

1.62:
NEW: RSS feed can now list changed files
NEW: Templates can now show an open folder icon
NEW: Polish translation
NEW: Dutch translation
CHANGE: Window is scrolled to appropriate location when opening a new directory
FIX: Allow repository names containing '/'
FIX: Fixed sloppy HTML in diff templates
FIX: Fix problems with the diff output
FIX: Repositories on Windows network shares can now be accessed.
FIX: Accented characters weren't shown correctly in the directory comparison
     view.
FIX: Remove error when only one revision was available

pkgsrc changes:
* Use a more typical PKG_SYSCONFDIR.
* Don't depend on Apache PHP module; this runs anywhere PHP does.
2009-07-25 19:33:45 +00:00

47 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2009/07/25 19:33:45 schmonz Exp $
#
DISTNAME= websvn-2.2.1
CATEGORIES= www
MASTER_SITES= http://websvn.tigris.org/files/documents/1380/45918/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://websvn.tigris.org/
COMMENT= Subversion repository web frontend
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= ${PHP_PKG_PREFIX}-iconv-[0-9]*:../../converters/php-iconv
DEPENDS+= ${PHP_PKG_PREFIX}-zlib-[0-9]*:../../archivers/php-zlib
NO_BUILD= yes
USE_TOOLS+= pax
MESSAGE_SUBST+= PKGBASE=${PKGBASE}
MESSAGE_SUBST+= HTTPD_ROOT=${HTTPD_ROOT}
PLIST_SUBST+= HTTPD_ROOT=${HTTPD_ROOT:Q}
HTTPD_ROOT?= share/httpd/htdocs
BUILD_DEFS+= HTTPD_ROOT
EGDIR= ${PREFIX}/share/examples/websvn
CONF_FILES= ${EGDIR}/distconfig.php ${PKG_SYSCONFDIR}/websvn.conf
SUBST_CLASSES+= conf
SUBST_STAGE.conf= do-configure
SUBST_MESSAGE.conf= Fixing paths to configuration files.
SUBST_FILES.conf= include/setup.php
SUBST_SED.conf= -e "s|@EGDIR@|${EGDIR}|g"
SUBST_SED.conf+= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
INSTALLATION_DIRS= ${HTTPD_ROOT}/websvn share/examples/websvn
do-install:
${INSTALL_DATA} ${WRKSRC}/include/distconfig.php ${DESTDIR}${EGDIR}
cd ${WRKSRC} && rm -f *.orig */*.orig
cd ${WRKSRC} && pax -rwppm . ${DESTDIR}${PREFIX}/${HTTPD_ROOT}/websvn
${RM} ${DESTDIR}${PREFIX}/${HTTPD_ROOT}/websvn/include/distconfig.php
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"