aboutsummaryrefslogtreecommitdiff
path: root/sysutils/apcupsd
Commit message (Collapse)AuthorAgeFilesLines
* sysutils/apcupsd: Port improvementsDanilo G. Baio2019-11-022-22/+6
| | | | | | | | | | | | - 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. Notes: svn path=/head/; revision=516327
* Add sysutils/apcctrl: Fork of apcupsd 3.14.x with support for Brazilian APC ↵Danilo G. Baio2019-10-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=516204
* Convert to UCL & cleanup pkg-message (categories s)Mathieu Arnold2019-08-141-3/+6
| | | | Notes: svn path=/head/; revision=508909
* sysutils/apcupsd: Improve pkg-messageDanilo G. Baio2019-05-111-12/+17
| | | | | | | | | | | 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> Notes: svn path=/head/; revision=501281
* sysutils/apcupsd: Several improvementsDanilo G. Baio2017-06-195-56/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=443914
* Fix a typo accidentally made in r435590.Alexey Dokuchaev2017-03-071-1/+1
| | | | | | | Pointy hat to: danfe Notes: svn path=/head/; revision=435604
* - Enable SNMP driver by default due to popular demand [1]Alexey Dokuchaev2017-03-073-31/+50
| | | | | | | | | | | | | | - 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] Notes: svn path=/head/; revision=435590
* Reset ports of itetcu@ after taking in his commit bit for safekeeping.Rene Ladan2017-02-271-1/+1
| | | | | | | With hat: portmgr-secretary Notes: svn path=/head/; revision=434992
* Update to 3.14.14Emanuel Haupt2016-12-045-10/+285
| | | | | | | | | PR: 210129 Submitted by: nevecherya@gmail.com Approved by: maintainer-timeout (itetcu) Notes: svn path=/head/; revision=427764
* Add pkgconf build dependency when GAPCMON option is enabledJason E. Hale2016-10-311-1/+2
| | | | | | | | | | | | While here: Fix a typo in CGI_DESC PR: 211011 Submitted by: Martin S. Weber <freebsd-bugzilla@ayaken.net> Approved by: maintainer timeout Notes: svn path=/head/; revision=424993
* - update libgd to 2.2.2Dirk Meyer2016-07-201-0/+1
| | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=418829
* - Fix trailing whitespace in pkg-messagesDmitry Marakasov2016-05-191-1/+1
| | | | | | | Approved by: portmgr blanket Notes: svn path=/head/; revision=415503
* Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.Mathieu Arnold2016-04-011-2/+2
| | | | | | | | With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=412349
* - Fix portlint warningDmitry Marakasov2015-06-301-1/+1
| | | | | | | | | PR: 200831 Submitted by: leres@ee.lbl.gov Approved by: maintainer timeout (itetcu, 2 weeks) Notes: svn path=/head/; revision=390972
* - Remove broken code from configure, fixing build on 9.xDmitry Marakasov2015-06-251-0/+56
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=390582
* Fix typoBaptiste Daroussin2015-06-051-1/+1
| | | | | | | Reported by: pi Notes: svn path=/head/; revision=388569
* Actually fix build as a userBaptiste Daroussin2015-06-051-1/+2
| | | | | | | | | | While here remove LIBS from CONFIGURE_ENV it was no-op since LIBS+= has been added (and not needed anymore) Reported by: amdmi3 Notes: svn path=/head/; revision=388568
* Remove uneeded NEED_ROOTBaptiste Daroussin2015-05-031-1/+0
| | | | Notes: svn path=/head/; revision=385276
* - Add NEED_ROOT ("configure: error: Missing required tool; need any one of: ↵Dmitry Marakasov2015-04-231-0/+1
| | | | | | | | | shutdown shutdown.bsd" otherwise) Approved by: portmgr blanket Notes: svn path=/head/; revision=384575
* - Update to 3.14.13Xin LI2015-03-292-5/+6
| | | | | | | | | | | | | - 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) Notes: svn path=/head/; revision=382561
* Cleanup plistAntoine Brodin2014-11-221-2/+0
| | | | Notes: svn path=/head/; revision=373038
* Also remove the PDF from here.Ion-Mihai Tetcu2014-07-061-2/+0
| | | | Notes: svn path=/head/; revision=360953
* - Don't install documentation PDF file, it changes more frequently that I mangeIon-Mihai Tetcu2014-07-061-15/+3
| | | | | | | | | | | | | to chase it - bump PORTREVISION for above plist change - PR: 191552 Submitted by: "quickfox" MFH: 2 weeks Notes: svn path=/head/; revision=360948
* Update to 3.14.12 and unbreak. Stage, use OPTIONS helpers, modernizeAdam Weinberger2014-07-064-114/+52
| | | | | | | | | | and clean up. PR: ports/191645 (based on) Submitted by: Dan Lukes Notes: svn path=/head/; revision=360898
* Mark as broken: no distinfo provided for some of the distfilesBaptiste Daroussin2014-06-221-1/+1
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=358854
* Support LIBS like LDFLAGS.Tijl Coosemans2014-06-111-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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) Notes: svn path=/head/; revision=357486
* - Convert gmake,bzip2,xz to USESMartin Wilke2014-05-291-1/+1
| | | | | | | Approved by: portmgr Notes: svn path=/head/; revision=355686
* - Remove manual creation and removal of share/applications, as it's now in ↵Dmitry Marakasov2013-10-221-1/+0
| | | | | | | | | the mtree (categories starting with [st]) Approved by: portmgr (bdrewery) Notes: svn path=/head/; revision=331274
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵Baptiste Daroussin2013-09-201-0/+1
| | | | | | | sysutils) Notes: svn path=/head/; revision=327772
* - fix depends after libgd updateDirk Meyer2013-08-111-1/+1
| | | | Notes: svn path=/head/; revision=324574
* - update libdg to 2.1.0Dirk Meyer2013-08-091-0/+1
| | | | Notes: svn path=/head/; revision=324437
* Convert left sysutils ports to new options frameworkBaptiste Daroussin2013-04-281-39/+32
| | | | Notes: svn path=/head/; revision=316744
* Fix tipo. [1]Ion-Mihai Tetcu2012-12-101-1/+1
| | | | | | | | | | Yes, I know I should convert it to OPTIONSng and I will :) PR: 174333 [1] Submitted by: John Marino [1] Notes: svn path=/head/; revision=308640
* Fix build on 9-STABLE and HEAD.Ion-Mihai Tetcu2012-11-301-0/+2
| | | | | | | Feature safe: yes Notes: svn path=/head/; revision=308026
* In the rc.d scripts, change assignments to rcvar to use theDoug Barton2012-01-141-1/+1
| | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=289156
* Update to 3.14.10Ion-Mihai Tetcu2011-11-194-116/+3
| | | | | | | | | | 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 Notes: svn path=/head/; revision=286102
* Remove more tags from pkg-descr files fo the form:Doug Barton2011-10-241-3/+0
| | | | | | | | | | | - 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. Notes: svn path=/head/; revision=284232
* - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)Dmitry Marakasov2011-09-231-3/+3
| | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=282282
* - Chase net-snmp shlib version bump.Sylvio Cesar Teixeira2011-07-281-2/+2
| | | | Notes: svn path=/head/; revision=278482
* - Get Rid MD5 supportMartin Wilke2011-03-191-2/+0
| | | | Notes: svn path=/head/; revision=271305
* - Chase net-snmp shlib bumpSylvio Cesar Teixeira2010-06-021-2/+2
| | | | Notes: svn path=/head/; revision=255579
* - Update to 3.14.8Ion-Mihai Tetcu2010-04-035-41/+18
| | | | | | | | | | | | | | | - 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@ Notes: svn path=/head/; revision=252106
* Begin the process of deprecating sysutils/rc_subr byDoug Barton2010-03-271-1/+1
| | | | | | | s#. %%RC_SUBR%%#. /etc/rc.subr# Notes: svn path=/head/; revision=251553
* - Switch SourceForge ports to the new File Release System: categories ↵Dmitry Marakasov2009-08-221-2/+1
| | | | | | | starting with P,R,S Notes: svn path=/head/; revision=240075
* Despite portlint, CONFIGURE_ENV ain't added in by bsd.port.mk. Restore the oldIon-Mihai Tetcu2009-03-161-3/+3
| | | | | | | | | | | | | 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] Notes: svn path=/head/; revision=230209
* - fix it to work with newusb on HEAD [1] [2]Ion-Mihai Tetcu2009-03-122-4/+68
| | | | | | | | | | - makefile cleanup and portlint petting. PR: ports/132548 [1] Submitted by: Ben Kelly [1], stass@ [2] Notes: svn path=/head/; revision=229936
* IGNORE the pdf manual, it changes to often.Ion-Mihai Tetcu2009-02-162-4/+3
| | | | | | | | | PR: 131747 [1] Submitted by: Shin-ichi Yoshimoto [1] Prompted by: [1] Notes: svn path=/head/; revision=228520
* Update to 3.14.5:Ion-Mihai Tetcu2009-02-152-8/+7
| | | | | | | | | | | | | | | | | | | | | | | * docs: Document the /refresh switch for apctray. * apctest: Do not create pid file. There is little reason for it since apctest is a command-line tool, not a daemon. Plus nothing ever deletes the file so it interferes with apcupsd operation. * gapcmon: Network connect timeout fix. * Fix a few unsafe uses of sprintf and strcat. * gapcmon: Iconify fixes for KDE * Fix LOWBATT glitch handling bug that could cause us to act on a LOWBATT signal immediately instead of waiting for the debounce time. * Support shutting down apcupsd instances running in other sessions (such as terminal services or remote desktop sessions). * docs: PCNET minimum password length is 15 chars, default username is 'apc', no known way to change the username. * Makefile: Fix dependency build errors on Darwin and other platforms. ('echo -n' is not portable; use 'tr' to strip newline instead) Tested by: beech@ Notes: svn path=/head/; revision=228443
* - conflict with sysutils/gapcmon when WITH_GAPCMON is on since this installsIon-Mihai Tetcu2008-09-071-0/+2
| | | | | | | | | | | | | | the bundled gapcmon in the same place - bump PORTREVISION This is a temporary fix as his suggestion from the PR to depend on sysutils/gapcmon is good but need further tests. PR: ports/126932 Submitted by: Jason E. Hale (sysutils/gapcmon maintainer) Notes: svn path=/head/; revision=220079
* Update entry for the pdf manual.Ion-Mihai Tetcu2008-07-241-3/+3
| | | | | | | Prompted by: Moggie on IRC Notes: svn path=/head/; revision=217412