Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 1998 14:03:20 +0400 (MSD)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7947: Update port: net/mpd
Message-ID:  <199809161003.OAA01531@icc.surw.chel.su>

next in thread | raw e-mail | index | archive | help

>Number:         7947
>Category:       ports
>Synopsis:       Update port: net/mpd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 16 03:10:01 PDT 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway ICC
>Release:        FreeBSD 2.2.7-RELEASE i386
>Environment:

>Description:

   This is a patch to update net/mpd port.


diff -Nru mpd/Makefile mpd-1.0b5/Makefile
--- mpd/Makefile	Thu Jan 15 11:22:28 1998
+++ mpd-1.0b5/Makefile	Wed Sep 16 17:21:36 1998
@@ -1,23 +1,23 @@
 # New ports collection makefile for:	mpd
-# Version required:			1.0b4
+# Version required:			1.0b5
 # Date created:				16 May 1997
 # Whom:					Andrey Zakhvatov
 #
 # $Id: Makefile,v 1.7 1998/01/15 03:42:31 steve Exp $
 #
 
-DISTNAME=		mpd-1.0b4
-CATEGORIES=		net
-MASTER_SITES=		ftp://ftp.whistle.com/pub/archie/mpd/
-EXTRACT_SUFX=		.tgz
+DISTNAME=	mpd-1.0b5
+CATEGORIES=	net
+MASTER_SITES=	ftp://ftp.whistle.com/pub/archie/mpd/
+EXTRACT_SUFX=	.tgz
 
-MAINTAINER=		andy@icc.surw.chel.su
+MAINTAINER=	andy@icc.surw.chel.su
 
-OSVERSION!=     sysctl -n kern.osreldate
+OSVERSION!=	sysctl -n kern.osreldate
 
-WRKSRC=			${WRKDIR}/mpd-1.0b4/src
-ALL_TARGET=		depend all
-MAN1=			mpd.1
+WRKSRC=		${WRKDIR}/mpd-1.0b5/src
+ALL_TARGET=	depend all
+MAN1=		mpd.1
 
 do-install:
 	@ ${INSTALL_PROGRAM} ${WRKSRC}/mpd ${PREFIX}/sbin/mpd
@@ -26,10 +26,12 @@
 .for file in mpd.conf mpd.links mpd.script mpd.secret
 	@ ${INSTALL_DATA} ${WRKSRC}/../conf/${file} ${PREFIX}/etc/mpd/${file}.sample
 .endfor
+.if !defined(NOPORTDOCS)
 	@ ${MKDIR} ${PREFIX}/share/doc/mpd
 	@ ${INSTALL_DATA} ${WRKSRC}/../README ${PREFIX}/share/doc/mpd/README
-.for file in CHANGES PROTOS README.code README.commands README.scripts
+.for file in CHANGES PROTOS EQL.patch README.code README.commands README.scripts README.server
 	@ ${INSTALL_DATA} ${WRKSRC}/../docs/${file} ${PREFIX}/share/doc/mpd
 .endfor
+.endif
 
 .include <bsd.port.mk>
diff -Nru mpd/files/md5 mpd-1.0b5/files/md5
--- mpd/files/md5	Wed Sep 10 18:55:34 1997
+++ mpd-1.0b5/files/md5	Wed Sep 16 15:57:39 1998
@@ -1 +1 @@
-MD5 (mpd-1.0b4.tgz) = 3b09fbfe752cfe87c275e8ee1c67a4c0
+MD5 (mpd-1.0b5.tgz) = 306b7422256b0634fc0921364cf8a898
diff -Nru mpd/patches/patch-aa mpd-1.0b5/patches/patch-aa
--- mpd/patches/patch-aa	Wed Sep 10 18:55:35 1997
+++ mpd-1.0b5/patches/patch-aa	Wed Sep 16 17:28:40 1998
@@ -1,19 +1,19 @@
-*** Makefile	Mon Aug 18 02:12:35 1997
---- /home/andy/tmp/wrk/Makefile	Wed Sep 10 13:06:30 1997
-***************
-*** 15,21 ****
-  
-  # Default configuration directory
-  
-! MPD_CONF_DIR?=	${PREFIX}/etc/ppp
-  
-  # Define supported physical layer types
-  
---- 15,21 ----
-  
-  # Default configuration directory
-  
-! MPD_CONF_DIR?=	${PREFIX}/etc/mpd
-  
-  # Define supported physical layer types
-  
+--- Makefile	Wed Sep  9 07:12:26 1998
++++ /home/andy/tmp/wrk/Makefile	Wed Sep 16 17:26:34 1998
+@@ -15,7 +15,7 @@
+ 
+ # Default configuration directory
+ 
+-MPD_CONF_DIR?=	${PREFIX}/etc/ppp
++MPD_CONF_DIR?=	${PREFIX}/etc/mpd
+ 
+ # Define supported physical layer types
+ 
+@@ -42,7 +42,6 @@
+ LDADD+=		-lmd
+ DPADD+=		${LIBMD}
+ 
+-COPTS+=		-O2
+ COPTS+=		-Wall -Wmissing-prototypes -Wnested-externs
+ COPTS+=		-DPATH_CONF_DIR=\"${MPD_CONF_DIR}\"
+ 
diff -Nru mpd/pkg/DESCR mpd-1.0b5/pkg/DESCR
--- mpd/pkg/DESCR	Wed Sep 10 18:55:36 1997
+++ mpd-1.0b5/pkg/DESCR	Wed Sep 16 15:57:39 1998
@@ -1,12 +1,12 @@
+
 MPD MULTI-LINK PPP DAEMON FOR FREEBSD
 
