Commit graph

199 commits

Author SHA1 Message Date
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Xin LI
d45eb42f86 Update to 2.4.21.
Sponsored by:	iXsystems, Inc.
2009-12-23 23:40:46 +00:00
Xin LI
c54c0d5140 Update to 2.4.20.
Sponsored by:	iXsystems, Inc.
2009-11-30 19:12:42 +00:00
Xin LI
14e531e2d0 Update to 2.4.19. 2009-10-06 18:19:18 +00:00
Xin LI
44414fa4a6 Use same logic when creating the name for client package, as what we have
used in building 'em.

PR:		ports/135622
Submitted by:	Christian Ullrich <chris+freebsd chrullrich net>
2009-10-01 00:08:02 +00:00
Xin LI
79bd2252a7 Add a missing / or otherwise the generated script would point to wrong
directory.

PR:		ports/138618
Reported by:	Alexander Wittig <alexander wittig name>
2009-09-07 22:27:13 +00:00
Xin LI
b72bc7011a o Update to 2.4.18.
o Add support to slapd_krb5_ktname, which exports an environment variable
   KRB5_KTNAME so that user can specify alternative Kerberos key table. [1]
 o Add support to run slapd with cn=config style configuration. [2]

Reported by:	Matthew Hambley <matthew at aether demon co uk> [1]
		Ulrich Spoerlein <uspoerlein at gmail com> [2]
Submitted by:	Nikolai Nespor <nikolai nespor at basis-wein at> [2]
2009-09-07 09:46:19 +00:00
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00
Xin LI
2f8440aaf9 Update to OpenLDAP 2.4.17. Unfortunately a shared library bump is needed.
UPDATING to follow.
2009-07-20 08:13:12 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Xin LI
371354522f Disable the detection of uuid/uuid.h, which brings an unwanted dependency
which is not always being installed.

Reported by:	Panagiotis Christias <p.christias noc.ntua.gr>
2009-04-30 18:48:04 +00:00
Xin LI
c462cd8e1d Update to 2.4.16 2009-04-06 01:59:57 +00:00
Xin LI
e860c694c2 Vendor fix to correct incorrect fix of ITS#5849. 2009-03-02 18:12:33 +00:00
Xin LI
cdeda2a7b9 Update to 2.4.15 2009-02-24 23:47:47 +00:00
Xin LI
515e0da150 - Expose DYNACL and ACI options as configuration menu.
- Add knobs to build COLLECT, DEREF[1] overlaies.
 - Remove knob for DENYOP.
 - Add pmi schema.

Reported by:	Piotr Buliński <piotr bulinski pl> [1]
2009-02-17 23:02:15 +00:00
Xin LI
dfab15e826 Update OpenLDAP to 2.4.14. 2009-02-17 02:54:37 +00:00
Xin LI
90dceb1ff4 Update to 2.4.13. Note that this requires a full rebuild of all
packages that depends on openldap24-client due to a shared library
version bump.
2009-01-05 05:49:35 +00:00
Sergey Skvortsov
e6a9937c49 Fix support of multiple database backend definitions.
PR:		ports/127245
Submitted by:	Alexander Kriventsov <akriventsov xx masterhost.ru>
Approved by:	maintainer timeout
2008-09-30 15:38:53 +00:00
Sergey Skvortsov
6c937fdd77 Unbreak install for "smbk5pwd".
Blame to:	me
2008-09-05 16:46:29 +00:00
Sergey Skvortsov
d68f711af0 Add option for smbk5pwd overlay.
PR:		ports/126367
Submitted by:	Alexander Kriventsov <akriventsov xx masterhost.ru>
Approved by:	maintainer timeout
2008-09-04 17:36:25 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Xin LI
38231e45ad - Overhaul the way we handle with LDAP data directory, populate
the data directory upon start, not upon install. [1]
 - Update to OpenLDAP 2.4.11.
 - Modify bsd.port.mk to fit with the shared libary version bump [2]
   This has no impact to package building yet as 2.4.x is not the
   default version.

Submitted by:	Mikhail Goriachev <mikhailg webanoide org> [1]
Approved by:	portmgr (marcus) [2]
2008-07-20 03:35:42 +00:00
Xin LI
426507053f Detect OpenLDAP data directory from the configuration and use it for
further operation.

