Changeset 15790


Ignore:
Timestamp:
2009-05-12T10:48:51+02:00 (9 years ago)
Author:
florian
Message:

[package] update quagga-unstable to 0.99.12 (#4935)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/quagga-unstable/Makefile

    r15244 r15790  
    11# 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2009 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=quagga-unstable 
    11 PKG_VERSION:=0.99.11 
     11PKG_VERSION:=0.99.12 
    1212PKG_RELEASE:=2 
    13 PKG_MD5SUM:=903e40c744730ad4d62bee872eeb813b 
     13PKG_MD5SUM:=d2bb513f4ac113dbb300c15a0bd0a241 
    1414 
    1515PKG_SOURCE_URL:=http://www.quagga.net/download/ \ 
     
    3636 
    3737define Package/quagga-unstable/description 
    38         A routing software package that provides TCP/IP based routing services 
    39         with routing protocols support such as RIPv1, RIPv2, RIPng, OSPFv2, 
    40         OSPFv3, BGP-4, and BGP-4+ 
    41  
     38  A routing software package that provides TCP/IP based routing services 
     39  with routing protocols support such as RIPv1, RIPv2, RIPng, OSPFv2, 
     40  OSPFv3, BGP-4, and BGP-4+ 
    4241endef 
    4342 
     
    108107endef 
    109108 
    110 define Build/Compile     
     109define Build/Compile 
    111110        $(MAKE) -C $(PKG_BUILD_DIR) \ 
    112111                DESTDIR=$(PKG_INSTALL_DIR) \ 
     
    114113endef 
    115114 
    116 define Package/quagga-unstable/install   
     115define Package/quagga-unstable/install 
    117116        $(INSTALL_DIR) $(1)/usr/sbin 
    118117        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/zebra $(1)/usr/sbin/ 
     
    129128define Package/quagga-unstable/postinst 
    130129#!/bin/sh 
    131    
     130 
    132131name=quagga 
    133132id=51 
    134    
     133 
    135134# do not change below 
    136135# check if we are on real system 
     
    151150 
    152151echo "" 
    153 if [ -z "$$(grep ^\\$${name}: $${IPKG_INSTROOT}/etc/group)" ]; then  
     152if [ -z "$$(grep ^\\$${name}: $${IPKG_INSTROOT}/etc/group)" ]; then 
    154153        echo "adding group $$name to /etc/group" 
    155         echo "$${name}:x:$${id}:" >> $${IPKG_INSTROOT}/etc/group   
    156 fi 
    157  
    158 if [ -z "$$(grep ^\\$${name}: $${IPKG_INSTROOT}/etc/passwd)" ]; then  
     154        echo "$${name}:x:$${id}:" >> $${IPKG_INSTROOT}/etc/group 
     155fi 
     156 
     157if [ -z "$$(grep ^\\$${name}: $${IPKG_INSTROOT}/etc/passwd)" ]; then 
    159158        echo "adding user $$name to /etc/passwd" 
    160159        echo "$${name}:x:$${id}:$${id}:$${name}:/tmp/.$${name}:/bin/false" >> $${IPKG_INSTROOT}/etc/passwd 
     
    162161 
    163162grep -q '^zebra[[:space:]]*2601/tcp' $${IPKG_INSTROOT}/etc/services 2>/dev/null 
    164 if [ $$? -ne 0 ]; then   
     163if [ $$? -ne 0 ]; then 
    165164echo "zebrasrv      2600/tcp" >>$${IPKG_INSTROOT}/etc/services 
    166165echo "zebra         2601/tcp" >>$${IPKG_INSTROOT}/etc/services 
     
    175174endef 
    176175 
    177 define Package/quagga-unstable-bgpd/install      
     176define Package/quagga-unstable-bgpd/install 
    178177        $(INSTALL_DIR) $(1)/usr/sbin 
    179178        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/bgpd $(1)/usr/sbin/ 
     
    185184endef 
    186185 
    187 define Package/quagga-unstable-ospfd/install     
     186define Package/quagga-unstable-ospfd/install 
    188187        $(INSTALL_DIR) $(1)/usr/sbin 
    189188        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ospfd $(1)/usr/sbin/ 
    190189endef 
    191190 
    192 define Package/quagga-unstable-ospf6d/install    
     191define Package/quagga-unstable-ospf6d/install 
    193192        $(INSTALL_DIR) $(1)/usr/sbin 
    194193        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ospf6d $(1)/usr/sbin/ 
    195194endef 
    196195 
    197 define Package/quagga-unstable-ripd/install      
     196define Package/quagga-unstable-ripd/install 
    198197        $(INSTALL_DIR) $(1)/usr/sbin 
    199198        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ripd $(1)/usr/sbin/ 
    200199endef 
    201200 
    202 define Package/quagga-unstable-ripngd/install    
     201define Package/quagga-unstable-ripngd/install 
    203202        $(INSTALL_DIR) $(1)/usr/sbin 
    204203        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ripngd $(1)/usr/sbin/ 
    205204endef 
    206205 
    207 define Package/quagga-unstable-vtysh/install     
     206define Package/quagga-unstable-vtysh/install 
    208207        $(INSTALL_DIR) $(1)/usr/bin 
    209208        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/vtysh $(1)/usr/bin/ 
Note: See TracChangeset for help on using the changeset viewer.