Changeset 40635


Ignore:
Timestamp:
2014-05-01T19:58:52+02:00 (4 years ago)
Author:
hauke
Message:

radsecproxy: procd conversion and version bump

Update radsecproxy to version 1.6.5 and convert the init script to use
procd, and start later during boot to ensure name service is operational.

Introduces a small patch to radsecproxy which prevents it from forcing
log output to stderr when run in the foreground, thus making it possible
to simply run it in this mode for procd management.

Signed-off-by: Toke Høiland-Jørgensen <toke@…>

Location:
packages/net/radsecproxy
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/radsecproxy/Makefile

    r34535 r40635  
    99 
    1010PKG_NAME:=radsecproxy 
    11 PKG_VERSION:=1.6.2 
     11PKG_VERSION:=1.6.5 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=http://software.uninett.no/radsecproxy/ 
    16 PKG_MD5SUM:=dad5c696e4cfe80d606ba90c9a13118b 
     16PKG_MD5SUM:=f74f82a7ae2cdf2b1d9d271a5c360617 
    1717 
    1818PKG_INSTALL:=1 
  • packages/net/radsecproxy/files/radsecproxy.init

    r29052 r40635  
    22# Copyright (C) 2006-2011 OpenWrt.org 
    33 
    4 START=50 
     4START=70 
    55 
    6 start() { 
    7         service_start /usr/sbin/radsecproxy 
     6USE_PROCD=1 
     7PROG=/usr/sbin/radsecproxy 
     8CONFFILE=/etc/radsecproxy.conf 
     9 
     10start_service() { 
     11        procd_open_instance 
     12        procd_set_param command $PROG -f -c $CONFFILE 
     13        procd_set_param file $CONFFILE 
     14        procd_set_param respawn 
     15        procd_close_instance 
    816} 
    9  
    10 stop() { 
    11         service_stop /usr/sbin/radsecproxy 
    12 } 
Note: See TracChangeset for help on using the changeset viewer.