Date: Mon, 12 Jun 2006 09:56:59 +0600 From: Boris Kovalenko <boris@tagnet.ru> To: Sam Lawrance <boris@brooknet.com.au>, ports@FreeBSD.org Subject: Re: ports/97122: [MAINTAINER UPDATE] net/quagga: update to 0.99.4 Message-ID: <448CE60B.90003@tagnet.ru> In-Reply-To: <5B9D4C89-F39B-41BB-BC5F-34B6A25C2948@brooknet.com.au> References: <200605292035.k4TKZoQx079855@freefall.freebsd.org> <447BB710.6060908@tagnet.ru> <C4F9553C-95F9-4F2A-8E68-448AE96A273B@FreeBSD.org> <447C1C76.8050802@tagnet.ru> <DED83EB1-E189-4428-B522-6D2145DA7006@FreeBSD.org> <5B9D4C89-F39B-41BB-BC5F-34B6A25C2948@brooknet.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------040602020101040106090506 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Hello! Here it is... Sam Lawrance wrote: > > On 11/06/2006, at 9:30 AM, Sam Lawrance wrote: > >> >> On 30/05/2006, at 8:20 PM, Boris Kovalenko wrote: >> >>> Sam Lawrance wrote: >>> Hello! >>> >>>> Ooops. What versions of FreeBSD are affected? Can we specify what >>>> the user has to do, or provide a link to some documentation? >>> >>> If I understanding all correct, that only 5.x and 6.0 versions are >>> affected. Previuos versions of port were installing quagga startup >>> script to /etc/rc.d (with USE_RC_ORDER). With 6.1 this is >>> unnecessary. As USE_RC_ORDER is deprecated I see no reason to >>> support it (am I wrong). So, the instructions are as for 4.x systems >>> (please the the bottom of the post-install target of Makefile). May >>> be I should modify this section of Makefile to something like: >>> >>> .if ${OSVERSION} < 601000 >>> @${ECHO} "Warning: You are running FreeBSD version prior to >>> 6.1-RELEASE. To properly start" >>> @${ECHO} " quagga on your system please rename" >>> @${ECHO} " ${PREFIX}/etc/rc.d/quagga.sh to something >>> like" >>> @${ECHO} " ${PREFIX}/etc/rc.d/010.quagga.sh or even You" >>> @${ECHO} " should write your own startup script and >>> use it with" >>> @${ECHO} " router_enable=\"YES\"" >>> @${ECHO} " router=\"your_startup_script_here\" in >>> your rc.conf" >>> @${ECHO} "" >>> .endif >> >> >> Eeep, I forgot to do this, sorry. I just saw a mail to ports@ about it. >> >> It's strange that USE_RCORDER is deprecated, yet breaks things on >> those systems. Let me ask about it. > > > Let's put USE_RCORDER back in the port. Is it just a matter of s/ > USE_RC_SUBR/USE_RCORDER/ ? > With respect, Boris --------------040602020101040106090506 Content-Type: text/plain; name="Makefile.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Makefile.diff" --- Makefile.orig Fri Jun 2 08:54:47 2006 +++ Makefile Mon Jun 12 09:47:17 2006 @@ -114,7 +114,12 @@ CFLAGS+= -DQUAGGA_TCP_MD5SIG .endif -USE_RC_SUBR= quagga.sh watchquagga.sh +USE_RC_SUBR= watchquagga.sh +.if ${OSVERSION} < 500000 || ${OSVERSION} >= 601000 +USE_RC_SUBR+= quagga.sh +.else +USE_RCORDER= quagga.sh +.endif SUB_LIST+= LOCALSTATE_DIR=${LOCALSTATE_DIR} \ SYSCONF_DIR=${SYSCONF_DIR} --------------040602020101040106090506--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?448CE60B.90003>