2006-02-06 00:08:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.31 2006/02/05 23:08:53 joerg Exp $
|
2003-05-25 11:07:46 +02:00
|
|
|
|
|
|
|
PKGNAME= subversion-base-${SVNVER}
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 2
|
2003-05-25 11:07:46 +02:00
|
|
|
COMMENT= Version control system, base programs and libraries
|
|
|
|
|
2004-11-10 19:09:07 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
.include "../../devel/subversion/Makefile.common"
|
2003-05-25 11:07:46 +02:00
|
|
|
|
2005-03-21 21:40:01 +01:00
|
|
|
BUILD_USES_MSGFMT= yes
|
|
|
|
|
2005-05-09 14:53:23 +02:00
|
|
|
BUILD_DEFS+= PKG_BUILD_OPTIONS.apr
|
2004-11-27 03:35:52 +01:00
|
|
|
|
2004-03-24 03:33:20 +01:00
|
|
|
CONFIGURE_ARGS+= --without-apache
|
|
|
|
CONFIGURE_ARGS+= --without-apxs
|
|
|
|
|
2004-11-23 01:37:04 +01:00
|
|
|
BUILDLINK_DEPENDS.apr+= apr>=0.9.5
|
|
|
|
BUILDLINK_DEPENDS.neon+= neon>=0.24.7
|
|
|
|
|
|
|
|
.include "../../devel/apr/buildlink3.mk"
|
|
|
|
.include "../../www/neon/buildlink3.mk"
|
|
|
|
|
2005-05-09 14:53:23 +02:00
|
|
|
.if !empty(PKG_BUILD_OPTIONS.apr:Mdb4)
|
Version 1.1.0
(29 September 2004, from /branches/1.1.x)
http://svn.collab.net/repos/svn/tags/1.1.0
See the 1.1 release notes for a more verbose overview of the changes since
1.0.x: http://subversion.tigris.org/svn_1.1_releasenotes.html
User-visible-changes:
* new non-database repository back-end (libsvn_fs_fs)
* symlinks can now be placed under version control (unix systems only)
* cmdline client now supports psuedo-IRIs and autoescapes chars (issue #1910)
* 'svnadmin recover' no longer waits forever for a lock (new '--wait' option)
* new $Revision$ synonym for $Rev$ and $LastChangedRevision$
* new runtime option 'store-passwords = ' gives finer control (r10794)x
* fixed: working copies now shareable by multiple users (issue #1509)
* fixed: diff and other subcommands correctly follow renames (issue #1093)
- new 'peg' syntax for diff/merge: 'svn diff -r X:Y TARGET@REV'
- now able to compare working copy with URL: 'svn diff --old WC --new URL'
* new framework for localized error/info/help messages, initial translations:
- German, Polish, Swedish, Norwegian Bokmål, Traditional Chinese,
Japanese, Brazilian Portuguese.
* speed improvements:
- faster 'svn up' on complex working copies -- no more repos txns (r8840)
- faster 'svn status' -- fewer stat() calls (r9182)
- faster 'svn checkout' -- fewer sleep() calls (r9123)
- faster 'svn blame' -- new RA->get_file_revs() func (issue #1715)
* new switches added:
- 'svn blame --verbose' - show extra annotation info
- 'svn export --native-eol TYPE' - export using TYPE line-endings
- 'svn add --force' - recurse into version-controlled dirs
- 'svnadmin dump --deltas' - include binary diffs in dumpfile
- 'svnadmin create --fs-type fsfs' - create fs_fs repos (default is bdb)
- 'svnserve --tunnel-user=NAME' - assume authenticated NAME over tunnel
- 'svndumpfilter [cmd] --quiet' - less chatty dumpfiltering
- 'svnserve --version' - show program's version
'svnversion --version'
'svndumpfilter --version'
* svnadmin dump/deltify now understand -r{DATE} (r9805)
* allow update of non-existent target entry (partial issue #1902 fix)
* 'svnadmin create' now sets sgid bit on repos/db/ (unix systems only)
* increase default neon (ra_dav) timeout from 120 to 3600 seconds (r9568)
* print verbose BDB error messages (r10557, r10566)
* fixed: don't bail when 'svn up' refuses to delete local mods (issue #1806)
* fixed: process svn:externals in defined order (issue #1788)
* fixed: pass new propval to stdin of pre-revprop-change hook (issue #952)
* fixed: svndumpfilter logic/memory/display bugs (r8691, 8831, 9061)
* fixed: 'svnadmin hotcopy PATH .' (r8659)
* fixed: copy crash bug (r8863)
* fixed: 'svn st -u' crash bug (r10841)
* fixed: 'svn commit' segfault (r10676)
* fixed: allow cleanup on .svn/ dirs containing KILLME file (r8891)
* fixed: 'svn revert' detects corrupted text-base (r8897)
* fixed: 'svn status -N' no longer locks entire tree (r8906)
* fixed: several different 'svn switch' bugs (r9192, 9203, 9238, 9698)
* fixed: some 'svn copy' bugs (r9193, 9274)
* fixed: obscure update-deletion bug (r8976)
* fixed: utf8 conversion 'hang' (r9233)
* fixed: missing UTF8->native recoding in 'svn log' output (r10652, 10673)
* fixed: 'svn blame' now defaults to rev (r9440)
* fixed: 'svn blame' closing files before deleting them (issue #1969)
* fixed: 'svn diff' shows truncated paths (r9693)
* fixed: 'svn diff --notice-ancestry' bug (r9699)
* fixed: 'svn subcommand -r{DATE} URL' works if URL not in HEAD (issue #1840)
* fixed: 'svn blame' on non-ascii path truncation (issue #1770)
* fixed: svn:external 'wc not locked' bug (issue #1897)
* fixed: proper mod_dav_svn html/xml escaping (issue #1209)
* fixed: memleak in 'svn propset -R URL' (issue #1928)
* fixed: potential repos corruption; ensure stdin/out/err always open (r10819)
* fixed: stop 'svn up' from deleting schedule-add target dir (issue #1793)
* fixed: 'svn merge' adding a directory already 'deleted' (issue #1769)
* fixed: excessive memory use when fs deltifies revision 2^N (r10070)
* fixed: disallow non-recursive directory commit (issue #1797)
* fixed: allow propget of props with colon in name (issue #1807)
* fixed: 'svnadmin load' computation of copyfrom-rev (issue #1795)
* fixed: runtime config files created with proper line-endings (issue #1803)
* fixed: make svnserve's authn work on usernames with spaces (r10385)
* fixed: have svnserve use repos UUID as default authn realm (r10394)
* fixed: segfault when history-following hits 'empty' revision (r10368)
* fixed: overzealous out-of-dateness checks in 'svn cp wc URL' (issue 1994)
* fixed: don't URI-encode path in mod_dav_svn XML listings (r10461)
* fixed: 'svn info' should refuse URL targets (r10760)
* fixed: incomplete-directory handling bug (r10956)
* fixed: allow cancellation between files during recursive dir add (r10894)
* general improvement and normalization of error messages
* many improvements to contributed tools: mailer.py, psvn.el, etc.
Developer-visible changes:
* libsvn_fs now loads either bdb (libsvn_fs_base) or fsfs (libsvn_fs_fs)
* new console-printing API: svn_cmdline_printf() family checks for errors.
* new library-version querying API:
- new svn_[libname]_version() in each library
- svn_ver_*() family of functions
* 2nd generation APIs, from svn_foo() --> svn_foo2(). old APIs deprecated.
- svn_wc_adm_open2() & friends, svn_wc_export2(), svn_client_add2()
svn_wc_parse_externals_description2(), svn_hash_read/write2(),
svn_repos_dump/load_fs2() & friends, svn_wc_diff2(),
svn_subst_copy_and_translate2()
* other new APIs:
- svn_stream_copy(), svn_txdelta_target_push(), svn_opt_parse_path(),
svn_io_file_flush_to_disk, svn_repos_trace_node_locations(),
svn_repos_get_file_revs(), RA->get_locations(), RA->get_file_revs,
RA->get_version(), svn_sort_compare_paths(), svn_utf_initialize()
* SVN_REVNUM_FMT_T usage replaced with %ld (r9691)
* cache mod_authz_svn authz file per connection (r8867)
* validate hex digits in % escape (issue #1947)
* hashes now written to disk in sorted order (r9910)
* do cancellation checks before loops, not after (r8918)
* fixed: bug in svn_repos_dir_delta replacement logic (r8078)
* fixed: tiny memory access bugs (r8229, 8230, 8313)
* fixed: several commit buglets (r8955, 9658, 9757, 9855)
* fixed: don't recursively lock all prop commands (r9172)
* fixed: svnserve memory usage on many-file commits (r9185)
* fixed: close svnserve child's listen-socket after forking (r10050)
* fixed: 'svnadmin hotcopy' integrity improvements (issues #1817, #1818)
* fixed: only verify media type of svn:mime-type, not encoding (r10126)
* fixed: handle '//' and '..' in svn_path_canonicalize (issue #1779)
* fixed: double URI escaping (issue #1814)
* fixed: editor-driver bug (don't delete before every copy) (r10851)
* fixed: potential mod_dav_svn crashes/memleaks (r10478)
* fixed: better 'svnadmin verify verification (r10508, r10509)
* fixed: encoding of get_repos_url_result (r10353, 10375)
* fixed: prevent canonicalized URIs from ending in '/' (r10317)
* stop using -std=c89 gcc flag (r11054)
* sync with apr 1.0's find_apr.m4 and find_apu.m4 files (r10560)
* win32 installer improvements (r10978)
* huge improvements to python, perl, java bindings
* huge changes to win32 build system
pkgsrc changes:
* subversion-base no longer requires db4. If APR_USE_DB4 is NO,
subversion-base will only build the new native filesystem back-end;
if it is YES subversion-base will build both back-ends. The
APR_USE_DB4 variable is used for this purpose because when
Subversion uses db4 it uses it through APR; it can't use db4 if APR
doesn't.
* Resurrect a tiny part of patch-aa so that subpackages
(p5-subversion, etc.) don't try to install the libraries in
subversion-base.
* patch-ae is no longer needed.
2004-09-30 16:39:33 +02:00
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST ${PKGDIR}/PLIST.bdb
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-berkeley-db
|
|
|
|
.endif
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
SUBST_CLASSES+= paths
|
2004-11-23 05:21:34 +01:00
|
|
|
SUBST_STAGE.paths= pre-configure
|
|
|
|
SUBST_FILES.paths= contrib/cgi/tweak-log.cgi
|
|
|
|
SUBST_SED.paths= -e "s|/usr/local/bin/|${PREFIX}/bin|g"
|
|
|
|
SUBST_MESSAGE.paths= "Fixing hardcoded /usr/local/bin paths."
|
|
|
|
|
|
|
|
# Suppress attempt to build the .info documentation.
|
2004-03-29 20:08:33 +02:00
|
|
|
post-build:
|
|
|
|
${TOUCH} ${WRKSRC}/doc/programmer/design/svn-design.info
|
|
|
|
|
2003-05-25 11:07:46 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${SVNDOC}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/INSTALL ${SVNDOC}
|
|
|
|
${INSTALL_DATA_DIR} ${SVNEXAMPLES}/backup
|
|
|
|
${INSTALL_DATA_DIR} ${SVNEXAMPLES}/cgi
|
|
|
|
${INSTALL_DATA_DIR} ${SVNEXAMPLES}/hook-scripts
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/backup/hot-backup.py \
|
|
|
|
${SVNEXAMPLES}/backup
|
Update to 0.29.0.
Remove patch-ad (fixed in this release).
User-visible changes:
* 'svn status' now streams its response. (r6913, #1426)
* 'svn status' now recurses into externals (r6913, #1428)
* new 'svnadmin verify' command to verify repository data (r6851, #1074)
* SSL changes: (r6958, #1371)
- dropped support for PEM-encoded client certs, only accept PKCS12 now.
- 'ssl-authority-files' is now a list of CA files
- no more 'ssl-client-cert-type' and 'ssl-client-key-file' variables.
* new svndumpfilter option: '--preserve-revprops' to keep props on empty revs
* mailer.py improvement: handle multiple match groups (r6940)
* remove in-repos/on-disk repository template features, till post-1.0 (r6965)
* various cleanups to the Book
* other bugfixes: switch deletion bug (r6890, #1496), status
repos-delete bug (r6913, #1469), reversion of '.' (r6953, #854).
Developer-visible changes:
* GUI developers take note: prompting API changed (r6928, #1214)
* now compile against neon-0.24; 0.23.9 support to be dropped soon. (r6958)
* various improvements to Perl/SWIG bindings
* tree re-org: non-core utilities split into 'tools' and 'contrib' areas.
* some gen_make.py/gen-base.py improvements
* configure.in CFLAGS bugfix (r6963)
* stop callng deprecated APIs in APR, in preparation for upcoming APR-1.0.
2003-09-08 06:47:51 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/cgi/tweak-log.cgi ${SVNEXAMPLES}/cgi
|
2003-05-25 11:07:46 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/commit-email.pl \
|
|
|
|
${SVNEXAMPLES}/hook-scripts
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/propchange-email.pl \
|
|
|
|
${SVNEXAMPLES}/hook-scripts
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/svnperms* \
|
|
|
|
${SVNEXAMPLES}/hook-scripts
|
|
|
|
|
2004-11-27 03:35:52 +01:00
|
|
|
# Use this target to update the build-outputs.mk hack for sub-packages.
|
|
|
|
svn-build-outputs-hack:
|
Version 1.3.0
(30 December 2005, from /branches/1.3.x)
http://svn.collab.net/repos/svn/tags/1.3.0
pkgsrc changes:
- No more build- or run- time dependency on swig.
- Add SHLIBTOOL_OVERRIDE to p5-subversion and ruby-subversion.
- Run new py-subversion tests.
User-visible-changes:
- Client:
* 'svn ls -v' now shows remote locks (issue #2291)
* 'svn status' speedup (r15061, r15103)
* 'svn blame' speedup on files with long history (issue #1970)
* 'svnversion' now assumes default argument of '.' (r14892)
* support for neon 0.25.x, which fixes http:// control-c bug (issue #2297)
* support for more ISO-8601 date formats, compatible with GNU date (r14428)
* support for single-digit date components (r15459)
* on Windows, '_svn' admin dir now toggled by runtime env. variable (r16244)
* working copy size with empty propfiles reduced (r16855, see releasenotes)
* new switches added:
- 'svn blame --xml [--incremental]' (r14690)
- 'svn status --xml [--incremental]' (issue #2069)
- 'svn info --xml [--incremental]'
- 'svn add/import --no-ignore' (issue #2105)
- 'svnlook tree --full-paths' (r13976)
- 'svnlook diff --diff-copy-from' (r14855)
- 'svnlook changed --copy-info' (r16681)
* fixed: 'svn copy wc URL' might include deleted items (issue #2153)
* fixed: 'svn copy wc wc' allows cross-repository copies (issue #2404)
* fixed: 'svn up/merge' major property-merging bugs (issue #2035)
* fixed: 'svn merge' insisting on write access to '.' (issue #2411)
* fixed: 'svn merge' cross-device move problems (r16293, -329, -330)
* fixed: 'svn diff' outputs headers in wrong encoding (issue #1533)
* fixed: 'svn proplist/add/cat' dies on unversioned items (issue #2030)
* fixed: 'svn add' not honoring svn:ignore property (issue #2243)
* fixed: 'svn log -rN:M --limit X' error over http:// (issue #2396)
* fixed: 'svn switch --relocate' failure on 'deleted' dir (r16673)
* fixed: 'svn info' not always showing repos lock (issue #2276)
* fixed: 'svn info' might show lock on wrong path (r16626)
* fixed: 'svnlook' chokes on logs with inconsistent newlines (r14573)
* fixed: 'svnlook propget --revprop -t' failure (r15203)
* fixed: 'svnversion' wrongly traverses into externals (r15161)
* fixed: incorrect URI encoding passed to svn+ssh:// (issue #2406)
* fixed: properly handle filenames containing '@' (issue #2317)
* fixed: '--non-interactive' now suppresses launch of $EDITOR (r15277)
* fixed: conflict markers not in current encoding (r14621)
* fixed: commands ignoring extraneous -m or -F switches (issue #2285)
* fixed: poor error-checking when using revprops (r15542)
* fixed: stack-smashing bugs (r15948, r16037)
* fixed: incorrect parsing of mod_dav_svn XML responses (r17589)
* translation updates for all languages
- Server:
* svnserve improvements:
- can now restrict read/write access by path (see releasenotes)
- undeprecation of the --read-only (-R) option (r17614)
* mod_dav_svn improvements:
- 'SVNListParentPath on' shows all repositories in web browser (r16158)
- ability to log high-level client operations (see releasenotes)
- sets svn:mime-type on autoversioning commits (r14359)
* 'svn log' performance improvement (r14722)
* fixed: fs history algorithm might return wrong objects (issue #1970)
* fixed: repos deadlock when hooks output too much (issue #2078)
* fixed: mod_dav_svn displays errors with sensitive paths (r14792)
* fixed: anonymous reader could create empty commits (issue #2388)
* fixed: possible segfault to callers of trace_node_locations() (r16188)
* fixed: BDB-style locking actions on FSFS repositories (r16295, r16297)
* fixed: numerous bugs running BDB commands on FSFS (issue #2361, r16388)
* fixed: svndumpfilter incorrectly remapping dropped revs (issue #1911)
- Both:
* faster multiple (un)locks in a single svn:// request (issue #2264)
* the Subversion Book is no longer bundled (r17466)
Developer-visible-changes:
* reorganization of automated tests, including ability to run on ramdisk
* lots of Doxygen/API documentation cleanup
* numerous improvements to gen-make.py build system, especially on win32
* working copy is now storing repos_root as separate field (issue #960)
* keywords are now stored in an internal hash (issue #890)
* client status APIs now makes more server-side info available (r16344)
* new public APIs:
- new transfer progress callback for DAV (r15948)
- svn_ra_initialize(), svn_client_open_ra_session()
- svn_fs_closest_copy(), svn_fs_type()
- several rev'd APIs, see doxygen docs
* SWIG bindings: No more compile-time or runtime SWIG dependencies
- SWIG/python bindings:
- automatic memory management: APIs no longer require pool arguments!
- improved stability, as shown by our new testsuite
- better error messages
- SWIG/ruby bindings:
- complete API coverage!
- automatic memory management
- greatly expanded test suite
- SWIG/perl bindings:
- new accessors for svn_lock_t, svn_fs_access_t
- a number of bugfixes
* javahl bindings:
- add streamy API for fetching file contents (r15584)
- fixed: let tests run before bindings are installed (issue #2040)
- fixed: lock command not raising errors properly (issue #2394)
- fixed: ignored errors from svn_client_blame2() (r16434)
2006-01-02 22:13:45 +01:00
|
|
|
cd ${WRKSRC} && ./gen-make.py --release --installed-libs libsvn_client,libsvn_delta,libsvn_diff,libsvn_fs,libsvn_ra,libsvn_repos,libsvn_subr,libsvn_wc
|
2005-12-05 21:49:47 +01:00
|
|
|
${MV} ${WRKSRC}/build-outputs.mk ${FILESDIR}/build-outputs.mk
|
2004-11-27 03:35:52 +01:00
|
|
|
|
2003-05-25 11:07:46 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|