Update to 1.6.1.

Help by ajacoutot@ and steven@
This commit is contained in:
stsp 2009-04-28 23:43:56 +00:00
parent 28c57fa39b
commit 60383fd0e8
19 changed files with 111 additions and 479 deletions

View File

@ -1,21 +1,23 @@
# $OpenBSD: Makefile,v 1.57 2009/03/16 22:20:02 kili Exp $
# $OpenBSD: Makefile,v 1.58 2009/04/28 23:43:56 stsp Exp $
COMMENT-main= subversion revision control system
COMMENT-perl= perl interface to subversion
COMMENT-python= python interface to subversion
COMMENT-ruby= ruby interface to subversion
COMMENT-ap2= apache2 subversion modules
COMMENT-main= subversion revision control system
COMMENT-perl= perl interface to subversion
COMMENT-python= python interface to subversion
COMMENT-ruby= ruby interface to subversion
COMMENT-ap2= apache2 subversion modules
COMMENT-gnome-keyring= gnome-keyring support for subversion
VERSION= 1.5.6
DISTNAME= subversion-${VERSION}
PKGNAME= ${DISTNAME}
PKGNAME-main= ${DISTNAME}
PKGNAME-perl= p5-SVN-${VERSION}
PKGNAME-python= py-subversion-${VERSION}p0
PKGNAME-ruby= ruby-subversion-${VERSION}
PKGNAME-ap2= ap2-subversion-${VERSION}
VERSION= 1.6.1
DISTNAME= subversion-${VERSION}
PKGNAME= ${DISTNAME}
PKGNAME-main= ${DISTNAME}
PKGNAME-perl= p5-SVN-${VERSION}
PKGNAME-python= py-subversion-${VERSION}
PKGNAME-ruby= ruby-subversion-${VERSION}
PKGNAME-ap2= ap2-subversion-${VERSION}
PKGNAME-gnome-keyring= gnome-keyring-subversion-${VERSION}
SO_VERSION= 1.1
SO_VERSION= 1.2
SVN_LIBS= svn_client-1 svn_delta-1 svn_diff-1 svn_fs-1 \
svn_fs_base-1 svn_fs_fs-1 svn_fs_util-1 svn_ra-1 svn_ra_neon-1 \
svn_ra_local-1 svn_ra_neon-1 svn_ra_svn-1 svn_repos-1 svn_subr-1 svn_wc-1
@ -36,18 +38,20 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/tarballs/
EXTRACT_SUFX= .tar.bz2
PSEUDO_FLAVORS= no_bindings no_ap2
PSEUDO_FLAVORS= no_bindings no_ap2 no_gnome-keyring
FLAVOR?=
MODULES= devel/gettext lang/python
WANTLIB= expat db z
WANTLIB= expat db z sqlite3
LIB_DEPENDS= neon.>=26:neon->=0.26.2:net/neon \
apr-1::devel/apr \
aprutil-1::devel/apr-util \
sasl2.>=2::security/cyrus-sasl2
sasl2.>=2::security/cyrus-sasl2 \
sqlite3::databases/sqlite3
MULTI_PACKAGES= -main
@ -58,11 +62,11 @@ RUN_DEPENDS-main= ${MODGETTEXT_RUN_DEPENDS}
CONTRIB_HOOK_SCRIPTS= case-insensitive.py pre-commit-check.py \
check-mime-type.pl pre-lock-require-needs-lock.py \
commit-block-joke.py remove-zombie-locks.py \
syntax-check.sh
syntax-check.sh commit-email.pl
# There's also 'enforcer', but we handle it separately, see post-install
TOOLS_HOOK_SCRIPTS= commit-access-control.cfg.example \
commit-access-control.pl commit-email.pl commit-email.rb \
commit-access-control.pl commit-email.rb \
log-police.py svn2feed.py svnperms.conf.example \
svnperms.py verify-po.py
# There's also 'mailer', but we handle it separately, see post-install
@ -121,6 +125,23 @@ MODULES+= lang/ruby
BUILD_DEPENDS+= :swig->=1.3.36:devel/swig
.endif
.if !${FLAVOR:L:Mno_gnome-keyring}
MULTI_PACKAGES+= -gnome-keyring
SHARED_ONLY= Yes
LIB_DEPENDS-gnome-keyring= dbus-1.>=7::x11/dbus \
glib-2.0::devel/glib2 \
gnome-keyring.>=4::x11/gnome/keyring \
pcre.>=2::devel/pcre \
${MODGETTEXT_LIB_DEPENDS} \
svn_subr-1.>=${SO_VERSION}:${PKGNAME}:devel/subversion,-main
WANTLIB-gnome-keyring= ${WANTLIB} apr-1 aprutil-1 iconv
SHARED_LIBS+= svn_auth_gnome_keyring-1 ${SO_VERSION}
# gnome-keyring depends on dbus depends on pthread, so svn won't be able
# to load libsvn_auth_gnome_keyring without this:
WANTLIB-main+= pthread
CFLAGS+= -pthread
.endif
# BSD make cannot build target autogen-swig to regenerate bindings
USE_GMAKE= Yes
MAKE_FLAGS= MAKE=${MAKE_PROGRAM}
@ -129,6 +150,7 @@ AUTOCONF_VERSION=2.62
CONFIGURE_STYLE=autoconf
CONFIGURE_ENV= PYTHON2=${MODPY_BIN}
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
--with-sasl=${LOCALBASE} \
--without-jikes \
--without-jdk
.if !${FLAVOR:L:Mno_bindings}
@ -144,15 +166,20 @@ CONFIGURE_ARGS+=--with-apxs=${LOCALBASE}/sbin/apxs2 \
CONFIGURE_ARGS+=--without-apxs
.endif
.if !${FLAVOR:L:Mno_gnome-keyring}
CONFIGURE_ARGS+=--with-gnome-keyring
.endif
REGRESS_DEPENDS=::lang/python/${MODPY_VERSION}
MODPY_VERSION?= 2.5
SUBST_VARS= LOCALBASE
SUBST_VARS+= LOCALBASE SO_VERSION
pre-patch:
@ln -s ${MODPY_BIN} ${WRKDIR}/bin/python
pre-configure:
@${SUBST_CMD} ${WRKSRC}/Makefile.in ${WRKSRC}/configure.ac
@${SUBST_CMD} ${WRKSRC}/Makefile.in ${WRKSRC}/configure.ac \
${WRKSRC}/subversion/libsvn_subr/auth.c
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
AUTOCONF_VERSION=${AUTOCONF_VERSION} ./autogen.sh

