Commit graph

277 commits

Author SHA1 Message Date
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
Baptiste Daroussin
e04b632220 Fix properties on pkg-plist 2014-01-21 23:40:21 +00:00
Xin LI
746fea831a Support building against Berkeley DB 6.x.
PR:		ports/185630
Submitted by:	Yasuhiro KIMURA <yasu utahime org>
2014-01-14 01:02:26 +00:00
Xin LI
db39b22313 Add a patch from OpenLDAP ITS 7249 [1] which addresses crash issue
with OpenLDAP 'memberof' overlay.

Pointed out by:	oshogbo

[1] http://www.openldap.org/lists/openldap-bugs/201205/msg00002.html
2013-12-13 00:50:43 +00:00
Xin LI
28f7614e02 Update to 2.4.38. 2013-11-20 20:11:35 +00:00
Xin LI
fd436193f6 Update to 2.4.37 2013-11-02 00:51:49 +00:00
Xin LI
75f104752d Don't overwrite existing schema when they already do.
PR:		ports/177016
Submitted by:	pclin
2013-10-02 19:51:11 +00:00
Baptiste Daroussin
0c710c7b4e Add NO_STAGE all over the place in preparation for the staging support (cat: net) 2013-09-20 22:10:23 +00:00
Andrej Zverev
33915fc265 - convert to the new perl5 framework
- convert USE_GMAKE to Uses

Approved by:	portmgr (bapt@, blanket)
2013-09-16 06:30:31 +00:00
Xin LI
917ad9bb34 Don't assume that the user have gcc and do not override default CFLAGS.
PR:		ports/181929
Reported by:	O. Hartmann <ohartman zedat fu-berlin de>
2013-09-08 08:59:54 +00:00
Xin LI
59dbb4fcee Update to 2.4.36. 2013-08-20 18:24:59 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Xin LI
4e1f7c01ae Add http mirrors as last resort option.
PR:		ports/179153
Submitted by:	brd
2013-06-24 05:29:24 +00:00
Xin LI
6c1ac22bdf Add an option to build SHA2 modules.
PR:		ports/178268
Submitted by:	Mike Carlson <mike bayphoto com>
2013-05-29 23:42:40 +00:00
Baptiste Daroussin
1eb8c1049e Do not try to remove a directory not created or existing
Reported by:	pkg (PKG_DEVELOPER_MODE)
2013-05-24 09:40:30 +00:00
Xin LI
dfc9654278 Update to 2.4.35.
Feature safe:	yes
2013-04-16 20:00:27 +00:00
Xin LI
0f873d9113 Fixup for previous commit to fix installation issues reported by several
users.
2013-03-28 07:49:59 +00:00
Xin LI
e3818fa7ee - Split server and client manual pages (OpenLDAP ITS #7548) [1]
- Minor fixup to plist

PR:		ports/176924 [1]
Submitted by:	Андрей Романенко <melanhit gmail com> [1]
2013-03-24 06:42:13 +00:00
Xin LI
626fb02fa0 - Fix build when SMBPASSWD is checked [1];
- Use OPTIONSFILE?= instead of OPTIONSFILE= [2].

PR:		ports/176873 [1]
Submitted by:	"A.J. Kehoe IV (Nanoman)" <nanoman nanoman ca> [2]
2013-03-14 18:00:57 +00:00
Xin LI
fa718d5cc3 Fix version range representation. 2013-03-12 00:41:57 +00:00
Xin LI
bb3a86240f Update OpenLDAP to 2.4.34. 2013-03-11 23:54:38 +00:00
Eitan Adler
b7b9ec7a12 Variable that start with _ are considered private to the defining
makefile and may not be used by ports makefiles.
In addition, avoid problems should the defaults ever change.

Approved by:	portmgr (tabthorpe)
2013-03-02 03:55:25 +00:00
Xin LI
17e053f069 The port only installs certain documentation file with the client slave
port, so cover these to CLIENT case.

Noticed by:	remko (via pkgng)
2012-12-17 08:16:44 +00:00
Xin LI
a571c07ffb Avoid setting PKGNAMESUFFIX late, which in turn changes UNIQUENAME and
causes OPTIONS menu to be shown up multiple times.

As a side effect we have to make openldap24-client and
openldap24-sasl-client which we do not have a better solution at this
time.

Submitted by:	bapt (mostly)
2012-12-12 20:09:55 +00:00
Hajimu UMEMOTO
dda3fab6a5 Update cyrus-sasl2 to 2.1.26.
This bumps shlib version of libsasl2.
2012-12-10 15:10:02 +00:00
Xin LI
040008d3ab o Correct typo.
PR:		ports/173663
Submitted by:	Chris Mikkelson <cmikk uerige.oss.uswest.net>
Feature safe:	yes
2012-11-30 04:25:23 +00:00
Xin LI
d33306f1f6 Update to 2.4.33.
Feature safe:	yes
2012-10-13 00:57:04 +00:00
Xin LI
dedf5b52d6 fix plist for use with pkg.
PR:		ports/172387
Submitted by:	kwm
2012-10-09 18:33:17 +00:00
Xin LI
e6b0eb3a83 Apply a vendor fix to mdb initialization crash. 2012-09-05 00:17:10 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00
Xin LI
854e82e6ea DYNAMIC_BACKEND should be in the default.
Submitted by:	sunpoet
2012-08-01 04:19:42 +00:00
Xin LI
815b779da7 Don't remove schema if they are modified.
PR:		ports/170300
Submitted by:	ohauer
2012-07-31 22:47:42 +00:00
Xin LI
c3c532b9a2 Update to 2.4.32, while I'm there, convert to OptionsNG 2012-07-31 19:51:32 +00:00