Changeset 27421


Ignore:
Timestamp:
2011-07-03T23:07:13+02:00 (7 years ago)
Author:
swalker
Message:

[packages] darkstat: update to 3.0.714, use service_kill

Location:
packages/net/darkstat
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/darkstat/Makefile

    r20749 r27421  
    11# 
    2 # Copyright (C) 2007-2010 OpenWrt.org 
     2# Copyright (C) 2007-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=darkstat 
    11 PKG_VERSION:=3.0.713 
     11PKG_VERSION:=3.0.714 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    1515PKG_SOURCE_URL:=http://dmr.ath.cx/net/darkstat 
    16 PKG_MD5SUM:=3fd2a4ddb123ad11bb99f1094a6206d9 
     16PKG_MD5SUM:=eef385fadc8dbb611d3d4c4d8fa94817 
    1717 
    1818PKG_INSTALL:=1 
     
    3939 
    4040CONFIGURE_ARGS += \ 
     41        --disable-debug \ 
    4142        --with-chroot-dir=/var/empty 
    4243 
  • packages/net/darkstat/files/darkstat.init

    r18509 r27421  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2007 OpenWrt.org 
     2# Copyright (C) 2007-2011 OpenWrt.org 
    33 
    44START=60 
    55RUN_D=/var/empty 
     6PID_F=$RUN_D/darkstat.pid 
    67 
    78start() { 
     
    2526                ${httpaddr:+-b "$httpaddr"} \ 
    2627                ${httpport:+-p "$httpport"} \ 
    27                 --chroot $RUN_D 
     28                --chroot $RUN_D \ 
     29                --pidfile $PID_F 
    2830} 
    2931 
    3032stop() { 
    31         killall darkstat 
     33        service_kill darkstat $PID_F 
     34        rm -f $PID_F 
    3235} 
Note: See TracChangeset for help on using the changeset viewer.