74 Commits

Author SHA1 Message Date
Eugene Grosbein
64005d0744 net/mpd5: remove BROKEN_SSL*
For now, BROKERNL_SSL* is designed for port that defines GNU_CONFIGURE
and USES=pkgconfig to get libssl's include and library paths by means
of pkg-config --cflags/--libs or just use CFLAGS etc. including ${LOCALBASE}

net/mpd5 does not use pkgconfig nor GNU configure and since last update
it forces usage of system libssl despite of presence of other *SSL packages,
so BROKEN_SSL* is unneeded and does only harm here.
2018-11-25 12:09:27 +00:00
Eugene Grosbein
53b8423b54 net/mpd5: fix build for systems having libressl installed
Import upstream revisions r2258-r2260: do not use -I${LOCALBASE}/include
by default when option NG_IPACCT is off. If NG_IPACCT is on,
use -nostdinc to force needed header inclusion order to force
usage of base system libssl.

Bump PORTREVISION as package can change if built with default options
when net-mgmt/ng_ipacct is installed.

PR:	233471
2018-11-25 07:48:21 +00:00
Eugene Grosbein
9f247eb0b6 net/mpd5: fix after incorrect change r484599
openssl-1.1.1 is in FreeBSD12 base system and that was already
resolved in r482627.

While here, explicitly mark the port incompatible with alternative SSL
libraries such as LibreSSL due to dependency of base system libfetch
that links with base system libssl.

PR:		233471
2018-11-25 04:23:30 +00:00
Mathieu Arnold
35326f1a97 security/openssl-devel was removed, but there is a security/openssl111 now. 2018-11-10 10:09:48 +00:00
Eugene Grosbein
ca57a74ce2 net/mpd5: make it possible to build with ssl=openssl111
Now as FreeBSD 12 got openssl-1.1.1 in base system and
/usr/include/openssl/ssl.h and /usr/local/include/openssl/ssl.h
are indentical, it is safe to allow building net/mpd5
with DEFAULT_VERSIONS having ssl=openssl111 and no reasons to break
the build.

However, resulting binary still links with base system /usr/lib/libssl.so
because of libfetch(3) needs it and mpd5 links with libfetch too.
2018-10-20 21:41:05 +00:00
Eugene Grosbein
7302ab34d1 net/mpd5: start service earlier
mpd5 daemon can be used as replacement for stock ppp(8) daemon
to provide global connectivity (PPPoE, mobile networks etc.)

Follow ppp(8) behavior and run startup script early before
NETWORKING (and netwait), so other services that require
working networking to be operational before starting won't fail.

Bump PORTREVISION.
2018-10-13 14:59:41 +00:00
Eugene Grosbein
c2a56941a0 net/mpd5: import latest fix for "set iface mtu X override" from upstream 2018-10-04 05:49:09 +00:00
Eugene Grosbein
bd8791a2ab net/mpd5: mark broken with openssl111 for a moment
mpd5 successfully compiles with openssl-devel or openssl111
but cannot be linked because it links with base system libfetch(3)
that currently links with /usr/lib/libssl.so.8 (openssl 1.0.2p-freebsd).

So, one should not attempt to build mpd5 with newer openssl version
until it's imported to base system so mpd5 won't link with two distinct
openssl versions.

PR:		231599
2018-09-22 23:19:40 +00:00
Mathieu Arnold
e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00
Eugene Grosbein
89d221b9b7 net/mpd5: revert previous LCP MRU negotiation change
and add new way to deal with same problem
following upstream changes r22478, r2249:

- reverse r2246 as it used wrong way to deal with the problem;
- make it possible to override results of LCP negotiation
  and set interface MTU to specified value with a command:

set iface mtu NNN override

