Commit graph

92 commits

Author SHA1 Message Date
Ade Lovett
6abd00a86b Punt autoconf267->autoconf268 2010-10-16 11:52:47 +00:00
Ade Lovett
8262a7b51d Autotools update. Read ports/UPDATING 20100915 for details.
Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
2010-09-15 18:35:24 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +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
Dirk Meyer
ca9c60461c - update to jpeg-8 2010-02-05 11:46:55 +00:00
Dmitry Marakasov
7914161a41 - Switch SourceForge ports to the new File Release System: categories starting with N 2009-08-22 00:32:25 +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
Wesley Shields
ab83431b95 - Address command injection vulnerability
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (private mail)
Security:	3ebd4cb5-657f-11de-883a-00e0815b8da8
2009-07-14 12:55:38 +00:00
Pav Lucistnik
aa952fd48f - Resolve LATEST_LINK conflict 2009-05-31 20:31:08 +00:00
Wesley Shields
ce03a68eef - Fix runtime problem with embedded perl.
- Mark as MAKE_JOBS_UNSAFE.
- Stop using DISTVERSION and use PORTVERSION in net-mgmt/nagios.

PR:		ports/134175
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2009-05-04 15:36:05 +00:00
Martin Wilke
4aa5567314 - Add backport patches to fix CVE-2008-5027 and CVE-2008-5028
(web interface privilege escalation vulnerability)

PR:		129496
Submitted by:	Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Thanks to:	Eygene Ryabinkin <rea-fbsd@codelabs.ru> for backport
Security:	http://www.vuxml.org/freebsd/d4a358d3-e09a-11dd-a765-0030843d3802.html
Approved by:	maintainer timeout
Hat:		secteam
2009-01-16 00:00:22 +00:00
Philip M. Gollucci
23c844c03f - repocopy net-mgmt/nagios -> net-mgmt/nagios2
and connect net-mgmt/nagios2 to the build

- Move net-mgmt/nagios-devel -> net-mgmt/nagios
  (v3.0.3)

- Add note to UPDATING

o net-mgmt/nagios [3]
   SF Macro
   USE_RC_SUBR != yes (rename files/nagios.sh.in -> files/nagios.in)
   OPTIONS+= EVENT_BROKER [1]
   use @dirrmtry in pkg-plist

o net-mgmt/nagios12 [2]
   SF Macro
   USE_RC_SUBR != yes (files/nagios.sh.tmpl -> files/nagios.in)
   Conversion to pkg-install, pkg-deinstall, pkg-message
   use @dirrmtry in pkg-plist

o net-mgmt/nagios2 [4]
   SF Macro
   USE_RC_SUBR != yes (rename files/nagios.sh.in -> files/nagios.in)

PRs:    ports/126758 [4]
    ports/126761 [3]
    ports/126754 [2]
    ports/126684 [1]

Submitted by:   Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
Reworked by:    pgollucci - freebsd ports infrastructure changes
Reviewed by:    pgollucci
Approved by:    gabor (mentor)
2008-09-03 00:30:56 +00:00
Ade Lovett
771ea13f41 Conversion from (now defunct) autoconf-2.61 to autoconf-2.62
Tested by:	exp build run (erwin)
2008-08-20 00:57:32 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Wesley Shields
e27bc7a35e Update to 2.12.
Minor bug fixes and an XSS fix (security).

PR:		ports/123893
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au>
Approved by:	garga (mentor, implicit)
Security:	http://www.vuxml.org/freebsd/fbd7aa81-2cc1-11dd-8cfb-00e0815b8da8.html
2008-05-28 22:34:24 +00:00
Rong-En Fan
7371ee9d20 - Update to 2.11 [1]
- Fix wrong mail program path in sample config file [2]

PR:		ports/121866 [1], ports/120320 [2]
Submitted by:	Jarrod Sayers <jarrod at netleader.com.au> (maintainer) [1]
2008-03-22 12:03:26 +00:00
Pav Lucistnik
9fc1c4fe89 - Remove USE_GETOPT_LONG which is a no-op since March 2007 2008-03-20 09:56:52 +00:00
Wesley Shields
4273708f0d Link with libthr when available. This should fix the CPU consumption
problem.

PR:		ports/120150 ports/119766
Submitted by:	jarrod@netleader.com.au bernd.kuhlen@wetteronline.de
Approved by:	maintainer (implicit) garga (mentor)
2008-02-04 19:57:24 +00:00
Martin Wilke
0f9f2d223f - Update to 2.10
PR:		117742
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2007-12-12 13:57:53 +00:00
Mark Linimon
48420a5ebd Switch autoconf dependencies from 2.53 or 2.59 to 2.61.
PR:		ports/116639
Submitted by:	aDe
2007-09-30 04:47:36 +00:00
Mark Linimon
9839011ec3 Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
2007-09-08 01:12:10 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Martin Wilke
89e1c2791d - Update to 2.9
Changelog:
- Fix for incorrect performance data file write/append mode options
- Fix for current status of hosts with no host check command defined
- SIGSEGV signals should now be logged again (broken in 2.8)
- Configure script fix for no mail program found/installed on system
- Configure script option bug fixes for cygwin and embedded perl
- Command definitions and host/service plugin perfdata with HTML should now be
  escaped in CGIs
