summaryrefslogtreecommitdiffstats
path: root/usr.bin/svn
Commit message (Collapse)AuthorAgeFilesLines
* META MODE: Update dependencies with 'the-lot' and add missing directories.bdrewery2015-12-0113-28/+41
| | | | | | | | | | | | | | This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable. Currently rescue/rescue and sys/modules are still not connected. Sponsored by: EMC / Isilon Storage Division
* Replace DPSRCS that work fine in SRCS.bdrewery2015-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is so that 'make depend' is not a required build step in these files. DPSRCS is overall unneeded. DPSRCS already contains SRCS, so anything which can safely be in SRCS should be. DPSRCS is mostly just a way to generate files that should not be linked into the final PROG/LIB. For headers and grammars it is safe for them to be in SRCS since they will be excluded during linking and installation. The only remaining uses of DPSRCS are for generating .c or .o files that must be built before 'make depend' can run 'mkdep' on the SRCS c files list. A semi-proper example is in tests/sys/kern/acct/Makefile where a checked-in .c file has an #include on a generated .c file. The generated .c file should not be linked into the final PROG though since it is #include'd. The more proper way here is just to build/link it in though without DPSRCS. Another example is in sys/modules/linux/Makefile where a shell script runs to parse a DPSRCS .o file that should not be linked into the module. Beyond those, the need for DPSRCS is largely unneeded, redundant, and forces 'make depend' to be ran. Generally, these Makefiles should avoid the need for DPSRCS and define proper dependencies for their files as well. An example of an improper usage and why this matters is in usr.bin/netstat. nl_defs.h was only in DPSRCS and so was not generated during 'make all', but only during 'make depend'. The files including it lacked proper depenencies on it, which forced running 'make depend' to workaround that bug. The 'make depend' target should mostly be used for incremental build help, not to produce a working build. This specific example was broken in the meta build until r287905 since it does not run 'make depend'. The gnu/lib/libreadline/readline case is fine since bsd.lib.mk has 'OBJS: SRCS:M*.h' when there is no .depend file. Sponsored by: EMC / Isilon Storage Division MFC after: 1 week
* Add SUBDIR_PARALLEL.bdrewery2015-11-061-0/+1
| | | | | | | None of these libraries depend on each other. Submitted by: Jia-Shiun Li <jiashiun@gmail.com> MFC after: 2 weeks
* Update from svn-1.8.14 to 1.9.2.peter2015-10-1225-47/+293
| | | | | | | | | | | | | | | | Formal release notes are available: https://subversion.apache.org/docs/release-notes/1.9.html Of particular note, the client checkout format has *not* changed so upgrades should *not* be required. When reading a repository (file:// or running as a local server), an improved fsfs version 7 is available with significant performance improvements. An optional upgrade is possible to use the new features. Without the upgrade, this is fully read/write compatible with the version 6 fsfs as in svn-1.8. Relnotes: yes
* Add more SUBDIR_PARALLEL.bdrewery2015-09-261-1/+4
| | | | | MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.bdrewery2015-09-2525-50/+0
| | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division
* Add a #ifndef around the HAVE_ICONV settings since it is suppliedpeter2015-08-101-0/+2
| | | | by the Makefile.
* Don't assume iconv is enabled. I didn't realize there was a configurationpeter2015-08-102-2/+2
| | | | | | control to turn it off and it wasn't being respected. Pointed out by: gshapiro
* Fix typo introduced in r275079peter2015-08-091-1/+1
|
* Update svnlite from 1.8.10 to 1.8.14. This is mostly for client-side bugpeter2015-08-091-5/+8
| | | | | | fixes and quality of life improvements. While there are security issues in this time frame that affect usage as a server (eg: linked into apache), this isn't possible here.
* Update apr-util config - I don't believe this part is used by svn, butpeter2015-08-092-9/+5
| | | | if it were, use shm_* instead of sysvshm.
* Update apr-1.5.1 to 1.5.2peter2015-08-092-4/+4
|
* Add META_MODE support.sjg2015-06-1325-0/+581
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * Merge sync of headsjg2015-05-2713-95/+29
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-1910-20/+3
| |\
| * \ Merge head from 7/28sjg2014-08-1913-9/+48
| |\ \
| * \ \ Merge from headsjg2014-05-082-2/+2
| |\ \ \
| * \ \ \ Merge headsjg2014-04-2814-20/+23
| |\ \ \ \
| * \ \ \ \ Merge head@256284sjg2013-10-133-1/+9
| |\ \ \ \ \
| * | | | | | New dependenciessjg2013-10-1326-0/+570
| | | | | | |
* | | | | | | Reduce number of lines to set ORGANIZATION_NAME ingjb2015-02-121-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | freebsd-organization.h. Patched by: ian PR: 197540 MFC after: 3 days X-MFC-with: r278603 Sponsored by: The FreeBSD Foundation
* | | | | | | Ensure ORGANIZATION_NAME is quoted when ORGANIZATIONgjb2015-02-111-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | could contain strings of two or more words. Reviewed by: peter Reported by: karl@denninger.net PR: 197540 MFC after: 3 days Sponsored by: The FreeBSD Foundation
* | | | | | | Convert svn to LIBADD reduce overlinkingbapt2014-11-259-61/+27
| | | | | | |
* | | | | | | Promote SQLite3 as a privatelib as it will also be used by mandocbapt2014-11-2212-47/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | While here ensure sqlite3 is using pread(2) and enable the suppot for FTS4
* | | | | | | Add missing dependencies on pthread (sqlite being built with threadsafety on)bapt2014-11-224-8/+8
| |_|_|_|_|/ |/| | | | |
* | | | | | Add svnlite.1 to CLEANFILES.gjb2014-08-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days X-MFC-To: stable/10 only Sponsored by: The FreeBSD Foundation
* | | | | | Revert r267233 for now. PIE support needs to be reworked.bdrewery2014-08-199-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generating _pic.a variants of various libraries. 3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR) where it never would work anyhow, such as csu or loader. This suggests there may be better ways of adding support to the tree. Many of these cases can be fixed such that -fPIE will work but there is really no reason to have it in those cases. 4. Some of the uses are working around hacks done to some Makefiles that are really building libraries but have been using bsd.prog.mk because the code is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have been needed. We likely do want to enable PIE by default (opt-out) for non-tree consumers (such as ports). For in-tree though we probably want to only enable PIE (opt-in) for common attack targets such as remote service daemons and setuid utilities. This is also a great performance compromise since ASLR is expected to reduce performance. As such it does not make sense to enable it in all utilities such as ls(1) that have little benefit to having it enabled. Reported by: kib
* | | | | | Update serf-1.3.6 -> 1.3.7peter2014-08-111-2/+2
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | Update subversion-1.8.9 -> 1.8.10 Security: CVE-2014-3504, CVE-2014-3522, CVE-2014-3528
* | | | | Add documentation for svnlite.eadler2014-07-021-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 191544 Reported by: eric Reviewed by: imp MFC After: 1 week
* | | | | In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.bdrewery2014-06-089-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2]
* | | | | Update backend files and makefiles for apr 1.4.8 -> 1.5.1peter2014-05-273-5/+24
| | | | |
* | | | | Merge svn-1.8.8 -> 1.8.9peter2014-05-271-2/+2
| |_|_|/ |/| | |
* | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-062-2/+2
| |_|/ |/| | | | | | | | from the latter.
* | | Eliminate last vestigies of NO_MAN= in the tree. Also, removeimp2014-04-253-6/+0
| | | | | | | | | | | | ineffectual NOMAN= lines. These don't change the build at all.
* | | NO_MAN= has been deprecated in favor of MAN= for some time, go aheadimp2014-04-139-9/+9
| | | | | | | | | | | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
* | | Match our implementation of iconv's inbuf argument.peter2014-02-201-1/+1
| | |
* | | Import svn-1.8.8.peter2014-02-201-4/+4
| | | | | | | | | | | | | | | | | | | | | Highlights: * Security fix for apache server plugin that we don't build or use * sqlite performance improvements. * bug fixes for edge cases and some other less common operations.
* | | Import svn-1.8.5. This contains a user-visible fix for svn:externalspeter2013-11-251-2/+2
| | | | | | | | | | | | | | | handling (there are no svn:externals in freebsd repo), and two security fixes for modules that we don't build for the apache http server stack.
* | | Somewhat mimic how the devel/subversion port prepopulatesgjb2013-11-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'Sponsored by:' in the FreeBSD commit template. Support for this has already existed ^/head/contrib/subversion but it was not enabled in usr.bin/svn/svn/Makefile. To use the pre-populated 'Sponsored by:' entry, set ORGANIZATION in make.conf(5), for example: ORGANIZATION= "The FreeBSD Foundation" Reviewed by: peter Sponsored by: The FreeBSD Foundation
* | | Update svn from 1.8.1 to 1.8.4 - minor security fixes and client sidepeter2013-11-111-4/+4
| |/ |/| | | | | merge handling bug fixes (reintegrate, mergeinfo etc)
* | Disable use of compiler atomic builtins. For APR, this is limited tonwhitehorn2013-10-042-1/+3
| | | | | | | | | | | | | | | | architectures where they are known not to work. For SVN itself, use the least common denominator and disable them across the board. This allows svnlite to build and run on all FreeBSD architectures. Approved by: re (gjb)
* | Make svnlite (actually libapr) work correctly on big-endian arches.dim2013-09-191-0/+6
|/ | | | | | | | | | | | | | Otherwise, you would get errors similar to: $ svn co svn://svn.freebsd.org/base/head test A test/lib A test/lib/libutil svn: E200014: Checksum mismatch for '/home/dim/test/lib/libutil/kinfo_getproc.3': expected: 0882097a545210d88edff8f63b328602 actual: b378eb08a0f4d4c97c513c4b17207f59 Approved by: re (gjb, marius)
* Update serf 1.2.1 -> 1.3.0 for svnpeter2013-08-021-1/+1
|
* Update subversion-1.8.0 -> 1.8.1. Update supportingpeter2013-07-283-6/+20
| | | | | | | components: apr-1.4.6 -> 1.4.8 and apr-util-1.4.1 -> 1.5.2. This is a post point-zero bug-fix / fix-sharp-edges release, including some workarounds for UTF-8 for people who haven't yet turned on WITH_ICONV.
* If you've compiled your base system with WITH_ICONV, then use it for svnpeter2013-07-012-0/+10
| | | | | | | alongside the other consumers (bsdtar, csh etc). The svnlite build gets upset when it hits non-ascii characters in inconvenient places.
* Update to current configuration.peter2013-07-013-13/+139
|
* Fix a couple of typos that broke buildworld for me.truckman2013-06-191-2/+2
| | | | Reviewed by: peter
* Tweak generated config to make it more likely to work on 32 bit systems.peter2013-06-181-2/+17
| | | | Pointed out by: Trond.Endrestol@fagskolen.gjovik.no
* Introduce svnlite so that we can check out our source code again.peter2013-06-1840-0/+3241
This is actually a fully functional build except: * All internal shared libraries are static linked to make sure there is no interference with ports (and to reduce build time). * It does not have the python/perl/etc plugin or API support. * By default, it installs as "svnlite" rather than "svn". * If WITH_SVN added in make.conf, you get "svn". * If WITHOUT_SVNLITE is in make.conf, this is completely disabled. To be absolutely clear, this is not intended for any use other than checking out freebsd source and committing, like we once did with cvs. It should be usable for small scale local repositories that don't need the python/perl plugin architecture.
OpenPOWER on IntegriCloud