Changeset 29144


Ignore:
Timestamp:
2011-11-15T02:53:51+01:00 (4 years ago)
Author:
nico
Message:

[backfire] packages/sudo: merge r29143 (closes: #10289)

Location:
branches/packages_10.03.1/admin/sudo
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/packages_10.03.1/admin/sudo/Makefile

    r24845 r29144  
    11# 
    2 # Copyright (C) 2006-2010 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=sudo 
    11 PKG_VERSION:=1.7.4p4 
     11PKG_VERSION:=1.7.8p1 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=http://www.sudo.ws/sudo/dist 
    16 PKG_MD5SUM:=55d9906535d70a1de347cd3d3550ee87 
     16PKG_MD5SUM:=5552b9aabc43e34bbc8dc557c098a933 
    1717 
    1818PKG_INSTALL:=1 
     
    6161        $(INSTALL_DIR) $(1)/usr/lib 
    6262        $(CP) $(PKG_INSTALL_DIR)/usr/lib/sudo_noexec.so $(1)/usr/lib/ 
     63        $(INSTALL_DIR) $(1)/etc/init.d 
     64        $(INSTALL_BIN) ./files/sudo.init $(1)/etc/init.d/sudo 
     65endef 
     66 
     67define Package/sudo/postinst 
     68#!/bin/sh 
     69 
     70[ -n "$$IPKG_INSTROOT" ] || { 
     71        /etc/init.d/sudo enable 
     72        /etc/init.d/sudo start 
     73} 
    6374endef 
    6475 
Note: See TracChangeset for help on using the changeset viewer.