Commit graph

335 commits

Author SHA1 Message Date
Dmitry Marakasov
2050793b5d - Always check OPSYS along with OSVERSION
Approved by:	portmgr blanket
2017-01-12 13:45:40 +00:00
Renato Botelho
ba6bf4b4ab - Add TLS OPTION to net-mgmt/net-snmp
- While here replace USE_OPENSSL by USES=ssl

Approved by:	maintainer (zi@)
Obtained from:	pfSense
Sponsored by:	Rubicon Communications (Netgate)
Differential Revision:	https://reviews.freebsd.org/D9140
2017-01-11 19:42:49 +00:00
Mathieu Arnold
703ff6d361 Mark some ports as not openssl-devel ready.
Sponsored by:	Absolight
2016-11-29 18:46:21 +00:00
Antoine Brodin
d40f6d89cc Fix build on head (freebsd 12)
Reported by:	pkg-fallout
2016-07-10 17:58:15 +00:00
Mathieu Arnold
1a8a092d9f Rename all files containing a : in their filename.
While there, run make makepatch on affected ports, and rename patches
accordingly.

Sponsored by:	Absolight
2016-06-17 23:28:04 +00:00
Mathieu Arnold
5b55a8a53e Fix usage of WITH_OPENSSL_BASE, WITH_OPENSSL_PORT and OPENSSL_PORT.
WITH_OPENSSL_* can't be set after bsd.port.pre.mk.
Fold all other usage into using SSL_DEFAULT == foo

PR:		210149
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6577
2016-06-16 13:23:13 +00:00
Ryan Steinmetz
1e1420d07e - Add OPTION to pass --disable-snmptrapd-subagent to configure
PR:		209885
Submitted by:	emz@norma.perm.ru
2016-05-31 13:45:31 +00:00
Dmitry Marakasov
c86e9d9724 Remove NLS, DOCS, EXAMPLES and IPV6 from OPTIONS_DEFAULT, they are enabled by default anyway and don't need to be listed
Approved by:	portmgr blanket
2016-05-23 20:35:01 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Ian Lepore
4080818d82 Fix net-snmp ipv6 option handling when other options are also used.
r381568 added CONFIGURE_ARGS+=--with-out-mib-modules="mibII/ipv6", but the
handling of other options can result in two different --with-out-mib-modules
arguments being passed to configure, and only the second one has
effect. That leads to build failures because it tries to build the old
mibII/ipv6 which is no longer supported on freebsd.

This change adds mibII/ipv6 to the list of excluded modules that gets turned
into the --with-out-mib-modules argument, so it plays nice with other option
handling.

PR:		199401
Approved by:	mat(mentor)
Differential Revision:	https://reviews.freebsd.org/D5329
2016-02-19 23:05:08 +00:00
Ryan Steinmetz
1d65b6dfed - Add newsyslog rotation configuration for /var/log/snmpd.log
- Bump PORTREVISION

Submitted by:	Jan Joris Vereijken <janjoris@acm.org>
2015-10-18 23:34:54 +00:00
Mathieu Arnold
7f0f664d7e Drop 8 support.
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3694
2015-10-15 14:55:14 +00:00
Ryan Steinmetz
add0fecbc8 - Fix two memory leaks (reported in upstream bug #2674)
- Bump PORTREVISION

Submitted by:	Laurent GOUHIER <lg@efficientip.com>
Obtained from:	valgrind
2015-10-13 12:18:17 +00:00
Ryan Steinmetz
6472ce6df1 - Honor WITHOUT_SSP
PR:		203369
Submitted by:	Kenneth Salerno <kennethsalerno@yahoo.com>
2015-09-26 14:21:39 +00:00
Jimmy Olgeni
41a7072cfb Typos, whitespace and capitalization fixes (G-P). 2015-09-20 20:54:08 +00:00
Ryan Steinmetz
dec73d3958 - Merge in fix for upsteam bug #2647
- Bump PORTREVISION
2015-09-09 19:36:49 +00:00
Mathieu Arnold
e656d9b1af Fix build with the two latest lang/perl5-devel.
Approved by:	zi
Sponsored by:	Absolight
2015-09-03 23:18:09 +00:00
Mathieu Arnold
5a239bb7f0 Fix build with lang/perl5-devel after 16d89be.
Approved by:	zi
Obtained from:	Jarkko Hietaniemi
Sponsored by:	Absolight
2015-08-11 13:27:43 +00:00
Ryan Steinmetz
bc0aa45da2 - Fix CVE-2015-5621
- Bump PORTREVISION

PR:		202099
Submitted by:	serg@tmn.ru
2015-08-10 02:15:52 +00:00
Dmitry Marakasov
fba719f942 - Don't cat pkg-message from Makefiles
Approved by:	portmgr blanket
2015-05-21 06:54:23 +00:00
Dmitry Marakasov
8a79462fe1 - Add CPE info
Approved by:	portmgr blanket
2015-05-16 16:16:31 +00:00
Baptiste Daroussin
85d3179485 Bump after upgrade of pkg 2015-04-14 19:08:28 +00:00
Mathieu Arnold
0438143249 Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).

Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.

Differential Revision:	https://reviews.freebsd.org/D2209
2015-04-03 11:26:48 +00:00
Gleb Smirnoff
b9261c0154 On head do not build deprecated IPV6-MIB implementations in mibII/ipv6.c,
now superseeded by the INET-XXX-MIB versions. And no need for _WANT_IFADDR
hack now.

This fixes build on head, since cuts away the main kvm(3) abuser from
net-snmp.