New option "override" is not documented yet.
This is dangerous option as it can violate RFC 1661
and should be used with caution and at your own risk.
It is useful when you deal with broken PPP peer
negotiating too low value while higher MTU is known to work.
2018-08-04 08:02:40 +00:00
Eugene Grosbein
da6bb7f856 net/mpd5: add a fix from upstream r2247
Prevent reporting wrong traffic accounting data in very rare case
of failure of netgraph statistical socket data flow.
2018-07-27 10:38:13 +00:00
Eugene Grosbein
3ae104422b net/mpd5: really add the patch file after r473194 2018-06-24 13:02:05 +00:00
Eugene Grosbein
453bed2175 Minor change for net/mpd5: improve LCP MRU negotiation.
Add a fix from upstream r2246:

	Fix bug #62: improve LCP MRU negotiation in some unusual cases
	sometimes happening while using Orange S.A. services.
	This allow us to setup PPPoE client connection interface using mtu=1492
	instead of 1456.

Reported by:	Xavier Lemaire
Tested by:	Xavier Lemaire
2018-06-24 12:04:17 +00:00
Alex Dupre
589e5afc8f Fix support of PPPoE over VLAN and add basic parsing of PADM messages.
Submitted by:	ale
Reviewed by:	mav julian
Differential Revision:	https://reviews.freebsd.org/D9848
2018-02-26 09:16:11 +00:00
Sunpoet Po-Chuan Hsieh
5e58a91b95 Use BROKEN_SSL
Approved by:	portmgr (blanket)
2018-02-17 12:00:33 +00:00
Eugene Grosbein
b2eb29c87e Elaborate license information by changing it to right "BSD3CLAUSE"
instead of generic (and not entirely correct in this case) "BSD".

PR:		222545
Reported by:	Yasuhiro KIMURA <yasu@utahime.org>
2017-09-26 09:43:40 +00:00
Dmitry Marakasov
8d790267dd - Update WWW
Approved by:	portmgr blanket
2017-08-31 16:38:36 +00:00
Eugene Grosbein
98350784b4 Add a patch from upstream: switch from NO_MAN and COPTS to MK_MAN and CFLAGS
for modern FreeBSD versions. PORTREVISION unchanged.

Approved by: az (mentor).
2017-07-02 15:16:20 +00:00
Eugene Grosbein
902df8846c - add new patch from upstream to fix buffer overflow and improve compatibility
with FreeBSD 11.
- bump PORTREVISION.

Reviewed by: mav
Approved by: vsevolod (mentor)
2017-07-01 22:01:39 +00:00
Eugene Grosbein
556d632834 - Add new patch from upstream to improve stability of the daemon;
- simplify PORTDOCS and avoid usage of != in port's Makefile;
- add LICENSE;
- take maintainership;
- bump PORTREVISION.
2017-06-27 16:51:55 +00:00
Mathieu Arnold
a28f0f7f7f Remove all USE_OPENSSL occurrences.
Sponsored by:	Absolight
2017-03-15 14:45:30 +00:00
Mathieu Arnold
703ff6d361 Mark some ports as not openssl-devel ready.
Sponsored by:	Absolight
2016-11-29 18:46:21 +00:00
Dmitry Marakasov
4e942b6419 - Fix trailing whitespace in pkg-descrs, categories [g-n]*
Approved by:	portmgr blanket
2016-05-19 10:44:11 +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
Alexander Motin
262523f7f6 Update to 5.8. 2016-01-06 17:58:01 +00:00
Renato Botelho
878b22662a - Backport mpd5 fix (rev. 1224):
Do not print warning, when we a renaming interface to existing name
https://forum.pfsense.org/index.php?topic=41061.msg476926

- Bump PORTREVISION

PR:		200722
Approved by:	maintainer timeout (> 2 months)
Sponsored by:	Netgate
2015-08-14 15:03:30 +00:00
Bryan Drewery
1147afe21d Need to bump revision for r382043 as well since it will change runtime behavior
for all releases.

