Commit graph

309 commits

Author SHA1 Message Date
Mathieu Arnold
703ff6d361 Mark some ports as not openssl-devel ready.
Sponsored by:	Absolight
2016-11-29 18:46:21 +00:00
Alexey Dokuchaev
50c7b417e3 Do not terminate BROKEN messages with period, it is added by the framework. 2016-11-14 11:26:59 +00:00
Mathieu Arnold
f037e39601 USE_BDB cleanup.
- USE_BDB=4x+ -> USES=bdb.
- USE_BDB=yes -> USES=bdb.
- USE_BDB=xx  -> USES=bdb:xx.

Other modernisations when I see them.

PR:		209183
Sponsored by:	Absolight
2016-08-08 13:46:50 +00:00
Mathieu Arnold
5b55a8a53e Fix usage of WITH_OPENSSL_BASE, WITH_OPENSSL_PORT and OPENSSL_PORT.
WITH_OPENSSL_* can't be set after bsd.port.pre.mk.
Fold all other usage into using SSL_DEFAULT == foo

PR:		210149
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6577
2016-06-16 13:23:13 +00:00
Dmitry Marakasov
e87a8bd319 - Fix trailing whitespace in pkg-messages
Approved by:	portmgr blanket
2016-05-19 11:09:14 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Xin LI
70832e093c Update OpenLDAP to 2.4.44.
MFH:	2016Q1
2016-02-07 09:04:43 +00:00
Olli Hauer
3aed1539fb - mark broken if build with FETCH=on agains OpenSSL from ports
PR:		201372
Submitted by:	Michelle Sullivan
Reviewed by:	delphij@
2016-01-10 20:46:36 +00:00
Xin LI
65ae0f2ee7 Update OpenLDAP to 2.4.43.
While there, revert previous NDEBUG behavior for non-debug builds.

MFH: 2015Q4
2015-12-02 05:35:50 +00:00
Xin LI
bd45f4729e Use pipe sign (|) instead of comma (,) when doing sed. This fixes a
problem when the variable portion of sed command contains comma, for
instance, when USE_GCC=4.9.

PR:		192297
Submitted by:	marino
2015-10-14 01:07:02 +00:00
Xin LI
5a26b9c434 Define NDEBUG and disable debugging when DEBUG is disabled, and do so for
both client and server.
2015-09-13 07:55:25 +00:00
Xin LI
b3538f944a Apply upstream fix for CVE-2015-6908.
Obtained from:	OpenLDAP git 6fe51a9ab04fd28bbc171da3cf12f1c1040d6629
Security:	CVE-2015-6908
MFH:		2015Q3
2015-09-12 04:59:03 +00:00
Xin LI
d37ac8846f Update to 2.4.42.
MFH:		2015Q3
2015-09-08 05:38:52 +00:00
Xin LI
1f5426c53e Use sa_len instead of sizeof(struct sockaddr_storage) to work around a
FreeBSD kernel check, which would return EINVAL when the passed length
is larger than desired.

PR:		ports/202819
Submitted by:	brd
2015-09-02 01:46:15 +00:00
Mathieu Arnold
21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00
Xin LI
637c66da78 Update to 2.4.41. 2015-07-01 20:53:34 +00:00
Xin LI
078b145883 Add a patch to resolve symbol conflict between SHA2 module with OpenSSL's
SHA2 implementation.

Without this, e.g. SSHA512 scheme would result in a crash due to stack
corruption, which is a result of different SHA512 context size in the
contributed SHA2 implementation and the OpenSSL one, plus the allocation
is on stack.

PR:		197004
MFH:		2015Q2
2015-05-27 22:08:40 +00:00
Xin LI
7c59a19689 Don't hardcode STRIP unconditionally [1]. Instead, respect the build
environment's settings.

Add a DEBUG option.

Based on patch from:	tobik [1]
Requested by:	Leander Schäfer <info netocean de>
2015-04-27 19:23:14 +00:00
Xin LI
a34d674a65 Add a patch to improve Outlook interoperability at expense of possible
RFC violation.  This patch is optional and not enabled by default.

For detailed discussion please follow:

	http://www.openldap.org/lists/openldap-technical/201211/msg00175.html

