Commit graph

109 commits

Author SHA1 Message Date
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
Ion-Mihai Tetcu
ec377f19f3 - fix it to work with newusb on HEAD [1] [2]
- makefile cleanup and portlint petting.

PR:		ports/132548 [1]
Submitted by:	Ben Kelly [1], stass@ [2]
2009-03-12 14:10:54 +00:00
Ion-Mihai Tetcu
f467c69748 IGNORE the pdf manual, it changes to often.
PR:		131747 [1]
Submitted by:	Shin-ichi Yoshimoto [1]
Prompted by:	[1]
2009-02-16 22:56:48 +00:00
Ion-Mihai Tetcu
0c24f0aa41 Update to 3.14.5:
* 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@
2009-02-15 19:45:43 +00:00
Ion-Mihai Tetcu
de10f9063c - conflict with sysutils/gapcmon when WITH_GAPCMON is on since this installs
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)
2008-09-07 07:45:07 +00:00
Ion-Mihai Tetcu
e2426fa586 Update entry for the pdf manual.
Prompted by:	Moggie on IRC
2008-07-24 11:58:44 +00:00
Ion-Mihai Tetcu
8f93fe176d Update to 3.14.4.
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>
2008-07-10 20:03:47 +00:00
Edwin Groothuis
a550b67ae0 Bump portrevision due to upgrade of devel/gettext.
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)
2008-06-06 14:33:40 +00:00
Ion-Mihai Tetcu
0a6f63b0f3 - Patch powerflute to include the "correct" ncurses header when devel/ncurses* is
installed.
- bup PORTREVISION for for this.

Reported by:	Robert Jameson
Reviewed by:	rafan@
2008-04-05 13:42:04 +00:00
Ion-Mihai Tetcu
c5e2e02c67 - update to 3.14.3
- 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]
2008-03-31 17:21:57 +00:00
Jun Kuriyama
69667d219f - Chase shlib version of net-mgmt/net-snmp.
- Bump PORTREVISIONs.
2008-03-27 10:58:30 +00:00
Ion-Mihai Tetcu
a62bccf85a - Update to 3.14.2
- 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
2007-10-21 10:39:39 +00:00
Rong-En Fan
f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
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
2007-07-23 09:36:51 +00:00
Ion-Mihai Tetcu
6f37f4094c The pdf file still changes to much, so put it back in IGNORE files.
Poked by:	a few people on IRC
2007-06-12 19:39:21 +00:00
Ion-Mihai Tetcu
16760ce5aa - Update to 3.14.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
2007-06-10 23:18:10 +00:00
Ion-Mihai Tetcu
d7871ae81f Update to 3.14.0
- 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@
2007-04-05 19:57:25 +00:00
Jun Kuriyama
384985f41e - Bump shlib version to libnetsnmp.so.10 and bump $PORTREVISION. 2007-02-28 01:19:04 +00:00
Ion-Mihai Tetcu
9f9497545e Update to 3.12.4:
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.
2006-09-09 17:25:05 +00:00
Ion-Mihai Tetcu
561854175a - remove w/o PTHREADS OPTION since it's not supported upstream anymore. [1]
- remove pre-4.x support
- change MAINIANER addres to my @FreeBSD.org one
- bump PORTREVISION

PR:		ports/101342 [1]
Submitted by:	Shane Bell [1]
2006-08-04 14:17:31 +00:00