With hat:	portmgr
2015-03-23 21:19:01 +00:00
Dimitry Andric
cb0f2ac922 Fix build of net/mpd5, after SSLv2 was disabled in base.
Approved by:	portmgr (bdrewery)
PR:		198791
2015-03-23 21:09:48 +00:00
Mark Felder
efcc9ed5a6 Fix build with LibreSSL
PR:		196800
Approved by:	maintainer timeout
2015-02-25 14:19:43 +00:00
Baptiste Daroussin
5587763f34 cleanup plist 2014-12-20 19:23:19 +00:00
Mathieu Arnold
46cf4bcb84 Retire MANCOMPRESSED.
Also the compat NO_INSTALL_MANPAGES shim.

Differential Revision:	https://reviews.freebsd.org/D730
Reviewed by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
2014-09-18 12:31:24 +00:00
Jimmy Olgeni
ced6b00939 Tiny fixes for the mpd5 package.
- Use PLIST_DIRSTRY to avoid warnings when deinstalling.

- Set PROVIDE to mpd5 in startup script (it currently confuses
  bsdadminscripts' commands)

PR:		186531
Submitted by:	olgeni
Approved by:	maintainer timeout (120 days)
2014-06-07 17:32:04 +00:00
Renato Botelho
b36fa7d2df Fix build when WITHOUT_MAN is defined
PR:		ports/189008
Submitted by:	Lev Serebryakov <lev@FreeBSD.org>
2014-04-26 13:06:32 +00:00
Renato Botelho
b306894ebc Support STAGE
Approved by:	portmgr (blanket)
2014-03-27 00:30:34 +00:00
Baptiste Daroussin
cb34bd32c5 Fix package name collision with lang/mpd 2014-01-04 00:59:15 +00:00
Baptiste Daroussin
0c710c7b4e Add NO_STAGE all over the place in preparation for the staging support (cat: net) 2013-09-20 22:10:23 +00:00
Alexander Motin
4e2afec3d1 Update to 5.7. 2013-06-20 08:31:46 +00:00
Baptiste Daroussin
ac818fc7df Convert to new options framework
While here trim parts related to unsupported FreeBSD versions
2013-06-04 06:34:05 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +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
Sergey Matveychuk
de7256a9be - Update to 5.6
Submitted by:	maintainer
2011-12-21 16:16:43 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +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
Sergey Matveychuk
749ee3c260 - Update to 5.5
* New features:
          * Added `set link redial-delay ...` command.
          * Print global filters on `show iface|customer` commands.
          * Added protocol/port forwarding support for NAT.
          * Added utmpx support on 9-CURRENT.
     * Bugfixes:
          * Fix memory leaks on pptp and radius on some reason.
          * Really make RESULT a mandatory option in ext-auth.

Submitted by:	maintainer
Feature safe:	yes
2010-02-25 12:32:38 +00:00
Sergey Matveychuk
a95feec75c - Update to 5.4
New features:
    * Added built-in RADIUS server, supporting RFC 3576: Dynamic
      Authorization Extensions to RADIUS.
    * Added support for DSL Forum vendor-specific Circuit-ID/Remote-ID
      PPPoE tags and respective RFC 4679 RADIUS VSA.

Submitted by:	maintainer
2009-12-22 13:24:20 +00:00
Dmitry Marakasov
7914161a41 - Switch SourceForge ports to the new File Release System: categories starting with N 2009-08-22 00:32:25 +00:00
Sergey Matveychuk
dfe3b96ebe - Update to 5.3
Submitted by:	maintainer
2009-04-12 17:23:43 +00:00
Sergey Matveychuk
ee4c3be366 - Update 5.2
Submitted by:	mav (maintainer)
2008-10-01 20:36:24 +00:00
Sergey Matveychuk
0e8ba3f0fe - Remove mtree(8) files. It prevents creating doc directories
when NOPORTDOCS defined.

Submitted by:	mav (maintainer)
2008-06-21 13:03:40 +00:00
Sergey Matveychuk
cccb106648 - Update to 5.1
Next major stable release of mpd5 branch presents improved performance,
  scalability, additional features and bugfixes.

Submitted by:	maintainer
2008-04-07 14:50:58 +00:00