ports/opt (3.5): [notify] subversion: dropped unmaintained and vulnerable port
commit fba20604cab206f2aae1628867429516ddfd4d2c Author: Fredrik Rinnestam <fredrik@crux.nu> Date: Thu Aug 1 20:27:39 2019 +0200 [notify] subversion: dropped unmaintained and vulnerable port diff --git a/subversion/.footprint b/subversion/.footprint deleted file mode 100644 index 29b9ccc33..000000000 --- a/subversion/.footprint +++ /dev/null @@ -1,167 +0,0 @@ -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/bin/ --rwxr-xr-x root/root usr/bin/svn --rwxr-xr-x root/root usr/bin/svnadmin --rwxr-xr-x root/root usr/bin/svnbench --rwxr-xr-x root/root usr/bin/svndumpfilter --rwxr-xr-x root/root usr/bin/svnfsfs --rwxr-xr-x root/root usr/bin/svnlook --rwxr-xr-x root/root usr/bin/svnmucc --rwxr-xr-x root/root usr/bin/svnrdump --rwxr-xr-x root/root usr/bin/svnserve --rwxr-xr-x root/root usr/bin/svnsync --rwxr-xr-x root/root usr/bin/svnversion -drwxr-xr-x root/root usr/include/ -drwxr-xr-x root/root usr/include/subversion-1/ --rw-r--r-- root/root usr/include/subversion-1/mod_authz_svn.h --rw-r--r-- root/root usr/include/subversion-1/mod_dav_svn.h --rw-r--r-- root/root usr/include/subversion-1/svn-revision.txt --rw-r--r-- root/root usr/include/subversion-1/svn_auth.h --rw-r--r-- root/root usr/include/subversion-1/svn_base64.h --rw-r--r-- root/root usr/include/subversion-1/svn_cache_config.h --rw-r--r-- root/root usr/include/subversion-1/svn_checksum.h --rw-r--r-- root/root usr/include/subversion-1/svn_client.h --rw-r--r-- root/root usr/include/subversion-1/svn_cmdline.h --rw-r--r-- root/root usr/include/subversion-1/svn_compat.h --rw-r--r-- root/root usr/include/subversion-1/svn_config.h --rw-r--r-- root/root usr/include/subversion-1/svn_ctype.h --rw-r--r-- root/root usr/include/subversion-1/svn_dav.h --rw-r--r-- root/root usr/include/subversion-1/svn_delta.h --rw-r--r-- root/root usr/include/subversion-1/svn_diff.h --rw-r--r-- root/root usr/include/subversion-1/svn_dirent_uri.h --rw-r--r-- root/root usr/include/subversion-1/svn_dso.h --rw-r--r-- root/root usr/include/subversion-1/svn_error.h --rw-r--r-- root/root usr/include/subversion-1/svn_error_codes.h --rw-r--r-- root/root usr/include/subversion-1/svn_fs.h --rw-r--r-- root/root usr/include/subversion-1/svn_hash.h --rw-r--r-- root/root usr/include/subversion-1/svn_io.h --rw-r--r-- root/root usr/include/subversion-1/svn_iter.h --rw-r--r-- root/root usr/include/subversion-1/svn_md5.h --rw-r--r-- root/root usr/include/subversion-1/svn_mergeinfo.h --rw-r--r-- root/root usr/include/subversion-1/svn_nls.h --rw-r--r-- root/root usr/include/subversion-1/svn_opt.h --rw-r--r-- root/root usr/include/subversion-1/svn_path.h --rw-r--r-- root/root usr/include/subversion-1/svn_pools.h --rw-r--r-- root/root usr/include/subversion-1/svn_props.h --rw-r--r-- root/root usr/include/subversion-1/svn_quoprint.h --rw-r--r-- root/root usr/include/subversion-1/svn_ra.h --rw-r--r-- root/root usr/include/subversion-1/svn_ra_svn.h --rw-r--r-- root/root usr/include/subversion-1/svn_repos.h --rw-r--r-- root/root usr/include/subversion-1/svn_sorts.h --rw-r--r-- root/root usr/include/subversion-1/svn_string.h --rw-r--r-- root/root usr/include/subversion-1/svn_subst.h --rw-r--r-- root/root usr/include/subversion-1/svn_time.h --rw-r--r-- root/root usr/include/subversion-1/svn_types.h --rw-r--r-- root/root usr/include/subversion-1/svn_user.h --rw-r--r-- root/root usr/include/subversion-1/svn_utf.h --rw-r--r-- root/root usr/include/subversion-1/svn_version.h --rw-r--r-- root/root usr/include/subversion-1/svn_wc.h --rw-r--r-- root/root usr/include/subversion-1/svn_x509.h --rw-r--r-- root/root usr/include/subversion-1/svn_xml.h -drwxr-xr-x root/root usr/lib/ --rw-r--r-- root/root usr/lib/libsvn_client-1.a --rwxr-xr-x root/root usr/lib/libsvn_client-1.la -lrwxrwxrwx root/root usr/lib/libsvn_client-1.so -> libsvn_client-1.so.0.0.0 -lrwxrwxrwx root/root usr/lib/libsvn_client-1.so.0 -> libsvn_client-1.so.0.0.0 --rwxr-xr-x root/root usr/lib/libsvn_client-1.so.0.0.0 --rw-r--r-- root/root usr/lib/libsvn_delta-1.a --rwxr-xr-x root/root usr/lib/libsvn_delta-1.la -lrwxrwxrwx root/root usr/lib/libsvn_delta-1.so -> libsvn_delta-1.so.0.0.0 -lrwxrwxrwx root/root usr/lib/libsvn_delta-1.so.0 -> libsvn_delta-1.so.0.0.0 --rwxr-xr-x root/root usr/lib/libsvn_delta-1.so.0.0.0 --rw-r--r-- root/root usr/lib/libsvn_diff-1.a --rwxr-xr-x root/root usr/lib/libsvn_diff-1.la -lrwxrwxrwx root/root usr/lib/libsvn_diff-1.so -> libsvn_diff-1.so.0.0.0 -lrwxrwxrwx root/root usr/lib/libsvn_diff-1.so.0 -> libsvn_diff-1.so.0.0.0 --rwxr-xr-x root/root usr/lib/libsvn_diff-1.so.0.0.0 --rw-r--r-- root/root usr/lib/libsvn_fs-1.a --rwxr-xr-x root/root usr/lib/libsvn_fs-1.la -lrwxrwxrwx root/root usr/lib/libsvn_fs-1.so -> libsvn_fs-1.so.0.0.0 -lrwxrwxrwx root/root usr/lib/libsvn_fs-1.so.0 -> libsvn_fs-1.so.0.0.0 --rwxr-xr-x root/root usr/lib/libsvn_fs-1.so.0.0.0 --rw-r--r-- root/root usr/lib/libsvn_fs_base-1.a --rwxr-xr-x root/root usr/lib/libsvn_fs_base-1.la -lrwxrwxrwx root/root usr/lib/libsvn_fs_base-1.so -> libsvn_fs_base-1.so.0.0.0 -lrwxrwxrwx root/root usr/lib/libsvn_fs_base-1.so.0 -> libsvn_fs_base-1.so.0.0.0 --rwxr-xr-x root/root usr/lib/libsvn_fs_base-1.so.0.0.0 --rw-r--r-- root/root usr/lib/libsvn_fs_fs-1.a --rwxr-xr-x root/root usr/lib/libsvn_fs_fs-1.la -lrwxrwxrwx root/root usr/lib/libsvn_fs_fs-1.so -> libsvn_fs_fs-1.so.0.0.0 -lrwxrwxrwx root/root usr/lib/libsvn_fs_fs-1.so.0 -> libsvn_fs_fs-1.so.0.0.0 --rwxr-xr-x root/root usr/lib/libsvn_fs_fs-1.so.0.0.0 --rw-r--r-- root/root usr/lib/libsvn_fs_util-1.a --rwxr-xr-x root/root usr/lib/libsvn_fs_util-1.la -lrwxrwxrwx root/root usr/lib/libsvn_fs_util-1.so -> libsvn_fs_util-1.so.0.0.0 -lrwxrwxrwx root/root usr/lib/libsvn_fs_util-1.so.0 -> libsvn_fs_util-1.so.0.0.0 --rwxr-xr-x root/root usr/lib/libsvn_fs_util-1.so.0.0.0 --rw-r--r-- root/root usr/lib/libsvn_fs_x-1.a --rwxr-xr-x root/root usr/lib/libsvn_fs_x-1.la -lrwxrwxrwx root/root usr/lib/libsvn_fs_x-1.so -> libsvn_fs_x-1.so.0.0.0 -lrwxrwxrwx root/root usr/lib/libsvn_fs_x-1.so.0 -> libsvn_fs_x-1.so.0.0.0 --rwxr-xr-x root/root usr/lib/libsvn_fs_x-1.so.0.0.0 --rw-r--r-- root/root usr/lib/libsvn_ra-1.a --rwxr-xr-x root/root usr/lib/libsvn_ra-1.la -lrwxrwxrwx root/root usr/lib/libsvn_ra-1.so -> libsvn_ra-1.so.0.0.0 -lrwxrwxrwx root/root usr/lib/libsvn_ra-1.so.0 -> libsvn_ra-1.so.0.0.0 --rwxr-xr-x root/root usr/lib/libsvn_ra-1.so.0.0.0 --rw-r--r-- root/root usr/lib/libsvn_ra_local-1.a --rwxr-xr-x root/root usr/lib/libsvn_ra_local-1.la -lrwxrwxrwx root/root usr/lib/libsvn_ra_local-1.so -> libsvn_ra_local-1.so.0.0.0 -lrwxrwxrwx root/root usr/lib/libsvn_ra_local-1.so.0 -> libsvn_ra_local-1.so.0.0.0 --rwxr-xr-x root/root usr/lib/libsvn_ra_local-1.so.0.0.0 --rw-r--r-- root/root usr/lib/libsvn_ra_serf-1.a --rwxr-xr-x root/root usr/lib/libsvn_ra_serf-1.la -lrwxrwxrwx root/root usr/lib/libsvn_ra_serf-1.so -> libsvn_ra_serf-1.so.0.0.0 -lrwxrwxrwx root/root usr/lib/libsvn_ra_serf-1.so.0 -> libsvn_ra_serf-1.so.0.0.0 --rwxr-xr-x root/root usr/lib/libsvn_ra_serf-1.so.0.0.0 --rw-r--r-- root/root usr/lib/libsvn_ra_svn-1.a --rwxr-xr-x root/root usr/lib/libsvn_ra_svn-1.la -lrwxrwxrwx root/root usr/lib/libsvn_ra_svn-1.so -> libsvn_ra_svn-1.so.0.0.0 -lrwxrwxrwx root/root usr/lib/libsvn_ra_svn-1.so.0 -> libsvn_ra_svn-1.so.0.0.0 --rwxr-xr-x root/root usr/lib/libsvn_ra_svn-1.so.0.0.0 --rw-r--r-- root/root usr/lib/libsvn_repos-1.a --rwxr-xr-x root/root usr/lib/libsvn_repos-1.la -lrwxrwxrwx root/root usr/lib/libsvn_repos-1.so -> libsvn_repos-1.so.0.0.0 -lrwxrwxrwx root/root usr/lib/libsvn_repos-1.so.0 -> libsvn_repos-1.so.0.0.0 --rwxr-xr-x root/root usr/lib/libsvn_repos-1.so.0.0.0 --rw-r--r-- root/root usr/lib/libsvn_subr-1.a --rwxr-xr-x root/root usr/lib/libsvn_subr-1.la -lrwxrwxrwx root/root usr/lib/libsvn_subr-1.so -> libsvn_subr-1.so.0.0.0 -lrwxrwxrwx root/root usr/lib/libsvn_subr-1.so.0 -> libsvn_subr-1.so.0.0.0 --rwxr-xr-x root/root usr/lib/libsvn_subr-1.so.0.0.0 --rw-r--r-- root/root usr/lib/libsvn_wc-1.a --rwxr-xr-x root/root usr/lib/libsvn_wc-1.la -lrwxrwxrwx root/root usr/lib/libsvn_wc-1.so -> libsvn_wc-1.so.0.0.0 -lrwxrwxrwx root/root usr/lib/libsvn_wc-1.so.0 -> libsvn_wc-1.so.0.0.0 --rwxr-xr-x root/root usr/lib/libsvn_wc-1.so.0.0.0 -drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/man/ -drwxr-xr-x root/root usr/share/man/man1/ --rw-r--r-- root/root usr/share/man/man1/svn.1.gz --rw-r--r-- root/root usr/share/man/man1/svnadmin.1.gz --rw-r--r-- root/root usr/share/man/man1/svndumpfilter.1.gz --rw-r--r-- root/root usr/share/man/man1/svnlook.1.gz --rw-r--r-- root/root usr/share/man/man1/svnmucc.1.gz --rw-r--r-- root/root usr/share/man/man1/svnrdump.1.gz --rw-r--r-- root/root usr/share/man/man1/svnsync.1.gz --rw-r--r-- root/root usr/share/man/man1/svnversion.1.gz -drwxr-xr-x root/root usr/share/man/man5/ --rw-r--r-- root/root usr/share/man/man5/svnserve.conf.5.gz -drwxr-xr-x root/root usr/share/man/man8/ --rw-r--r-- root/root usr/share/man/man8/svnserve.8.gz -drwxr-xr-x root/root usr/share/pkgconfig/ --rw-r--r-- root/root usr/share/pkgconfig/libsvn_client.pc --rw-r--r-- root/root usr/share/pkgconfig/libsvn_delta.pc --rw-r--r-- root/root usr/share/pkgconfig/libsvn_diff.pc --rw-r--r-- root/root usr/share/pkgconfig/libsvn_fs.pc --rw-r--r-- root/root usr/share/pkgconfig/libsvn_fs_base.pc --rw-r--r-- root/root usr/share/pkgconfig/libsvn_fs_fs.pc --rw-r--r-- root/root usr/share/pkgconfig/libsvn_fs_util.pc --rw-r--r-- root/root usr/share/pkgconfig/libsvn_fs_x.pc --rw-r--r-- root/root usr/share/pkgconfig/libsvn_ra.pc --rw-r--r-- root/root usr/share/pkgconfig/libsvn_ra_local.pc --rw-r--r-- root/root usr/share/pkgconfig/libsvn_ra_serf.pc --rw-r--r-- root/root usr/share/pkgconfig/libsvn_ra_svn.pc --rw-r--r-- root/root usr/share/pkgconfig/libsvn_repos.pc --rw-r--r-- root/root usr/share/pkgconfig/libsvn_subr.pc --rw-r--r-- root/root usr/share/pkgconfig/libsvn_wc.pc diff --git a/subversion/.signature b/subversion/.signature deleted file mode 100644 index 827d98fb8..000000000 --- a/subversion/.signature +++ /dev/null @@ -1,6 +0,0 @@ -untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/V4OB8yoTeWo2j0h21u/P85euLVdeX2Xt19Z4gBN/7TSBw4InW3RUMtGN+VR/9FsUBQQRKCW4qEUc1XtSHDOygE= -SHA256 (Pkgfile) = c56790c34aa57b0a2538eede948616dba0bac4d13381ffa2f23b36ab439f6c19 -SHA256 (.footprint) = d00adb73926ccd556c7d37d069fab96f98fc85d028fbc291ddc9c9a9fee0e931 -SHA256 (subversion-1.9.10.tar.bz2) = ae28c656535c8b817f469e6ee6951e9840ea2d64c7ff0e98c728638bb45c9cd7 -SHA256 (apr-1.7.patch) = f7b6ccd807a15e899a592a53b256f70a7651e2078453d12e0242658a180a8d64 diff --git a/subversion/Pkgfile b/subversion/Pkgfile deleted file mode 100644 index 41e3b8595..000000000 --- a/subversion/Pkgfile +++ /dev/null @@ -1,31 +0,0 @@ -# Description: A version control system (CVS replacement) -# URL: http://subversion.apache.org -# Maintainer: UNMAINTAINED -# Depends on: serf - -name=subversion -version=1.9.10 -release=1 -source=(https://www.apache.org/dist/$name/$name-$version.tar.bz2 - apr-1.7.patch) - -build() { - cd $name-$version - - patch -p1 -i $SRC/apr-1.7.patch - - ./autogen.sh - ./configure --prefix=/usr \ - --with-apr=/usr \ - --with-apr-util=/usr \ - --without-swig \ - --without-apxs \ - --disable-mod-activation \ - --disable-nls - - make - make -j1 DESTDIR=$PKG install - - # info pages seem to get generated when makeinfo is available - rm -rf $PKG/usr/info -} diff --git a/subversion/README b/subversion/README deleted file mode 100644 index b74b469c6..000000000 --- a/subversion/README +++ /dev/null @@ -1,41 +0,0 @@ -NOTES - -This is a port for the subversion revision control; if you have apache -(version 2.0+) installed, you'll also get the apache modules to run a -subversion server via apache/WebDAV. -Else you'll still be able to create a server with the svnserve -application. If you want absolutely no server parts, add -"--without-berkeley-db" to the configure line - -If you're going to install apache later on, you'll need to recompile -this package (solutions to this are already planned). - -If you want Python Bindings, install SWIG and comment out the few lines -in the build() function - -PRE-INSTALL (SERVER) -Make sure you install expat before you install apache; also, note that you'll -get a footprint missmatch - - -POST-INSTALL (SERVER) - -add something like this to your apache configuration: - -#LoadModule dav_module lib/apache/mod_dav.so -#LoadModule dav_svn_module lib/apache/mod_dav_svn.so -#<Location /svn/repos> -# DAV svn -# SVNPath /home/svnroot -# -# # Limit write permission to list of valid users. -# <LimitExcept GET PROPFIND OPTIONS REPORT> -# # Require SSL connection for password protection. -# # SSLRequireSSL -# -# AuthType Basic -# AuthName "Authorization Realm" -# AuthUserFile /absolute/path/to/passwdfile -# Require valid-user -# </LimitExcept> -#</Location> diff --git a/subversion/apr-1.7.patch b/subversion/apr-1.7.patch deleted file mode 100644 index 7f1bdd49c..000000000 --- a/subversion/apr-1.7.patch +++ /dev/null @@ -1,101 +0,0 @@ -From d67979e61f8659af05fd4d0384a2db33645df83d Mon Sep 17 00:00:00 2001 -From: Stefan Sperling <stsp@apache.org> -Date: Fri, 12 Apr 2019 09:27:33 +0000 -Subject: [PATCH] Get rid of apr_int64_t format string check in swig py - configure. - -This check relied on APR implementation details and broke with APR 1.7.0. -Rather than trying to guess a perfect format string to use, just use the -largest possible format and cast the argument accordingly. - -Should fix build against APR 1.7.0 and later. - -Suggested by: brane - -* build/ac-macros/swig.m4: Remove code related to SVN_APR_INT64_T_PYCFMT. - -* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c - (svn_swig_py_client_blame_receiver_func): Stop relying on the - SVN_APR_INT64_T_PYCFMT constant from configure. Use "L" and - acast to PY_LONG_LONG instead. - - -git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1857391 13f79535-47bb-0310-9956-ffa450edef68 ---- - build/ac-macros/swig.m4 | 35 ------------------- - .../swig/python/libsvn_swig_py/swigutil_py.c | 9 +++-- - 2 files changed, 4 insertions(+), 40 deletions(-) - -diff --git a/build/ac-macros/swig.m4 b/build/ac-macros/swig.m4 -index 55501fb882f..29638727363 100644 ---- a/build/ac-macros/swig.m4 -+++ b/build/ac-macros/swig.m4 -@@ -128,41 +128,6 @@ AC_DEFUN(SVN_FIND_SWIG, - ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`" - ]) - SWIG_PY_LIBS="`SVN_REMOVE_STANDARD_LIB_DIRS($ac_cv_python_libs)`" -- -- dnl Sun Forte adds an extra space before substituting APR_INT64_T_FMT -- dnl gcc-2.95 adds an extra space after substituting APR_INT64_T_FMT -- dnl thus the egrep patterns have a + in them. -- SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS" -- CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES" -- AC_CACHE_CHECK([for apr_int64_t Python/C API format string], -- [svn_cv_pycfmt_apr_int64_t], [ -- if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then -- AC_EGREP_CPP([MaTcHtHiS +\"lld\" +EnDeNd], -- [#include <apr.h> -- MaTcHtHiS APR_INT64_T_FMT EnDeNd], -- [svn_cv_pycfmt_apr_int64_t="L"]) -- fi -- if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then -- AC_EGREP_CPP([MaTcHtHiS +\"ld\" +EnDeNd],r -- [#include <apr.h> -- MaTcHtHiS APR_INT64_T_FMT EnDeNd], -- [svn_cv_pycfmt_apr_int64_t="l"]) -- fi -- if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then -- AC_EGREP_CPP([MaTcHtHiS +\"d\" +EnDeNd], -- [#include <apr.h> -- MaTcHtHiS APR_INT64_T_FMT EnDeNd], -- [svn_cv_pycfmt_apr_int64_t="i"]) -- fi -- ]) -- CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS" -- if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then -- AC_MSG_ERROR([failed to recognize APR_INT64_T_FMT on this platform]) -- fi -- AC_DEFINE_UNQUOTED([SVN_APR_INT64_T_PYCFMT], -- ["$svn_cv_pycfmt_apr_int64_t"], -- [Define to the Python/C API format character suitable] -- [ for apr_int64_t]) - fi - - if test "$PERL" != "none"; then -diff --git a/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c b/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c -index 2c90a6a464d..abe5a2ab64c 100644 ---- a/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c -+++ b/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c -@@ -46,7 +46,7 @@ - #include "svn_mergeinfo.h" - #include "svn_types.h" - --#include "svn_private_config.h" /* for SVN_APR_INT64_T_PYCFMT */ -+#include "svn_private_config.h" - - #include "swig_python_external_runtime.swg" - #include "swigutil_py.h" -@@ -3394,10 +3394,9 @@ svn_error_t *svn_swig_py_client_blame_receiver_func(void *baton, - svn_swig_py_acquire_py_lock(); - - if ((result = PyObject_CallFunction(receiver, -- (char *) -- (SVN_APR_INT64_T_PYCFMT "lsssO&"), -- line_no, revision, author, date, line, -- make_ob_pool, pool)) == NULL) -+ (char *)"LlsssO&", -+ (PY_LONG_LONG)line_no, revision, author, -+ date, line, make_ob_pool, pool)) == NULL) - { - err = callback_exception_error(); - }
participants (1)
-
crux@crux.nu