aboutsummaryrefslogtreecommitdiff
path: root/sysutils/apcupsd/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* sysutils/apcupsd: Several improvementsDanilo G. Baio2017-06-191-24/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-071-31/+24
| | | | | | | | | | | | | | - 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-041-2/+1
| | | | | | | | | 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
* 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
* 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-291-3/+4
| | | | | | | | | | | | | - 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
* - 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-061-102/+38
| | | | | | | | | | 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
* 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
* Update to 3.14.10Ion-Mihai Tetcu2011-11-191-2/+1
| | | | | | | | | | 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
* - 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
* - 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-031-19/+14
| | | | | | | | | | | | | | | - 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
* - 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-121-4/+10
| | | | | | | | | | - 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-161-1/+1
| | | | | | | | | 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-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | * 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 to 3.14.4.Ion-Mihai Tetcu2008-07-101-18/+14
| | | | | | | | | | | | | | | | | | | Notable changes are: - it now builds using gmake - NLS and POWERFLUTE are removed - POLLTIME directive to control UPS polling interval. This directive specifies the number of seconds to delay between polling the UPS for status. Previously, NETTIME allowed this to be adjusted for network connections only (snmp, pcnet, nis-net). POLLTIME configures the delay for all connection types. NETTIME is accepted as a synonym for compatibility with old config files. - you can now use the graphical client via GAPCMON OPTION - it won't build on anything pre 6.3R Tested by: Stefan Lambrev <stefan.lambrev@moneybookers.com> Notes: svn path=/head/; revision=216669
* Bump portrevision due to upgrade of devel/gettext.Edwin Groothuis2008-06-061-1/+1
| | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=214431
* - Patch powerflute to include the "correct" ncurses header when ↵Ion-Mihai Tetcu2008-04-051-0/+1
| | | | | | | | | | | | | devel/ncurses* is installed. - bup PORTREVISION for for this. Reported by: Robert Jameson Reviewed by: rafan@ Notes: svn path=/head/; revision=210576
* - update to 3.14.3Ion-Mihai Tetcu2008-03-311-17/+85
| | | | | | | | | | | | | | | | | - more OPTIONS to let the user choose what he needs to have compiled - don't allow drivers to be compiled if user wants only the client - chase netsnmp shared lib version - provide internationalization support - provide backup location on my server for the pdf manual and don't IGNORE the file in distinfo anymore - patch apcaccess to be able to fetch the host:port from the config file [1] - add patch to allow usb driver to compile [2] PR: ports/121141 [1] Submitted by: Adrian Penisoara [1], Stefan Lambrev [2] Notes: svn path=/head/; revision=210280
* - Chase shlib version of net-mgmt/net-snmp.Jun Kuriyama2008-03-271-1/+2
| | | | | | | - Bump PORTREVISIONs. Notes: svn path=/head/; revision=209941
* - Update to 3.14.2Ion-Mihai Tetcu2007-10-211-12/+15
| | | | | | | | | | | | | | | - Now the port build depends on devel/makedepend - Utilize ETCDIR for Makefile and pkg-plist - Move pkg-message to FILESDIR - No need to use USE_GETTEXT=yes, because port doesn't install any mo files and --enable-nls option doesn't help. With --with-included-gettext apcupsd doesn't build. PR: ports/116774 Submitted by: Alexander Logvinov Notes: svn path=/head/; revision=201714
* - Set --mandir and --infodir in CONFIGURE_ARGS if the configure scriptRong-En Fan2007-07-231-3/+2
| | | | | | | | | | | | | | | | | | | | | supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run Notes: svn path=/head/; revision=196111
* The pdf file still changes to much, so put it back in IGNORE files.Ion-Mihai Tetcu2007-06-121-0/+1
| | | | | | | Poked by: a few people on IRC Notes: svn path=/head/; revision=193349
* - Update to 3.14.1Ion-Mihai Tetcu2007-06-101-2/+1
| | | | | | | | | | | - try to checksum the pdf manual again, since there's a new version for the 3.14.x series PR: ports/113211 Submitted by: Alexander Logvinov Notes: svn path=/head/; revision=193199
* Update to 3.14.0Ion-Mihai Tetcu2007-04-051-8/+2
| | | | | | | | | | | | | | | - MASTER/SLAVE networking mode removed (use NIS instead, see manual) - PowerChute Network Shutdown driver - New configuration directives to set paths at runtime Note: GAPCMON GUI monitoring tool is not yet builded in this port, but it will. PR: ports/111253 Submitted by: Jui-Nan Lin <jnlin@csie.nctu.edu.tw> Poked by: infofarmer@ Notes: svn path=/head/; revision=189310
* - Bump shlib version to libnetsnmp.so.10 and bump $PORTREVISION.Jun Kuriyama2007-02-281-1/+2
| | | | Notes: svn path=/head/; revision=186174
* Update to 3.12.4:Ion-Mihai Tetcu2006-09-091-2/+1
| | | | | | | | | | This is a bug fix release which includes fixes for SNMP crash in the face of network errors. Also status and data logging interval was often off by one period. NIS port now properly defaults to 3551 or value provided by configure, not hard-coded 7000. Notes: svn path=/head/; revision=172646
* - remove w/o PTHREADS OPTION since it's not supported upstream anymore. [1]Ion-Mihai Tetcu2006-08-041-15/+6
| | | | | | | | | | | | - remove pre-4.x support - change MAINIANER addres to my @FreeBSD.org one - bump PORTREVISION PR: ports/101342 [1] Submitted by: Shane Bell [1] Notes: svn path=/head/; revision=169658
* - Update to 3.12.3Pav Lucistnik2006-05-011-2/+3
| | | | | | | | PR: ports/96545 Submitted by: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer) Notes: svn path=/head/; revision=161069