diff options
Diffstat (limited to 'devel/subversion-freebsd')
-rw-r--r-- | devel/subversion-freebsd/Makefile | 197 | ||||
-rw-r--r-- | devel/subversion-freebsd/distinfo | 1 | ||||
-rw-r--r-- | devel/subversion-freebsd/files/build-outputs.mk.patch | 11 | ||||
-rw-r--r-- | devel/subversion-freebsd/files/patch-ac-helpers::ltmain.sh | 25 | ||||
-rw-r--r-- | devel/subversion-freebsd/files/patch-book-Makefile | 24 | ||||
-rw-r--r-- | devel/subversion-freebsd/files/patch-configure | 14 | ||||
-rw-r--r-- | devel/subversion-freebsd/files/svnserve.wrapper | 7 | ||||
-rw-r--r-- | devel/subversion-freebsd/pkg-deinstall | 60 | ||||
-rw-r--r-- | devel/subversion-freebsd/pkg-descr | 4 | ||||
-rw-r--r-- | devel/subversion-freebsd/pkg-plist | 98 |
10 files changed, 0 insertions, 441 deletions
diff --git a/devel/subversion-freebsd/Makefile b/devel/subversion-freebsd/Makefile deleted file mode 100644 index a8f1191f65f6..000000000000 --- a/devel/subversion-freebsd/Makefile +++ /dev/null @@ -1,197 +0,0 @@ -# New ports collection makefile for: subversion -# Date created: 10 September 2001 -# Whom: rooneg@electricjellyfish.net -# -# $FreeBSD$ - -PORTNAME= subversion -PORTVERSION= 0.32.1 -PORTREVISION= 2 -CATEGORIES= devel -MASTER_SITES= http://svn.collab.net/tarballs/ - -MAINTAINER= lev@freebsd.org -COMMENT= Version control system - -LIB_DEPENDS= db4:${PORTSDIR}/databases/db4 \ - neon.24:${PORTSDIR}/www/neon \ - expat.4:${PORTSDIR}/textproc/expat2 - -INSTALLS_SHLIB= yes - -WRKSRC= ${WRKDIR}/subversion-${PORTVERSION} -GNU_CONFIGURE= yes -USE_REINPLACE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --with-ssl \ - --with-neon=${LOCALBASE} \ - --with-berkeley-db=${LOCALBASE}/include/db4:${LOCALBASE}/lib \ - --with-swig=no - -MAN1= svn.1 svnadmin.1 svnlook.1 svndumpfilter.1 svnserve.1 svnversion.1 -MANCOMPRESSED= no - -.include <bsd.port.pre.mk> - -SVNREPOS?= /home/svn/repos - -.if defined(WITH_MOD_DAV_SVN) -WITH_APACHE2_APR= yes -CONFIGURE_ARGS+= \ - --with-apxs=${APXS} -PLIST_SUB+= MOD_DAV_SVN="" -SVNGROUP?= www -.else -PLIST_SUB+= MOD_DAV_SVN="@comment " -PKGDEINSTALL= NONEXISTENT -SVNGROUP?= svn -.endif - -.if defined(WITH_APACHE2_APR) -APACHE2_PORT?= www/apache2 -BUILD_DEPENDS+= ${APXS}:${PORTSDIR}/${APACHE2_PORT} -RUN_DEPENDS+= ${APXS}:${PORTSDIR}/${APACHE2_PORT} -CONFIGURE_ARGS+=--with-apr=${LOCALBASE}/lib/apache2/apr-config \ - --with-apr-util=${LOCALBASE}/lib/apache2/apu-config -.else -LIB_DEPENDS+= apr-0.9:${PORTSDIR}/devel/apr -CONFIGURE_ARGS+=--with-apr=${LOCALBASE} \ - --with-apr-util=${LOCALBASE} -.endif - -.if defined(WITH_SVNSERVE_WRAPPER) -PLIST_SUB+= SVNSERVE_WRAPPER="" -EXTRA_PATCHES= ${PATCHDIR}/build-outputs.mk.patch -.else -PLIST_SUB+= SVNSERVE_WRAPPER="@comment " -.endif - -pre-extract: -.if !defined (BATCH) - @${ECHO_MSG} "!!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!!" - @${ECHO_MSG} "" - @${ECHO_MSG} "If you upgrade Subversion from pre-0.28.0 version, please," - @${ECHO_MSG} "dump you repository with old (pre-0.28.0) svnadmin command." - @${ECHO_MSG} "After this, install new version, remove old repository, create new" - @${ECHO_MSG} "one with svnadmin & load dump created from old repository" - @${ECHO_MSG} "" - @${ECHO_MSG} "Versions after 0.28.0 have different repository format and" - @${ECHO_MSG} "your old repository could not be used with versions 0.28.0 and up." - @${ECHO_MSG} "" - @${ECHO_MSG} "Read" - @${ECHO_MSG} "http://svn.collab.net/repos/svn/trunk/notes/repos_upgrade_HOWTO" - @${ECHO_MSG} "for details." - @${ECHO_MSG} "" - @${ECHO_MSG} "Did you dump you repository and ready to install new version?" - @${ECHO_MSG} "" - @${ECHO_MSG} "!!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!!" - @${ECHO_MSG} "" - @sleep 5 -.endif -.if defined(WITH_MOD_DAV_SVN) - @${ECHO_MSG} "mod_dav_svn module for Apache 2.X enabled." -.else - @${ECHO_MSG} "You can enable the mod_dav_svn module for Apache 2.X" - @${ECHO_MSG} "by defining WITH_MOD_DAV_SVN. This option implies" - @${ECHO_MSG} "the WITH_APACHE2_APR option." -.endif - @${ECHO_MSG} -.if defined(WITH_APACHE2_APR) - @${ECHO_MSG} "Using APR from www/apache2. If you have the devel/apr" - @${ECHO_MSG} "port/package installed, you may need to remove it." -.else - @${ECHO_MSG} "You can link subversion against the APR built with" - @${ECHO_MSG} "the www/apache2 port, rather than the devel/apr port," - @${ECHO_MSG} "by defining WITH_APACHE2_APR." -.endif - @${ECHO_MSG} -.if defined(WITH_SVNSERVE_WRAPPER) - @${ECHO_MSG} "svnserve wrapper enabled." -.else - @${ECHO_MSG} "You can install the svnserve wrapper (sets umask 002)" - @${ECHO_MSG} "by defining WITH_SVNSERVE_WRAPPER." -.endif - @${ECHO_MSG} -.if defined(WITH_REPOSITORY_CREATION) - @${ECHO_MSG} "I will create (or use, if it exists) \"${SVNGROUP}\" group." - @${ECHO_MSG} "Make sure that all committers are its members." -.else - @${ECHO_MSG} "You can have the repository created for you by defining" - @${ECHO_MSG} "WITH_REPOSITORY_CREATION." - @${ECHO_MSG} "" - @${ECHO_MSG} "Make sure that:" - @${ECHO_MSG} "* all your svn users are members of a common group" - @${ECHO_MSG} "* this group is the group id of the db/ and locks/" - @${ECHO_MSG} " subdirectories of your repository" - @${ECHO_MSG} "* the above subdirectories are writable by this group" - @${ECHO_MSG} "" - @${ECHO_MSG} "Repository will be created at '${SVNREPOS}' with group '${SVNGROUP}'" - @${ECHO_MSG} "You could change these settings by defining SVNREPOS and SVNGROUP" - @${ECHO_MSG} "" -.endif - @${ECHO_MSG} - -post-extract: - @${REINPLACE_CMD} 's/ldb/ldb4/g' ${WRKSRC}/configure - - @${RM} -r ${WRKSRC}/neon - @${RM} -r ${WRKSRC}/apr - @${RM} -r ${WRKSRC}/apr-util - -post-patch: -.if ${PREFIX} != "/usr" - @${REINPLACE_CMD} "s#/etc/subversion#${PREFIX}/etc/subversion#g" ${WRKSRC}/subversion/libsvn_subr/config_file.c - @${REINPLACE_CMD} "s#/etc/subversion#${PREFIX}/etc/subversion#g" ${WRKSRC}/subversion/libsvn_subr/config_impl.h -.endif - -.if defined(WITH_MOD_DAV_SVN) -pre-install: - ${APXS} -e -S LIBEXECDIR=${PREFIX}/libexec/apache2 -a -n dav libexec/apache2/mod_dav.so -.endif - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - for f in BUGS CHANGES COMMITTERS COPYING HACKING INSTALL README; do \ - ${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}; \ - done -.endif -.if defined(WITH_SVNSERVE_WRAPPER) - @${INSTALL_SCRIPT} ${FILESDIR}/svnserve.wrapper ${PREFIX}/bin/svnserve -.endif -.if defined(WITH_REPOSITORY_CREATION) && !exists(${SVNREPOS}) -. if defined(WITH_SVNSERVE_WRAPPER) - @if /usr/sbin/pw groupshow "${SVNGROUP}" >/dev/null 2>&1; then \ - echo "You already have a group \"${SVNGROUP}\", so I will use it."; \ - else \ - if /usr/sbin/pw groupadd ${SVNGROUP} -h -; \ - then \ - echo "Added group \"${SVNGROUP}\"."; \ - else \ - echo "Adding group \"${SVNGROUP}\" failed..."; \ - echo "Please create it, and try again."; \ - ${FALSE}; \ - fi; \ - fi -. endif - @${MKDIR} ${SVNREPOS} - @${PREFIX}/bin/svnadmin create ${SVNREPOS} - @${CHGRP} ${SVNGROUP} ${SVNREPOS}/db ${SVNREPOS}/locks/db.lock ${SVNREPOS}/dav - @${CHMOD} g+w ${SVNREPOS}/db ${SVNREPOS}/locks/db.lock ${SVNREPOS}/dav - @for i in ${SVNREPOS}/db/* ; do \ - i=$${i##*/}; \ - case $$i in \ - DB_CONFIG) ;; \ - *) ${CHGRP} ${SVNGROUP} ${SVNREPOS}/db/$$i; \ - ${CHMOD} g+w ${SVNREPOS}/db/$$i; \ - ;; \ - esac; \ - done -.endif - -post-deinstall: -.if defined(WITH_MOD_DAV_SVN) - @PKG_PREFIX=${PREFIX} ${SH} ${PKGDEINSTALL} ${PKGNAME} POST-DEINSTALL -.endif - -.include <bsd.port.post.mk> diff --git a/devel/subversion-freebsd/distinfo b/devel/subversion-freebsd/distinfo deleted file mode 100644 index 4004d5f408a4..000000000000 --- a/devel/subversion-freebsd/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (subversion-0.32.1.tar.gz) = b06717a8ef50db4b5c4d380af00bd901 diff --git a/devel/subversion-freebsd/files/build-outputs.mk.patch b/devel/subversion-freebsd/files/build-outputs.mk.patch deleted file mode 100644 index 3612f626c7ce..000000000000 --- a/devel/subversion-freebsd/files/build-outputs.mk.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- build-outputs.mk.orig Wed Oct 8 16:01:40 2003 -+++ build-outputs.mk Wed Oct 8 16:02:00 2003 -@@ -447,7 +447,7 @@ - cd subversion/svnadmin ; $(INSTALL_FS_BIN) svnadmin$(EXEEXT) $(DESTDIR)$(fs_bindir)/svnadmin$(EXEEXT) - cd subversion/svndumpfilter ; $(INSTALL_FS_BIN) svndumpfilter$(EXEEXT) $(DESTDIR)$(fs_bindir)/svndumpfilter$(EXEEXT) - cd subversion/svnlook ; $(INSTALL_FS_BIN) svnlook$(EXEEXT) $(DESTDIR)$(fs_bindir)/svnlook$(EXEEXT) -- cd subversion/svnserve ; $(INSTALL_FS_BIN) svnserve$(EXEEXT) $(DESTDIR)$(fs_bindir)/svnserve$(EXEEXT) -+ cd subversion/svnserve ; $(INSTALL_FS_BIN) svnserve$(EXEEXT) $(DESTDIR)$(fs_bindir)/svnserve.bin$(EXEEXT) - - install-fs-lib: subversion/libsvn_fs/libsvn_fs-1.la subversion/libsvn_repos/libsvn_repos-1.la subversion/libsvn_ra_local/libsvn_ra_local-1.la - $(MKDIR) $(DESTDIR)$(fs_libdir) diff --git a/devel/subversion-freebsd/files/patch-ac-helpers::ltmain.sh b/devel/subversion-freebsd/files/patch-ac-helpers::ltmain.sh deleted file mode 100644 index 195f87417c03..000000000000 --- a/devel/subversion-freebsd/files/patch-ac-helpers::ltmain.sh +++ /dev/null @@ -1,25 +0,0 @@ ---- ac-helpers/ltmain.sh.orig Thu Oct 23 17:15:47 2003 -+++ ac-helpers/ltmain.sh Tue Nov 11 15:04:17 2003 -@@ -1072,7 +1072,7 @@ - esac - elif test "X$arg" = "X-lc_r"; then - case $host in -- *-*-openbsd* | *-*-freebsd*) -+ *-*-openbsd* | *-*-freebsd4*) - # Do not include libc_r directly, use -pthread flag. - continue - ;; -@@ -1212,7 +1212,12 @@ - ;; - - -Kthread | -mthreads | -mt | -pthread | -pthreads | -threads | -qthreaded | -kthread ) -- compiler_flags="$compiler_flags $arg" -+ pthread=yes -+ arg=$arg -+ linker_flags="$linker_flags $arg" -+ compiler_flags="$compiler_flags $arg" -+ compile_command="$compile_command $arg" -+ finalize_command="$finalize_command $arg" - continue - ;; - diff --git a/devel/subversion-freebsd/files/patch-book-Makefile b/devel/subversion-freebsd/files/patch-book-Makefile deleted file mode 100644 index 589fb2c2ecc9..000000000000 --- a/devel/subversion-freebsd/files/patch-book-Makefile +++ /dev/null @@ -1,24 +0,0 @@ ---- doc/book/Makefile.orig Mon May 19 17:06:16 2003 -+++ doc/book/Makefile Mon May 19 17:22:14 2003 -@@ -98,7 +98,7 @@ - $(BOOK_INSTALL_DIR): - $(INSTALL) -d $(BOOK_INSTALL_DIR) - --install-book-html: $(BOOK_HTML_TARGET) -+install-book-html: - $(INSTALL) -d $(BOOK_INSTALL_DIR)/images - $(INSTALL) $(BOOK_HTML_TARGET) $(BOOK_INSTALL_DIR) - $(INSTALL) $(BOOK_DIR)/styles.css $(BOOK_INSTALL_DIR) -@@ -111,10 +111,10 @@ - $(INSTALL) $(BOOK_DIR)/styles.css $(BOOK_INSTALL_DIR) - $(INSTALL) $(BOOK_DIR)/images/*.png $(BOOK_INSTALL_DIR)/images - --install-book-pdf: $(BOOK_PDF_TARGET) $(BOOK_INSTALL_DIR) -+install-book-pdf: - $(INSTALL) $(BOOK_PDF_TARGET) $(BOOK_INSTALL_DIR) - --install-book-ps: $(BOOK_PS_TARGET) $(BOOK_INSTALL_DIR) -+install-book-ps: - $(INSTALL) $(BOOK_PS_TARGET) $(BOOK_INSTALL_DIR) - - book-clean: diff --git a/devel/subversion-freebsd/files/patch-configure b/devel/subversion-freebsd/files/patch-configure deleted file mode 100644 index 8ad6cd1ae5ed..000000000000 --- a/devel/subversion-freebsd/files/patch-configure +++ /dev/null @@ -1,14 +0,0 @@ ---- configure.orig Thu Oct 9 09:10:22 2003 -+++ configure Thu Oct 9 09:10:30 2003 -@@ -2952,9 +2952,9 @@ - - - --APR_VER_REGEX="0\.9\.[4-9]" -+APR_VER_REGEX="0\.9\.[3-9]" - APR_VER_REGEX_TOO="1\.0" --APU_VER_REGEX="0\.9\.[4-9]" -+APU_VER_REGEX="0\.9\.[3-9]" - APU_VER_REGEX_TOO="1\.0" - - diff --git a/devel/subversion-freebsd/files/svnserve.wrapper b/devel/subversion-freebsd/files/svnserve.wrapper deleted file mode 100644 index 6797f9478ad5..000000000000 --- a/devel/subversion-freebsd/files/svnserve.wrapper +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -SVNSERVE=$(dirname $(realpath $0))/svnserve.bin - -umask 002 -$SVNSERVE "$@" - diff --git a/devel/subversion-freebsd/pkg-deinstall b/devel/subversion-freebsd/pkg-deinstall deleted file mode 100644 index 8a03c3956aac..000000000000 --- a/devel/subversion-freebsd/pkg-deinstall +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh -# -# Try to de-activate mod_dav_svn in the installed httpd.conf and warn -# if this fails. -# -# $FreeBSD$ -# - -if [ "$2" != "POST-DEINSTALL" ]; then - exit 0 -fi - -TMPDIR=${TMPDIR:=/tmp} -PKG_TMPDIR=${PKG_TMPDIR:=${TMPDIR}} - -apxscmd=${PKG_PREFIX}/sbin/apxs -tmpdir=${PKG_TMPDIR}/deinstmod_dav_svn.$$ - -if [ ! -x ${apxscmd} ]; then - echo Can\'t find the apxs program: ${apxscmd}. - exit 1 -fi - -confdir=`${apxscmd} -q SYSCONFDIR` - -if [ ! -d ${confdir} ]; then - echo Can\'t find Apache conf dir: ${confdir} - exit 1 -fi - -if [ -f ${confdir}/httpd.conf ]; then - conffile=httpd.conf -fi -if [ -f ${confdir}/httpd.conf.default ]; then - conffile="${conffile} httpd.conf.default" -fi -if [ -z "${conffile}" ]; then - echo Can\'t find either of ${confdir}/httpd.conf or - echo ${confdir}/httpd.conf.default. - exit 1 -fi - -if ! mkdir ${tmpdir}; then - echo Can\'t create temporary directory: ${tmpdir} - exit 1 -fi - -for i in ${conffile}; do - awk '{if (!/^LoadModule dav_svn_module/ && - !/^AddModule mod_dav_svn.c/ &&\ - !/^LoadModule authz_svn_module/ &&\ - !/^AddModule mod_authz_svn.c/ ) \ - print $0}' < ${confdir}/$i > ${tmpdir}/$i - echo Removing dav_svn_module and authz_svn_module from $i in config dir: ${confdir} - cat ${tmpdir}/$i > ${confdir}/$i -done - -rm -rf ${tmpdir} - -exit 0 diff --git a/devel/subversion-freebsd/pkg-descr b/devel/subversion-freebsd/pkg-descr deleted file mode 100644 index b0743f27a8c3..000000000000 --- a/devel/subversion-freebsd/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -Subversion is a version control system designed to be as similar to cvs(1) -as possible, while fixing many outstanding problems with cvs(1). - -WWW: http://subversion.tigris.org/ diff --git a/devel/subversion-freebsd/pkg-plist b/devel/subversion-freebsd/pkg-plist deleted file mode 100644 index b46ff155223e..000000000000 --- a/devel/subversion-freebsd/pkg-plist +++ /dev/null @@ -1,98 +0,0 @@ -bin/svn -bin/svnadmin -bin/svndumpfilter -bin/svnlook -bin/svnserve -%%SVNSERVE_WRAPPER%%bin/svnserve.bin -bin/svnversion -include/subversion-1/mod_dav_svn.h -include/subversion-1/svn-revision.txt -include/subversion-1/svn_auth.h -include/subversion-1/svn_base64.h -include/subversion-1/svn_client.h -include/subversion-1/svn_cmdline.h -include/subversion-1/svn_config.h -include/subversion-1/svn_dav.h -include/subversion-1/svn_delta.h -include/subversion-1/svn_diff.h -include/subversion-1/svn_error.h -include/subversion-1/svn_error_codes.h -include/subversion-1/svn_fs.h -include/subversion-1/svn_hash.h -include/subversion-1/svn_io.h -include/subversion-1/svn_md5.h -include/subversion-1/svn_opt.h -include/subversion-1/svn_path.h -include/subversion-1/svn_pools.h -include/subversion-1/svn_props.h -include/subversion-1/svn_quoprint.h -include/subversion-1/svn_ra.h -include/subversion-1/svn_ra_svn.h -include/subversion-1/svn_repos.h -include/subversion-1/svn_sorts.h -include/subversion-1/svn_string.h -include/subversion-1/svn_subst.h -include/subversion-1/svn_test.h -include/subversion-1/svn_time.h -include/subversion-1/svn_types.h -include/subversion-1/svn_utf.h -include/subversion-1/svn_version.h -include/subversion-1/svn_wc.h -include/subversion-1/svn_xml.h -@dirrm include/subversion-1 -lib/libsvn_client-1.a -lib/libsvn_client-1.la -lib/libsvn_client-1.so -lib/libsvn_client-1.so.0 -lib/libsvn_delta-1.a -lib/libsvn_delta-1.la -lib/libsvn_delta-1.so -lib/libsvn_delta-1.so.0 -lib/libsvn_diff-1.a -lib/libsvn_diff-1.la -lib/libsvn_diff-1.so -lib/libsvn_diff-1.so.0 -lib/libsvn_fs-1.a -lib/libsvn_fs-1.la -lib/libsvn_fs-1.so -lib/libsvn_fs-1.so.0 -lib/libsvn_ra-1.a -lib/libsvn_ra-1.la -lib/libsvn_ra-1.so -lib/libsvn_ra-1.so.0 -lib/libsvn_ra_dav-1.a -lib/libsvn_ra_dav-1.la -lib/libsvn_ra_dav-1.so -lib/libsvn_ra_dav-1.so.0 -lib/libsvn_ra_local-1.a -lib/libsvn_ra_local-1.la -lib/libsvn_ra_local-1.so -lib/libsvn_ra_local-1.so.0 -lib/libsvn_ra_svn-1.a -lib/libsvn_ra_svn-1.la -lib/libsvn_ra_svn-1.so -lib/libsvn_ra_svn-1.so.0 -lib/libsvn_repos-1.a -lib/libsvn_repos-1.la -lib/libsvn_repos-1.so -lib/libsvn_repos-1.so.0 -lib/libsvn_subr-1.a -lib/libsvn_subr-1.la -lib/libsvn_subr-1.so -lib/libsvn_subr-1.so.0 -lib/libsvn_wc-1.a -lib/libsvn_wc-1.la -lib/libsvn_wc-1.so -lib/libsvn_wc-1.so.0 -%%MOD_DAV_SVN%%libexec/apache2/mod_dav_svn.so -%%MOD_DAV_SVN%%libexec/apache2/mod_authz_svn.so -%%MOD_DAV_SVN%%@exec %D/sbin/apxs -e -S LIBEXECDIR=%D/libexec/apache2 -a -n dav libexec/apache2/mod_dav.so -%%MOD_DAV_SVN%%@exec %D/sbin/apxs -e -S LIBEXECDIR=%D/libexec/apache2 -a -n dav_svn libexec/apache2/mod_dav_svn.so -%%PORTDOCS%%share/doc/subversion/BUGS -%%PORTDOCS%%share/doc/subversion/CHANGES -%%PORTDOCS%%share/doc/subversion/COMMITTERS -%%PORTDOCS%%share/doc/subversion/COPYING -%%PORTDOCS%%share/doc/subversion/HACKING -%%PORTDOCS%%share/doc/subversion/INSTALL -%%PORTDOCS%%share/doc/subversion/README -%%PORTDOCS%%@dirrm share/doc/subversion |