]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - lfs/syslog-ng
Improved detection if buildspy is already running.
[ipfire-3.x.git] / lfs / syslog-ng
index 6c910a96618bdad28328ca026778ca6575e3ec86..e0e4559f0833f849606fc39e5b0fc3d991523baf 100644 (file)
 include Config
 
 PKG_NAME   = syslog-ng
-VER        = 2.0.10
-PKG_VER    = 0
+PKG_VER    = 2.1.3
+PKG_REL    = 0
 
-THISAPP    = $(PKG_NAME)-$(VER)
+THISAPP    = $(PKG_NAME)-$(PKG_VER)
 DL_FILE    = $(THISAPP).tar.gz
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
@@ -38,7 +38,7 @@ MAINTAINER =
 GROUP      = System/Tools
 EXTRA      = no
 DEBUG      = no
-DEPS       = eventlog glib
+DEPS       = eventlog glib2
 
 URL        = http://www.balabit.com/network-security/syslog-ng/
 LICENSE    = GPLv2+
@@ -59,6 +59,9 @@ objects = $(DL_FILE)
 
 download: $(objects)
 
+info:
+       $(DO_PKG_INFO)
+
 install: $(OBJECT)
 
 package:
@@ -80,14 +83,22 @@ $(OBJECT): $(objects)
                        $(CONFIGURE_ARCH) \
                        --prefix=/usr \
                        --sbindir=/sbin \
+                       --libexecdir=/usr/lib \
                        --sysconfdir=/etc/syslog-ng \
-                       --enable-dynamic-linking
+                       --enable-dynamic-linking \
+                       --disable-sql \
+                       --disable-pcre \
+                       --with-pidfile-dir=/var/run \
+                       --disable-ssl
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install
 
        -mkdir -pv /etc/$(PKG_NAME)
        cp -vf $(DIR_CONF)/$(PKG_NAME)/$(PKG_NAME).conf \
                /etc/$(PKG_NAME)/$(PKG_NAME).conf
+       ## Should be in $(DIR_SOURCE)/$(PKG_NAME) at some time
+       install -v -m 755 $(DIR_CONF)/$(PKG_NAME)/ids-block \
+               /usr/sbin/ids-block
 
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)