Commit graph

118 commits

Author SHA1 Message Date
Cy Schubert
637c5b1c84 Fix build with SERIAL option.
PR:		223122
2017-10-20 14:51:35 +00:00
Cy Schubert
311484254a Nut USB drivers report a "permission error" without visible reasons
for the error even though permissions are OK (or the driver is run
as root).

Nut uses libusb-0.1 API, assuming return cods of < 0. FreeBSD provides
a libusb-0.1 wrapper howerver it uses libusb-1.0 error codes (which
are negative). This set of patches "teaches" nut libusb-1.0 error codes
as produced by FreeBSD.

Network UPS Tools (networkupstools.org) has a project to use libusb-1.0.
This commit is a stopgap fix until our upline implments lubusb-1.0
support in nut.

PR:		223117
Submitted by:	lev
2017-10-20 01:09:12 +00:00
Cy Schubert
fe1fd540a2 If nut_upsshut is YES in rc.conf and POWERDOWNFLAG directive is in
upsmon.conf, send a powerdown signal to the UPS to shut down at
poweroff.

Suggested by:	Alexander Milanov <a@amilanov.com>
2017-06-14 06:46:32 +00:00
Cy Schubert
2779f2c253 Fixup "use default values" assignments for real. 2017-06-14 02:08:56 +00:00
Cy Schubert
04a053cbca Revert r443550. An unintended patch was included. Will try again. 2017-06-14 02:07:14 +00:00
Cy Schubert
f43a233b2b Fixup "use default values" assignments. 2017-06-14 01:58:51 +00:00
Cy Schubert
fd5d396d0c Shut down upsmon gracefully. 2017-06-12 13:48:36 +00:00
Mathieu Arnold
a28f0f7f7f Remove all USE_OPENSSL occurrences.
Sponsored by:	Absolight
2017-03-15 14:45:30 +00:00
Dirk Meyer
3561a46f28 - update libgd to 2.2.2
- new MASTER_SITES
- add security patch
PR:		210913
Submitted by:	Piotr Kubaj
MFH:		2016Q3
Security: CVE-2015-8874
Security: CVE-2016-3074
Security: http://www.openwall.com/lists/oss-security/2016/07/12/4
2016-07-20 09:33:31 +00:00
Mathieu Arnold
597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00
Cy Schubert
29a18c9062 Update 2.7.3 --> 2.7.4 2016-03-12 20:34:22 +00:00
Cy Schubert
8e0466e644 Fix IPMIPSU build. 2015-09-24 13:13:57 +00:00
Cy Schubert
3b4f8ed41c Fix AVAHI and BASH builds. 2015-09-20 03:42:40 +00:00
Dmitry Marakasov
dd93e6e2f9 - Fix plist
PR:		203048
2015-09-18 11:14:22 +00:00
Cy Schubert
ec66c5a291 Install netxml-ups, update pkg-plist.
PR:		203048
Submitted by:	amdmi3
2015-09-17 06:15:41 +00:00
Cy Schubert
176cd8d7a7 Update 2.7.2 --> 2.7.3 2015-05-21 04:20:13 +00:00
Olli Hauer
311e3b182f - rename www/neon29 to www/neon and update to neon-0.30.1
- adjust ports depending on neon, bump PORTREVISION

Changelog:
Fix memory leak with GnuTLS (Werner Baumann, Patrick Ohly).
Fix possible crash after DNS lookup errors on Windows (Olivier Goffart).
Don't fail if the SSL cert changes between connections with OpenSSL, behaviour now matches that with GnuTLS.
Fix PKCS#11 support under OpenSSL with TLS 1.2.
Fix static linking with pkg-config file (Alan H)

PR:		195786
Differential Revision:	https://reviews.freebsd.org/D1319
Submitted by:	ohauer
Reviewed by:	portmgr (bapt, mat)
Approved by:	portmgr, lev (implicit)
2014-12-24 06:03:22 +00:00
Antoine Brodin
53dabf7d5a Fix packaging 2014-10-06 20:09:24 +00:00
Mathieu Arnold
708f8ee3f3 Fixup typo.
Sponsored by:	Absolight
2014-07-21 21:59:55 +00:00
Cy Schubert
3a787cbaa2 Use correct devd variable. 2014-07-19 03:00:43 +00:00
Cy Schubert
9ddb115e70 The build adds "*" to its devd conf file prior to install. Really fix
PR 191777.

