Date: Mon, 13 Mar 2006 11:50:33 -1000 (HST) From: Dave Cornejo <dave@dogwood.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/94425: Update port: net/olsrd upgrade to 0.4.10 Message-ID: <200603132150.k2DLoXo2014746@white.dogwood.com> Resent-Message-ID: <200603132200.k2DM0Ui8005509@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 94425 >Category: ports >Synopsis: Update port: net/olsrd upgrade to 0.4.10 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 13 22:00:29 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dave Cornejo >Release: FreeBSD 7.0-CURRENT i386 >Organization: Dogwood Media >Environment: System: FreeBSD white.dogwood.com 7.0-CURRENT FreeBSD 7.0-CURRENT #11: Tue Feb 21 10:26:31 HST 2006 dave@white.dogwood.com:/usr/obj/usr/src/sys/WHITE i386 >Description: Upgrades olsrd to version 0.4.10 >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./files # ./files/olsrd.sh.in # ./files/patch-Makefile # ./Makefile # ./distinfo # ./pkg-descr # ./pkg-plist # echo c - . mkdir -p . > /dev/null 2>&1 echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/olsrd.sh.in sed 's/^X//' >./files/olsrd.sh.in << 'END-of-./files/olsrd.sh.in' X#!/bin/sh X# X# $FreeBSD: ports/net/olsrd/files/olsrd.sh.in,v 1.1 2005/05/07 13:55:51 lawrance Exp $ X# X# PROVIDE: olsrd X# REQUIRE: NETWORKING SERVERS X X. %%RC_SUBR%% X Xname="olsrd" Xrcvar=`set_rcvar` X Xcommand=%%PREFIX%%/sbin/olsrd Xcommand_args="-d 0" X Xolsrd_enable=${olsrd_enable:-"NO"} X Xload_rc_config $name Xrun_rc_command "$1" X END-of-./files/olsrd.sh.in echo x - ./files/patch-Makefile sed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile' X--- Makefile.orig Tue Jan 3 22:45:38 2006 X+++ Makefile Tue Mar 7 19:25:12 2006 X@@ -90,13 +90,13 @@ X X install_olsrd: install_bin X @echo ========= C O N F I G U R A T I O N - F I L E ============ X- @echo olsrd uses the configfile $(INSTALL_PREFIX)/etc/olsr.conf X- @echo a default configfile. A sample RFC-compliance aimed X- @echo configfile can be installed. Note that a LQ-based configfile X- @echo can be found at files/olsrd.conf.default.lq X+ @echo olsrd uses the configfile $(CFGFILE) X+ @echo an RFC compliant version is installed as $(CFGFILE).rfc X+ @echo an LQ version is installed as $(CFGFILE).lq X+ @echo copy and edit one of these to $(CFGFILE) X @echo ========================================================== X- mkdir -p $(ETCDIR) X- -cp -i files/olsrd.conf.default.rfc $(CFGFILE) X+ -cp files/olsrd.conf.default.rfc $(CFGFILE).rfc X+ -cp files/olsrd.conf.default.lq $(CFGFILE).lq X @echo ------------------------------------------- X @echo Edit $(CFGFILE) before running olsrd!! X @echo ------------------------------------------- END-of-./files/patch-Makefile echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: olsrd X# Date created: 6 April 2005 X# Whom: dave@dogwood.com X# X# $FreeBSD: ports/net/olsrd/Makefile,v 1.3 2005/11/14 17:07:07 sem Exp $ X# X XPORTNAME= olsrd XPORTVERSION= 0.4.10 XCATEGORIES= net XMASTER_SITES= http://www.olsr.org/releases/0.4/ X XMAINTAINER= dave@dogwood.com XCOMMENT= OLSR routing daemon X XBUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend X X.if defined(WITH_MULTI_IF) XBUILD_DEPENDS+= libnet*>=1.1.2,1:${PORTSDIR}/net/libnet X.endif X XUSE_BISON= yes XUSE_GMAKE= yes X XUSE_RC_SUBR= olsrd.sh XMAN8= olsrd.8 XMAN5= olsrd.conf.5 XMANCOMPRESSED= yes X XALL_TARGET= build_all XINSTALL_TARGET= install_all X X.if defined(WITH_MULTI_IF) XMAKE_ARGS+= LIBNET=1 X.endif X.if defined(PREFIX) XMAKE_ARGS+= INSTALL_PREFIX=${PREFIX} X.endif X X.include <bsd.port.pre.mk> X X.if ${OSVERSION} < 502000 XIGNORE= needs ieee80211.h headers X.endif X X.if !defined(WITH_MULTI_IF) Xpre-everything:: X @${ECHO_MSG} "" X @${ECHO_MSG} " To enable multiple interface support make with" X @${ECHO_MSG} " WITH_MULTI_IF defined" X @${ECHO_MSG} "" X.endif X Xpost-install: X @${ECHO_MSG} "" X @${ECHO_MSG} " Set olsrd_enable=\"YES\" in /etc/rc.conf to enable" X @${ECHO_MSG} "" X X.include <bsd.port.post.mk> END-of-./Makefile echo x - ./distinfo sed 's/^X//' >./distinfo << 'END-of-./distinfo' XMD5 (olsrd-0.4.10.tar.gz) = cb6313649d19b05e5d8d5eaf866bb98d XSHA256 (olsrd-0.4.10.tar.gz) = 53fa52bf88a2fc12e3459b826f1fae56ed2b389eb6a3e465753f2bb547926e44 XSIZE (olsrd-0.4.10.tar.gz) = 596097 END-of-./distinfo echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr' XFrom the website: X XThe olsr.org OLSR daemon is an implementation of the Optimized Link XState Routing protocol. OLSR is a routing protocol for mobile ad-hoc Xnetworks. The protocol is pro-active, table driven and utilizes a Xtechnique called multipoint relaying for message flooding. X XWWW: http://www.olsr.org/ X XDave Xdave@dogwood.com END-of-./pkg-descr echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist' Xsbin/olsrd Xetc/olsrd.conf.rfc Xetc/olsrd.conf.lq Xlib/olsrd_dot_draw.so.0.3 Xlib/olsrd_dyn_gw.so.0.4 Xlib/olsrd_httpinfo.so.0.1 Xlib/olsrd_mini.so.0.1 Xlib/olsrd_nameservice.so.0.2 Xlib/olsrd_power.so.0.3 Xlib/olsrd_secure.so.0.5 END-of-./pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603132150.k2DLoXo2014746>