View File

@ -1,5 +1,5 @@
MD5 (subversion-1.5.6.tar.gz) = rYHlQFjmS105nT7aX4v80Q==
RMD160 (subversion-1.5.6.tar.gz) = zHJcgYVPWUyUcf1aRxLlPoPRvpo=
SHA1 (subversion-1.5.6.tar.gz) = 3l/YxG44cvfuOgWkW3GTb4JkapI=
SHA256 (subversion-1.5.6.tar.gz) = bvyOUo2HbPGirT1ZFibSGYnhBLB29s5pDPskigxsoow=
SIZE (subversion-1.5.6.tar.gz) = 6727513
MD5 (subversion-1.6.1.tar.bz2) = lXCLlrkg+u/8oBf0Pslndw==
RMD160 (subversion-1.6.1.tar.bz2) = s8yObPRsjkrUrb7m497Bhq55Alc=
SHA1 (subversion-1.6.1.tar.bz2) = 3gHv7SVQXWicNppn+/my0vAuR5U=
SHA256 (subversion-1.6.1.tar.bz2) = zdSnpOLG5nlnuZ/nhXpAmy/15XEmIU/cD22DX/eJ5so=
SIZE (subversion-1.6.1.tar.bz2) = 5462507

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-Makefile_in,v 1.9 2008/12/27 19:20:36 steven Exp $
--- Makefile.in.orig Tue Aug 26 19:27:56 2008
+++ Makefile.in Sat Nov 29 18:45:38 2008
@@ -68,12 +68,12 @@ swig_pl_libdir = @libdir@
$OpenBSD: patch-Makefile_in,v 1.10 2009/04/28 23:43:56 stsp Exp $
--- Makefile.in.orig Mon Feb 16 16:10:48 2009
+++ Makefile.in Thu Feb 19 19:36:18 2009
@@ -76,12 +76,12 @@ swig_pl_libdir = @libdir@
swig_rb_libdir = @libdir@
### these possibly need further discussion
@ -17,7 +17,7 @@ $OpenBSD: patch-Makefile_in,v 1.9 2008/12/27 19:20:36 steven Exp $
javahl_javadir = @libdir@/svn-javahl
javahl_javahdir = @libdir@/svn-javahl/include
@@ -114,8 +114,8 @@ APACHE_LDFLAGS = @APACHE_LDFLAGS@
@@ -122,8 +122,8 @@ APACHE_LDFLAGS = @APACHE_LDFLAGS@
SWIG = @SWIG@
SWIG_PY_INCLUDES = @SWIG_PY_INCLUDES@ -I$(SWIG_SRC_DIR)/python/libsvn_swig_py
SWIG_PY_COMPILE = @SWIG_PY_COMPILE@

View File

