Commit graph

127 commits

Author SHA1 Message Date
Stefan Eßer
9b454febfa sysutils/apcupsd: Add CPE information
Approved by:	portmgr (blanket)
2021-10-13 15:52:57 +02:00
Mathieu Arnold
135fdeebb9
all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Danilo G. Baio
5158fdadab sysutils/apcupsd: Add patch to fix APC BE600M1 reporting
Patch not enabled as default (initially), so we can have more users testing it.

PR:		249041
Submitted by:	Derek Schrock <dereks@lifeofadishwasher.com>
Differential Revision:	https://reviews.freebsd.org/D26259
2020-09-04 23:39:38 +00:00
Dirk Meyer
eff60e5ddb - update libgd to 2.3.0
- new option RAQM
- resurrect deprecated gdlib-config
- bump dependend ports
2020-05-04 21:31:39 +00:00
Danilo G. Baio
c5761c4269 sysutils/apcupsd: Port improvements
- Remove DOCS option, not used.
  - Remove files/apcupsd.conf.net-slave.sample, not used.
  - Improve GAPCMON option. (qa warning)

This doesn't change the way apcupsd works.
Changes obtained in sysutils/appctrl.
2019-11-02 14:11:09 +00:00
Danilo G. Baio
389101e028 Add sysutils/apcctrl: Fork of apcupsd 3.14.x with support for Brazilian APC nobreaks
ApcCtrl is an unofficial branch from apcupsd 3.14.x. It can be
used for controlling Brazilian APC UPS models (herited from Microsol).

Models supported or in tests:
  - BACK-UPS BR 1200VA (BZ1200BI-BR)
  - BACK-UPS BR 1500VA (BZ1500PBI-BR)
  - BACK-UPS BR 2200VA (BZ2200BI-BR and BZ2200I-BR)
  - SMART-UPS BR 1000VA (SUA1000BI-BR and SOLIS1000BI)
  - SMART-UPS BR 1500VA (SUA1500BI-BR and SOLIS1500BI)
  - SMART-UPS BR 2000VA (SUA2000BI-BR)
  - SMART-UPS BR 3000VA (SUA3000BI-BR)
  - STAY 800 (PS800)
  - STAY 700 (PS700)

WWW: http://www.apcctrl.com.br

PR:		241623
Submitted by:	Mario Lobo <lobo@bsd.com.br>
2019-10-31 23:43:55 +00:00
Mathieu Arnold
bc89cd3d2c Convert to UCL & cleanup pkg-message (categories s) 2019-08-14 12:16:12 +00:00
Danilo G. Baio
45ff050892 sysutils/apcupsd: Improve pkg-message
In some systems where the shutdown can take a while (like in bhyve
environment), users may want to change the default shutdown behavior.

PR:		237600
Reported by:	Victor Sudakov <vas@mpeks.tomsk.su>
2019-05-11 18:30:41 +00:00
Danilo G. Baio
1936d5d190 sysutils/apcupsd: Several improvements
Add support for running multiple instances of apcupsd[1]
Add an option to use `shutdown -p` rather than `shutdown -h`[2]
Set as @sample several scripts that can be customized[3]
Add an option for build with MODBUS USB driver support (Enabled by default)[4]
Set LICENSE_FILE [5]
Sort OPTIONS and make a small adjustment in pkg-message
Take maintainer'ship

PR:		180336 [1]
PR:		187924 [2][3]
PR:		215809 [4]
PR:		220002 [5]

Submitted by:	leres@ee.lbl.gov [1]
Submitted by:	tdb [3]
Submitted by:	ipluta@wp.pl [4]
Submitted by:	takefu@airport.fm [5]

Approved by:	garga (mentor)
Differential Revision:	https://reviews.freebsd.org/D11224
2017-06-19 22:45:58 +00:00
Alexey Dokuchaev
eb35937282 Fix a typo accidentally made in r435590.
Pointy hat to:	danfe
2017-03-07 14:16:42 +00:00
Alexey Dokuchaev
9221d550d0 - Enable SNMP driver by default due to popular demand [1]
- Rename option USB -> USB_DRV for consistency with other drivers and
  provide better option names while I'm here
- Remove hand-rolled `post-install' target now that @sample files are
  installed properly
- Reorder some knobs and drop CPPFLAGS/LIBS now that those seem to
  be detected correctly

PR:	215153 [1]
2017-03-07 10:21:01 +00:00
Rene Ladan
10a0fb614e Reset ports of itetcu@ after taking in his commit bit for safekeeping.
With hat:	portmgr-secretary
2017-02-27 21:20:41 +00:00
Emanuel Haupt
bf1576f42d Update to 3.14.14
PR:		210129
Submitted by:	nevecherya@gmail.com
Approved by:	maintainer-timeout (itetcu)
2016-12-04 10:30:47 +00:00
Jason E. Hale
21f9bf8906 Add pkgconf build dependency when GAPCMON option is enabled
While here:
Fix a typo in CGI_DESC

PR:		211011
Submitted by:	Martin S. Weber <freebsd-bugzilla@ayaken.net>
Approved by:	maintainer timeout
2016-10-31 10:02:48 +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
Dmitry Marakasov
e87a8bd319 - Fix trailing whitespace in pkg-messages
Approved by:	portmgr blanket
2016-05-19 11:09:14 +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
Dmitry Marakasov
b1115d8b20 - Fix portlint warning
PR:		200831
Submitted by:	leres@ee.lbl.gov
Approved by:	maintainer timeout (itetcu, 2 weeks)
2015-06-30 16:35:59 +00:00
Dmitry Marakasov
e853c1aead - Remove broken code from configure, fixing build on 9.x
This code is related to gcc 3 and is now useless; as a side effect, it sets LD to CC while it should be CXX, breaking the build:

ModbusComm.cpp:(.text+0x5f4): undefined reference to `operator new[](unsigned int)'

