1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Update to 4.3

Changes:
 - Added configure script for better system features detection
   and so added ability to build without ng_car module.
 - Several new PPPoE and L2TP configuration options.
 - Reimplemented RADIUS Class attribute support.
 - Added native 64bit ng_ppp stat counters support.
 - Added initial ng_ipacct node support.
 - Several bugs fixed in PPTP, L2TP, DoD and proxy-arp.

Submitted by:	mav (maintainer)
This commit is contained in:
Sergey Matveychuk 2007-08-29 11:45:09 +00:00
parent b775ccae39
commit 7582fb0895
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198489
4 changed files with 52 additions and 22 deletions

View File

@ -6,7 +6,7 @@
# #
PORTNAME= mpd PORTNAME= mpd
DISTVERSION= 4.2.2 DISTVERSION= 4.3
CATEGORIES= net CATEGORIES= net
MASTER_SITES= SF MASTER_SITES= SF
MASTER_SITE_SUBDIR= mpd MASTER_SITE_SUBDIR= mpd
@ -17,16 +17,33 @@ COMMENT= Multi-link PPP daemon based on netgraph(4)
LIB_DEPENDS= pdel.0:${PORTSDIR}/devel/libpdel LIB_DEPENDS= pdel.0:${PORTSDIR}/devel/libpdel
LATEST_LINK= mpd4 LATEST_LINK= mpd4
OPTIONS= NG_CAR "Use ng_car kernel module from port (< 7.0 only)" off\
NG_IPACCT "Use ng_ipacct kernel module from port" off
HAS_CONFIGURE= YES
CONFIGURE_WRKSRC= "${WRKSRC}/src"
USE_OPENSSL= yes
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${OSVERSION} < 700041 .if ${OSVERSION} < 700041 && defined(WITH_NG_CAR)
BUILD_DEPENDS= /usr/local/include/netgraph/ng_car.h:${PORTSDIR}/net/ng_car BUILD_DEPENDS+= ${LOCALBASE}/include/netgraph/ng_car.h:${PORTSDIR}/net/ng_car
.if exists(${KMODDIR}/ng_car.ko) .if exists(${KMODDIR}/ng_car.ko)
RUN_DEPENDS= ${KMODDIR}/ng_car.ko:${PORTSDIR}/net/ng_car RUN_DEPENDS+= ${KMODDIR}/ng_car.ko:${PORTSDIR}/net/ng_car
.else .else
RUN_DEPENDS= /boot/modules/ng_car.ko:${PORTSDIR}/net/ng_car RUN_DEPENDS+= /boot/modules/ng_car.ko:${PORTSDIR}/net/ng_car
.endif
.endif
.if defined(WITH_NG_IPACCT)
BUILD_DEPENDS+= ${LOCALBASE}/include/netgraph/ng_ipacct.h:${PORTSDIR}/net-mgmt/ng_ipacct
.if exists(${KMODDIR}/ng_ipacct.ko)
RUN_DEPENDS+= ${KMODDIR}/ng_ipacct.ko:${PORTSDIR}/net-mgmt/ng_ipacct
.else
RUN_DEPENDS+= /boot/modules/ng_ipacct.ko:${PORTSDIR}/net-mgmt/ng_ipacct
.endif .endif
.endif .endif
@ -42,6 +59,4 @@ PORTDOCS= ${HTMLNUM:S/^/mpd/:S/$/.html/} mpd.html mpd.ps README \
PLIST_DIRS= etc/mpd4 PLIST_DIRS= etc/mpd4
PLIST_FILES= ${CONFSUF:S/^/etc\/mpd4\/mpd./:S/$/.sample/} sbin/mpd4 PLIST_FILES= ${CONFSUF:S/^/etc\/mpd4\/mpd./:S/$/.sample/} sbin/mpd4
USE_OPENSSL= yes
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
SIZE (mpd4/mpd-4.2.2.tar.gz) = 436214 SIZE (mpd4/mpd-4.3.tar.gz) = 442614
MD5 (mpd4/mpd-4.2.2.tar.gz) = 3208393c7127390a1222efe93cb4e3e1 MD5 (mpd4/mpd-4.3.tar.gz) = 6493486df091685b1b647a761e8ec7af
SHA256 (mpd4/mpd-4.2.2.tar.gz) = a6d6a1c132f0156c5f9e49d90c9f39584d86d4eaf9d530fb12a30e7d3f9b2733 SHA256 (mpd4/mpd-4.3.tar.gz) = de2993d8a50d89623d3a5f43e303db252b5c953f86ab830aa7e52d44828b0cae

