Changeset 30585


Ignore:
Timestamp:
2012-02-16T13:31:48+01:00 (5 years ago)
Author:
obsy
Message:

[packages] transmission: update to 2.50, drop open_file_limit - has been removed a few month ago

Location:
packages/net/transmission
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • packages/net/transmission/Makefile

    r29639 r30585  
    11# 
    2 # Copyright (C) 2009-2011 OpenWrt.org 
     2# Copyright (C) 2009-2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=transmission 
    11 PKG_VERSION:=2.42 
    12 PKG_RELEASE:=4 
     11PKG_VERSION:=2.50 
     12PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    1515PKG_SOURCE_URL:=http://mirrors.m0k.org/transmission/files 
    16 PKG_MD5SUM:=2ade0818d465779bd956b8b72ea56b02 
     16PKG_MD5SUM:=c3611108e34fe6ebdcf93da5beb89045 
    1717 
    1818PKG_FIXUP:=libtool 
  • packages/net/transmission/files/transmission.config

    r29641 r30585  
    2727        option lpd_enabled false 
    2828        option message_level 1 
    29         option open_file_limit 32 
    3029        option peer_congestion_algorithm '' 
    3130        option peer_limit_global 240 
  • packages/net/transmission/files/transmission.init

    r29639 r30585  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2010-2011 OpenWrt.org 
     2# Copyright (C) 2010-2012 OpenWrt.org 
    33 
    44START=99 
     
    4444        local s="$1" 
    4545        local user 
    46         local open_file_limit=0 
    47         local ulimit_files=$(ulimit -n) 
    4846 
    4947        section_enabled "$section" || return 1 
     
    6765                dht_enabled encryption idle_seeding_limit idle_seeding_limit_enabled \ 
    6866                incomplete_dir_enabled lazy_bitfield_enabled lpd_enabled message_level \ 
    69                 open_file_limit peer_limit_global peer_limit_per_torrent peer_port \ 
     67                peer_limit_global peer_limit_per_torrent peer_port \ 
    7068                peer_port_random_high peer_port_random_low peer_port_random_on_start \ 
    7169                pex_enabled port_forwarding_enabled preallocation prefetch_enabled \ 
     
    8684        echo "\""invalid-key"\": false" >> $config_file 
    8785        echo "}" >> $config_file 
    88  
    89         config_get open_file_limit "$s" 'open_file_limit' 32 
    90         open_limit_files=$(($open_file_limit + 8)) 
    91  
    92         if [ ${open_file_limit} -gt ${ulimit_files} ]; then 
    93                 ulimit -n $open_limit_files 
    94         fi 
    9586 
    9687        SERVICE_UID="$user" \ 
Note: See TracChangeset for help on using the changeset viewer.