Commit graph

327 commits

Author SHA1 Message Date
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
Mathieu Arnold
61de712f46 Remove all the bootstrap files (.bs) from the plists.
Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.

PR:		190681
Submitted by:	mat
Exp-Run by:	antoine
Sponsored by:	Absolight
2014-06-10 12:14:12 +00:00
Baptiste Daroussin
4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00
Bryan Drewery
3c7bfe1f22 - Fix build with pkg_install
Reported by:	zi
2014-04-23 02:17:35 +00:00
Bryan Drewery
59a410425d - Remove LIB_DEPENDS on libpkg.so to fix pkg-devel usage.
* While this dependency is proper, it creates a hard dependency on
    ports-mgmt/pkg, which interferes with pkg-devel testing. Users
    using pkg-devel are forced to install ports-mgmt/pkg if using this
    port or anything depending on this port.
    While the LIB_DEPENDS has been removed, pkg will still record that
    the net-snmp package requires libpkg.so.1, due to its auto shlib
    dependency registering. This is fine as the package depends on
    libpkg.so.1 but not explicitly on ports-mgmt/pkg. The pkg solver
    can decide how to satisfy that dependency.
  * If using pkg you'll already have pkg installed while building
    this port in ports or installing from packages. So nothing is lost
    here.
  * Once pkg-1.3 is out we may change ACTUAL-PACKAGE-DEPENDS to only
    consider RUN_DEPENDS, not also LIB_DEPENDS. This would remove
    the hard dependency on ports-mgmt/pkg here. pkg-1.2 cannot
    handle this yet though.

Reported by:	rpaulo
Reported at:	https://github.com/freebsd/pkg/issues/785
With hat:	portmgr
2014-04-23 01:29:25 +00:00
Ryan Steinmetz
ddc608e001 - Fix another pkg-plist issue
- Bump PORTREVISION
2014-04-10 22:02:00 +00:00
Ryan Steinmetz
49f85ed3aa - Unbreak python support
- Fix pkg-plist issue
- Bump PORTREVISION

PR:		ports/188440
Submitted by: 	Johannes Jost Meixner <xmj@FreeBSD.org>
2014-04-10 21:48:42 +00:00
Ryan Steinmetz
ee4a36e4e4 - Try fixing the plist again 2014-04-10 02:41:12 +00:00
Ryan Steinmetz
949b407edd - Fix plist
- Fix include path
2014-04-10 02:26:09 +00:00