ports/97122: [MAINTAINER UPDATE] net/quagga: update to 0.99.4

Boris Kovalenko boris at tagnet.ru
Mon Jun 12 03:57:08 UTC 2006


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
-------------- next part --------------
--- 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}


More information about the freebsd-ports mailing list