Commit graph

50 commits

Author SHA1 Message Date
Mathieu Arnold
3f7f362352 Making REWARNFILE overridable was an artefact from testing.
Fix that.
2020-01-20 19:27:49 +00:00
Matthias Andree
2214b6a32c databases/db6, db5: fix JAVA-enabled build, suppress sed failed warnings
Add JAVA_VERSION="7 8" to db6
Add REWARNFILE=/dev/null to db6 and db5

Reported by: Tommy P <tommyhp2@gmail.com>
PR:          243278
MFH:         2020Q1 (blanket, fix broken build)
2020-01-12 12:47:53 +00:00
Matthias Andree
31f7e26faa databases/db5, databases/db6: Hook up DEBUG options helpers
PR:		241361
Submitted by:	tobik@
MFH:		2019Q4 (blanket, adds an option that defaults to off)
2019-10-21 18:21:13 +00:00
Greg Lewis
18fac8dea5 Remove reference to Java 1.6
* After the deletion of the openjdk6 port, there are no viable versions
  of Java 6 left in the ports tree, so remove it as a possible version

PR:		241019
Approved by:	mandree@
Sponsored by:	The FreeBSD Foundation
2019-10-03 06:13:17 +00:00
Matthias Andree
52e0b38a49 Switch db5/db6 to download from Oracle's https:// sites.
The http:// sites issue 301-type redirects to https:// so we can spare
everyone the roundtrip.

Inspired by...
PR:		239084
Submitted by:	Miyashita Touka
2019-07-09 21:44:31 +00:00
Pietro Cerutti
d8265693b9 databases/db5: remove meaningless 85+ from USES tcl 2019-06-12 15:38:24 +00:00
Rene Ladan
8a502cb2d4 Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
2018-11-02 13:32:34 +00:00
Matthias Andree
105a8b5ab2 databases/db5, db6: enable DBM compatibility
Enable DBM API. [1]
Reorder license information of db5/Makefile to fix portlint warning. [1]
Bump PORTREVISON. [1]
Add command creating symbolic link such as ${PREFIX}/lib/libdb-6.so to
post-install target of db6/Makefile. [1]

Instead of USE_GCC, patch src/dbinc/db.in to not expose the store() macro under C++.
Mark db6 broken on MIPS64 for now, we do not have a workable MUTEX implementation.
Unbreak build on AARCH64, where the db6 autoconfiguration chooses the wrong MUTEX.

PR:		230191
Submitted by:	Yasuhiro Kimura
2018-08-02 16:05:16 +00:00
Dmitry Marakasov
9cef4fc5e3 - Fix license handling
- Update WWW

Approved by:	portmgr blanket
2018-05-11 09:04:02 +00:00
Mark Linimon
8627066730 The src tree is splitting 32-bit arm support into 'armv6' and the new
'armv7'.  This patch adds armv7 support.  It should provide no regression
on any existing architecture.

PR:		221921
Approved by:	maintainer
2017-09-01 14:49:09 +00:00
Matthias Andree
7a68cdcef2 Avoid junk pointer when __db_vrfy_datapage() fails
Rather than second-guessing what the __os_free() might be doing and
avoiding it, initialize the pointer to NULL, which __os_free() will
skip.  This should be the safer approach if Oracle ever patches other
parts of db 5.3.

PR:		210829
Submitted by:	Mark Millard
2016-11-09 22:31:48 +00:00
Matthias Andree
c643da1f1b Force pthreads mutexes on 11+ and aarch64/ARMV6
This currently leaves ARMv6 and aarch64 on FreeBSD 9.x and 10.x out in
the rain because these will still autoconfigure to only permit private
mutexes.

PR:		213167
Submitted by:	jbeich (IRC)
2016-11-04 00:09:51 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +00:00
Matthias Andree
dfdf363596 Add LICENSE_GROUPS.
Note that the license specifically is NOT copyfree:
http://copyfree.org/standard/rejected, see under
'Open Source License for Oracle Berkeley DB'
2016-10-07 20:52:13 +00:00
Matthias Andree
5ad58648a4 Correct license information to Sleepycat.
It's not BSD3CLAUSE but Sleepycat (unknown to the framework).
2016-10-07 20:40:08 +00:00
Matthias Andree
4a54da758d Clean up, modernize, add LICENSE.
The clean up drops an obsolete comment (overcome by a patch),
drops the --disable-tcl that is overridden anyhow, and replaces a few
.if empty(PORT_OPTIONS:Mfoo) by post-install-FOO-{on|off}: targets.

