Commit graph

99 commits

Author SHA1 Message Date
Rodrigo Osorio
833e30e5eb Add a CONFLICTS_INSTALL to report a conflict with sysutils/nfsping ; both ports install smokeping/lib/Smokeping/probes/NFSping.pm.
Bump PORTREVISION.
2017-10-15 10:28:09 +00:00
Rodrigo Osorio
be0fae785a Add a wait_for_pids at the end of the rc script stop function, waiting for the
daemon to stops. With smokeping busy pinging a few hundred hosts it often occurs
that the daemon stops after the rc call completion failing a restart.
Bump PORTREVISION.

PR:		221009
Submitted by:	vegeta@tuxpowered.net
2017-07-31 22:15:03 +00:00
Sunpoet Po-Chuan Hsieh
f788962948 Remove outdated PERL_LEVEL check
With hat:	perl
2017-06-05 23:25:26 +00:00
Tijl Coosemans
02f27a83b4 The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user.  Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables.  LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well.  The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.

Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).

PR:		215882
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2017-01-18 13:20:31 +00:00
Mark Felder
1916a98a2d net-mgmt/smokeping: Allow slaves to contact master over HTTPS
MFH:		2017Q1
Differential Revision:	https://reviews.freebsd.org/D9142
2017-01-17 16:49:19 +00:00
Baptiste Daroussin
2acba4d607 Fix build on unicode env
Removed uesless @exec and prefer setting owner directly on the directory itself
2016-12-22 23:14:43 +00:00
Niclas Zeising
307a70b894 Update databases/rrdtool to 1.6.0
Most notably, this version of rrdtools.so is thread safe, so the
rrdtools_th.so library is removed.

Bump portrevision for depending ports due to shlib version bump.

For full changelog: http://oss.oetiker.ch/rrdtool/pub/CHANGES

Reviewed by:	kwm
Differential Revision:	D6168
2016-05-02 16:08:56 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Sunpoet Po-Chuan Hsieh
3f5e45025d - Add NO_ARCH
- Convert to new options helper

Approved by:	portmgr (blanket)
2015-11-21 02:10:00 +00:00
Rodrigo Osorio
d875ded97f Fix previous mistake in the init script, committed with minor changes
PR:		200851
2015-07-05 08:13:10 +00:00
Rodrigo Osorio
3d058e0633 Fix init script to check pid correctly
PR:		200851
Submitted by:	Kan Sasaki <sasaki@fcc.ad.jp>
2015-06-29 19:39:24 +00:00
Rodrigo Osorio
b2449f5206 Fix smokeping rc.d script who fails to check pid correctly
PR:		198736
Submitted by:	vince@unsane.co.uk
2015-06-14 09:16:57 +00:00
Dmitry Marakasov
fba719f942 - Don't cat pkg-message from Makefiles
Approved by:	portmgr blanket
2015-05-21 06:54:23 +00:00
Tijl Coosemans
68edbeeaae - Display a stage-qa warning when ports use PREFIX/var instead of /var
- Add --localstatedir=/var to _LATE_CONFIGURE_ARGS (like --mandir) but not
  when CONFIGURE_ARGS already sets it.  (GNU configure scripts set it to
  PREFIX/var when PREFIX != /usr.)
- Add --localstatedir="${PREFIX}/var" to CONFIGURE_ARGS in some ports so
  they aren't affected by this change (for now at least).  This commit is
  meant to ensure that new ports don't make the same mistake.

- games/acm: the configure script in this port is very old; instead of
  patching it more, just replace GNU_CONFIGURE with HAS_CONFIGURE.
- irc/charybdis: it already used /var but adding --localstatedir=/var
  changed the behaviour of the configure script; adjust the port to this.

PR:		199506
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2015-04-20 19:06:29 +00:00
Mathieu Arnold
cdd3297c5a CGI::* was removed in Perl 5.21.0
With hat:	perl@
Sponsored by:	Absolight
2015-04-12 22:25:25 +00:00
Rodrigo Osorio
b18cecc458 - changes dep from p5-CGI.pm to p5-CGI
- bump port revision

