Commit graph

345 commits

Author SHA1 Message Date
Ryan Steinmetz
16aa4ff258 - Update MFD description
PR:		222331
2017-09-14 21:23:14 +00:00
Ryan Steinmetz
c550e11dac - MASTER_SITES cleanup 2017-08-01 17:07:58 +00:00
Mark Felder
362798bad5 Fix LIB_DEPENDS of ports which link to libpkg.so
spine and snmpd link to libpkg.so, but it is not properly declared in
the port.

MFH:		2017Q2
2017-06-12 20:27:31 +00:00
Gleb Smirnoff
3201285690 Fixing net-snmpd after src revision r317061 (struct vmmeter changes),
I discovered that net-snmpd tries to read { CTL_VM, VM_TOTAL } mib into
'struct vmmeter' variable, instead of 'struct vmtotal'.  Of course,
sysctl(3) fails, but net-snmpd doesn't check for errors.  Basicly this
is broken for all supported FreeBSD versions, and I believe for all
unsupported as well.  OIDs that report interruprs, context switches,
paging and swap in/out were returning garbage from the application
stack.

To patch that problem, provide dummy struct __vmmeter, which works
both on pre-r317061 and after, and add block of code that reads all
necessary stats one by one.  To keep with the style of the file, do
not check for errors from sysctl(3).
2017-04-20 22:16:00 +00:00
John Baldwin
74f6bded8b Always pass MNT_NOWAIT to getfsstat() as documented in the manpage.
One of the four calls in net-snmp currently passes 0 which triggers an
EINVAL change after recent changes in HEAD and 11-stable to add stricter
argument checking for the flags passed to getsstat().

Bump PORTREVISION.

PR:		218011
Reported by:	Slawa Olhovchenkov <slw@zxy.spb.ru>
Reviewed by:	brooks
Approved by:	maintainer (zi)
2017-04-10 17:17:33 +00:00
Gleb Smirnoff
509fcc6f16 Fix build when IPv6 is disabled.
Submitted by:	kan
2017-04-07 23:20:31 +00:00
Ryan Steinmetz
338bcbd2a3 - Force use of base OpenSSL for now (libpkg links against this) to resolve build failures under 10.3 i386
PR:		210299
Submitted by:	Michael Osipov
Reported by:	software@bertram-scharpf.de
2017-03-21 12:49:15 +00:00
Gleb Smirnoff
0eaf1a5942 Make it compilable on FreeBSD 12 after struct inpcb and struct tcpcb were
stopped being exported.
2017-03-21 06:46:32 +00:00
Antoine Brodin
20b3a34a02 Rename python setuptools ports to better match other python ports
Reviewed by:	mat, sunpoet
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D9983
2017-03-16 19:23:48 +00:00
Baptiste Daroussin
e787ff3995 Bump portrevision as it is linked to libpkg
Reported by:	madpilot
2017-02-25 15:18:04 +00:00
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