- Patch for incorrect time down percentage in availability CGI
- Updated init script to fix a race condition during restarts

PR:		111505
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2007-04-15 18:55:26 +00:00
Rong-En Fan
4c6bb71802 - Use registered UID and GID. See UPDATING for migration.
PR:		ports/111345
Submitted by:	Jarrod Sayers <jarrod at netleader.com.au> (maintainer)
2007-04-07 14:25:48 +00:00
Martin Wilke
0bb055df81 Update to Nagios 2.8:
- Bug fix for calculating notification interval with service escalations
- Bug fix for using servicegroups in service dependency definitions
- Bug fix for bad date format submission in command CGI
- Possible segfault fix during restarts when daemon was performing host checks
- Fix for missing check timeout in event broker calls
- Fix for handling signals under NPTL
- Added error messages for passive service checks that don't correspond to a
  defined service

PR:             110262
Submitted by:   Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2007-03-13 13:27:13 +00:00
Pav Lucistnik
1e277ab80c - Update to 2.7
- Change examples to read freebsd-server instead of linux-server

PR:		ports/108417
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2007-01-28 00:31:19 +00:00
Martin Wilke
10e70c4c1b - Update to 2.6
PR:		ports/106502
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2006-12-09 09:12:24 +00:00
Renato Botelho
5271cfccd2 Update to 2.5
PR:		ports/100373
Submitted by:	maintainer
2006-07-18 11:16:48 +00:00
Erwin Lansing
0f74198d8c Update to 2.4
PR:		98413
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2006-06-04 16:39:50 +00:00
Sam Lawrance
100457e3fe Update to 2.3.1.
PR:		ports/97328
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2006-05-27 02:27:13 +00:00
Marcus Alves Grando
61e69a3c02 - Update to 2.3
- portlint(1)

PR:		96843
Submitted by:	maintainer
2006-05-06 23:37:02 +00:00
Pav Lucistnik
82b112b8d6 - Update to 2.2
PR:		ports/95739
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2006-04-15 16:13:47 +00:00
Dmitry Sivachenko
334811d5ef Update to 2.0 release.
PR:		93084
Submitted by:	maintainer
2006-02-10 09:49:06 +00:00
Edwin Groothuis
508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00
Tim Bishop
e9fc35504f Update to nagios-2.0.r2 includes:
- Added SHA256 checksum to distinfo
- Added reload argument to nagios.sh script
- PERL_SYS_INIT3 fix now committed to Nagios CVS, patch redundant
- Removed duplicated etc/rc.d/nagios.sh from pkg-plist

PR:		91892
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
2006-01-17 10:39:58 +00:00
Sergey Matveychuk
f0d5f8718a Recent changes to the default installation path of the net-mgmt/nagios port
may result in logos being incorrectly searched for by lingering definition
of physical_html_path in cgi.cfg.  A note about this and where to check for
correct value mentioned in pkg-message.

Kudos to Kristof Meers <kristof.meers@psy.kuleuven.be> for alerting me to the
problem.

PR:		ports/91592
Submitted by:	maintainer
2006-01-10 18:56:39 +00:00
Edwin Groothuis
fa8a699877 [maintainer-update] net-mgmt/nagios: Update to 2.0.r1
Update to 2.0.r1 also includes:
- Rewrite of port Makefile, options closer aligned in order to bsd.port.mk
- Added dependency of libiconv (library required by CGI's, currently installed
  via nagios-plugins port)
- Added support for embedded Perl interpreter (requires Perl 5.8+), caching
  automatically assumed if enabled, off by default
- Added support for use of nanosleep() in event timings, off by default
- Added ability to override default view at http://webserver/nagios/ URL,
  suggested values listed in Makefile (validity after future Nagios releases
  not guaranteed)
- Default install location for web component moved to www/nagios, overridable
  using existing NAGIOSWWWDIR tunable
- Corrected minor build issues by tweaking use of CFLAGS
- Moved pkg-install, pkg-deinstall and pkg-message into SUB_FILES
- Added configuration file tunable (nagios_configfile) for /etc/rc.conf
- Configuration tests now show error on failure instead of command to run
- Host status (status.sav) now saved across application starts and restarts
- Added patch to correct PERL_SYS_INIT3 call in base/utils.c, patch
  supplied and tested by Karl Friesen <krf@splip.com>, thanks!