View File

@ -6,7 +6,7 @@
# #
PORTNAME= mpd PORTNAME= mpd
DISTVERSION= 4.2.2 DISTVERSION= 4.3
CATEGORIES= net CATEGORIES= net
MASTER_SITES= SF MASTER_SITES= SF
MASTER_SITE_SUBDIR= mpd MASTER_SITE_SUBDIR= mpd
@ -17,16 +17,33 @@ COMMENT= Multi-link PPP daemon based on netgraph(4)
LIB_DEPENDS= pdel.0:${PORTSDIR}/devel/libpdel LIB_DEPENDS= pdel.0:${PORTSDIR}/devel/libpdel
LATEST_LINK= mpd4 LATEST_LINK= mpd4
OPTIONS= NG_CAR "Use ng_car kernel module from port (< 7.0 only)" off\
NG_IPACCT "Use ng_ipacct kernel module from port" off
HAS_CONFIGURE= YES
CONFIGURE_WRKSRC= "${WRKSRC}/src"
USE_OPENSSL= yes
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${OSVERSION} < 700041 .if ${OSVERSION} < 700041 && defined(WITH_NG_CAR)
BUILD_DEPENDS= /usr/local/include/netgraph/ng_car.h:${PORTSDIR}/net/ng_car BUILD_DEPENDS+= ${LOCALBASE}/include/netgraph/ng_car.h:${PORTSDIR}/net/ng_car
.if exists(${KMODDIR}/ng_car.ko) .if exists(${KMODDIR}/ng_car.ko)
RUN_DEPENDS= ${KMODDIR}/ng_car.ko:${PORTSDIR}/net/ng_car RUN_DEPENDS+= ${KMODDIR}/ng_car.ko:${PORTSDIR}/net/ng_car
.else .else
RUN_DEPENDS= /boot/modules/ng_car.ko:${PORTSDIR}/net/ng_car RUN_DEPENDS+= /boot/modules/ng_car.ko:${PORTSDIR}/net/ng_car
.endif
.endif
.if defined(WITH_NG_IPACCT)
BUILD_DEPENDS+= ${LOCALBASE}/include/netgraph/ng_ipacct.h:${PORTSDIR}/net-mgmt/ng_ipacct
.if exists(${KMODDIR}/ng_ipacct.ko)
RUN_DEPENDS+= ${KMODDIR}/ng_ipacct.ko:${PORTSDIR}/net-mgmt/ng_ipacct
.else
RUN_DEPENDS+= /boot/modules/ng_ipacct.ko:${PORTSDIR}/net-mgmt/ng_ipacct
.endif .endif
.endif .endif
@ -42,6 +59,4 @@ PORTDOCS= ${HTMLNUM:S/^/mpd/:S/$/.html/} mpd.html mpd.ps README \
PLIST_DIRS= etc/mpd4 PLIST_DIRS= etc/mpd4
PLIST_FILES= ${CONFSUF:S/^/etc\/mpd4\/mpd./:S/$/.sample/} sbin/mpd4 PLIST_FILES= ${CONFSUF:S/^/etc\/mpd4\/mpd./:S/$/.sample/} sbin/mpd4
USE_OPENSSL= yes
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
SIZE (mpd4/mpd-4.2.2.tar.gz) = 436214 SIZE (mpd4/mpd-4.3.tar.gz) = 442614
MD5 (mpd4/mpd-4.2.2.tar.gz) = 3208393c7127390a1222efe93cb4e3e1 MD5 (mpd4/mpd-4.3.tar.gz) = 6493486df091685b1b647a761e8ec7af
SHA256 (mpd4/mpd-4.2.2.tar.gz) = a6d6a1c132f0156c5f9e49d90c9f39584d86d4eaf9d530fb12a30e7d3f9b2733 SHA256 (mpd4/mpd-4.3.tar.gz) = de2993d8a50d89623d3a5f43e303db252b5c953f86ab830aa7e52d44828b0cae