diff options
author | lev <lev@FreeBSD.org> | 2014-06-16 21:12:21 +0800 |
---|---|---|
committer | lev <lev@FreeBSD.org> | 2014-06-16 21:12:21 +0800 |
commit | 039f47f8fe9cd282dd16ea37200968ddc1867ad0 (patch) | |
tree | 93f1d8e2e19e6c53166e3aa900148a3db947ae53 /devel | |
parent | 5220b5be562a900dbf8af75382aafd09a15f1a95 (diff) | |
download | freebsd-ports-gnome-039f47f8fe9cd282dd16ea37200968ddc1867ad0.tar.gz freebsd-ports-gnome-039f47f8fe9cd282dd16ea37200968ddc1867ad0.tar.zst freebsd-ports-gnome-039f47f8fe9cd282dd16ea37200968ddc1867ad0.zip |
subversion port has been overhauled. Some optional parts was extracted
to separate ports. These ports are:
www/mod_dav_svn
instead of option MOD_DAV_SVN.
security/subversion-gnome-keyring
instead of option GNOME_KEYRING.
security/subversion-kwallet
instead of option KDE_KWALLET.
If you used devel/subversion with one (or more) of these non-standard
options, you should install appropriate port after subversion upgrade.
"mod_dontdothat" is installed unconditionally by www/mod_dav_svn
port (it has been depended on TOOLS option), but is not activated by
default, you may need to edit apache's configuration file.
devel/subversion port now installs svndiff, svndiff3 and svndiff4
commands if TOOLS option is enabled. They was skipped before.
Official names "diff", "diff3" and "diff4" are prefixed with "svn" to
avoid conflicts with base and other diff versions.
All libraries and binaries are now stripped if MAINTAINER_DEBUG
option is not selected (including all sub-ports, like bindings
and mod_dav_svn).
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-subversion/Makefile | 11 | ||||
-rw-r--r-- | devel/p5-subversion/pkg-descr | 2 | ||||
-rw-r--r-- | devel/py-subversion/Makefile | 9 | ||||
-rw-r--r-- | devel/py-subversion/pkg-descr | 2 | ||||
-rw-r--r-- | devel/ruby-subversion/Makefile | 11 | ||||
-rw-r--r-- | devel/ruby-subversion/pkg-descr | 2 | ||||
-rw-r--r-- | devel/subversion-static/Makefile | 3 | ||||
-rw-r--r-- | devel/subversion/Makefile | 59 | ||||
-rw-r--r-- | devel/subversion/Makefile.common | 45 | ||||
-rw-r--r-- | devel/subversion/files/build-outputs.mk | 10 | ||||
-rw-r--r-- | devel/subversion/files/extra-patch-Makefile.in | 23 | ||||
-rw-r--r-- | devel/subversion/files/extra-patch-build.conf | 11 | ||||
-rw-r--r-- | devel/subversion/files/patch-build-outputs.mk | 6 | ||||
-rw-r--r-- | devel/subversion/files/pkg-install.in | 17 | ||||
-rw-r--r-- | devel/subversion/pkg-plist | 21 |
15 files changed, 92 insertions, 140 deletions
diff --git a/devel/p5-subversion/Makefile b/devel/p5-subversion/Makefile index 351900664c45..6d94070eab72 100644 --- a/devel/p5-subversion/Makefile +++ b/devel/p5-subversion/Makefile @@ -18,20 +18,17 @@ PKGDIR= ${.CURDIR} USES= perl5 USE_PERL5= build run fixpacklist -SVN_BUILD_BINDINGS=yes +SVN_BUILD_BINDINGS= yes +SVN_BUILD_ADDONS= yes .include "${MASTERDIR}/Makefile.common" CATEGORIES+= perl5 -do-build: - ${MAKE} -C ${WRKSRC} swig-pl-lib ${MAKE_ARGS} - ${MAKE} -C ${WRKSRC} swig-pl ${MAKE_ARGS} +ALL_TARGET= swig-pl-lib swig-pl +INSTALL_TARGET= install-swig-pl pre-install: ${REINPLACE_CMD} '/SWIG_PL_DIR/s, install$$, all pure_install,g' ${WRKSRC}/Makefile -do-install: - ${MAKE} -C ${WRKSRC} install-swig-pl ${MAKE_ARGS} - .include <bsd.port.post.mk> diff --git a/devel/p5-subversion/pkg-descr b/devel/p5-subversion/pkg-descr index 4ca897a83618..9d1148434cf7 100644 --- a/devel/p5-subversion/pkg-descr +++ b/devel/p5-subversion/pkg-descr @@ -3,4 +3,4 @@ as possible, while fixing many outstanding problems with cvs(1). This port adds Perl bindings to Subversion. -WWW: http://subversion.tigris.org/ +WWW: http://subversion.apache.org/ diff --git a/devel/py-subversion/Makefile b/devel/py-subversion/Makefile index beb8452000d7..1fa426ff5974 100644 --- a/devel/py-subversion/Makefile +++ b/devel/py-subversion/Makefile @@ -18,16 +18,13 @@ PKGDIR= ${.CURDIR} USE_PYTHON= yes SVN_BUILD_BINDINGS= yes +SVN_BUILD_ADDONS= yes .include "${MASTERDIR}/Makefile.common" CATEGORIES+= python -do-build: - ${MAKE} -C ${WRKSRC} swig-py-lib ${MAKE_ARGS} - ${MAKE} -C ${WRKSRC} swig-py ${MAKE_ARGS} - -do-install: - ${MAKE} -C ${WRKSRC} install-swig-py ${MAKE_ARGS} +ALL_TARGET= swig-py-lib swig-py +INSTALL_TARGET= install-swig-py .include <bsd.port.post.mk> diff --git a/devel/py-subversion/pkg-descr b/devel/py-subversion/pkg-descr index c34d9f89e286..ae36d2ab9c8a 100644 --- a/devel/py-subversion/pkg-descr +++ b/devel/py-subversion/pkg-descr @@ -3,4 +3,4 @@ as possible, while fixing many outstanding problems with cvs(1). This slave port adds Python bindings to Subversion. -WWW: http://subversion.tigris.org/ +WWW: http://subversion.apache.org/ diff --git a/devel/ruby-subversion/Makefile b/devel/ruby-subversion/Makefile index d5da32f7c9f3..3f0b1c234821 100644 --- a/devel/ruby-subversion/Makefile +++ b/devel/ruby-subversion/Makefile @@ -18,17 +18,14 @@ PKGDIR= ${.CURDIR} USE_RUBY= yes -SVN_BUILD_BINDINGS=yes +SVN_BUILD_BINDINGS= yes +SVN_BUILD_ADDONS= yes .include "${MASTERDIR}/Makefile.common" CATEGORIES+= ruby -do-build: - ${MAKE} -C ${WRKSRC} swig-rb-lib ${MAKE_ARGS} - ${MAKE} -C ${WRKSRC} swig-rb ${MAKE_ARGS} - -do-install: - ${MAKE} -C ${WRKSRC} install-swig-rb ${MAKE_ARGS} +ALL_TARGET= swig-rb-lib swig-rb +INSTALL_TARGET= install-swig-rb .include <bsd.port.post.mk> diff --git a/devel/ruby-subversion/pkg-descr b/devel/ruby-subversion/pkg-descr index 85e9d12d5831..edb266b51cfd 100644 --- a/devel/ruby-subversion/pkg-descr +++ b/devel/ruby-subversion/pkg-descr @@ -3,4 +3,4 @@ as possible, while fixing many outstanding problems with cvs(1). This slave port adds Ruby bindings to Subversion. -WWW: http://subversion.tigris.org/ +WWW: http://subversion.apache.org/ diff --git a/devel/subversion-static/Makefile b/devel/subversion-static/Makefile index dffe252ff54b..9250f442f307 100644 --- a/devel/subversion-static/Makefile +++ b/devel/subversion-static/Makefile @@ -14,10 +14,7 @@ PKGMESSAGE= ${.CURDIR}/pkg-message # Set these by hands, as options are undefined PLIST_SUB+= TOOLS="@comment " \ SVNSERVE_WRAPPER="@comment " \ - GNOME_KEYRING="@comment " \ - KDE_KWALLET="@comment " \ BDB="@comment " \ - MOD_DAV_SVN="@comment " \ NLS="@comment " .include "${MASTERDIR}/Makefile" diff --git a/devel/subversion/Makefile b/devel/subversion/Makefile index bfb66e137131..7b6332f0c5b9 100644 --- a/devel/subversion/Makefile +++ b/devel/subversion/Makefile @@ -15,10 +15,7 @@ OPTIONS_DEFINE= \ BDB \ DOCS \ FREEBSD_TEMPLATE\ - GNOME_KEYRING \ - KDE_KWALLET \ MAINTAINER_DEBUG\ - MOD_DAV_SVN \ NLS \ P4_STYLE_MARKERS\ SASL \ @@ -30,19 +27,16 @@ OPTIONS_DEFINE= \ OPTIONS_DEFAULT=P4_STYLE_MARKERS \ FREEBSD_TEMPLATE \ - SERF + SERF TOOLS FREEBSD_TEMPLATE_DESC= FreeBSD Project log template -GNOME_KEYRING_DESC= Build with GNOME Keyring auth support -KDE_KWALLET_DESC= Build with KDE KWallet auth support MAINTAINER_DEBUG_DESC= Build debug version -MOD_DAV_SVN_DESC= mod_dav_svn module for Apache 2.X P4_STYLE_MARKERS_DESC= Perforce-style conflict markers SERF_DESC= WebDAV/Delta-V (HTTP/HTTPS) repo access module STATIC_DESC= Build static version (no shared libs) SVNSERVE_WRAPPER_DESC= Enable svnserve wrapper (umask setter) TEST_DESC= Run subversion test suite -TOOLS_DESC= Install several tools (svnauthz-validate and mod_dontdothat are among them) +TOOLS_DESC= Install several tools # Patches required for use with the FreeBSD Project repository only P4_STYLE_MARKERS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-3way-conflict-markers @@ -53,12 +47,12 @@ SVNSERVE_WRAPPER_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-svnserve-wrapper SVNREPOS?= /home/svn/repos SVNFSTYPE?= fsfs +SVNGROUP?= svn +SVNUSER?= svn -SUB_FILES= pkg-install - -.if !${PORT_OPTIONS:MMAINTAINER_DEBUG} -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-Makefile.in -.endif +CONFIGURE_ARGS+= --without-gnome-keyring \ + --without-kwallet \ + --with-apxs=no .if ${PORT_OPTIONS:MSVNSERVE_WRAPPER} SUB_LIST+= SVNSERVE_BIN_EXT=".bin" @@ -68,17 +62,6 @@ SUB_LIST+= SVNSERVE_BIN_EXT="" PLIST_SUB+= NO_SVNSERVE_WRAPPER="" .endif -.if ${PORT_OPTIONS:MMOD_DAV_SVN} -SUB_LIST+= MOD_DAV_SVN_INSTALL="YES" -PLIST_SUB+= SED=${SED} -SVNGROUP?= www -SVNUSER?= www -.else -SUB_LIST+= MOD_DAV_SVN_INSTALL="NO" -SVNGROUP?= svn -SVNUSER?= svn -.endif - .if ${PORT_OPTIONS:MTEST} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 .endif @@ -89,7 +72,6 @@ USES+= gettext:build . endif . if ${PORT_OPTIONS:MBDB} BDB_BUILD_DEPENDS= yes -.else . endif OLD_LIB_DEPENDS:= ${LIB_DEPENDS:S!^!${LOCALBASE}/lib/!:C!(\.so|\.[0-9]+)?:!.a:!} BUILD_DEPENDS+= ${OLD_LIB_DEPENDS} @@ -135,24 +117,6 @@ pre-everything:: @${ECHO_MSG} "" .if ${PORT_OPTIONS:MSTATIC} -. if ${PORT_OPTIONS:MMOD_DAV_SVN} - @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" - @${ECHO_MSG} "!!! mod_dav_svn and static build are not compatible !!!" - @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" - @${FALSE} -. endif -. if ${PORT_OPTIONS:MGNOME_KEYRING} - @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" - @${ECHO_MSG} "!!! Gnome Keyring and static build are not compatible !!!" - @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" - @${FALSE} -. endif -. if ${PORT_OPTIONS:MKDE_WALLET} - @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" - @${ECHO_MSG} "!!! KDE Wallet and static build are not compatible !!!" - @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" - @${FALSE} -. endif @${ECHO_MSG} "Static binaries will be built." .endif # STATIC @${ECHO_MSG} "Many useful scripts will be installed into ${DATADIR}" @@ -212,9 +176,6 @@ post-install: ${MKREPOS_TARGET} repository: _mkrepos _SVNGRPFILES= db locks locks/db.lock locks/db-logs.lock -.if ${PORT_OPTIONS:MMOD_DAV_SVN} -_SVNGRPFILES+= dav -.endif SVNGRPFILES= ${_SVNGRPFILES:S,^,${SVNREPOS}/,} _mkrepos: .USE @@ -248,9 +209,6 @@ _mkrepos: .USE @${MKDIR} ${SVNREPOS} @${PREFIX}/bin/svnadmin create --fs-type ${SVNFSTYPE} ${SVNREPOS} .if ${PORT_OPTIONS:MSVNSERVE_WRAPPER} -.if ${PORT_OPTIONS:MMOD_DAV_SVN} - @${MKDIR} ${SVNREPOS}/dav -.endif @${CHOWN} ${SVNUSER}:${SVNGROUP} ${SVNGRPFILES} @${CHMOD} g+w ${SVNGRPFILES} @for i in ${SVNREPOS}/db/* ; do \ @@ -266,7 +224,8 @@ _mkrepos: .USE .endif svn-build-outputs-hack: + cd ${WRKSRC} && ${PATCH} ${PATCH_DIST_ARGS} -p0 < ${PATCHDIR}/extra-patch-build.conf cd ${WRKSRC} && python2 gen-make.py --release --installed-libs libsvn_client,libsvn_delta,libsvn_diff,libsvn_fs,libsvn_ra,libsvn_repos,libsvn_subr,libsvn_wc - ${MV} ${WRKSRC}/build-outputs.mk ${FILESDIR}/build-outputs.mk + ${MV} ${WRKSRC}/build-outputs.mk ${FILESDIR}/build-outputs.mk.addons .include <bsd.port.post.mk> diff --git a/devel/subversion/Makefile.common b/devel/subversion/Makefile.common index a7bbf48457f1..90ad69920d4d 100644 --- a/devel/subversion/Makefile.common +++ b/devel/subversion/Makefile.common @@ -1,15 +1,14 @@ # Created by: rooneg@electricjellyfish.net # $FreeBSD$ -PORTNAME= subversion +PORTNAME?= subversion PORTVERSION= 1.8.9 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES+= devel MASTER_SITES= ${MASTER_SITE_APACHE} DIST_SUBDIR= subversion18 MASTER_SITE_SUBDIR= subversion -USE_KDE4= # Used below if KWallet support is enabled GNU_CONFIGURE= yes USES+= tar:bzip2 pkgconfig libtool @@ -25,10 +24,10 @@ CONFIGURE_ARGS+= --without-swig \ --with-sqlite=${LOCALBASE} \ --with-expat=${LOCALBASE}/include:${LOCALBASE}/lib:expat -.if defined(SVN_BUILD_BINDINGS) +.if defined(SVN_BUILD_ADDONS) CONFLICTS_BUILD+= ${PORTNAME}-1.[^8].[0-9]* LIB_DEPENDS+= libsvn_client-1.so:${PORTSDIR}/devel/subversion -OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}/options +OPTIONSFILE= ${PORT_DBDIR}/subversion/options OPTIONS_NAME= devel_subversion .endif @@ -38,21 +37,9 @@ OPTIONS_SUB= yes BDB_CONFIGURE_OFF= --without-berkeley-db BDB_USE= BDB=42+ -GNOME_KEYRING_CONFIGURE_OFF= --without-gnome-keyring -GNOME_KEYRING_CONFIGURE_ON= --with-gnome-keyring -GNOME_KEYRING_LIB_DEPENDS= libgcr.so:${PORTSDIR}/security/gnome-keyring - -KDE_KWALLET_CONFIGURE_OFF= --without-kwallet -KDE_KWALLET_CONFIGURE_ON= --with-kwallet=${KDE4_PREFIX} -KDE_KWALLET_USE= KDE4=kdelibs,runtime - MAINTAINER_DEBUG_CFLAGS= -g MAINTAINER_DEBUG_CONFIGURE_ON= --enable-maintainer-mode --enable-debug -MOD_DAV_SVN_CONFIGURE_OFF= --with-apxs=no -MOD_DAV_SVN_CONFIGURE_ON= --with-apxs=${APXS} --with-apache-libexecdir -MOD_DAV_SVN_USE= APACHE=22+ - NLS_CONFIGURE_OFF= --disable-nls NLS_USES= gettext @@ -69,10 +56,6 @@ STATIC_CONFIGURE_ON= --enable-all-static # =============================================================== .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MMOD_DONTDOTHAT} && !${PORT_OPTIONS:MMOD_DAV_SVN} -IGNORE= to build mod_dontdothat OPTION mod_dav_svn is required -.endif - APR_CONFIG= ${LOCALBASE}/bin/apr-1-config APU_CONFIG= ${LOCALBASE}/bin/apu-1-config @@ -82,18 +65,22 @@ CONFIGURE_ARGS+=--with-apr=${APR_CONFIG} --with-apr-util=${APU_CONFIG} CFLAGS+= -fpic -DPIC .endif -.if ${PORT_OPTIONS:MFREEBSD_TEMPLATE} && defined(ORGANIZATION) +.if (${PORT_OPTIONS:MFREEBSD_TEMPLATE} || !${OPTIONS_FILE_UNSET:MFREEBSD_TEMPLATE}) && defined(ORGANIZATION) CFLAGS+= -DHAS_ORGANIZATION_NAME .endif +.if !${PORT_OPTIONS:MMAINTAINER_DEBUG} && !${OPTIONS_FILE_SET:MMAINTAINER_DEBUG} +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-Makefile.in +.endif + .include <bsd.port.pre.mk> pre-everything:: -.if defined(SVN_BUILD_BINDINGS) -.if ${PORT_OPTIONS:MSTATIC} - @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" - @${ECHO_MSG} "!!! bindings and static build are not compatible !!!" - @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" +.if defined(SVN_BUILD_ADDONS) +.if ${PORT_OPTIONS:MSTATIC} || ${OPTIONS_FILE_SET:MSTATIC} + @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" + @${ECHO_MSG} "!!! addons (bindings, mod_dav_svn, etc). and static build are not compatible !!!" + @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" @${FALSE} .endif .endif @@ -105,10 +92,10 @@ post-patch: .endif @${REINPLACE_CMD} "s#^swig_pydir =.*#swig_pydir = ${PYTHON_SITELIBDIR}/libsvn#" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} "s#^swig_pydir_extra =.*#swig_pydir_extra = ${PYTHON_SITELIBDIR}/svn#" ${WRKSRC}/Makefile.in -.if defined(SVN_BUILD_BINDINGS) +.if defined(SVN_BUILD_ADDONS) @${CP} ${FILESDIR}/build-outputs.mk ${WRKSRC} .endif -.if ${PORT_OPTIONS:MFREEBSD_TEMPLATE} && defined(ORGANIZATION) +.if (${PORT_OPTIONS:MFREEBSD_TEMPLATE} || !${OPTIONS_FILE_UNSET:MFREEBSD_TEMPLATE}) && defined(ORGANIZATION) @${ECHO_CMD} "#define ORGANIZATION_NAME \"${ORGANIZATION}\"" > ${WRKSRC}/subversion/freebsd-organization.h .endif # shebangfix diff --git a/devel/subversion/files/build-outputs.mk b/devel/subversion/files/build-outputs.mk index cd517fbd17f1..a1c1b6d724ec 100644 --- a/devel/subversion/files/build-outputs.mk +++ b/devel/subversion/files/build-outputs.mk @@ -909,7 +909,7 @@ subversion/tests/libsvn_delta/window-test$(EXEEXT): $(window_test_DEPS) # Section 6: Install-Group build targets ######################################## -apache-mod: subversion/mod_authz_svn/mod_authz_svn.la subversion/mod_dav_svn/mod_dav_svn.la +apache-mod: subversion/mod_authz_svn/mod_authz_svn.la subversion/mod_dav_svn/mod_dav_svn.la tools/server-side/mod_dontdothat/mod_dontdothat.la bdb-lib: subversion/libsvn_fs_base/libsvn_fs_base-1.la @@ -965,16 +965,17 @@ test: subversion/tests/cmdline/atomic-ra-revprop-change$(EXEEXT) subversion/test tests: subversion/bindings/cxxhl/cxxhl-tests$(EXEEXT) -tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/diff4$(EXEEXT) tools/dev/fsfs-access-map$(EXEEXT) tools/dev/fsfs-reorg$(EXEEXT) tools/server-side/fsfs-stats$(EXEEXT) tools/server-side/mod_dontdothat/mod_dontdothat.la tools/client-side/svn-bench/svn-bench$(EXEEXT) tools/server-side/svn-populate-node-origins-index$(EXEEXT) tools/server-side/svn-rep-sharing-stats$(EXEEXT) tools/server-side/svnauthz$(EXEEXT) tools/server-side/svnauthz-validate$(EXEEXT) tools/dev/svnraisetreeconflict/svnraisetreeconflict$(EXEEXT) +tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/diff4$(EXEEXT) tools/dev/fsfs-access-map$(EXEEXT) tools/dev/fsfs-reorg$(EXEEXT) tools/server-side/fsfs-stats$(EXEEXT) tools/client-side/svn-bench/svn-bench$(EXEEXT) tools/server-side/svn-populate-node-origins-index$(EXEEXT) tools/server-side/svn-rep-sharing-stats$(EXEEXT) tools/server-side/svnauthz$(EXEEXT) tools/server-side/svnauthz-validate$(EXEEXT) tools/dev/svnraisetreeconflict/svnraisetreeconflict$(EXEEXT) ######################################## # Section 7: Install-Group install targets ######################################## -install-mods-shared: subversion/mod_dav_svn/mod_dav_svn.la subversion/mod_authz_svn/mod_authz_svn.la +install-mods-shared: subversion/mod_dav_svn/mod_dav_svn.la subversion/mod_authz_svn/mod_authz_svn.la tools/server-side/mod_dontdothat/mod_dontdothat.la if $(INSTALL_APACHE_MODS) ; then cd subversion/mod_dav_svn ; $(MKDIR) "$(APACHE_LIBEXECDIR)" ; $(INSTALL_MOD_SHARED) -n dav_svn mod_dav_svn.la ; fi if $(INSTALL_APACHE_MODS) ; then cd subversion/mod_authz_svn ; $(MKDIR) "$(APACHE_LIBEXECDIR)" ; $(INSTALL_MOD_SHARED) -n authz_svn mod_authz_svn.la ; fi + if $(INSTALL_APACHE_MODS) ; then cd tools/server-side/mod_dontdothat ; $(MKDIR) "$(APACHE_LIBEXECDIR)" ; $(INSTALL_MOD_SHARED) -n dontdothat mod_dontdothat.la ; fi install-bdb-lib: subversion/libsvn_fs_base/libsvn_fs_base-1.la $(MKDIR) $(DESTDIR)$(bdb_libdir) @@ -1134,7 +1135,7 @@ install-tests: subversion/bindings/cxxhl/cxxhl-tests$(EXEEXT) $(MKDIR) $(DESTDIR)$(testsdir) cd subversion/bindings/cxxhl ; $(INSTALL_TESTS) cxxhl-tests$(EXEEXT) $(DESTDIR)$(testsdir)/cxxhl-tests$(EXEEXT) -install-tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/diff4$(EXEEXT) tools/dev/fsfs-access-map$(EXEEXT) tools/dev/fsfs-reorg$(EXEEXT) tools/server-side/fsfs-stats$(EXEEXT) tools/server-side/mod_dontdothat/mod_dontdothat.la tools/client-side/svn-bench/svn-bench$(EXEEXT) tools/server-side/svn-populate-node-origins-index$(EXEEXT) tools/server-side/svn-rep-sharing-stats$(EXEEXT) tools/server-side/svnauthz$(EXEEXT) tools/server-side/svnauthz-validate$(EXEEXT) tools/dev/svnraisetreeconflict/svnraisetreeconflict$(EXEEXT) +install-tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/diff4$(EXEEXT) tools/dev/fsfs-access-map$(EXEEXT) tools/dev/fsfs-reorg$(EXEEXT) tools/server-side/fsfs-stats$(EXEEXT) tools/client-side/svn-bench/svn-bench$(EXEEXT) tools/server-side/svn-populate-node-origins-index$(EXEEXT) tools/server-side/svn-rep-sharing-stats$(EXEEXT) tools/server-side/svnauthz$(EXEEXT) tools/server-side/svnauthz-validate$(EXEEXT) tools/dev/svnraisetreeconflict/svnraisetreeconflict$(EXEEXT) $(MKDIR) $(DESTDIR)$(toolsdir) cd tools/diff ; $(INSTALL_TOOLS) diff$(EXEEXT) $(DESTDIR)$(toolsdir)/diff$(EXEEXT) cd tools/diff ; $(INSTALL_TOOLS) diff3$(EXEEXT) $(DESTDIR)$(toolsdir)/diff3$(EXEEXT) @@ -1142,7 +1143,6 @@ install-tools: tools/diff/diff$(EXEEXT) tools/diff/diff3$(EXEEXT) tools/diff/dif cd tools/dev ; $(INSTALL_TOOLS) fsfs-access-map$(EXEEXT) $(DESTDIR)$(toolsdir)/fsfs-access-map$(EXEEXT) cd tools/dev ; $(INSTALL_TOOLS) fsfs-reorg$(EXEEXT) $(DESTDIR)$(toolsdir)/fsfs-reorg$(EXEEXT) cd tools/server-side ; $(INSTALL_TOOLS) fsfs-stats$(EXEEXT) $(DESTDIR)$(toolsdir)/fsfs-stats$(EXEEXT) - if $(INSTALL_APACHE_MODS) ; then cd tools/server-side/mod_dontdothat ; $(MKDIR) "$(APACHE_LIBEXECDIR)" ; $(INSTALL_MOD_SHARED) -n dontdothat mod_dontdothat.la ; fi cd tools/client-side/svn-bench ; $(INSTALL_TOOLS) svn-bench$(EXEEXT) $(DESTDIR)$(toolsdir)/svn-bench$(EXEEXT) cd tools/server-side ; $(INSTALL_TOOLS) svn-populate-node-origins-index$(EXEEXT) $(DESTDIR)$(toolsdir)/svn-populate-node-origins-index$(EXEEXT) cd tools/server-side ; $(INSTALL_TOOLS) svn-rep-sharing-stats$(EXEEXT) $(DESTDIR)$(toolsdir)/svn-rep-sharing-stats$(EXEEXT) diff --git a/devel/subversion/files/extra-patch-Makefile.in b/devel/subversion/files/extra-patch-Makefile.in index e1c8065c4f2e..61531b992d38 100644 --- a/devel/subversion/files/extra-patch-Makefile.in +++ b/devel/subversion/files/extra-patch-Makefile.in @@ -1,11 +1,24 @@ ---- Makefile.in.orig 2013-06-20 01:29:45.000000000 +0400 -+++ Makefile.in 2013-06-20 01:29:45.000000000 +0400 -@@ -247,7 +247,7 @@ +--- Makefile.in.orig 2014-02-10 08:04:51.000000000 +0400 ++++ Makefile.in 2014-06-16 15:40:47.000000000 +0400 +@@ -253,7 +253,7 @@ + LINK_JAVAHL_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) $(CXXFLAGS) $(LDFLAGS) $(LT_CXX_LIBADD) -rpath $(libdir) + + INSTALL = @INSTALL@ +-INSTALL_LIB = $(LIBTOOL) --mode=install $(INSTALL) ++INSTALL_LIB = $(LIBTOOL) --mode=install $(INSTALL) -s + INSTALL_FSMOD_LIB = $(INSTALL_LIB) + INSTALL_RAMOD_LIB = $(INSTALL_LIB) + INSTALL_APR_MEMCACHE_LIB = $(INSTALL_LIB) +@@ -262,9 +262,9 @@ INSTALL_GNOME_KEYRING_LIB = $(INSTALL_LIB) INSTALL_KWALLET_LIB = $(INSTALL_LIB) INSTALL_SERF_LIB = $(INSTALL_LIB) -INSTALL_BIN = $(LIBTOOL) --mode=install $(INSTALL) +-INSTALL_CONTRIB = $(LIBTOOL) --mode=install $(INSTALL) +-INSTALL_TOOLS = $(LIBTOOL) --mode=install $(INSTALL) +INSTALL_BIN = $(LIBTOOL) --mode=install $(INSTALL) -s - INSTALL_CONTRIB = $(LIBTOOL) --mode=install $(INSTALL) - INSTALL_TOOLS = $(LIBTOOL) --mode=install $(INSTALL) ++INSTALL_CONTRIB = $(LIBTOOL) --mode=install $(INSTALL) -s ++INSTALL_TOOLS = $(LIBTOOL) --mode=install $(INSTALL) -s INSTALL_INCLUDE = $(INSTALL) -m 644 + INSTALL_MOD_SHARED = @APXS@ -i -S LIBEXECDIR="$(APACHE_LIBEXECDIR)" @MOD_ACTIVATION@ + INSTALL_DATA = $(INSTALL) -m 644 diff --git a/devel/subversion/files/extra-patch-build.conf b/devel/subversion/files/extra-patch-build.conf new file mode 100644 index 000000000000..e08242400ff4 --- /dev/null +++ b/devel/subversion/files/extra-patch-build.conf @@ -0,0 +1,11 @@ +--- build.conf.orig 2014-02-10 08:04:51.000000000 +0400 ++++ build.conf 2014-06-15 19:45:52.000000000 +0400 +@@ -381,7 +381,7 @@ + path = tools/server-side/mod_dontdothat + nonlibs = mod_dav_svn apr aprutil + libs = libsvn_subr xml +-install = tools ++install = apache-mod + msvc-libs = libhttpd.lib + + # ---------------------------------------------------------------------------- diff --git a/devel/subversion/files/patch-build-outputs.mk b/devel/subversion/files/patch-build-outputs.mk index 2628e09678ea..782703b118e0 100644 --- a/devel/subversion/files/patch-build-outputs.mk +++ b/devel/subversion/files/patch-build-outputs.mk @@ -7,9 +7,9 @@ - cd tools/diff ; $(INSTALL_TOOLS) diff$(EXEEXT) $(DESTDIR)$(toolsdir)/diff$(EXEEXT) - cd tools/diff ; $(INSTALL_TOOLS) diff3$(EXEEXT) $(DESTDIR)$(toolsdir)/diff3$(EXEEXT) - cd tools/diff ; $(INSTALL_TOOLS) diff4$(EXEEXT) $(DESTDIR)$(toolsdir)/diff4$(EXEEXT) -+# cd tools/diff ; $(INSTALL_TOOLS) diff$(EXEEXT) $(DESTDIR)$(toolsdir)/diff$(EXEEXT) -+# cd tools/diff ; $(INSTALL_TOOLS) diff3$(EXEEXT) $(DESTDIR)$(toolsdir)/diff3$(EXEEXT) -+# cd tools/diff ; $(INSTALL_TOOLS) diff4$(EXEEXT) $(DESTDIR)$(toolsdir)/diff4$(EXEEXT) ++ cd tools/diff ; $(INSTALL_TOOLS) diff$(EXEEXT) $(DESTDIR)$(toolsdir)/svndiff$(EXEEXT) ++ cd tools/diff ; $(INSTALL_TOOLS) diff3$(EXEEXT) $(DESTDIR)$(toolsdir)/svndiff3$(EXEEXT) ++ cd tools/diff ; $(INSTALL_TOOLS) diff4$(EXEEXT) $(DESTDIR)$(toolsdir)/svndiff4$(EXEEXT) cd tools/dev ; $(INSTALL_TOOLS) fsfs-access-map$(EXEEXT) $(DESTDIR)$(toolsdir)/fsfs-access-map$(EXEEXT) cd tools/dev ; $(INSTALL_TOOLS) fsfs-reorg$(EXEEXT) $(DESTDIR)$(toolsdir)/fsfs-reorg$(EXEEXT) cd tools/server-side ; $(INSTALL_TOOLS) fsfs-stats$(EXEEXT) $(DESTDIR)$(toolsdir)/fsfs-stats$(EXEEXT) diff --git a/devel/subversion/files/pkg-install.in b/devel/subversion/files/pkg-install.in index 6a5bea9a69f6..a4b9c5d4c10f 100644 --- a/devel/subversion/files/pkg-install.in +++ b/devel/subversion/files/pkg-install.in @@ -10,14 +10,17 @@ # $FreeBSD$ # -if [ "%%MOD_DAV_SVN_INSTALL%%" != "YES" ] ; then - exit 0 -fi - if [ "$2" != "PRE-INSTALL" ]; then exit 0 fi +echo "" +echo " Please check that your repository contains 'dav' subdirectory and" +echo " that all files in repositroy is accessible by apache user (typically www)" +echo "" + +exit 0 + APXSCMD=${PKG_PREFIX}/sbin/apxs if [ ! -x ${APXSCMD} ]; then @@ -54,4 +57,10 @@ else echo "dav_module already active in ${SYSCONFDIR}/${CONFFILE}" fi +echo "" +echo " Please check that your repository contains 'dav' subdirectory and" +echo " that all files in repositroy is accessible by apache user (typically www)" +echo "" + + exit 0 diff --git a/devel/subversion/pkg-plist b/devel/subversion/pkg-plist index e70be72022e4..2e1eed75617f 100644 --- a/devel/subversion/pkg-plist +++ b/devel/subversion/pkg-plist @@ -8,6 +8,9 @@ bin/svn bin/svnadmin %%TOOLS%%bin/svnauthz %%TOOLS%%bin/svnauthz-validate +%%TOOLS%%bin/svndiff +%%TOOLS%%bin/svndiff3 +%%TOOLS%%bin/svndiff4 bin/svndumpfilter bin/svnlook bin/svnmucc @@ -64,14 +67,6 @@ include/subversion-1/svn_utf.h include/subversion-1/svn_version.h include/subversion-1/svn_wc.h include/subversion-1/svn_xml.h -%%GNOME_KEYRING%%lib/libsvn_auth_gnome_keyring-1.a -%%DYNAMIC_ENABLED%%%%GNOME_KEYRING%%lib/libsvn_auth_gnome_keyring-1.so -%%DYNAMIC_ENABLED%%%%GNOME_KEYRING%%lib/libsvn_auth_gnome_keyring-1.so.0 -%%DYNAMIC_ENABLED%%%%GNOME_KEYRING%%lib/libsvn_auth_gnome_keyring-1.so.0.0.0 -%%KDE_KWALLET%%lib/libsvn_auth_kwallet-1.a -%%DYNAMIC_ENABLED%%%%KDE_KWALLET%%lib/libsvn_auth_kwallet-1.so -%%DYNAMIC_ENABLED%%%%KDE_KWALLET%%lib/libsvn_auth_kwallet-1.so.0 -%%DYNAMIC_ENABLED%%%%KDE_KWALLET%%lib/libsvn_auth_kwallet-1.so.0.0.0 lib/libsvn_client-1.a %%DYNAMIC_ENABLED%%lib/libsvn_client-1.so %%DYNAMIC_ENABLED%%lib/libsvn_client-1.so.0 @@ -128,16 +123,6 @@ lib/libsvn_wc-1.a %%DYNAMIC_ENABLED%%lib/libsvn_wc-1.so %%DYNAMIC_ENABLED%%lib/libsvn_wc-1.so.0 %%DYNAMIC_ENABLED%%lib/libsvn_wc-1.so.0.0.0 -@comment enable / disable modules in this order: dav_svn, authz_svn, dontdothat -%%MOD_DAV_SVN%%@unexec %%SED%% -i '' -E '/LoadModule[[:blank:]]+dav_svn_module/d' %D/%%APACHEETCDIR%%/httpd.conf -%%MOD_DAV_SVN%%%%APACHEMODDIR%%/mod_dav_svn.so -%%MOD_DAV_SVN%%@exec %D/sbin/apxs -e -a -n dav_svn %D/%F -%%MOD_DAV_SVN%%@unexec %%SED%% -i '' -E '/LoadModule[[:blank:]]+authz_svn_module/d' %D/%%APACHEETCDIR%%/httpd.conf -%%MOD_DAV_SVN%%%%APACHEMODDIR%%/mod_authz_svn.so -%%MOD_DAV_SVN%%@exec %D/sbin/apxs -e -a -n authz_svn %D/%F -%%MOD_DAV_SVN%%%%TOOLS%%@unexec %%SED%% -i '' -E '/LoadModule[[:blank:]]+dontdothat_module/d' %D/%%APACHEETCDIR%%/httpd.conf -%%MOD_DAV_SVN%%%%TOOLS%%%%APACHEMODDIR%%/mod_dontdothat.so -%%MOD_DAV_SVN%%%%TOOLS%%@exec %D/sbin/apxs -e -a -n dontdothat %D/%F man/man1/svn.1.gz man/man1/svnadmin.1.gz man/man1/svndumpfilter.1.gz |