From 1d99647092497faced8360b3a90764af0a729b14 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 27 May 2014 04:59:53 +0000 Subject: Merge svn-1.8.8 -> 1.8.9 --- usr.bin/svn/svn_private_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/svn') diff --git a/usr.bin/svn/svn_private_config.h b/usr.bin/svn/svn_private_config.h index 8d220d8..9e0ac15 100644 --- a/usr.bin/svn/svn_private_config.h +++ b/usr.bin/svn/svn_private_config.h @@ -105,7 +105,7 @@ #define PACKAGE_NAME "subversion" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "subversion 1.8.8" +#define PACKAGE_STRING "subversion 1.8.9" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "subversion" @@ -114,7 +114,7 @@ #define PACKAGE_URL "" /* Define to the version of this package. */ -#define PACKAGE_VERSION "1.8.8" +#define PACKAGE_VERSION "1.8.9" /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 -- cgit v1.1 From 7651afa9c8f19cccbbb0566292017f2318b5a3ea Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 27 May 2014 07:16:43 +0000 Subject: Update backend files and makefiles for apr 1.4.8 -> 1.5.1 --- usr.bin/svn/lib/libapr/Makefile | 4 ++-- usr.bin/svn/lib/libapr/apr.h | 18 +++++++++++++++++- usr.bin/svn/lib/libapr/apr_private.h | 7 +++++-- 3 files changed, 24 insertions(+), 5 deletions(-) (limited to 'usr.bin/svn') diff --git a/usr.bin/svn/lib/libapr/Makefile b/usr.bin/svn/lib/libapr/Makefile index 4504125..7dff95c 100644 --- a/usr.bin/svn/lib/libapr/Makefile +++ b/usr.bin/svn/lib/libapr/Makefile @@ -4,7 +4,7 @@ INTERNALLIB= yes LIB= apr -SRCS= apr_cpystrn.c apr_fnmatch.c apr_getpass.c apr_hash.c \ +SRCS= apr_cpystrn.c apr_fnmatch.c apr_getpass.c apr_hash.c apr_skiplist.c \ apr_pools.c apr_random.c apr_snprintf.c apr_strings.c \ apr_strnatcmp.c apr_strtok.c apr_tables.c buffer.c \ builtins.c charset.c common.c copy.c dir.c dso.c env.c \ @@ -18,7 +18,7 @@ SRCS= apr_cpystrn.c apr_fnmatch.c apr_getpass.c apr_hash.c \ shm.c signals.c sockaddr.c socket_util.c sockets.c \ sockopt.c solaris.c start.c tempdir.c thread.c thread_cond.c \ thread_mutex.c thread_rwlock.c threadpriv.c time.c \ - timestr.c userinfo.c version.c waitio.c + timestr.c userinfo.c version.c waitio.c z_asio.c .PATH: ${APR}/atomic/unix ${APR}/dso/unix ${APR}/file_io/unix \ ${APR}/locks/unix ${APR}/memory/unix ${APR}/misc/unix \ diff --git a/usr.bin/svn/lib/libapr/apr.h b/usr.bin/svn/lib/libapr/apr.h index 37e7f83..867a72e 100644 --- a/usr.bin/svn/lib/libapr/apr.h +++ b/usr.bin/svn/lib/libapr/apr.h @@ -118,7 +118,7 @@ * or the extern "C" namespace */ -#if APR_HAVE_WINDOWS_H +#if APR_HAVE_WINDOWS_H && defined(WIN32) /* If windows.h was already included, our preferences don't matter. * If not, include a restricted set of windows headers to our tastes. */ @@ -466,6 +466,8 @@ typedef apr_uint32_t apr_uintptr_t; */ #define APR_THREAD_FUNC +#if defined(DOXYGEN) || !defined(WIN32) + /** * The public APR functions are declared with APR_DECLARE(), so they may * use the most appropriate calling convention. Public APR functions with @@ -518,6 +520,20 @@ typedef apr_uint32_t apr_uintptr_t; */ #define APR_DECLARE_DATA +#elif defined(APR_DECLARE_STATIC) +#define APR_DECLARE(type) type __stdcall +#define APR_DECLARE_NONSTD(type) type __cdecl +#define APR_DECLARE_DATA +#elif defined(APR_DECLARE_EXPORT) +#define APR_DECLARE(type) __declspec(dllexport) type __stdcall +#define APR_DECLARE_NONSTD(type) __declspec(dllexport) type __cdecl +#define APR_DECLARE_DATA __declspec(dllexport) +#else +#define APR_DECLARE(type) __declspec(dllimport) type __stdcall +#define APR_DECLARE_NONSTD(type) __declspec(dllimport) type __cdecl +#define APR_DECLARE_DATA __declspec(dllimport) +#endif + /* Define APR_SSIZE_T_FMT. * If ssize_t is an integer we define it to be "d", * if ssize_t is a long int we define it to be "ld", diff --git a/usr.bin/svn/lib/libapr/apr_private.h b/usr.bin/svn/lib/libapr/apr_private.h index 492a4f1..c5125a7 100644 --- a/usr.bin/svn/lib/libapr/apr_private.h +++ b/usr.bin/svn/lib/libapr/apr_private.h @@ -86,6 +86,9 @@ /* Define if accept4 function is supported */ #define HAVE_ACCEPT4 1 +/* Define if async i/o supports message q's */ +/* #undef HAVE_AIO_MSGQ */ + /* Define to 1 if you have `alloca', as a function or macro. */ #define HAVE_ALLOCA 1 @@ -142,7 +145,7 @@ /* #undef HAVE_DL_H */ /* Define if dup3 function is supported */ -/* #undef HAVE_DUP3 */ +#define HAVE_DUP3 1 /* Define if EGD is supported */ /* #undef HAVE_EGD */ @@ -934,7 +937,7 @@ /* switch this on if we have a BeOS version below BONE */ -#if BEOS && !HAVE_BONE_VERSION +#if defined(BEOS) && !defined(HAVE_BONE_VERSION) #define BEOS_R5 1 #else #define BEOS_BONE 1 -- cgit v1.1 From 989e2c600051059839eb88abfc343a905caf37eb Mon Sep 17 00:00:00 2001 From: bdrewery Date: Sun, 8 Jun 2014 17:29:31 +0000 Subject: In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE. This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb Discussed between: des@ and Shawn Webb [2] --- usr.bin/svn/svn/Makefile | 2 ++ usr.bin/svn/svnadmin/Makefile | 2 ++ usr.bin/svn/svndumpfilter/Makefile | 2 ++ usr.bin/svn/svnlook/Makefile | 2 ++ usr.bin/svn/svnmucc/Makefile | 2 ++ usr.bin/svn/svnrdump/Makefile | 2 ++ usr.bin/svn/svnserve/Makefile | 2 ++ usr.bin/svn/svnsync/Makefile | 2 ++ usr.bin/svn/svnversion/Makefile | 2 ++ 9 files changed, 18 insertions(+) (limited to 'usr.bin/svn') diff --git a/usr.bin/svn/svn/Makefile b/usr.bin/svn/svn/Makefile index dfa2e38..bb823c7 100644 --- a/usr.bin/svn/svn/Makefile +++ b/usr.bin/svn/svn/Makefile @@ -8,6 +8,8 @@ MAN= PROG= svn${SVNLITE} +NO_PIE= yes + SRCS= add-cmd.c blame-cmd.c cat-cmd.c changelist-cmd.c checkout-cmd.c \ cl-conflicts.c cleanup-cmd.c commit-cmd.c conflict-callbacks.c \ copy-cmd.c delete-cmd.c deprecated.c diff-cmd.c export-cmd.c \ diff --git a/usr.bin/svn/svnadmin/Makefile b/usr.bin/svn/svnadmin/Makefile index 3220cde..c173d3b 100644 --- a/usr.bin/svn/svnadmin/Makefile +++ b/usr.bin/svn/svnadmin/Makefile @@ -34,4 +34,6 @@ DPADD= ${LIBSVN_REPOS} ${LIBSVN_FS} ${LIBSVN_FS_FS} ${LIBSVN_FS_UTIL} \ ${LIBSVN_DELTA} ${LIBSVN_SUBR} ${LIBAPR_UTIL} \ ${LIBBSDXML} ${LIBAPR} ${LIBSQLITE} ${LIBZ} ${LIBCRYPT} +NO_PIE= yes + .include diff --git a/usr.bin/svn/svndumpfilter/Makefile b/usr.bin/svn/svndumpfilter/Makefile index 864f376..6746735 100644 --- a/usr.bin/svn/svndumpfilter/Makefile +++ b/usr.bin/svn/svndumpfilter/Makefile @@ -34,4 +34,6 @@ DPADD= ${LIBSVN_REPOS} ${LIBSVN_FS} ${LIBSVN_FS_FS} ${LIBSVN_FS_UTIL} \ ${LIBSVN_DELTA} ${LIBSVN_SUBR} ${LIBAPR_UTIL} \ ${LIBBSDXML} ${LIBAPR} ${LIBSQLITE} ${LIBZ} ${LIBCRYPT} +NO_PIE= yes + .include diff --git a/usr.bin/svn/svnlook/Makefile b/usr.bin/svn/svnlook/Makefile index 3d8b1a0..209b2f1 100644 --- a/usr.bin/svn/svnlook/Makefile +++ b/usr.bin/svn/svnlook/Makefile @@ -35,4 +35,6 @@ DPADD= ${LIBSVN_REPOS} ${LIBSVN_FS} ${LIBSVN_FS_FS} ${LIBSVN_FS_UTIL} \ ${LIBSVN_DELTA} ${LIBSVN_DIFF} ${LIBSVN_SUBR} ${LIBAPR_UTIL} \ ${LIBBSDXML} ${LIBAPR} ${LIBSQLITE} ${LIBZ} ${LIBCRYPT} +NO_PIE= yes + .include diff --git a/usr.bin/svn/svnmucc/Makefile b/usr.bin/svn/svnmucc/Makefile index 23a98e3..34e706e 100644 --- a/usr.bin/svn/svnmucc/Makefile +++ b/usr.bin/svn/svnmucc/Makefile @@ -42,4 +42,6 @@ DPADD= ${LIBSVN_CLIENT} ${LIBSVN_RA} ${LIBSVN_RA_LOCAL} ${LIBSVN_RA_SVN} \ ${LIBAPR_UTIL} ${LIBBSDXML} ${LIBAPR} ${LIBSQLITE} ${LIBZ} \ ${LIBCRYPT} ${LIBMAGIC} ${LIBCRYPTO} ${LIBSSL} ${LIBPTHREAD} +NO_PIE= yes + .include diff --git a/usr.bin/svn/svnrdump/Makefile b/usr.bin/svn/svnrdump/Makefile index afeae00..8a6a8fd 100644 --- a/usr.bin/svn/svnrdump/Makefile +++ b/usr.bin/svn/svnrdump/Makefile @@ -45,4 +45,6 @@ DPADD= ${LIBSVN_CLIENT} ${LIBSVN_WC} ${LIBSVN_RA} ${LIBSVN_RA_LOCAL} \ ${LIBBSDXML} ${LIBAPR} ${LIBSQLITE} ${LIBZ} ${LIBCRYPT} ${LIBMAGIC} \ ${LIBCRYPTO} ${LIBSSL} ${LIBPTHREAD} +NO_PIE= yes + .include diff --git a/usr.bin/svn/svnserve/Makefile b/usr.bin/svn/svnserve/Makefile index f1fa314..d21883c 100644 --- a/usr.bin/svn/svnserve/Makefile +++ b/usr.bin/svn/svnserve/Makefile @@ -41,4 +41,6 @@ DPADD= ${LIBSVN_RA} ${LIBSVN_RA_LOCAL} ${LIBSVN_RA_SVN} ${LIBSVN_RA_SERF} \ ${LIBBSDXML} ${LIBAPR} ${LIBSQLITE} ${LIBZ} ${LIBCRYPT} ${LIBMAGIC} \ ${LIBCRYPTO} ${LIBSSL} ${LIBPTHREAD} +NO_PIE= yes + .include diff --git a/usr.bin/svn/svnsync/Makefile b/usr.bin/svn/svnsync/Makefile index a8cd380..db479c4 100644 --- a/usr.bin/svn/svnsync/Makefile +++ b/usr.bin/svn/svnsync/Makefile @@ -41,4 +41,6 @@ DPADD= ${LIBSVN_RA} ${LIBSVN_RA_LOCAL} ${LIBSVN_RA_SVN} ${LIBSVN_RA_SERF} \ ${LIBBSDXML} ${LIBAPR} ${LIBSQLITE} ${LIBZ} ${LIBCRYPT} ${LIBMAGIC} \ ${LIBCRYPTO} ${LIBSSL} ${LIBPTHREAD} +NO_PIE= yes + .include diff --git a/usr.bin/svn/svnversion/Makefile b/usr.bin/svn/svnversion/Makefile index ca28ec3..54ce13c 100644 --- a/usr.bin/svn/svnversion/Makefile +++ b/usr.bin/svn/svnversion/Makefile @@ -32,4 +32,6 @@ DPADD= ${LIBSVN_WC} ${LIBSVN_DELTA} ${LIBSVN_DIFF} ${LIBSVN_SUBR} \ ${LIBSERF} ${LIBAPR_UTIL} ${LIBBSDXML} ${LIBAPR} ${LIBSQLITE} \ ${LIBZ} ${LIBCRYPT} +NO_PIE= yes + .include -- cgit v1.1 From 2adf2a899a3bb16e62bcbb524a7145b569283191 Mon Sep 17 00:00:00 2001 From: eadler Date: Wed, 2 Jul 2014 05:09:41 +0000 Subject: Add documentation for svnlite. PR: 191544 Reported by: eric Reviewed by: imp MFC After: 1 week --- usr.bin/svn/svn/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'usr.bin/svn') diff --git a/usr.bin/svn/svn/Makefile b/usr.bin/svn/svn/Makefile index bb823c7..d6944f1 100644 --- a/usr.bin/svn/svn/Makefile +++ b/usr.bin/svn/svn/Makefile @@ -1,7 +1,5 @@ # $FreeBSD$ -MAN= - .include "${.CURDIR}/../Makefile.inc" .PATH: ${SVNDIR}/svn @@ -64,4 +62,8 @@ freebsd-organization.h: > freebsd-organization.h .endif +svnlite.1: svn.1 + # Avoid the website + sed -E 's,(^| |B|`)svn,\1svnlite,g' ${SVNDIR}/svn/svn.1 > ${.OBJDIR}/svnlite.1 + .include -- cgit v1.1