Requested by:	Tim Gustafson <tjg ucsc edu>
2015-04-01 01:02:17 +00:00
Xin LI
4dc2b8b88e Fix build when ODBC is enabled.
Submitted by:	madpilot
2015-03-12 17:35:52 +00:00
Xin LI
bb1d1b480c Add CPE information.
Submitted by:	shun
PR:		ports/197468
2015-02-09 06:44:46 +00:00
Xin LI
169ea456f7 Apply two upstream patches to address two remote DoS issues:
- ITS8027: crash when a search includes the Deref control with an
   empty attribute list.
 - ITS8046: double free and crash by certain search queries using
   the Matched Values control.

MFH:	2015Q1
2015-02-06 22:18:15 +00:00
Xin LI
c518e1da46 - Fix Perl dependency by converting the port from using
bsd.port.{pre,post}.mk to options.mk. [1]
 - Fix build with LibreSSL. [2] [3]
 - Make LM Password optional and disable by default. [3]

Reported by:	Lorenzo Perone <lorenzo.perone@bytesatwork.com> [1],
		brd [1]
Submitted by:	spil.oss@gmail.com [2]
PR:		194841 [3]
2014-11-12 17:59:34 +00:00
Xin LI
218fffb5b0 - Make the example slapd.conf use mdb as examples.
- Remove BDB dependency from default build.
2014-11-02 19:41:43 +00:00
Xin LI
e5c1e6ef70 Blacklist BDB 6.
Reported by:	Gerard E. Seibert <gerard seibercom net>
2014-10-07 17:46:13 +00:00
Tijl Coosemans
1945f402eb Allow installing contrib modules in a different prefix than /usr/local
PR:		194160
Submitted by:	jhujhiti@adjectivism.org
2014-10-05 18:25:26 +00:00
Xin LI
d162675dfd Update to 2.4.40. 2014-09-30 00:52:52 +00:00
Tijl Coosemans
182d819243 Install smbk5pwd and pw-sha2 modules using make install such that the
libtool libraries are installed correctly.
2014-09-19 15:26:16 +00:00
Tijl Coosemans
15c4a5ecf3 Replace USE_AUTOTOOLS=libltdl with an ordinary LIB_DEPENDS in all ports.
There are only 60 such ports so there doesn't need to be a separate
keyword or USES for this.

Approved by:	portmgr (bapt)
2014-09-17 07:38:15 +00:00
Antoine Brodin
c78e19243c Fix packaging 2014-09-11 06:00:05 +00:00
Olli Hauer
911506b408 cleanup openldap24-server / client
- pre-su-instal no longer required with staging (replaced with pre-install)
- pkg-install was removed in r295334, so remove the part in Makefile
- handle schema.sample files during install and use the @sample keyword
- use %%ETCDIR%% in pkg-plist
- bump PORTREVISION

PR:		193439
Submitted by:	ohauer
Approved by:	delphij
2014-09-10 21:17:25 +00:00
Baptiste Daroussin
15d2040d72 Simplify plist 2014-09-02 17:28:04 +00:00
Matthias Andree
1bf8aa3914 Fix up missed or botched PORTREVISION bumps from r365599.
Apparently Tools/scripts/bump-revision.sh isn't too robust...

PR:		192690
2014-08-22 06:56:48 +00:00
Matthias Andree
b50a4b0708 Berkeley DB cleanup, remove versions 4.0 ... 4.7.
- Mk/bsd.database.mk rewrite, new default to db5.
- db6 is eligible by default only if installed on the system.
- Bump PORTREVISION of all ports that directly depend on BerkeleyDB or
  where USE_BDB is found in the port's directory
- Patch a few ports such that they will pick up or work with newer
  versions.
- Add UPDATING entry
- Drive-by format fix for pks
- Drop BerkeleyDB option from mail/popular for now, requires more work.
- Exp-run logs linked from the PR below.
- Ports that do not build (IGNORE, BROKEN, etc.) have pro-forma changes
  for new Berkeley DB, but are untested.

NOTE: please read UPDATING and the Wiki page before proceeding!