PR:		198762
Submitted by:	pi
2015-03-22 00:11:02 +00:00
Rodrigo Osorio
d2fa29f954 Upgrade smokeping to 2.6.11
PR:		197579
Submitted by:	pi
2015-02-22 19:37:33 +00:00
John Marino
bcbae34226 change command_interpreter from /usr/bin/perl to ${PREFIX}/bin/perl
Several ports had rc.d scripts with hardcoded command_interpreter string
as /usr/bin/perl.  This symlink is not guaranteed to be in place, and it
isn't even an option for perl 5.20.  For affected ports, the interpreter
was changed to localbase.

In one case, the interpreter was correct, but it wasn't surround by
quotes.  Since the rc.d script would break if a space was contained in
${PREFIX}, quotes were added in that case.
2015-01-05 13:18:58 +00:00
Antoine Brodin
757b82d342 Remove duplicate patch 2014-10-02 21:04:19 +00:00
Rodrigo Osorio
e76dd76201 fix perl5.18 build
PR:		ports/182840
Submitted by:	alexey <alexey@kouznetsov.com>
Approved by:	bapt (mentor)
2014-10-01 09:31:33 +00:00
Andrej Zverev
2e6d8e8c1a fix build with perl 5.18
PR:		193064
2014-09-20 06:40:04 +00:00
Niclas Zeising
3b22ad40b1 Clean up databases/rrdtool
Change library dependensies to use USES= where applicable.
Build ports documentation and examples, depending on respective option.
Add two new options, NLS and GRAPH, the GRAPH option enables the rrdtool graph
command, which pulls in cario and a lot of other dependencies.  [1]
Add missing dependencies.
Becase of shlib version bump, bump portrevision on depending ports.

PR:		192024 [1] (based on)
Submitted by:	asomers
Approved by:	portmgr (blanket, portrevision bumps)
2014-07-23 20:11:10 +00:00
Rodrigo Osorio
251ac3c995 Fix a minima the plugin breakage introduced by Net::DNS 0.75 and above.
This bug is complex and must be fixed upstream (smokeping)[1].
[1] https://rt.cpan.org/Public/Bug/Display.html?id=96479

PR:		ports/192037
Submitted by:	feld
Reviewed by:	rodrigo (maintainer)
Approved by:	kwm (mentor)
MFH:		2014Q3
2014-07-23 13:41:07 +00:00
Rodrigo Osorio
37cc8339fb don't move files in stage dir anymore
Submitted by:	rodrigo (maintainer)
Approved by:	bapt (mentor)
2014-07-19 15:40:49 +00:00
Mark Felder
03f44da6f4 - Update to new LIB_DEPENDS format
- Support STAGE
- Clean up rc script
- Move example configs to new .sample naming convention

Sponsored by:	SupraNet Communications, Inc
2014-07-14 14:17:01 +00:00
Rodrigo Osorio
877dce2447 Update maintainer email address
Approved by:	bapt@ (co-mentor)
2014-01-29 09:17:41 +00:00
Baptiste Daroussin
985b201424 Add NO_STAGE all over the place in preparation for the staging support (cat: net-mgmt) 2013-09-20 22:24:43 +00:00
Andrej Zverev
83c8665826 - convert to the new perl5 framework
- convert USE_GMAKE to Uses

Approved by:	portmgr (bapt@, blanket)
2013-09-14 15:39:55 +00:00
Guido Falsi
384eac357a - Update to 2.6.9
- Remove version numbers from LIB_DEPENDS

PR:		ports/178569
Submitted by:	Rodrigo OSORIO <rodrigo@bebik.net> (maintainer)
Approved by:	maintainer via private email
2013-05-24 21:19:44 +00:00
Ruslan Makhmatkhanov
39fdd8c279 - update to 2.6.8
- trim Makefile header
- fix BUILD_DEPENDS
- convert to optionsng (by Mark Felder <feld@feld.me>)