@ -1,24 +0,0 @@
$OpenBSD: patch-build_ac-macros_swig_m4,v 1.1 2008/11/02 20:43:49 steven Exp $
--- build/ac-macros/swig.m4.orig Sat Oct 25 22:10:37 2008
+++ build/ac-macros/swig.m4 Sat Oct 25 22:11:25 2008
@@ -212,16 +212,16 @@ AC_DEFUN(SVN_FIND_SWIG,
AC_MSG_CHECKING([where to install Ruby scripts])
AC_CACHE_VAL([svn_cv_ruby_sitedir_libsuffix],[
- svn_cv_ruby_sitedir_libsuffix="`echo \"$rbconfig_sitelibdir\" | \
- sed -e \"s,^$rbconfig_sitedir,,\"`"
+ svn_cv_ruby_sitedir_libsuffix="`echo $rbconfig_sitelibdir | \
+ sed -e s,^$rbconfig_sitedir,,`"
])
SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
AC_MSG_RESULT([$SWIG_RB_SITE_LIB_DIR])
AC_MSG_CHECKING([where to install Ruby extensions])
AC_CACHE_VAL([svn_cv_ruby_sitedir_archsuffix],[
- svn_cv_ruby_sitedir_archsuffix="`echo \"$rbconfig_sitearchdir\" | \
- sed -e \"s,^$rbconfig_sitedir,,\"`"
+ svn_cv_ruby_sitedir_archsuffix="`echo $rbconfig_sitearchdir | \
+ sed -e s,^$rbconfig_sitedir,,`"
])
SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
AC_MSG_RESULT([$SWIG_RB_SITE_ARCH_DIR])

View File

@ -1,25 +1,25 @@
$OpenBSD: patch-configure_ac,v 1.1 2008/11/02 20:43:49 steven Exp $
--- configure.ac.orig Tue Aug 26 19:27:56 2008
+++ configure.ac Sat Oct 25 22:08:16 2008
$OpenBSD: patch-configure_ac,v 1.2 2009/04/28 23:43:56 stsp Exp $
--- configure.ac.orig Sat Feb 7 20:46:30 2009
+++ configure.ac Thu Feb 19 19:37:20 2009
@@ -6,7 +6,7 @@ AC_PREREQ(2.58)
dnl Get the version of Subversion, using m4's esyscmd() command to do this
dnl at m4-time, since AC_INIT() requires it then.
AC_INIT([subversion],
- [esyscmd(python build/getversion.py subversion/include/svn_version.h)],
+ [esyscmd(${MODPY_BIN} build/getversion.py subversion/include/svn_version.h)],
[http://subversion.tigris.org/])
- [esyscmd(python build/getversion.py SVN subversion/include/svn_version.h)],
+ [esyscmd(${MODPY_BIN} build/getversion.py SVN subversion/include/svn_version.h)],
[http://subversion.tigris.org/])
AC_CONFIG_SRCDIR(subversion/include/svn_types.h)
@@ -48,7 +48,7 @@ if test "$INSTALL" = "build/install-sh -c"; then
@@ -56,7 +56,7 @@ if test "$INSTALL" = "build/install-sh -c"; then
INSTALL="$abs_srcdir/$INSTALL"
fi
-AC_SUBST([MKDIR], ["$INSTALL -d"])
+AC_SUBST([MKDIR], ["mkdir -p"])
# ==== Libraries, for which we may have source to build ======================
dnl find Apache with a recent-enough magic module number.
@@ -309,7 +309,8 @@ if test "$enable_nls" = "yes"; then
@@ -447,7 +447,8 @@ if test "$enable_nls" = "yes"; then
[
AC_MSG_WARN([bindtextdomain() not found. Disabling NLS.])
enable_nls="no"
@ -29,12 +29,12 @@ $OpenBSD: patch-configure_ac,v 1.1 2008/11/02 20:43:49 steven Exp $
if test "$enable_nls" = "yes"; then
AC_DEFINE(ENABLE_NLS, 1,
[Define to 1 if translation of program messages to the user's
@@ -540,7 +541,7 @@ AS_HELP_STRING([--enable-gprof],
@@ -749,7 +750,7 @@ AS_HELP_STRING([--enable-gprof],
# Python: Used for testsuite, and bindings
-PYTHON="`$abs_srcdir/build/find_python.sh`"
+PYTHON=${MODPY_BIN}
if test -z "$PYTHON"; then
AC_MSG_WARN([Python 2.2 or later is required to run the testsuite])
AC_MSG_WARN([Python 2.4 or later is required to run the testsuite])
AC_MSG_WARN([or to use the Subversion Python bindings])

View File

@ -1,23 +0,0 @@
$OpenBSD: patch-contrib_client-side_svn2cl_NEWS,v 1.1 2008/12/27 19:20:36 steven Exp $
--- contrib/client-side/svn2cl/NEWS.orig Sun Apr 8 14:18:27 2007
+++ contrib/client-side/svn2cl/NEWS Mon Dec 22 21:41:47 2008
@@ -1,3 +1,19 @@
+changes from 0.10 to 0.11
+-------------------------
+
+* small portability improvements
+* fix for OpenBSD's ksh by Carlo Marcelo Arenas Belon
+
+
+changes from 0.9 to 0.10
+------------------------
+
+* add an --include-actions option that adds action labels about file
+ additions and removals
+* small fix for other XSLT processors
+* manual page improvement
+
+
changes from 0.8 to 0.9
-----------------------

View File

@ -1,109 +0,0 @@
$OpenBSD: patch-contrib_client-side_svn2cl_svn2cl_1,v 1.1 2008/12/27 19:20:36 steven Exp $
--- contrib/client-side/svn2cl/svn2cl.1.orig Sun Apr 8 14:18:27 2007
+++ contrib/client-side/svn2cl/svn2cl.1 Mon Dec 22 21:41:47 2008
@@ -1,4 +1,4 @@
-.\" Copyright (C) 2005, 2006, 2007 Arthur de Jong
+.\" Copyright (C) 2005, 2006, 2007, 2008 Arthur de Jong
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@@ -12,7 +12,7 @@
.\" 3. The name of the author may not be used to endorse or promote
.\" products derived from this software without specific prior
.\" written permission.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -24,7 +24,7 @@
.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-.TH "svn2cl" "1" "Apr 2007" "Version 0.9" "User Commands"
+.TH "svn2cl" "1" "Apr 2008" "Version 0.11" "User Commands"
.nh
.SH "NAME"
svn2cl - Create a ChangeLog from a subversion log.
@@ -35,10 +35,10 @@ svn2cl - Create a ChangeLog from a subversion log.
.SH "DESCRIPTION"
\fBsvn2cl\fP generates a classic GNU-style ChangeLog from the log messages in a subversion repository.
-It acts as a wrapper around the `\fBsvn log\fP' command, parsing the XML output with an XSLT stylesheet.
+It acts as a wrapper around the '\fBsvn log\fP' command, parsing the XML output with an XSLT stylesheet.
Alternatively it can generate HTML output intended for use with the \fBsvn2html.css\fP style sheet that comes with \fBsvn2cl\fP.
-In addition to its own options, it accepts and passes along most svn log options; see `\fBsvn help log\fP' for a list of those and their documentation.
+In addition to its own options, it accepts and passes along most svn log options; see '\fBsvn help log\fP' for a list of those and their documentation.
If PATH is not given, \fBsvn2cl\fP will run svn log on the current directory, so it should do the right thing when run from the top of a subversion checkout of the project.
.TP
@@ -69,6 +69,11 @@ Include the subversion revision number in the ChangeLo
If the \-\-html option is specified this is implied, edit \fBsvn2html.css\fP to turn it off.
.TP
+\fB\-a\fR, \fB\-\-include\-actions\fR
+Add action labels [ADD], [DEL] and [CPY] tags to files to show the operation
+that is performned on the files.
+
+.TP
\fB\-\-break\-before\-msg\fR[=\fINUM\fR]
Add a line break (or multiple line breadks) between the paths and the log message.
If the \-\-html option is specified this option is ignored, edit \fBsvn2html.css\fP to set spacing.
@@ -86,8 +91,8 @@ This option is ignored for normal text output.
.TP
\fB\-\-revision\-link\fR=\fINAME\fR
This option is used to generate links from the revision numbers in the generated HTML file.
-If \fINAME\fR contains two hashes `\fB##\fP' that part will be replaced by the revision number, otherwise the revision number will be appended to \fINAME\fR.
-Only the first occurrence of `\fB##\fP' will be replaced.
+If \fINAME\fR contains two hashes '\fB##\fP' that part will be replaced by the revision number, otherwise the revision number will be appended to \fINAME\fR.
+Only the first occurrence of '\fB##\fP' will be replaced.
.br
This option is ignored for normal text output.
@@ -126,10 +131,10 @@ Show short summary of options.
Show version of program.
.PP
-Optional PATH arguments and the following options are passed directly to the `\fBsvn \-\-xml log\fP' command:
+Optional PATH arguments and the following options are passed directly to the '\fBsvn \-\-xml log\fP' command:
\fB\-r\fR, \fB\-\-revision\fR, \fB\-\-targets\fR, \fB\-\-stop\-on\-copy\fR, \fB\-\-username\fR, \fB\-\-password\fR, \fB\-\-no\-auth\-cache\fR, \fB\-\-non\-interactive\fR, \fB\-\-config\-dir\fR and \fB\-\-limit\fR.
.br
-See `\fBsvn help log\fP' for more information on these options.
+See '\fBsvn help log\fP' for more information on these options.
.SH "AUTHORS FILES"
@@ -164,6 +169,13 @@ As a bonus a plain text authors file that looks like t
arthur:Arthur de Jong <arthur@ch.tudelft.nl>
.ft R
+.SH "NOTES"
+
+Note that the default revison range for \fBsvn log\fP is BASE:1.
+This means that \fBsvn2cl\fP will not always include the most recent revisons
+of the repository. Either run '\fBsvn update\fP' before running \fBsvn2cl\fP
+or pass '\fB\-r HEAD:1\fP'.
+
.SH "EXAMPLES"
Run svn log recursively on the current directory and generate a text ChangeLog file in the current directory for the entire log history:
@@ -182,14 +194,15 @@ Generate an HTML changelog for svn://svn.example.com/p
Group all commits per day into one ChangeLog entry and only include changes from 2005:
.ft B
svn2cl \-\-html \-\-strip\-prefix=project/trunk \-\-group\-by\-day \e
- \-r '{2006\-01\-01}:{2005\-01\-01}' svn://svn.example.com/project/trunk
+ \-r '{2006\-01\-01}:{2005\-01\-01}' \e
+ svn://svn.example.com/project/trunk
.ft R
.SH "SEE ALSO"
-.BR `\fBsvn\ help\ log\fP'
+.BR '\fBsvn\ help\ log\fP'
.SH "COPYRIGHT"
-Copyright \(co 2005, 2006, 2007 Arthur de Jong <arthur@ch.tudelft.nl>.
+Copyright \(co 2005, 2006, 2007, 2008 Arthur de Jong <arthur@ch.tudelft.nl>.
.br
This is free software; see the license for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

View File

@ -1,114 +0,0 @@
$OpenBSD: patch-contrib_client-side_svn2cl_svn2cl_sh,v 1.1 2008/12/27 19:20:36 steven Exp $
--- contrib/client-side/svn2cl/svn2cl.sh.orig Sun Apr 8 14:18:27 2007
+++ contrib/client-side/svn2cl/svn2cl.sh Mon Dec 22 21:41:47 2008
@@ -2,9 +2,9 @@
# svn2cl.sh - front end shell script for svn2cl.xsl, calls xsltproc
# with the correct parameters
-#
-# Copyright (C) 2005, 2006, 2007 Arthur de Jong.
-#
+#
+# Copyright (C) 2005, 2006, 2007, 2008 Arthur de Jong.
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
@@ -17,7 +17,7 @@
# 3. The name of the author may not be used to endorse or promote
# products derived from this software without specific prior
# written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -36,7 +36,7 @@ set -e
set -u
# svn2cl version
-VERSION="0.9"
+VERSION="0.11"
# set default parameters
PWD=`pwd`
@@ -47,6 +47,7 @@ INCLUDEREV="no"
BREAKBEFOREMSG="no"
REPARAGRAPH="no"
SEPARATEDAYLOGS="no"
+ACTIONS="no"
CHANGELOG=""
OUTSTYLE="cl"
SVNLOGCMD="svn --verbose --xml log"
@@ -56,6 +57,7 @@ IGNORE_MESSAGE_STARTING=""
TITLE="ChangeLog"
REVISION_LINK="#r"
TMPFILES=""
+AWK="awk"
# do command line checking
prog=`basename $0`
@@ -90,8 +92,12 @@ do
INCLUDEREV="yes";
shift
;;
+ -a|--include-actions)
+ ACTIONS="yes"
+ shift
+ ;;
--break-before-msg|--breaks-before-msg)
- # FIXME: if next argument is numeric use that as a parameter
+ # FIXME: if next argument is numeric use that as a parameter
BREAKBEFOREMSG="yes"
shift
;;
@@ -210,6 +216,7 @@ do
echo " --group-by-day group changelog entries by day"
echo " --separate-daylogs put a blank line between grouped by day entries"
echo " -i, --include-rev include revision numbers"
+ echo " -a, --include-actions add [ADD], [DEL] and [CPY] tags to files"
echo " --break-before-msg[=NUM] add a line break (or multiple breaks)"
echo " between the paths and the log message"
echo " --reparagraph rewrap lines inside a paragraph"
@@ -228,12 +235,12 @@ do
echo "PATH arguments and the following options are passed to the svn log"
echo "command: -r, --revision, --targets --stop-on-copy, --username,"
echo "--password, --no-auth-cache, --non-interactive, --config-dir and"
- echo "--limit (see \`svn help log' for more information)."
+ echo "--limit (see 'svn help log' for more information)."
exit 0
;;
-*)
echo "$prog: invalid option -- $1"
- echo "Try \`$prog --help' for more information."
+ echo "Try '$prog --help' for more information."
exit 1
;;
*)
@@ -282,13 +289,16 @@ AUTHORSFILE=`echo "$AUTHORSFILE" | sed "/^[^/]/s|^|$pw
if [ -z "$CHANGELOG" ]
then
CHANGELOG="ChangeLog"
- [ "$OUTSTYLE" != "cl" ] && CHANGELOG="$CHANGELOG.$OUTSTYLE"
+ if [ "$OUTSTYLE" != "cl" ]
+ then
+ CHANGELOG="$CHANGELOG.$OUTSTYLE"
+ fi
fi
# try to determin a prefix to strip from all paths
if [ "$STRIPPREFIX" = "AUTOMATICALLY-DETERMINED" ]
then
- STRIPPREFIX=`LANG=C eval "$SVNINFOCMD" 2> /dev/null | awk '/^URL:/{url=$2} /^Repository Root:/{root=$3} END{if(root){print substr(url,length(root)+2)}else{gsub("^.*/","",url);print url}}'`
+ STRIPPREFIX=`LANG=C eval "$SVNINFOCMD" 2> /dev/null | $AWK '/^URL:/{url=$2} /^Repository Root:/{root=$3} END{if(root){print substr(url,length(root)+2)}else{n=split(url,u,"/");print u[n]}}'`
STRIPPREFIX=`echo "$STRIPPREFIX" | sed 's/%20/ /g'`
fi
@@ -305,6 +315,7 @@ eval "$SVNLOGCMD" | \
--stringparam groupbyday "$GROUPBYDAY" \
--stringparam separate-daylogs "$SEPARATEDAYLOGS" \
--stringparam include-rev "$INCLUDEREV" \
+ --stringparam include-actions "$ACTIONS" \
--stringparam breakbeforemsg "$BREAKBEFOREMSG" \
--stringparam reparagraph "$REPARAGRAPH" \
--stringparam authorsfile "$AUTHORSFILE" \

View File

@ -1,113 +0,0 @@
$OpenBSD: patch-contrib_client-side_svn2cl_svn2cl_xsl,v 1.1 2008/12/27 19:20:36 steven Exp $
--- contrib/client-side/svn2cl/svn2cl.xsl.orig Sun Apr 8 14:18:27 2007
+++ contrib/client-side/svn2cl/svn2cl.xsl Mon Dec 22 21:41:47 2008
@@ -5,7 +5,7 @@
svn2cl.xsl - xslt stylesheet for converting svn log to a normal
changelog
- version 0.9
+ version 0.11
Usage (replace ++ with two minus signs which aren't allowed
inside xml comments):
@@ -15,6 +15,7 @@
++stringparam groupbyday yes \
++stringparam separate-daylogs yes \
++stringparam include-rev yes \
+ ++stringparam include-actions yes \
++stringparam breakbeforemsg yes/2 \
++stringparam reparagraph yes \
++stringparam authorsfile FILE \
@@ -56,7 +57,7 @@
<!DOCTYPE xsl:stylesheet [
<!ENTITY tab "&#9;">
- <!ENTITY newl "&#10;">
+ <!ENTITY newl "&#38;#xA;">
<!ENTITY space "&#32;">
]>
@@ -79,7 +80,7 @@
<!-- the length of a line to wrap messages at -->
<xsl:param name="linelen" select="75" />
-
+
<!-- whether entries should be grouped by day -->
<xsl:param name="groupbyday" select="'no'" />
@@ -89,6 +90,9 @@
<!-- whether a revision number should be included -->
<xsl:param name="include-rev" select="'no'" />
+ <!-- whether aaction labels should be added to files -->
+ <xsl:param name="include-actions" select="'no'" />
+
<!-- whether the log message should start on a new line -->
<xsl:param name="breakbeforemsg" select="'no'" />
@@ -177,7 +181,6 @@
<!-- get paths string -->
<xsl:variable name="paths">
<xsl:apply-templates select="paths" />
- <xsl:text>:&space;</xsl:text>
</xsl:variable>
<!-- get revision number -->
<xsl:variable name="rev">
@@ -208,9 +211,17 @@
<xsl:if test="$groupbyday='yes' and $separate-daylogs='yes'"><xsl:text>&newl;</xsl:text></xsl:if>
<!-- first line is indented (other indents are done in wrap template) -->
<xsl:text>&tab;*&space;</xsl:text>
+ <!-- set up the text to wrap -->
+ <xsl:variable name="txt">
+ <xsl:value-of select="$rev" />
+ <xsl:if test="$paths!=''">
+ <xsl:value-of select="concat($paths,':&space;')" />
+ </xsl:if>
+ <xsl:value-of select="$msg" />
+ </xsl:variable>
<!-- print the paths and message nicely wrapped -->
<xsl:call-template name="wrap">
- <xsl:with-param name="txt" select="concat($rev,$paths,$msg)" />
+ <xsl:with-param name="txt" select="$txt" />
</xsl:call-template>
</xsl:template>
@@ -301,6 +312,10 @@
<xsl:call-template name="printpath">
<xsl:with-param name="path" select="substring(normalize-space(.),string-length($strip-prefix)+3)" />
</xsl:call-template>
+ <!-- add the action flag -->
+ <xsl:if test="$include-actions='yes'">
+ <xsl:apply-templates select="." mode="action"/>
+ </xsl:if>
</xsl:for-each>
</xsl:when>
<!-- print a simple list of all paths -->
@@ -313,8 +328,26 @@
</xsl:if>
<!-- print the path name -->
<xsl:value-of select="normalize-space(.)" />
+ <!-- add the action flag -->
+ <xsl:if test="$include-actions='yes'">
+ <xsl:apply-templates select="." mode="action"/>
+ </xsl:if>
</xsl:for-each>
</xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="path" mode="action">
+ <xsl:choose>
+ <xsl:when test="@action='D'">
+ <xsl:text>[DEL]</xsl:text>
+ </xsl:when>
+ <xsl:when test="@copyfrom-path">
+ <xsl:text>[CPY]</xsl:text>
+ </xsl:when>
+ <xsl:when test="@action='D'">
+ <xsl:text>[ADD]</xsl:text>
+ </xsl:when>
</xsl:choose>
</xsl:template>

View File

@ -1,48 +0,0 @@
$OpenBSD: patch-contrib_client-side_svn2cl_svn2html_xsl,v 1.1 2008/12/27 19:20:36 steven Exp $
--- contrib/client-side/svn2cl/svn2html.xsl.orig Sun Apr 8 14:18:27 2007
+++ contrib/client-side/svn2cl/svn2html.xsl Mon Dec 22 21:41:47 2008
@@ -5,7 +5,7 @@
svn2html.xsl - xslt stylesheet for converting svn log to a normal
changelog fromatted in html
- version 0.9
+ version 0.11
Usage (replace ++ with two minus signs):
svn ++verbose ++xml log | \
@@ -13,7 +13,7 @@
++stringparam groupbyday yes \
++stringparam authorsfile FILE \
++stringparam title NAME \
- ++stringparam revision-link NAME \
+ ++stringparam revision-link NAME \
svn2html.xsl - > ChangeLog.html
This file is partially based on (and includes) svn2cl.xsl.
@@ -48,7 +48,7 @@
-->
<!DOCTYPE xsl:stylesheet [
- <!ENTITY newl "&#10;">
+ <!ENTITY newl "&#38;#xA;">
<!ENTITY space "&#32;">
]>
@@ -100,7 +100,7 @@
</xsl:choose>
</ul>
<p class="changelog_footer">
- <xsl:text>Generated by </xsl:text><a href="http://ch.tudelft.nl/~arthur/svn2cl/">svn2cl 0.9</a>
+ <xsl:text>Generated by </xsl:text><a href="http://ch.tudelft.nl/~arthur/svn2cl/">svn2cl 0.11</a>
</p>
</body>
</html>
@@ -159,7 +159,7 @@
<xsl:when test="contains($revision-link,'##')">
<xsl:value-of select="concat(substring-before($revision-link,'##'),@revision,substring-after($revision-link,'##'))" />
</xsl:when>
- <xsl:otherwise>
+ <xsl:otherwise>
<xsl:value-of select="concat($revision-link,@revision)" />
</xsl:otherwise>
</xsl:choose>

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-subversion_libsvn_subr_auth_c,v 1.1 2009/04/28 23:43:56 stsp Exp $
--- subversion/libsvn_subr/auth.c.orig Fri Feb 20 01:59:30 2009
+++ subversion/libsvn_subr/auth.c Fri Feb 20 02:05:05 2009
@@ -393,7 +393,7 @@ svn_auth_get_platform_specific_provider
const char *library_label, *library_name;
const char *provider_function_name, *version_function_name;
library_name = apr_psprintf(pool,
- "libsvn_auth_%s-%d.so.0",
+ "libsvn_auth_%s-%d.so.${SO_VERSION}",
provider_name,
SVN_VER_MAJOR);
library_label = apr_psprintf(pool, "svn_%s", provider_name);

View File

@ -0,0 +1,2 @@
This package adds support for GNOME Keyring to Subversion,
so that passwords can be stored on disk encrypted.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared-gnome-keyring,v 1.1 2009/04/28 23:43:57 stsp Exp $
@lib lib/libsvn_auth_gnome_keyring-1.so.${LIBsvn_auth_gnome_keyring-1_VERSION}

View File

@ -1,5 +1,6 @@
@comment $OpenBSD: PLIST-ap2,v 1.2 2008/11/02 20:43:49 steven Exp $
@comment $OpenBSD: PLIST-ap2,v 1.3 2009/04/28 23:43:57 stsp Exp $
include/subversion-1/mod_authz_svn.h
include/subversion-1/mod_dav_svn.h
lib/apache2/
lib/apache2/mod_authz_svn.so
lib/apache2/mod_dav_svn.so

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST-gnome-keyring,v 1.1 2009/04/28 23:43:57 stsp Exp $
%%SHARED%%
lib/libsvn_auth_gnome_keyring-1.a
lib/libsvn_auth_gnome_keyring-1.la

View File

@ -1,10 +1,14 @@
@comment $OpenBSD: PLIST-main,v 1.4 2008/12/27 19:20:36 steven Exp $
@comment $OpenBSD: PLIST-main,v 1.5 2009/04/28 23:43:57 stsp Exp $
@pkgpath devel/subversion,no_bindings
@pkgpath devel/subversion
%%SHARED%%
@comment @bin bin/diff
@comment @bin bin/diff3
@comment @bin bin/diff4
@bin bin/svn
@bin bin/svn-populate-node-origins-index
@bin bin/svnadmin
@bin bin/svnauthz-validate
@bin bin/svndumpfilter
@bin bin/svnlook
@bin bin/svnmucc
@ -15,6 +19,7 @@ include/subversion-1/
include/subversion-1/svn-revision.txt
include/subversion-1/svn_auth.h
include/subversion-1/svn_base64.h
include/subversion-1/svn_checksum.h
include/subversion-1/svn_client.h
include/subversion-1/svn_cmdline.h
include/subversion-1/svn_compat.h
@ -23,6 +28,7 @@ include/subversion-1/svn_ctype.h
include/subversion-1/svn_dav.h
include/subversion-1/svn_delta.h
include/subversion-1/svn_diff.h
include/subversion-1/svn_dirent_uri.h
include/subversion-1/svn_dso.h
include/subversion-1/svn_error.h
include/subversion-1/svn_error_codes.h
@ -89,6 +95,7 @@ lib/libsvn_wc-1.la
@man man/man8/svnserve.8
share/examples/subversion/
@sample ${SYSCONFDIR}/subversion/
share/examples/subversion/SvnCLBrowse
share/examples/subversion/backup/
share/examples/subversion/backup/hot-backup.py
share/examples/subversion/bdb/

View File

@ -1,7 +1,8 @@
@comment $OpenBSD: PLIST-perl,v 1.4 2008/12/27 19:20:36 steven Exp $
@comment $OpenBSD: PLIST-perl,v 1.5 2009/04/28 23:43:57 stsp Exp $
%%SHARED%%
lib/libsvn_swig_perl-1.a
lib/libsvn_swig_perl-1.la
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/SVN/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/SVN/Base.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/SVN/Client.pm
@ -11,6 +12,7 @@ libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/SVN/Fs.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/SVN/Ra.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/SVN/Repos.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/SVN/Wc.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/SVN/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/SVN/_Client/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/SVN/_Client/_Client.bs

View File

@ -1,7 +1,9 @@
@comment $OpenBSD: PLIST-python,v 1.5 2008/11/02 20:43:49 steven Exp $
@comment $OpenBSD: PLIST-python,v 1.6 2009/04/28 23:43:57 stsp Exp $
%%SHARED%%
lib/libsvn_swig_py-1.a
lib/libsvn_swig_py-1.la
lib/python${MODPY_VERSION}/
lib/python${MODPY_VERSION}/site-packages/
lib/python${MODPY_VERSION}/site-packages/libsvn/
lib/python${MODPY_VERSION}/site-packages/libsvn/__init__.py
lib/python${MODPY_VERSION}/site-packages/libsvn/__init__.pyc

View File

@ -1,7 +1,11 @@
@comment $OpenBSD: PLIST-ruby,v 1.4 2008/11/02 20:43:49 steven Exp $
@comment $OpenBSD: PLIST-ruby,v 1.5 2009/04/28 23:43:57 stsp Exp $
%%SHARED%%
lib/libsvn_swig_ruby-1.a
lib/libsvn_swig_ruby-1.la
lib/ruby/
lib/ruby/site_ruby/
lib/ruby/site_ruby/${MODRUBY_REV}/
lib/ruby/site_ruby/${MODRUBY_REV}/${MODRUBY_ARCH}/
lib/ruby/site_ruby/${MODRUBY_REV}/${MODRUBY_ARCH}/svn/
lib/ruby/site_ruby/${MODRUBY_REV}/${MODRUBY_ARCH}/svn/ext/
lib/ruby/site_ruby/${MODRUBY_REV}/${MODRUBY_ARCH}/svn/ext/client.a