Changeset 17298


Ignore:
Timestamp:
2009-08-18T16:49:11+02:00 (7 years ago)
Author:
florian
Message:

[package] update syslog-ng3 to 3.0.4, remove some duplicate dependencies, fix init scripts (#5716)

Location:
packages/admin/syslog-ng3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • packages/admin/syslog-ng3/Makefile

    r16844 r17298  
    99 
    1010PKG_NAME:=syslog-ng 
    11 PKG_VERSION:=3.0.3 
     11PKG_VERSION:=3.0.4 
    1212PKG_RELEASE:=1 
    13 PKG_MD5SUM:=b8b3c9af28696bce48ceca0de6444426 
     13PKG_MD5SUM:=86c39779261545d2289e9c309e262b8d 
    1414 
    1515PKG_SOURCE_URL:= \ 
    16         http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.0.3/source/ 
     16        http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.0.4/source/ 
    1717PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz 
    1818 
     
    2222  SECTION:=admin 
    2323  CATEGORY:=Administration 
    24   DEPENDS:=+libpcre +glib2 +libeventlog +libopenssl +libwrap +libintl +libiconv 
     24  DEPENDS:=+libpcre +glib2 +libeventlog +libopenssl +libwrap 
    2525  TITLE:=A powerful syslog daemon 
    2626  URL:=http://www.balabit.com/network-security/syslog-ng/opensource-logging-system/ 
     
    3434 
    3535define Package/syslog-ng3/conffiles 
    36 /etc/syslog-ng/syslog-ng.conf 
     36/etc/syslog-ng.conf 
    3737endef 
    3838 
     
    5454        $(INSTALL_DIR) $(1)/etc/init.d 
    5555        $(INSTALL_BIN) ./files/syslog-ng.init $(1)/etc/init.d/syslog-ng 
    56         $(INSTALL_DIR) $(1)/etc/syslog-ng 
    57         $(INSTALL_DATA) ./files/syslog-ng.conf $(1)/etc/syslog-ng/ 
     56        $(INSTALL_DIR) $(1)/etc 
     57        $(INSTALL_DATA) ./files/syslog-ng.conf $(1)/etc 
    5858endef 
    5959 
  • packages/admin/syslog-ng3/files/syslog-ng.conf

    r6500 r17298  
    1 options {  
    2         chain_hostnames(off);  
    3         sync(0);  
     1@version:3.0 
    42 
    5         # The default action of syslog-ng 1.6.0 is to log a STATS line 
    6         # to the file every 10 minutes.  That's pretty ugly after a while. 
    7         # Change it to every 12 hours so you get a nice daily update of 
    8         # how many messages syslog-ng missed (0). 
    9         stats(43200);  
     3options { 
     4        chain_hostnames(no); 
     5        create_dirs(yes); 
     6        flush_lines(0); 
     7        keep_hostname(yes); 
     8        log_fifo_size(256); 
     9        log_msg_size(1024); 
     10        stats_freq(0); 
     11        flush_lines(0); 
     12        use_fqdn(no); 
    1013}; 
    1114 
    12 source src { unix-stream("/dev/log"); internal(); }; 
     15source src { 
     16        internal(); 
     17        unix-stream("/dev/log"); 
     18}; 
    1319 
    14 destination messages { file("/var/log/messages"); }; 
     20source net { 
     21        udp(ip(0.0.0.0) port(514)); 
     22}; 
    1523 
    16 log { source(src); destination(messages); }; 
     24destination messages { 
     25        file("/var/log/messages"); 
     26}; 
     27 
     28log { 
     29        source(src); 
     30        source(net); 
     31        destination(messages); 
     32}; 
  • packages/admin/syslog-ng3/files/syslog-ng.init

    r10734 r17298  
    44 
    55start() { 
    6   [ -f /etc/syslog-ng/syslog-ng.conf ] || { 
    7     echo "/etc/syslog-ng/syslog-ng.conf does not exist !"; 
     6  [ -f /etc/syslog-ng.conf ] || { 
     7    echo "/etc/syslog-ng.conf does not exist !"; 
    88    exit 0; 
    99  }; 
Note: See TracChangeset for help on using the changeset viewer.