Commit graph

280 commits

Author SHA1 Message Date
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
Eitan Adler
7e3b32fff8 - remove maintainer tags from pkg-descr
Approved by:	portmgr
Approved by:	bapt (mentor)
2011-10-22 23:50:23 +00:00
Alex Dupre
38b1630689 Switch to USERS/GROUPS.
PR:		ports/157562, ports/157591
Submitted by:	crees
2011-06-13 10:11:31 +00:00
Doug Barton
29813d5397 Remove painful examples of foo="", with particular prejudice against
constructions that parse out to [ -z "$foo" ] && foo=""

These are bad examples that get copied and pasted into new code, so the
hope is that with less bad examples there will be less need for me to
bring this up in review.

In a few of these files all that were changed were comments so that next
time I search for these patterns I won't trip on the file for no reason.

In a few places, add $FreeBSD$

No functional changes, so no PORTREVISION bumps
2011-05-15 02:49:17 +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
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Alex Dupre
02deaaf2a7 As announced, remove MySQL 6.0 (dead development branch) and update CONFLICTS. 2010-01-11 11:58:42 +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
Martin Matuska
68c9190378 - Mark MAKE_JOBS_SAFE for SMP compilation
Approved by:	ale (maintainer, private e-mail)
2009-03-25 14:04:40 +00:00
Mark Linimon
cbfb36bb87 Move the USE_PERL5 definition for the scripts slave ports from the master
to the slave port, to move it before the inclusion of bsd.port.pre.mk.

Approved by:	maintainer
2009-01-16 22:41:06 +00:00
Alex Dupre
92e04df567 Add bison build dependency. 2009-01-01 10:29:02 +00:00
Alex Dupre
01c813f0c7 Reroll tarball without broken symlinks. 2008-12-31 09:36:04 +00:00
Alex Dupre
7dade175b4 Update to 4.1.25 release.
PR:		ports/130023
Submitted by:	Eygene Ryabinkin <rea-fbsd@codelabs.ru>
2008-12-30 14:02:23 +00:00
Alex Dupre
6d4ed3627c Accept all linuxthreads library major versions. 2008-11-17 09:28:40 +00:00
Alex Dupre
7dece2bbc3 Fix for CVE-2008-2079.
PR:		ports/127731
Submitted by:	Andrew Daugherity <adaugherity@tamu.edu>
2008-10-10 19:01:11 +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
Alex Dupre
71e1e1936f Make startup script ssh-friendly.
PR:		ports/81915
Submitted by:	David Marshall <marshall@chezmarshall.com>
2008-07-30 06:11:16 +00:00
Alex Dupre
2c7da133d6 Update CONFLICTS and remove duplicated USE_PERL5. 2008-07-26 08:36:54 +00:00
Edwin Groothuis
bf149172eb Remove support for OSVERSION < 5 2007-10-03 22:44:56 +00:00
Alex Dupre
59247929fb Fix previouos commit. 2007-04-18 06:20:39 +00:00
Alex Dupre
19f6aeb87e Use the new @stopdaemon feature. 2007-04-18 05:58:40 +00:00
Alex Dupre
aeea5e77c6 Fix dependencies. 2007-01-20 09:22:58 +00:00
Alex Dupre
a6ba15fc9d Update to 4.1.22 release and fix the long standing ORDER BY bug.
Requested by:	many
2006-11-28 07:24:17 +00:00
Pav Lucistnik
7d91ad8582 - Update to 4.1.21
Approved by:	ale's vacation
2006-08-06 18:53:11 +00:00
Alex Dupre
fcfd4c734b Remove the temporary hack to use the new USE_LDCONFIG feature. 2006-06-22 10:23:04 +00:00
Marcus Alves Grando
cb07c139a7 - Update to 4.1.20
PR:		98280
Approved by:	ale
Security:	http://lists.mysql.com/announce/364
2006-06-01 17:55:36 +00:00
Pav Lucistnik
98710b87f8 - Update to 4.1.19
Approved by:	ale (maintainer)
2006-05-06 20:52:55 +00:00
Alex Dupre
8140074797 Fix rcNG startup ordering for MySQL daemon.
Bump PORTREVISION for mysql-server ports.

Approved by:	portmgr (clement)
2006-03-07 16:25:01 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Alex Dupre
83015f7ae3 MySQL 4.1 doesn't need newer zlib.
Reported by:	mnag
2006-02-13 19:44:19 +00:00
Alex Dupre
ae8be5ee13 Update to 4.1.18 release. 2006-02-13 12:25:06 +00:00
Edwin Groothuis
d568611c3e eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 05:52:28 +00:00
Edwin Groothuis
913a5a5cba Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 01:29:46 +00:00
Alex Dupre
707b085ac0 Convert mysql-client.sh to rcNG. 2006-01-12 08:47:23 +00:00
Alex Dupre
6eaf19399c Update to 4.1.16 release. 2005-12-22 18:15:02 +00:00
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Alex Dupre
0320eb1856 Update to 4.1.15 release.
PR:		ports/87749
Submitted by:	mnag
2005-10-23 14:11:42 +00:00
Alex Dupre
6868fe83bb Update to 4.1.14 release. 2005-08-28 14:17:37 +00:00
Alex Dupre
78bab6762a Update to 4.1.13 release. 2005-07-23 10:14:17 +00:00
Alex Dupre
cee3a2fc9f Fix compilation on FreeBSD 4.X.
Submitted by:	many
2005-06-11 12:32:44 +00:00
Alex Dupre
ccb18423a8 Update to 4.1.12 release.
PR:		ports/81690
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
2005-06-08 07:33:21 +00:00
David E. O'Brien
c3d8037aeb At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
2005-04-12 03:26:56 +00:00
Alex Dupre
f93aa4f231 - Use the rcNG script to kill MySQL on deinstallation [1]
- Set the new sequence for finding my.cnf files [2]:
  /etc, ${PREFIX}/etc, ${mysql_dbdir}
  (default to: /etc/my.cnf, /usr/local/etc/my.cnf, /var/db/mysql/my.cnf)

PR:		ports/79166 [1], ports/79597 [2]
Submitted by:	Sergey Prikhodko <sergey@network-asp.biz> [1],
		Vasil Dimov <vd@datamax.bg> [2]
2005-04-11 08:47:36 +00:00
David E. O'Brien
f2fc2d60ae Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
2005-04-11 08:04:41 +00:00
Alex Dupre
85f61982c2 Update to 4.1.11 release:
- add the possibility to specify additional command-line arguments
  to be passed to mysqld_safe on startup
2005-04-06 10:58:50 +00:00
Pav Lucistnik
ac6ca062fc - Tell users about new WITH_COLLATION knob
Requested by:	ale (maintainer)
2005-03-21 14:08:18 +00:00
Pav Lucistnik
8fcd45533b - Add WITH_COLLATION knob to control --with-collation configure argument.
Useful for regional collation support.

PR:		ports/78400
Submitted by:	Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Approved by:	maintainer timeout (17 days)
2005-03-21 13:25:56 +00:00
Alex Dupre
8f5148b801 Remove obsolate knob description. 2005-03-15 12:08:00 +00:00
Alex Dupre
f4fb7331c3 Update to 4.1.10a:
- fix potential security vulnerabilities in the creation of temporary
  table file names and the handling of User Defined Functions (UDFs).
2005-03-14 09:53:40 +00:00