- Added Apache configuration suggestion in pkg-message for new installs

Files changed:
- ports/net-mgmt/nagios/Makefile
- ports/net-mgmt/nagios/distinfo
- ports/net-mgmt/nagios/files/patch-Makefile.in
- ports/net-mgmt/nagios/pkg-plist

Files created:
- ports/net-mgmt/nagios/files/nagios.sh.in
- ports/net-mgmt/nagios/files/patch-base-utils.c
- ports/net-mgmt/nagios/files/patch-contrib-Makefile.in
- ports/net-mgmt/nagios/files/pkg-deinstall.in
- ports/net-mgmt/nagios/files/pkg-install.in
- ports/net-mgmt/nagios/files/pkg-message.in

Files to be removed:
- ports/net-mgmt/nagios/files/DEINSTALL.tmpl
- ports/net-mgmt/nagios/files/INSTALL.tmpl
- ports/net-mgmt/nagios/files/MESSAGE.tmpl
- ports/net-mgmt/nagios/files/nagios.sh.tmpl

PR:		ports/91499
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au>
2006-01-09 00:54:01 +00:00
Edwin Groothuis
3977ad645e [maintainer-update] net-mgmt/nagios: Update to Nagios 2.0.b6
Update net-mgmt/nagios to Nagios 2.0.b6.

	- Changed license to specifically state GPL version 2
	- Minor fixes to sample nagios.cfg config file
	- Fix for non-US date formats in command CGI
	- Spec file updates
	- Include file modifications for C++ event broker modules
	- Minor event broker changes (addition of timed event "sleep" data)
	- Added some sanity checks during write of status data for full partitions
	- Sample web server config file changes
	- Doc updates

PR:		ports/89869
Sumitted by:	Jarrod Sayers <jarrod@netleader.com.au>
2005-12-03 02:32:49 +00:00
Sam Lawrance
a3b1a7015d Update to 2.0.b5
PR:		ports/89054
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au>
2005-11-15 12:42:05 +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
Sergey Matveychuk
8bd94a2d10 - Remove hard coded references to the www group and spool directory
- Support changes made to user, group or spool directory to be recorded in the
  packing list correctly
- Added support for overriding install path of web component with an aim to
  migrate the default from share/nagios to www/nagios
- Added temporary knob to allow users to migrate to the new default without
  actually setting the path

PR:		ports/88312
Submitted by:	Jarrod Sayers (maintainer)
2005-11-01 13:37:09 +00:00
Clement Laforet
64f8627e5b - Give maintainership to Jarrod <jarrod@netleader.com.au> 2005-10-16 10:33:35 +00:00
Sergey Matveychuk
6e1fe4870a - Add a knob which allow changing URL of HTML pages
and CGI scripts. Submitted by Jarrod <jarrod@netleader.com.au>
- Reset maintainer

PR:		ports/87474
Submitted by:	Blaz Zupan <blaz@si.FreeBSD.org> (maintainer)
2005-10-15 14:28:44 +00:00
Sergey Matveychuk
7323214244 - Update to 2.0.b4
PR:		ports/84504
Submitted by:	maintainer
2005-08-31 12:29:48 +00:00
Pav Lucistnik
1f8dc94f2e - Check validity of configurations files in the startup script.
PR:		ports/81220
Submitted by:	Artem Naluzhny <tut@nhamon.com.ua> via maintainer
2005-05-19 15:56:37 +00:00
Dmitry Sivachenko
b9d7d7e24b Upgrade to version 2.0b3
PR:		79565
Submitted by:	maintainer
2005-04-05 17:17:52 +00:00
Pav Lucistnik
d051adb622 - Update to 2.0b2
WARNING: This version removes MySQL and PostgreSQL support.

PR:		ports/77478
Submitted by:	Blaz Zupan <blaz@si.FreeBSD.org> (maintainer)
2005-02-14 21:52:42 +00:00
Palle Girgensohn
34fa6c853e Split the postgresql ports into a server and a client part.
All ports depending on postgresql shall use the USE_PGSQL=yes knob
defined in Mk/bsd.ports.mk. Bumping portrevisions where needed.

PR:		75344
Approved by:	portmgr@ (kris), ade & sean (mentors)
2005-01-31 00:35:55 +00:00
Pav Lucistnik
e82fd0681c - Don't use --with-template-extinfo together with MYSQL, neither will work [1]
- Engage OPTIONS

PR:		ports/69540
Submitted by:	Sascha Luck <sascha@c4inet.net> [1],
		Blaz Zupan <blaz@si.FreeBSD.org> (maintainer)
2004-07-25 18:48:12 +00:00