PR:		174824
Submitted by:	Rodrigo (ros) OSORIO <rodrigo@bebik.net> (maintainer)
2012-12-30 13:58:07 +00:00
Andrej Zverev
c9b4f372f4 - Remove SITE_PERL from *_DEPENDS
Approved by: portmgr@ (bapt@)
2012-06-30 12:42:52 +00:00
Steve Wills
f71c51f66e - Fix rc script
- Remove @stopdaemon
- Bump PORTREVISION

PR:		ports/169251
Submitted by:	Mark Felder <feld@feld.me>
Approved by:	Rodrigo OSORIO <rodrigo@bebik.net> (maintainer)
2012-06-29 16:22:41 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Guido Falsi
d2ef11eee6 - Fix build and install
- Assign maintainership to submitter

Also merged fixes by dikshie <dikshie@sfc.wide.ad.jp> (ports/162460).

PR:		ports/167868
Submitted by:	Rodrigo OSORIO <rodrigo@bebik.net>
Approved by:	crees (mentor)
2012-05-14 15:03:12 +00:00
Lars Thegler
11b7517876 - update to 2.6.7
- pass maintainership
2012-05-13 12:54:52 +00:00
Sylvio Cesar Teixeira
b240caf9e4 - Chase rrdtool shlib version bump. 2012-05-07 18:52:09 +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
Doug Barton
989772c9ac The vast majority of pkg-descr files had the following format when they
had both lines:

Author: ...
WWW: ....

So standardize on that, and move them to the end of the file when necessary.

Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.

s/AUTHOR/Author/

A few other various formatting issues
2011-10-24 09:11:38 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +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
Lars Thegler
8c7fd1caf5 Fixed substitution in init script
Submitted by:	Martin Nielsen <charliewutwut@gmail.com>
Feature safe:	yes
2010-02-16 14:33:17 +00:00
Lars Thegler
58af4c38fb by switching to using $USERS & $GROUPS pkg-install is no longer required
pkg-deinstall only needs to handle the removal of the .pid file
use @stopdaemon to stop smoking instead of invoking smokeping stop manually by pkg-deinstall
use bsd.port.options.mk
use SUB_FILES to update pkg-message

PR:		ports/143182
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk>
2010-02-15 12:53:24 +00:00
Jun Kuriyama
22b0d4983b - Remove unneeded dependencies which is in perl-5.8.9 dist
(part 8).

Approved by:	portmgr (itetcu)
2010-01-26 15:01:09 +00:00
Jun Kuriyama
46dfffde80 - Remove unneeded dependencies which is in perl-5.8.9 dist
(part 4).

Approved by:	portmgr (itetcu)
2010-01-24 06:18:08 +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
Ion-Mihai Tetcu
1067512eb1 - man pages installation is not conditioned by NOPORTDOCS (fix plist)
- use ETCDIR while here
- bump PORTREVISION

Approved by:	maintainer timeout on QAT BotMail
Prompted by:	QAT QA run
2008-11-21 10:37:10 +00:00
Lars Thegler
081a1fbfb6 Update to 2.4.2
From CHANGES:

* added strict to both wrappers and fixed some followup errors -- tobi

* kill taint error in Smokeping.pm -- tobi

* better master/slave secrets documentation -- tobi

* do not load :sys_wait_h from POSIX perl module since this seems to
  be missing in some linux distros and we can do alright without.
2008-10-29 14:31:32 +00:00
Lars Thegler
27caa13672 - Update to 2.4.1 [1]
- Use proper PORTEXAMPLES
- Start script updated to avoid deadlock with sshd

PR:		ports/126966 [mostly 1]
Submitted by:	chinsan
2008-08-31 19:58:39 +00:00
Rong-En Fan
c1dece6a00 - Chase rrdtool 1.3.0 update, bump PORTREVISION
PR:		ports/124749
Submitted by:	Zhen REN <bg1tpt at gmail.com> (maintainer of rrdtool)
2008-06-24 12:34:56 +00:00