-Release 1.0b4
+Release 1.0b5
 Written by Archie Cobbs <archie@whistle.com>
 Based on IIJ-PPP by Toshiharu OHNO <tony-o@iij.ad.jp>
 
 Please see the CHANGES file if you are updating from mpd-1.0b3.
 
-
 * WHAT IS IT?
 
   A user-mode PPP daemon based on iij-ppp which supports multi-link PPP.
@@ -18,30 +18,52 @@
   as compression, have not been tested very much at all. However,
   the core of the daemon is very solid.
 
+* HOW DO I BUILD AND INSTALL IT?
+
+  cd src
+  make depend all install
+
 * HOW DO I SET IT UP?
 
-  Check the "etc/mpd" directory for configuration file examples.
-  There are four configuration files:
+  You will need to create your own versions of the four required
+  configuration files in /etc/ppp:
 
-	mpd.conf.sample		- General configuration
-	mpd.links.sample	- Description of available links
-	mpd.script.sample	- Modem scripts
-	mpd.secret.sample	- Login/password pairs
+    mpd.conf    - General configuration
+    mpd.links   - Description of available links
+    mpd.script  - Modem scripts
+    mpd.secret  - Login/password pairs
 
   If you're familiar with iij-ppp, the configuration method is
   similar: commands are read from a file.
 
+  Check the "conf" subdirectory for configuration file examples.
+
+  Then append the following lines to /etc/syslog.conf and create an
+  empty /var/log/mpd.log file to get proper logging:
+
+    !mpd
+    *.*                        /var/log/mpd.log
+
+  Add a corresponding line to /etc/newsyslog.conf as well to get
+  proper log rotation.
+
+  If you want to start it as a background daemon at boot time,
+  add the appropriate line to /etc/rc.local, e.g.:
+
+    echo -n " mpd" ; /usr/local/bin/mpd -b
+
 * WHAT'S THE COPYRIGHT STATUS?
 
   Berkeley style: see ``COPYRIGHT.iij'' and ``COPYRIGHT.whistle''.
 
 * WHERE CAN I READ MORE ABOUT IT?
 
-  In the "doc/mpd" directory is a preliminary man page and some other
-  assorted stuff. In the "etc/mpd" directory are example configuration
+  In the "docs" directory is a preliminary man page and some other
+  assorted stuff. In the "conf" directory are example configuration
   files with descriptive comments.
 
 * WHERE CAN I GO FOR HELP?
 
   Email me any questions <archie@whistle.com> and I'll do my best
   to answer them.
+
diff -Nru mpd/pkg/PLIST mpd-1.0b5/pkg/PLIST
--- mpd/pkg/PLIST	Tue Aug 18 22:48:42 1998
+++ mpd-1.0b5/pkg/PLIST	Wed Sep 16 17:21:22 1998
@@ -1,11 +1,15 @@
-sbin/mpd
 etc/mpd/mpd.conf.sample
 etc/mpd/mpd.links.sample
 etc/mpd/mpd.script.sample
 etc/mpd/mpd.secret.sample
+sbin/mpd
 share/doc/mpd/README
 share/doc/mpd/CHANGES
+share/doc/mpd/EQL.patch
 share/doc/mpd/PROTOS
 share/doc/mpd/README.code
 share/doc/mpd/README.commands
 share/doc/mpd/README.scripts
+share/doc/mpd/README.server
+@dirrm etc/mpd
+@dirrm share/doc/mpd


>How-To-Repeat:

>Fix:

   Please, check and apply this patch.

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809161003.OAA01531>