From eea17f7429272e9bf54c397072d09cc140157e75 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 23 Jun 2013 19:41:44 +0200 Subject: [PATCH] debian: update packaging to match downstream --- debian/lldpd.init.d | 2 +- debian/lldpd.lintian-overrides | 4 ++-- debian/lldpd.postinst | 4 +++- debian/lldpd.postrm | 4 +++- debian/lldpd.symbols | 2 +- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/debian/lldpd.init.d b/debian/lldpd.init.d index ca5d4569..a1025dd5 100644 --- a/debian/lldpd.init.d +++ b/debian/lldpd.init.d @@ -29,7 +29,7 @@ CHROOT=/var/run/$NAME # Read configuration variable file if it is present [ -r /etc/default/$NAME ] && . /etc/default/$NAME -[ -f /lib/init/vars.sh ] && . /lib/init/vars.sh +# LSB log_* functions . /lib/lsb/init-functions do_chroot() diff --git a/debian/lldpd.lintian-overrides b/debian/lldpd.lintian-overrides index aef85277..38343ac8 100644 --- a/debian/lldpd.lintian-overrides +++ b/debian/lldpd.lintian-overrides @@ -1,4 +1,4 @@ -# liblldpctl0 is tightly coupled with lldpd because of the use of a +# liblldpctl is tightly coupled with lldpd because of the use of a # binary RPC mechanism between the library and lldpd. The library can # only work with the exact version of lldpd it was compiled with. -lldpd binary: package-name-doesnt-match-sonames liblldpctl0 +lldpd binary: package-name-doesnt-match-sonames liblldpctl4 diff --git a/debian/lldpd.postinst b/debian/lldpd.postinst index c4a1cc8f..5a854e12 100644 --- a/debian/lldpd.postinst +++ b/debian/lldpd.postinst @@ -1,4 +1,6 @@ -#!/bin/sh -e +#!/bin/sh + +set -e if ! ([ "$1" = "configure" ] || [ "$1" = "reconfigure" ]); then exit 0 diff --git a/debian/lldpd.postrm b/debian/lldpd.postrm index 1676318b..671b80b8 100644 --- a/debian/lldpd.postrm +++ b/debian/lldpd.postrm @@ -1,4 +1,6 @@ -#!/bin/sh -e +#!/bin/sh + +set -e #DEBHELPER# diff --git a/debian/lldpd.symbols b/debian/lldpd.symbols index f9ebc65d..0e685c5d 100644 --- a/debian/lldpd.symbols +++ b/debian/lldpd.symbols @@ -1,4 +1,4 @@ -liblldpctl.so.0 lldpd #MINVER# +liblldpctl.so.4 lldpd #MINVER# lldpctl_atom_create@Base 0.7.3 lldpctl_atom_dec_ref@Base 0.7.3 lldpctl_atom_get@Base 0.7.3 -- 2.39.5