This is to get the port closer to db6.
2016-10-07 18:47:35 +00:00
Matthias Andree
a59f1e5a96 Fix strncat() misuse, and enable TCL option.
PR:		209730
Submitted by:	gahr@
2016-05-24 21:26:12 +00:00
Matthias Andree
e44111f491 Modernize Makefile and chase new requisites.
* Modernize Makefile [1].

* The Tcl changes suggested in the PR [1] are applied but commented out
  because the code causes scary "warning: the value of the size argument
  in 'strncat' is too large, might lead to a buffer overflow
  [-Wstrncat-size]" in lang/tcl/tcl_*.c on FreeBSD 10.3 amd64.

* Other than what is suggested in the PR,
  refuse to add the TCL option, and leave --disable-tcl in.

* JAVA option: restrict to Java versions 1.6 and 1.7 because the port
  fails to compile with JAVA option enabled and openjdk8
  (IllegalArgument exception).

portlint cleanups:
* Set PATCH_WRKSRC, and refresh patches with "make makepatch".
* Use Space (not HTab) after WWW: tag in pkg-descr
* Drop "The" from COMMENT.

PR:		208740 [1]
Submitted by:	gahr@ [1]
2016-05-23 22:07:24 +00:00
Dmitry Marakasov
54a08f6954 Convert tab after WWW: in pkg-descrs to single space as per PHB
Approved by:	portmgr blanket
2016-05-23 18:36:52 +00:00
Matthias Andree
3f7fbef89e Grab after bapt's initial clarification on 413096. 2016-04-12 07:49:27 +00:00
Matthias Andree
4b7fc05407 Drop maintainership.
If portmgr@ needs to commit against better advise, two years after this was
first discussed without any motion of the upstream.

Drop a few more maintainerships along the way.
2016-04-12 05:54:17 +00:00
Matthias Andree
4d3fb10844 Fix crash by using POSIX mutexes on all armv6* ARCHes not just armv6.
This is to fix illegal-instruction crashes on armv6hf.

PR:		205001
Submitted by:	dave@dogwood.com
Reviewed by:	mikael.urankar@gmail.com
MFH:		2015Q4
2015-12-19 11:03:36 +00:00
Andrew Turner
e1ea298baf As with armv6 we need to use POSIX mutexes. Without this the ports try to
use fcntl mutexes and fails as they are deprecated.

Approved by:	mandree (maintainer)
Differential Revision:	https://reviews.freebsd.org/D4107
2015-11-09 09:29:07 +00:00
Sean Bruno
7af063b404 enable posix-mutexes by default for armv6 targets as db will crash and burn
when using the internal mutex implementation via unsupported instructions.

PR:		197227
Submitted by:	andrew@
Approved by:	mandree@
2015-05-07 17:35:33 +00:00
Baptiste Daroussin
3edc030b9f Cleanup plist 2014-10-20 10:41:12 +00:00
Tijl Coosemans
da0774c501 Add USES=libtool 2014-08-31 10:32:16 +00:00
Adam Weinberger
550b770c1e Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 15:06:46 +00:00
Matthias Andree
eeaaf77bc5 Fix mutex code on powerpc64.
PR:		191453
Submitted by:	jhibbits@
2014-07-02 20:59:24 +00:00
Matthias Andree
2d77c0a9c2 Update to 5.3.28, fixing nearly two dozen bugs.
While at it, re-enable the db185 compatibility interface that some ports use.
2013-12-16 23:47:08 +00:00
Matthias Andree
44248d8679 Convert to staging.
Strip debug symbols for installed .so files unless WITH_DEBUG is set.
2013-12-14 09:57:02 +00:00
Baptiste Daroussin
36117d7097 Add NO_STAGE all over the place in preparation for the staging support (cat: databases) 2013-09-20 16:13:47 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Matthias Andree
dbf33b220e Fix C++11 compatibility by renaming atomic_init().
Modified version of dim's patch, where most of the stuff
moves into a REINPLACE_CMD called from post-patch.