Announcement:	http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000090.html
Wiki reference:	https://wiki.freebsd.org/Ports/BerkeleyDBCleanup
PR:		192690
Approved by:	portmgr (implicit, PORTREVISION bump on unstaged ports)
2014-08-21 22:50:29 +00:00
Adam Weinberger
08a006d08a Rename all patches that contain '::' as a path separator, and use
'__' instead.
2014-07-29 17:12:47 +00:00
Olli Hauer
af16b027d9 - fix libtool -> libtool:keepla leftovers
no bump required because no default option where affected

Noted on ports@ by Oliver Hartmann
2014-07-28 15:30:26 +00:00
Tijl Coosemans
37f54e0f66 net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD

databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip

databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample

databases/libgdamm:
- Drop :keepla
- USES=tar:bzip2
- Use INSTALL_TARGET=install-strip

databases/libgdamm5:
- Add INSTALL_TARGET=install-strip
- Drop --enable-static (inherited from old repocopy)

devel/anjuta x11-toolkits/py-gnome-extras:
- Drop :keepla

dns/powerdns dns/powerdns-devel:
- Convert to USES=libtool
- Add INSTALL_TARGET=install-strip
- Disable static modules
- Stop creating library symlinks with .0 suffix, not needed for dynamically
  opened modules

mail/dovecot2:
- Add USES=libtool

mail/dovecot2-pigeonhole:
- Drop CONFIGURE_TARGET (incorrect for Dragonfly)
- Add USES=libtool and INSTALL_TARGET=install-strip

math/gnumeric:
- USES=libtool tar:xz

Approved by:	portmgr (implicit, bump unstaged ports)
2014-07-24 18:34:16 +00:00
Baptiste Daroussin
d22728a7e8 Fix some non default LIB_DEPENDS
With hat:	portmgr
2014-07-16 08:26:25 +00:00
Baptiste Daroussin
e25d8ced2c Modernize LIB_DEPENDS 2014-07-14 18:56:00 +00:00
Tijl Coosemans
9f8b4bcde3 Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}

where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us.  If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream.  Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.

Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix.  Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS.  This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-06-11 14:49:59 +00:00
Xin LI
21a3e98189 - Add support to GSSAPI (implies SASL).
PR:		ports/189470
Submitted by:	zi
2014-05-29 18:52:12 +00:00
Baptiste Daroussin
f4f46a920e Fix unixODBC vs libiodbc conflicts
Always rely on unixODBC each time a port is looking for libodbc.so
Remove odbc compat from libiodbc
This allows to install both kde and gnome at the same time

While here:
- Convert libiodbc to USES=libtool
- Convert a bunch of libiodbc dependencies to USES=libtool
- Chase libiodbc.so shlib change
- Stagify some ports
- Convert some ports to USES=pgsql

Discussed with:	rakuco (kde)
With hat:	portmgr
2014-05-05 16:24:00 +00:00
Baptiste Daroussin
4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00
Xin LI
f6d8b1ccd4 Require BDB >= 4.4.
Submitted by:	des
2014-04-11 01:29:46 +00:00
Mathieu Arnold
dbd321b40b For some reason, having an ` in BROKEN/FORBIDDEN/IGNORE breaks QAT badly.
With hat:	portmgr
2014-03-26 13:56:06 +00:00
Xin LI
4c7f2db4d4 Remove DEBUG option for now as it have broke syslog capability.
Reported by:	many
2014-03-20 23:22:03 +00:00
Xin LI
2618af2c19 Update OpenLDAP to 2.4.39.
While I'm there, make OpenLDAP daemon start earlier than SERVERS, right
after ldconfig.
2014-03-19 22:44:50 +00:00
Xin LI
22c046f17a Spring cleanup of OpenLDAP 2.4 port:
- Fix various issues introduced with staging support.
 - Build MDB backend by default, this will become new preferred backend
   and BerkeleyDB backend is now deprecated.
2014-03-19 22:11:10 +00:00
Martin Wilke
d8e8201c23 - Unbreak sasl support
PR:		186376
2014-02-03 14:13:26 +00:00
Martin Wilke
e393553b68 - Stage support
Reviewed by:	mat (via a crappy vnc session and it looked nice :-p)
2014-02-02 09:51:17 +00:00