Submitted by:	Mikhail Goriachev <mikhailg webanoide org>
2008-07-07 20:54:21 +00:00
Xin LI
d7595e0cc6 Allow building of 'sock' backend.
PR:		ports/124560
Submitted by:	Stef Walter <stef memberwebs com>
2008-06-18 18:59:44 +00:00
Rong-En Fan
cb7d085915 - Update to 2.4.10
Requested by:	delphij (maintainer)
2008-06-11 05:53:37 +00:00
Xin LI
fd2155bdde Update to 2.4.9. 2008-05-07 21:20:44 +00:00
Xin LI
5c6f1b9f5a Sync overlays with configure script, while I'm there, also sync there
default settings to reflect the reality and sort overlay options.
2008-03-25 18:08:31 +00:00
Mark Linimon
fede29f849 Fix plist of slave ports.
Hat:		portmgr
2008-02-24 03:11:56 +00:00
Xin LI
5258bd4b71 Update to 2.4.9. While there, remove the spurious icu dependency,
which is not used at the moment, and will appear if user has
installed icu on their system.
2008-02-19 22:15:56 +00:00
Xin LI
40897dbea5 Avoid confusion when SASL is enabled for server. 2008-01-16 18:58:12 +00:00
Xin LI
0b798c18d2 Update to 2.4.7. 2007-12-13 21:52:15 +00:00
Xin LI
0bba516c96 Oops, previous patch was committed from a wrong tree. Here is
the correct fix.
2007-12-11 20:57:22 +00:00
Xin LI
97481b4ced Correct slapd_owner case matching.
PR:		ports/117229
Reported by:	Tetsuya Uemura <t_uemura at macome.co.jp>
2007-12-11 20:56:10 +00:00
Xin LI
a924e843ce Update to 2.4.6.
This is the first production release of the OpenLDAP 2.4 series,
and it fixes several security issues, as mentioned in vuln.xml
item db449245-870d-11dc-a3ec-001921ab2fa4.

Note that this is generally a no-op for most users because this
version is not (yet) set as default OpenLDAP implementation.

Security:	db449245-870d-11dc-a3ec-001921ab2fa4
Approved by:	portmgr (linimon)
2007-11-01 06:32:10 +00:00
Xin LI
5cbdf0fa3f Update to 2.4.5 beta. 2007-09-05 06:37:13 +00:00
Xin LI
c27fd2d7ca Mark as incompatible with Berkeley DB 4.6. Next OpenLDAP
alpha release will hopefully support it, though.
2007-08-23 02:09:14 +00:00
Xin LI
2369f3725e - Adjust DATABASEDIR's permission to 700 upon slapd start. 2007-08-21 09:23:42 +00:00
Gabor Kovesdan
42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +00:00
Xin LI
3be488b4b3 Do not build SASL by default for client package, thus avoids
a very annoying conflict when installing the client from package.
2007-06-08 10:27:05 +00:00
Xin LI
ce3071d823 Use more concise expressions for splitting the user:group string.
Submitted by:	Ulrich Spoerlein <uspoerlein@gmail.com>
PR:		ports/111617
2007-05-28 06:04:24 +00:00
Xin LI
2f2e798f52 Unbreak for kernels without COMPAT_43TTY
Note: the patch was accepted by OpenLDAP, but
not yet integrated into their RELENG_2_4 branch.

Submitted by:	Ed Schouten <ed fxq.nl>
PR:		ports/110386
2007-04-10 16:28:56 +00:00
Xin LI
0ccf7d3f41 Use USE_LDCONFIG correctly upon successful server installation
in order to make backend shared objects to be recognized
correctly.

Requested by:	edwin
PR:		ports/110424
2007-03-20 14:10:41 +00:00
Xin LI
2a818b8e1a Add a couple of @cwd's in order to make @dirrmtry really
functional.

Noticed by:	Xin ZHAO <quakelee at cn.freebsd.org>
2007-02-26 06:57:11 +00:00
Xin LI
624cee410a Update to OpenLDAP 2.4.4a.
Approved by:	portmgr (kris, bsd.port.mk part)
2007-02-21 05:40:11 +00:00
Rong-En Fan
2f9f20f3e8 - Use newly added RC_SUBR_SUFFIX
Approved by:	delphij (maintainer)
2007-02-01 04:14:39 +00:00
Xin LI
034f745ca5 OpenLDAP 2.4 is still in alpha stage and is not suitable for production,
according to OpenLDAP developers.

Spotted by:	Viktor Trojanovic <viktor gmx ch>
2007-01-15 22:18:48 +00:00
Xin LI
e10cc47dda o Respect PTHREAD_LIBS=ANY (like -lthr). [1]
o Use Berkeley DB 4.4, as suggested by OpenLDAP developers.

Submitted by:	nork [1]
2006-11-30 08:39:58 +00:00
Xin LI
c71f43987a Update to 2.4.3alpha.
Submitted by:	Joerg Pulz
PR:		ports/102399
2006-09-27 08:52:11 +00:00
Xin LI
b2bdf3f6e8 Switch to root's credential during pre-install stage. This fixes
installation initialized by a unprivileged user.

Reported by:	Michal Bartkowiak <michal bartkowiak biz>
2006-07-17 07:00:36 +00:00
Xin LI
b698338408 PlanetMirror appears to add a page which fetch(1) do not like, so remove it
for now.
2006-06-02 01:36:11 +00:00