Submitted by:	dim
2013-07-24 21:35:51 +00:00
Matthias Andree
1bec7c257d Convert one more NOPORTDOCS occasion to port optionsNG framework.
PR:		ports/175878
Submitted by:	Takefu
2013-02-06 20:21:22 +00:00
Baptiste Daroussin
7c354b1913 Decommissioning java 1.5 (EOLed since October 2009):
suppress any reference to JAVA_VERSION=	1.5+ (part2)
2012-12-10 13:18:28 +00:00
Matthias Andree
9ea9a2a07f - Update to new upstream release 5.3.21. Please see UPDATING!
http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_3.htm
- Convert to OptionsNG.

Sunpoet, relative to the PR, there were more Makefile and pkg-plist changes,
as well as an update of Mk/bsd.database.mk and UPDATING.

Port and pkg-plist updates based on
PR:           ports/165574
Submitted by: sunpoet@
2012-06-18 23:23:18 +00:00
Matthias Andree
42201a3a02 Fix compilation with clang, patch taken from
http://lists.freebsd.org/pipermail/freebsd-current/2012-May/033615.html

Reported by: Mel Flynn
Patch by:    Dimitry Andric
2012-06-14 23:34:42 +00:00
Matthias Andree
96b450c8d2 Update to upstream bug-fix patchlevel release [11.2.]5.2.42.
ChangeLog:    <http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_2.html#idp580848>
Feature safe: yes
2012-03-13 21:52:41 +00:00
Matthias Andree
aa76438d42 Fix broken symbolic links in libdb*-5.so.0 files.
Reported and patch
Submitted by: Herbert J. Skuhra
2012-02-16 07:21:10 +00:00
Beat Gaetzi
ce5e2fc7df - Remove manual fix for FreeBSD 10.x as the FreeBSD 10.x workaround in
bsd.port.mk also handles configure script outside of WRKSRC.

Exp-runs by:	miwi
2012-01-22 15:42:43 +00:00
Beat Gaetzi
e8404fa6f4 - Fix build on FreeBSD 10. Apply manual fix as the configure script is
outside of WRKSRC and the WITH_FBSD10_FIX knob doesn't work in this
  case.

Approved by:	portmgr (miwi)
2011-10-29 11:45:20 +00:00
Matthias Andree
090ddb49f5 Update to new upstream bugfix release. ChangeLog:
http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_2.html
2011-09-23 18:48:34 +00:00
Matthias Andree
57f5b06828 - Update databases/db5 to new upstream release 5.2.28.0. ChangeLog:
http://download.oracle.com/docs/cd/E17076_02/html/installation/changelog_5_2.html

- Remove databases/db51 (no hard dependencies), users having set db51
  manually for their ports need to set db5 and rebuild dependent ports.

- Add OPTIONS for localization (default off) and crypto (default on).

- Install libdb*-5.so symlinks into $PREFIX/lib

- If WITH_DEBUG is set, pass --enable-umrw to pacify valgrind, and
  --enable-debug.
2011-08-25 23:17:17 +00:00
Matthias Andree
07afda9df9 Move CPPFLAGS out of CONFIGURE_ENV.
Fix up pkg-plist for WITH_JAVA and WITH_SQL builds.
Remove trailing whitespace.
Bump PORTREVISION.
2011-03-21 18:02:28 +00:00
Matthias Andree
b7d7cafdda Update to new BDB 5.1.25 patch release.
ChangeLog: http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_1.html
Feature safe: yes
2011-02-07 10:48:58 +00:00
Matthias Andree
a6f5f591fe Update WWW: links for db* ports in pkg-descr. 2010-11-12 09:19:21 +00:00
Matthias Andree
4e8777dbb8 Update MASTER_SITES.
Submitted by: "Herbert J. Skuhra" <h.skuhra@gmail.com>
PR:           ports/152158
Approved by:  gslin@gslin.org (for db4[5-8]) (implicit, see Makefile)
2010-11-12 09:03:26 +00:00
Matthias Andree
9078d26a63 New version 5.1 of Oracle Berkeley DB 5.0, descended and repocopied from db50. 2010-09-21 09:29:37 +00:00
Matthias Andree
0b562433c1 Update to new upstream release 5.0.26.
Reported by: Kurt J. Lidl
2010-07-19 21:39:07 +00:00
Matthias Andree
2771c1d785 Add new port databases/db50, to package Oracle Berkeley DB 5.0.21.
Approved by:	garga (mentor)
2010-04-26 07:40:15 +00:00