Submitted by:	pkg-fallout
Approved by:	portmgr blanket
2015-06-25 16:12:35 +00:00
Baptiste Daroussin
d9f0a8fb2f Fix typo
Reported by:	pi
2015-06-05 05:20:18 +00:00
Baptiste Daroussin
53c08878c3 Actually fix build as a user
While here remove LIBS from CONFIGURE_ENV it was no-op since LIBS+= has been
added (and not needed anymore)

Reported by:	amdmi3
2015-06-05 05:13:27 +00:00
Baptiste Daroussin
d6ded92e46 Remove uneeded NEED_ROOT 2015-05-03 14:43:47 +00:00
Dmitry Marakasov
5dba8879e2 - Add NEED_ROOT ("configure: error: Missing required tool; need any one of: shutdown shutdown.bsd" otherwise)
Approved by:	portmgr blanket
2015-04-23 13:43:02 +00:00
Xin LI
4c192c917c - Update to 3.14.13
- Add license (GPLv2)
 - Fix a typo which will cause wrong CONFLICT relationship when GAPCMON is
   selected.

PR:		ports/198408
Submitted by:	Danilo G. Baio (dbaio bsd com br)
Approved by:	maintainer timeout (20 days)
2015-03-29 00:07:21 +00:00
Antoine Brodin
23b328aaf9 Cleanup plist 2014-11-22 09:13:35 +00:00
Ion-Mihai Tetcu
a43de7bcd1 Also remove the PDF from here. 2014-07-06 18:45:30 +00:00
Ion-Mihai Tetcu
acf6739151 - Don't install documentation PDF file, it changes more frequently that I mange
to chase it
- bump PORTREVISION for above plist change
-

PR:		191552
Submitted by:	"quickfox"
MFH:		2 weeks
2014-07-06 17:56:43 +00:00
Adam Weinberger
d97abb2768 Update to 3.14.12 and unbreak. Stage, use OPTIONS helpers, modernize
and clean up.

PR:		ports/191645 (based on)
Submitted by:	Dan Lukes
2014-07-06 13:14:34 +00:00
Baptiste Daroussin
004dc5576e Mark as broken: no distinfo provided for some of the distfiles
With hat:	portmgr
2014-06-22 22:21:38 +00:00
Tijl Coosemans
9f8b4bcde3 Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}

where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us.  If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream.  Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.

Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix.  Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS.  This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-06-11 14:49:59 +00:00
Martin Wilke
7a21dec23d - Convert gmake,bzip2,xz to USES
Approved by:	portmgr
2014-05-29 11:20:14 +00:00
Dmitry Marakasov
db25d63f5a - Remove manual creation and removal of share/applications, as it's now in the mtree (categories starting with [st])
Approved by:	portmgr (bdrewery)
2013-10-22 14:01:38 +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
Dirk Meyer
61e84a3cfb - fix depends after libgd update 2013-08-11 05:43:04 +00:00
Dirk Meyer
b83d7bf933 - update libdg to 2.1.0 2013-08-09 14:05:52 +00:00
Baptiste Daroussin
27d44119e7 Convert left sysutils ports to new options framework 2013-04-28 20:01:07 +00:00
Ion-Mihai Tetcu
c12431bc89 Fix tipo. [1]
Yes, I know I should convert it to OPTIONSng and I will :)

PR:		174333 [1]
Submitted by:		John Marino [1]
2012-12-10 21:50:06 +00:00
Ion-Mihai Tetcu
5cbed3dd82 Fix build on 9-STABLE and HEAD.
Feature safe:	yes
2012-11-30 22:19:12 +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
cae2592e5c Update to 3.14.10
Please see http://apcupsd.cvs.sourceforge.net/viewvc/apcupsd/apcupsd/ReleaseNotes?pathrev=Release-3_14_10
for a list of changes since 3.14.8 (a few FreeBSD-related).

Feature safe:	yes
2011-11-19 20:34:51 +00:00
Doug Barton
2b1dacc826 Remove more tags from pkg-descr files fo the form:
- Name
em@i.l

or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
2011-10-24 04:17:37 +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
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
Sylvio Cesar Teixeira
da2897022c - Chase net-snmp shlib bump 2010-06-02 19:14:17 +00:00
Ion-Mihai Tetcu
9e4d77a01e - Update to 3.14.8
- Among other things, the SNMP driver that does not require libsnmp.so
- Adjust pkg-message to point to the right manual [1]

Full list of changes:
http://apcupsd.cvs.sourceforge.net/viewvc/*checkout*/apcupsd/apcupsd/ReleaseNotes?pathrev=Release-3_14_8

Submitted by:	Scott Bennett <bennett@cs.niu.edu> [1]
Tested by:	Ulrich Drolshagen <u.drolshagen@t-online.de>, imp@inbox.ru,
		Warren Block <wblock@wonkity.com>, mack@
2010-04-03 08:47:33 +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
Dmitry Marakasov
3eb168f46b - Switch SourceForge ports to the new File Release System: categories starting with P,R,S 2009-08-22 00:35:32 +00:00
Ion-Mihai Tetcu
71da70ada5 Despite portlint, CONFIGURE_ENV ain't added in by bsd.port.mk. Restore the old
way.
This fixes the failure to find gd.h thus enabling building WITH_CGI. [1]

The strange thing is that it doen't fail w/o CONIFGURE_ENV on tindys, only on
any other machine.

Reported by:	 Robert Huff, Simon Wright [1]
2009-03-16 10:14:35 +00:00