Changeset 22775 for packages


Ignore:
Timestamp:
2010-08-23T00:18:15+02:00 (6 years ago)
Author:
cshore
Message:

[packages] net/freeswitch: Fixed auto module enabling for modules with more dashes than mod-modname (need to transform to underscores in the postinst/postrm scripts). This was part of getting mod_say_en to work. As part of getting mod_say_en working (and de, ru, and fr), added per-package config for freeswitch-mod-say-{en, fr, de, ru}.

Location:
packages/net/freeswitch
Files:
46 added
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/freeswitch/Makefile

    r22756 r22775  
    1010PKG_NAME:=freeswitch 
    1111PKG_VERSION:=1.0.6 
    12 PKG_RELEASE:=9 
     12PKG_RELEASE:=10 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    478478  define Package/freeswitch-mod-$(1)/postinst 
    479479#!/bin/sh 
    480 sed -i -e 's|^\([ \t]*\)<!-- *\(.*\)"mod_$(1)"\(.*\) *-->\(.*\)$$$$|\1\2"mod_$(1)"\3\4|' $$$${IPKG_INSTROOT}/etc/freeswitch/autoload_configs/modules.conf.xml 
     480sed -i -e 's|^\([ \t]*\)<!-- *\(.*\)"mod_$(subst -,_,$(1))"\(.*\) *-->\(.*\)$$$$|\1\2"mod_$(subst -,_,$(1))"\3\4|' $$$${IPKG_INSTROOT}/etc/freeswitch/autoload_configs/modules.conf.xml 
    481481  endef 
    482482 
    483483  define Package/freeswitch-mod-$(1)/postrm 
    484484#!/bin/sh 
    485 sed -i -e 's|^\([ \t]*\)\(.*\)"mod_$(1)"\(.*\)$$$$|\1<!-- \2"mod_$(1)"\3 -->|' $$$${IPKG_INSTROOT}/etc/freeswitch/autoload_configs/modules.conf.xml 
     485sed -i -e 's|^\([ \t]*\)\(.*\)"mod_$(subst -,_,$(1))"\(.*\)$$$$|\1<!-- \2"mod_$(subst -,_,$(1))"\3 -->|' $$$${IPKG_INSTROOT}/etc/freeswitch/autoload_configs/modules.conf.xml 
    486486  endef 
    487487 
Note: See TracChangeset for help on using the changeset viewer.