PR:		191777
2014-07-17 20:04:18 +00:00
Adam Weinberger
16682f7476 Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 17:00:56 +00:00
Cy Schubert
19111bcac8 Fix permissions /dev permissions.
PR:		191777
2014-07-15 06:02:53 +00:00
Cy Schubert
aba6c6a9c2 Set default IPMI option. 2014-07-08 23:00:50 +00:00
Cy Schubert
5d4b179e78 Add avahi, ipmi, and openssl options. 2014-07-08 19:48:34 +00:00
Cy Schubert
6b4e2232af PLIST fixes for serial and USB options. 2014-07-05 08:08:59 +00:00
Cy Schubert
e1b8e14c99 Point rc script to the new upsdrvctl path. 2014-07-05 04:51:06 +00:00
Cy Schubert
7f6f51a81f Fix pkg-plist when CGI option is not specified.
Point hat to:	me
2014-07-04 01:31:25 +00:00
Cy Schubert
5af6881de8 Fix pkg-plist. 2014-07-04 01:23:55 +00:00
Cy Schubert
1261ab9470 Update 2.6.5 --> 2.7.2, stagify and modernize, assume maintainership.
Approved by:	itetcu (maintainer)
2014-07-04 00:30:45 +00:00
Baptiste Daroussin
83f65384c9 Add NO_STAGE all over the place in preparation for the staging support (cat: sysutils) 2013-09-20 23:05:58 +00:00
Baptiste Daroussin
59c2fedf11 Eradicate USE_GNOME=pkgconfig
While here:
- Trim headers
- Convert USE_GMAKE to USES=gmake
- Convert USE_GNOME=gnomehack to USES=pathfix
- Convert USE_PERL5 to USES=perl5
2013-08-30 23:57:36 +00:00
Dirk Meyer
b83d7bf933 - update libdg to 2.1.0 2013-08-09 14:05:52 +00:00
Rene Ladan
4e4178dab5 In preparation of removing devel/libusb (expires 2013-04-30), remove it
from these ports.

Other changes:
- convert Makefile header
- convert to optionsNG
- remove indefinite article from comment
- drop support for FreeBSD < 8.0
- pet portlint (leave library ABI versions in LIB_DEPENDS)
- net-mgmt/spectools: change option name from GTK to GTK2 to use default
  description from bsd.options.desc.mk

Approved by:	portmgr (bapt)
2013-04-29 16:43:05 +00:00
Ion-Mihai Tetcu
a332b363c4 - fix plist [1]
- bump PORTREVISION for plist change

[1] for some cases, as the config still seems to need patching not to autopick
depends

Reported by:	Dewayne" <dewayne.geraghty@heuristicsystems.com.au>
Feature safe:	yes
2012-12-06 21:26:53 +00:00
Ion-Mihai Tetcu
2096764a85 Update to 2.6.5.
XXX: for some of the OPTIONS, if the DEPENDS is installed, nut picks it up,
and the recorded dependencies and PLIST are wrong. Needs fixing.

PR:		171285
Submitted by:	William Grzybowski
Feature safe:	yes
2012-11-30 22:29:40 +00:00
Ion-Mihai Tetcu
78d2dc7e54 Fix plist.
Reported by:	QAT@
2012-08-12 10:04:33 +00:00
Ion-Mihai Tetcu
e6a5ae7d9a - update to 2.6.4
- convert to OPTIONSng
- fix buffer overflow in upsd when receiving data from network

PR:		169827
Submitted by:	169827
Security:	http://www.vuxml.org/freebsd/47f13540-c4cb-4971-8dc6-28d0dabfd9cd.html
2012-08-12 09:14:06 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +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
Ion-Mihai Tetcu
1a36a781f4 Update to 2.6.1. Main changes:
- IPv6 always compiled in (drop IPV6 option)
- megatec and megatec_usb drivers replaced by blazer_ser and blazer_usb.
- liebertgxt2 renamed to liebert-esp2
- s/PREFIX/LOCALBASE/ for gd includes/libs (grrr!)
- add OPTIONal bash completion

PR:		152866 [1], 157925 [2],
Submitted by:	John Bayly <freebsd.ports@tipstrade.net> [1], lev@ [2]
2011-08-02 17:05:43 +00:00
Sylvio Cesar Teixeira
c9e4736d26 - Chase net-snmp shlib version bump. 2011-07-28 12:43:22 +00:00
Martin Wilke
a9481afc8a - Get Rid MD5 support 2011-03-19 12:38:54 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Ade Lovett
6abd00a86b Punt autoconf267->autoconf268 2010-10-16 11:52:47 +00:00
Ion-Mihai Tetcu
19461a7e28 Take maintainership. 2010-09-16 15:00:00 +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
Jeremy Messenger
113641e728 - Makes neon29 our default neon library. The neon 0.27.x to 0.29.x are API and
ABI backwards compatible. It is unnecessary to have more than one same
  libraries (ie: neon28 and neon29) as it creates issue in our ports tree such
  as CONFLICTS and made our Makefile complicate.
- Remove www/neonpp and www/neon28.
- Add USE_GNOME=ltverhack; it corrects the shared library version by change
  from libneon.so.29 to libneon.so.27. It won't get bump again with no reason
  unless ABI changes.
- Bump the PORTREVISION on all ports and chase the shared library change.
- Add info in the UPDATING for how to rebuild on all ports that depend on
  neon.

PR:		ports/148295
Approved by:	lev (maintainer timeout, no respone for months),
		portmgr
Tested by:	pointyhat-exp by pav
2010-07-30 22:14:49 +00:00
Sylvio Cesar Teixeira
da2897022c - Chase net-snmp shlib bump 2010-06-02 19:14:17 +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