FreeBSD Bugzilla – Attachment 195150 Details for
Bug 229785
net/babeld Update to 1.8.2, add rc file and example config file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch file for updating the port
babeld.diff (text/plain), 4.02 KB, created by
Max Stucchi
on 2018-07-15 14:51:51 UTC
(
hide
)
Description:
Patch file for updating the port
Filename:
MIME Type:
Creator:
Max Stucchi
Created:
2018-07-15 14:51:51 UTC
Size:
4.02 KB
patch
obsolete
>Index: babeld/Makefile >=================================================================== >--- babeld/Makefile (revision 474648) >+++ babeld/Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= babeld >-PORTVERSION= 1.8.1 >+PORTVERSION= 1.8.2 > CATEGORIES= net > MASTER_SITES= http://www.pps.univ-paris-diderot.fr/~jch/software/files/ > >@@ -14,10 +14,16 @@ > MAKE_ARGS= CDEBUGFLAGS="-O2 -g -Wall" > > PLIST_FILES= bin/babeld \ >- man/man8/babeld.8.gz >+ man/man8/babeld.8.gz \ >+ "@sample etc/babeld.conf.sample" > >+SUB_FILES= babeld.conf >+ >+USE_RC_SUBR= babeld >+ > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/babeld ${STAGEDIR}${PREFIX}/bin/ > ${INSTALL_MAN} ${WRKSRC}/babeld.man ${STAGEDIR}${PREFIX}/man/man8/babeld.8 >+ ${INSTALL_DATA} ${WRKDIR}/babeld.conf.sample ${STAGEDIR}${PREFIX}/etc > > .include <bsd.port.mk> >Index: babeld/distinfo >=================================================================== >--- babeld/distinfo (revision 474648) >+++ babeld/distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1525712441 >-SHA256 (babeld-1.8.1.tar.gz) = 9c249c73f5292ec18d1dd70934195edf2cbfa51f0a0fca937e16104f7fc006bf >-SIZE (babeld-1.8.1.tar.gz) = 92784 >+TIMESTAMP = 1531659508 >+SHA256 (babeld-1.8.2.tar.gz) = 07edecb132386d5561a767482bc5200e04239b18e48c2f0f47ae1c78d60fe5dc >+SIZE (babeld-1.8.2.tar.gz) = 92852 >Index: babeld/files/babeld.conf.in >=================================================================== >--- babeld/files/babeld.conf.in (nonexistent) >+++ babeld/files/babeld.conf.in (working copy) >@@ -0,0 +1,35 @@ >+# babel config file >+# >+# This config file simply documents sample entries. >+# "redistribute" means: redistribute routes from other routing protocols >+# into babel. "local" means addresses assigned to local interfaces. >+ >+# the default rules are: >+# >+## redistribute local >+## redistribute deny >+# >+# this says, redistribute local addresses but no other routes >+ >+ >+# redistribute IPv4 default route into babel >+# redistribute local ip 0.0.0.0/0 le 0 metric 128 >+ >+# same but for IPv6 >+# redistribute local ip ::/0 le 0 metric 128 >+ >+ >+# don't redistribute all local addresses, only selected ones >+# after the first line, the "deny" rules kicks in. After the "deny" >+# no redistribute local rules are going to match >+## redistribute local ip 192.160.4.0/24 >+## redistribute local deny >+ >+ >+# Babel refuses to redistribute routes with a protocol number of "boot"; >+# this is standard practice, and means that you cannot easily >+# redistribute the default route installed by dhcp. It is however >+# possible to redistribute such route by explicitly specifying "proto 3" >+# on the redistribute line. >+## redistribute ip 0.0.0.0/0 le 0 proto 3 metric 128 >+ > >Property changes on: babeld/files/babeld.conf.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: babeld/files/babeld.in >=================================================================== >--- babeld/files/babeld.in (nonexistent) >+++ babeld/files/babeld.in (working copy) >@@ -0,0 +1,35 @@ >+#!/bin/sh >+ >+# $FreeBSD$ >+# >+# PROVIDE: babeld dynamicrouting >+# REQUIRE: LOGIN >+# KEYWORD: shutdown >+# >+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf >+# to enable this service: >+# >+# babeld_enable (bool): Set to NO by default. >+# Set it to YES to enable babeld. >+# babeld_config (path): Set to /usr/local/etc/babeld.conf >+# by default. >+# >+ >+. /etc/rc.subr >+ >+name="babeld" >+rcvar=babeld_enable >+ >+command=/usr/local/bin/${name} >+ >+load_rc_config $name >+ >+extra_commands="reload" >+ >+: ${babeld_enable="NO"} >+: ${babeld_config="/usr/local/etc/babeld.conf"} >+ >+command_args="-D -I /var/run/${name}.pid $babeld_config" >+ >+run_rc_command "$1" >+ > >Property changes on: babeld/files/babeld.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 229785
: 195150