aboutsummaryrefslogtreecommitdiffstats
path: root/net/mpd5
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2007-07-06 15:35:54 +0800
committersem <sem@FreeBSD.org>2007-07-06 15:35:54 +0800
commitc6c2e82f938c3e0aa9de615768a7de343a4ce59e (patch)
treec9b290048865fe066328dddba60387deea5dc7d5 /net/mpd5
parent1826a96f44f4f2b9d0ec6dc99ea8d086703ae9ae (diff)
downloadfreebsd-ports-gnome-c6c2e82f938c3e0aa9de615768a7de343a4ce59e.tar.gz
freebsd-ports-gnome-c6c2e82f938c3e0aa9de615768a7de343a4ce59e.tar.zst
freebsd-ports-gnome-c6c2e82f938c3e0aa9de615768a7de343a4ce59e.zip
- Update ng_car to 0.5 and mpd4 to 4.2.2
- Fix compatibility with FreeBSD 5.x - Install a kernel module in /boot/modules - Fix possible races with ldconfig in rc.d script - Change a maintainer email on @FreeBSD.org one Submitted by: mav
Diffstat (limited to 'net/mpd5')
-rw-r--r--net/mpd5/Makefile8
-rw-r--r--net/mpd5/distinfo6
-rw-r--r--net/mpd5/files/mpd4.sh.in5
3 files changed, 12 insertions, 7 deletions
diff --git a/net/mpd5/Makefile b/net/mpd5/Makefile
index b3c91ba9a8fb..41b9fa8fe217 100644
--- a/net/mpd5/Makefile
+++ b/net/mpd5/Makefile
@@ -6,13 +6,13 @@
#
PORTNAME= mpd
-DISTVERSION= 4.2.1
+DISTVERSION= 4.2.2
CATEGORIES= net
MASTER_SITES= SF
MASTER_SITE_SUBDIR= mpd
DIST_SUBDIR= mpd4
-MAINTAINER= mav@alkar.net
+MAINTAINER= mav@FreeBSD.org
COMMENT= Multi-link PPP daemon based on netgraph(4)
LIB_DEPENDS= pdel.0:${PORTSDIR}/devel/libpdel
@@ -23,7 +23,11 @@ LATEST_LINK= mpd4
.if ${OSVERSION} < 700041
BUILD_DEPENDS= /usr/local/include/netgraph/ng_car.h:${PORTSDIR}/net/ng_car
+.if exists(${KMODDIR}/ng_car.ko)
RUN_DEPENDS= ${KMODDIR}/ng_car.ko:${PORTSDIR}/net/ng_car
+.else
+RUN_DEPENDS= /boot/modules/ng_car.ko:${PORTSDIR}/net/ng_car
+.endif
.endif
MTREE_FILE= ${FILESDIR}/mpd4.mtree
diff --git a/net/mpd5/distinfo b/net/mpd5/distinfo
index c39554a0fc6f..221a670554a2 100644
--- a/net/mpd5/distinfo
+++ b/net/mpd5/distinfo
@@ -1,3 +1,3 @@
-SIZE (mpd4/mpd-4.2.1.tar.gz) = 436177
-MD5 (mpd4/mpd-4.2.1.tar.gz) = aee761933fb24ba3be24c074a91efed1
-SHA256 (mpd4/mpd-4.2.1.tar.gz) = a77925aa9efbfc361f75362c0744cb3405bc5cca441864420aa636e703a0ac63
+SIZE (mpd4/mpd-4.2.2.tar.gz) = 436214
+MD5 (mpd4/mpd-4.2.2.tar.gz) = 3208393c7127390a1222efe93cb4e3e1
+SHA256 (mpd4/mpd-4.2.2.tar.gz) = a6d6a1c132f0156c5f9e49d90c9f39584d86d4eaf9d530fb12a30e7d3f9b2733
diff --git a/net/mpd5/files/mpd4.sh.in b/net/mpd5/files/mpd4.sh.in
index acc229458c4e..c51ca124c7ab 100644
--- a/net/mpd5/files/mpd4.sh.in
+++ b/net/mpd5/files/mpd4.sh.in
@@ -4,8 +4,9 @@
#
# PROVIDE: mpd
-# REQUIRE: NETWORKING
-# BEFORE: SERVERS
+# REQUIRE: SERVERS
+# BEFORE: DAEMON
+# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable mpd4: