Skip to content

Commit da39e1c

Browse files
committed
debian: updated debian packaing to make syslog-ng compile
This is far from a perfect debian packaging but it produced a working binary for me on Ubuntu Lucid.
1 parent f334d43 commit da39e1c

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

debian/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Source: syslog-ng
22
Section: admin
33
Priority: extra
44
Maintainer: SZALAY Attila <sasa@debian.org>
5-
Build-depends: debhelper (>=3.0.0), libevtlog-dev, libnet1-dev, libglib2.0-dev (>= 2.4), pkg-config, libdbi0-dev, libssl-dev
5+
Build-depends: debhelper (>= 5), libevtlog-dev, libnet1-dev, libglib2.0-dev (>= 2.4), pkg-config, libdbi0-dev, libssl-dev
66
Standards-Version: 3.6.1
77

88
Package: syslog-ng

debian/rules

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
# Uncomment this to turn on verbose mode.
88
#export DH_VERBOSE=1
9-
export DH_COMPAT=3
109

1110
DDEBUG=`if (echo $(DEB_BUILD_OPTIONS) | grep -q debug) then \
1211
echo "--enable-debug"; \
@@ -88,7 +87,7 @@ binary-arch: build install
8887
dh_fixperms
8988
# You may want to make some executables suid here
9089
# dh_suidregister
91-
# dh_makeshlibs
90+
dh_makeshlibs
9291
dh_installdeb
9392
dh_shlibdeps
9493
dh_gencontrol

debian/syslog-ng.files

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
/sbin/syslog-ng
22
/bin/loggen
33
/bin/pdbtool
4+
/lib/*
5+
/lib/syslog-ng/*

debian/syslog-ng.postinst

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ fi
2626

2727
if [ "$1" = "configure" ]
2828
then
29+
mkdir /var/lib/syslog-ng || /bin/true
2930
if [ -z "$2" ]
3031
then
3132
COMMAND="start"

0 commit comments

Comments
 (0)