1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
Commit Graph

40 Commits

Author SHA1 Message Date
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