Commit graph

6 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
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
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
140f813f89 - Update to 2.3.38.
- Adjust DATABASEDIR's permission to 700 upon slapd start.
2007-08-21 09:17:25 +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
c173260165 Updates, cleanups and improvements over the openldap23-* ports:
- Make sure that PKGNAMESUFFIX and COMMENT are correctly set when
   building slave ports. [1]
 - Remove RCORDER feature which is now deprecated.
 - Move PORTREVISION related stuff to before bsd.port.pre.mk in
   order to get the revisions actually work.
 - Depend on CLIENT_ONLY and WITH_SASL to determine the package
   name suffix.
 - Make use of USE_OPENLDAP instead of rolling our own.
 - Use WITH_RC_SUBR correctly rather than just specifying "yes"
 - Depend on bsd.database.mk to determine the Berkeley DB name,
   which makes it possible to use versions available from the
   ports collection rather than making decision our own. [2]
 - Disable threading as suggested by openldap developers if
   BACK_SHELL is enabled.  Indicate the fact when showing options.
 - Update to 2.3.23

PR:	 	91902[1], 96752 [2]
Submitted by:	Gyorgy TEUBEL <tgyurci freemail hu> [1]
		Sunpoet Po-Chuan Hsieh <sunpoet sunpoet net> [2]
Approved by:	sem (mentor)

Other changes, blames and all bugs are mine.
2006-05-18 15:03:48 +00:00
Renamed from net/openldap23-server/files/slapd.sh (Browse further)