Discussion:	http://sourceforge.net/p/net-snmp/mailman/message/33539005/
Sponsored by:	Netflix
Sponsored by:	Nginx, Inc.
Approved by:	zi
2015-03-18 16:05:08 +00:00
Ryan Steinmetz
6d443bd621 - Bring back lost patch to fix memory usage calculations
- Bump PORTREVISION

PR:		148339
2015-02-20 14:52:01 +00:00
Ryan Steinmetz
dae081897f - Fix error in previous patch that was causing threads to be included in the process count
- Bump PORTREVISION
2015-02-17 20:49:10 +00:00
Ryan Steinmetz
fe533a0788 - Add JAIL OPTION to build with options that are happy for running snmpd within a jail(8)
PR:		197763
Submitted by:	Athanasios Douitsis <aduitsis@gmail.com>
2015-02-17 16:44:00 +00:00
Ryan Steinmetz
eb0ed5cd4e - Fix hrSystemProcesses regression
- Bump PORTREVISION

PR:		197124
Submitted by:	Lukasz Wasikowski <lukasz@wasikowski.net>
Obtained from:	upstream: https://sourceforge.net/p/net-snmp/bugs/2595/
2015-02-12 19:50:34 +00:00
Ryan Steinmetz
024e852a6d - Never link against libpci
- Fix build under 11
- Bump PORTREVISION

PR:		196904, 194881
2015-01-29 02:03:09 +00:00
Mathieu Arnold
18d282da87 Get libpkg detection working again on 8 and 9, fixes hrSWInstalled's MIB.
Approved by:	zi
Sponsored by:	Absolight
2015-01-23 14:48:50 +00:00
Ryan Steinmetz
ae3303f002 - Readd ${LOCALBASE}/lib to ldflags 2015-01-20 14:51:42 +00:00
Ryan Steinmetz
efea5e65c9 - Update to 5.7.3
- Add missing PYTHON files into pkg-plist
2015-01-19 18:10:31 +00:00
Mathieu Arnold
eee58d187e Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
Perl version, minimizing the upgrade when the major Perl version is changed.
It uses a version dependent directory for modules with compiled bits.

As PERL_ARCH is no longer needed in plists, it has been removed from
PLIST_SUB.

The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
always removed, as is perllocal.pod.

The old site_perl and site_perl/arch directories have been kept in the
default Perl @INC for all Perl ports, and will be phased out as these old
Perl versions expire.

PR:		194969
Differential Revision:	https://reviews.freebsd.org/D1019
Exp-run by:	antoine
Reviewed by:	perl@
Approved by:	portmgr
2014-11-26 13:08:24 +00:00
Baptiste Daroussin
2e15d779d2 Simplify plist 2014-10-31 23:44:28 +00:00
Ryan Steinmetz
cbf8c14167 - Convert USE_PYTHON to USES+=PYTHON 2014-09-17 15:44:42 +00:00
Ryan Steinmetz
438528a841 - Fix build when PREFIX != PKG_PREFIX
PR:		193358
Submitted by:	dinox@
2014-09-08 12:20:36 +00:00
Baptiste Daroussin
d96aa38d95 Remove support for pkg_install
Merge back bsd.pkgng.mk into bsd.port.mk
Add a note about @stopdaemon not being supported anymore

With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D693
2014-09-01 13:03:25 +00:00
Ryan Steinmetz
b6cc11c1fb - Bump PORTREVISION to chase ports-mgmt/pkg update to 1.3.1 2014-07-27 12:16:47 +00:00
Ryan Steinmetz
3bd02a6fe0 - Bump PORTREVISION to chase ports-mgmt/pkg update 2014-07-23 22:22:46 +00:00
Adam Weinberger
0a68394133 Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 16:44:50 +00:00
Jimmy Olgeni
7dc406a7a1 Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category N.

CR:		D307
Approved by:	portmgr (bapt)
2014-07-10 12:13:11 +00:00
Ryan Steinmetz
72d070542b - Resolve build under 10 when security/openssl is installed
- Bump PORTREVISION for easy tracking
2014-06-30 18:43:48 +00:00
Ryan Steinmetz
6294e6933b - Use WITH_OPENSSL_PORT as the conditional for adding libcrypto 2014-06-26 01:24:20 +00:00
Ryan Steinmetz
bc3fd0ac05 - Another attempt at unbreaking 2014-06-25 15:25:40 +00:00
Ryan Steinmetz
5d9c62504b - Fix yet another problem 2014-06-25 14:25:14 +00:00
Ryan Steinmetz
82d6345452 - Fix build when OPENSSL_PORT is specified
- Bump PORTREVISION

Submitted by:	mat, bapt
2014-06-24 23:56:11 +00:00
Ryan Steinmetz
c949a868d3 - Portscout: skip version 5.7.2.1 as this was for a linux-only vuln
- Remove redundant PS_CMD as it is now in Mk/bsd.commands.mk
- Do not bump PORTREVISION as this is a NOOP
2014-06-23 19:13:44 +00:00
Ryan Steinmetz
de7e469b15 - Unbreak build after previous commits
- Bump PORTREVISION

PR:		191148
Submitted by:	girgen@
2014-06-23 03:35:40 +00:00
Kurt Jaeger
2db0c147d8 net-mgmt/net-snmp: fix USE_PERL5
Reported by:	az
2014-06-13 19:06:57 +00:00
Kurt Jaeger
e363bfa17b net-mgmt/net-snmp: fixpacklist
Approved by:	portmgr (blanket)
2014-06-13 18:40:39 +00:00