Commit graph

195 commits

Author SHA1 Message Date
Martin Wilke
93cfaf9ad9 - Chase unixODBC shlib bump 2012-02-06 12:25:50 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Doug Barton
86922094aa RC_SUBR_SUFFIX has not been needed for a long time now, all supported
versions of FreeBSD now use /etc/rc.subr and rc.d scripts without .sh
appended to the script name.
2010-03-27 06:14:03 +00:00
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
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
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
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
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
53234b8e97 Update to 2.3.43 2008-07-18 21:32:53 +00:00
Rong-En Fan
80a30d028b - Update to 2.3.42
Requested by:	delphij (maintainer)
2008-06-11 05:53:13 +00:00
Xin LI
85e7ff7f39 Update to 2.3.41 2008-02-19 22:07:03 +00:00
Xin LI
78243e29d0 Avoid confusion when SASL is enabled for server. 2008-01-16 18:43:17 +00:00
Xin LI
21f49c5f5a Update to 2.3.40. 2007-12-26 03:57:42 +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
99f38a0345 Update to 2.3.39. 2007-10-26 21:19:13 +00:00
Xin LI
21aadbd7f7 This release of OpenLDAP does not support Berkeley DB 4.6 yet.
Submitted by:	mm
PR:		ports/115712
2007-08-23 02:07:58 +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
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
4a8c580001 Update to 2.3.37. 2007-07-20 08:08:58 +00:00
Xin LI
8ca75a7b6a Update to 2.3.36 2007-06-18 07:20:32 +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
b6206262d3 - Update to 2.3.35
- Unbreak for kernels without COMPAT_43TTY [1]

Note: the patch from [1] was accepted by OpenLDAP, but
not yet integrated into there RELENG_2_3 branch.

Submitted by:	Ed Schouten <ed fxq.nl> [1]
PR:		ports/110386 [1]
2007-04-10 14:23:02 +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
e8aa8b7139 Update to 2.3.34 2007-02-20 19:33:01 +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
1597b2c1cd Update to 2.3.33 2007-01-19 20:41:56 +00:00
Xin LI
15d7d6f35b Upate to 2.3.32 2007-01-05 02:15:18 +00:00
Xin LI
825092f0b8 Update to 2.3.31, a bugfix release. To quote the release changelog:
Fixed libldap unchased referral leak (ITS#4545)
	Fixed libldap tls callback (ITS#4723)
	Fixed liblutil ldif file: URL parsing
	Fixed slapd syncrepl logging (ITS#4755)
	Fixed slapd group ACL caching when proxyAuthz'ing (ITS#4760)
	Fixed slapd "group" authz default member parsing (ITS#4761)
	Fixed slapd uninitialized sd_actives array (ITS#4765)
	Fixed slapd DN parsing in bindconf_parse (ITS#4766)
	Fixed slapd conditional in macro argument (ITS#4769)
	Fixed slapd send_search_reference should propagate errors
	Fixed slapd memleak on failed bind (ITS#4771)
	Fixed slapd schema preparation case to match RFCs (ITS#4764)
	Fixed slapd kbind buffer overflow condition (ITS#4775)
	Fixed slapd connections_shutdown assert
	Fixed slapd glue parent/sub db overlay nesting (ITS#4615)
	Fixed slapd-bdb/hdb/ldbm slap_add_opattrs error checking
	Fixed slapd-bdb/hdb setting up tool threads when no indices specified
	Fixed slapd-perl interpreter context (ITS#4751)
	Fixed slapo-syncprov to complain if defined outside of a database
	Fixed test021 modify ops to be syntactically correct
	Fixed contrib smbk5pwd, check kadm5 init result
	Documentation
		Fixed typo in slapo-retcode(5) man page (ITS#4753)
		Fixed syncrepl searchbase note (ITS#4540)
		Added syncrepl starttls in the admin guide (ITS#4510)
		Fixed reference to deprecated function in ldap_parse_result(3)
2006-12-19 09:54:40 +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
d6cd421f88 Update to 2.3.30. 2006-11-15 07:10:22 +00:00
Xin LI
55f977ef8e Update to 2.3.29 2006-11-10 10:49:20 +00:00
Alejandro Pulver
c3dd807ed8 - Unify the way to choose between ODBC flavors (WITH_IODBC / WITH_UNIXODBC).
PR:		ports/103293
Submitted by:	Ganael Laplanche <ganael.laplanche@martymac.com>
Approved by:	girgen (databases/postgresql-odbc), fjoe (databases/libodbc++),
		sergey@network-asp.biz
		(databases/mysql-connector-odbc, timeout),
		delphij@FreeBSD.org (net/openldap23-server),
		mat@FreeBSD.org (databases/p5-DBD-ODBC)
2006-10-09 18:51:19 +00:00
Xin LI
19827fa007 Update to 2.3.27, plus fix for perl backend [1].
Submitted by:	Xavier Beaudouin <kiwi oav net> [1]
		Joerg Pulz <Joerg Pulz frm2 tum de>
PR:		ports/102235 [1]
		ports/102294
2006-08-20 06:31:42 +00:00
Xin LI
2e45fae940 Update to 2.3.26.
Submitted by:	Joerg Pulz <Joerg Pulz frm2 tum de>
PR:		ports/102204
2006-08-18 03:09:02 +00:00
Xin LI
cf6942b3da Update to 2.3.25, a maintaince release which contains a lot of
bugfixes.
2006-08-01 18:56:47 +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
Xin LI
8e7a2b625b Update to OpenLDAP 2.3.24 Release:
Fixed slapd syncrepl timestamp bug (delta-sync/cascade) (ITS#4567)
    Fixed slapd-bdb/hdb non-root users adding suffix/root entries (ITS#4552)
    Re-fixed slapd-ldap improper free bug in exop (ITS#4550)
    Fixed slapd-ldif assert bug (ITS#4568)
    Fixed slapo-syncprov crash under glued database (ITS#4562)
2006-05-30 17:52:11 +00:00
Xin LI
edcbb6b1bd According to the openldap configure script, by disabling
threading support the slurpd daemon would not be built.

 - New option: SLURPD to determine whether to build the
   replication daemon.  (enabled by default).  The
   replication functionality is not used by every user
   so it is desirable to give decision to the user.
 - When threading is disabled, reflect the fact that
   slurpd is not being built/installed. [1]  This would
   also override the user chosen SLURPD option.
 - Disable SHELL backend by default.

[1] Reported by: pointyhat via kris
2006-05-26 15:11:35 +00:00
Xin LI
e7dbfbe9d3 Fix pkg-message for client.
Approved by:	sem (mentor, implicit)
Pointy hat to:	delphij
2006-05-22 03:55:30 +00:00
Xin LI
9bccfcfc41 The pkg-install, pkg-deinstall and pkg-message files are suitable
only for -server port, so move them to appropriate place.

Approved by:	sem (mentor, implicit)
2006-05-20 17:00:06 +00:00
Xin LI
a4b154b404 When the SASL option is selected, define WANT_OPENLDAP_SASL
accordingly to depend on the correct flavior of OpenLDAP
client library.

Reported by:	pointyhat via kris
Approved by:	sem (mentor, implicitly)
2006-05-20 08:18:57 +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
Edwin Groothuis
0f12b488a5 Remove USE_REINPLACE from all categories starting with N 2006-05-11 22:49:56 +00:00
Sergey Matveychuk
52ba83c5e1 - OPTIONS revision: resort, add new
Submitted by:	delphij (maintainer)
2006-04-18 08:49:53 +00:00