diff --git a/packages/debian/configure.in b/packages/debian/configure.in index 3bf94b0..78e799a 100644 --- a/packages/debian/configure.in +++ b/packages/debian/configure.in @@ -5,13 +5,6 @@ AC_ARG_WITH(edgex, [ --with-edgex Build for Ubiquity-X]) # NOTE: this file is not actually used. You need to edit configure as well! N2N_VERSION=$(../../scripts/version.sh) -DEBIAN_VERSION=`cat /etc/debian_version | grep "^8" | wc -l` - -EXTRA_DEP="" -if test $DEBIAN_VERSION = "0"; then -EXTRA_DEP=", libzstd1" -fi - if test "${EXTN+set}" != set; then MACHINE=`uname -m` SHORT_MACHINE=`echo $MACHINE | cut -b1-3` @@ -44,7 +37,6 @@ DATE=`date -R` AC_SUBST(N2N_VERSION) AC_SUBST(EXTN) AC_SUBST(DATE) -AC_SUBST(EXTRA_DEP) AC_CONFIG_FILES(debian/changelog) AC_CONFIG_FILES(debian/files) diff --git a/packages/debian/debian/control.in b/packages/debian/debian/control.in index 7303119..780fded 100644 --- a/packages/debian/debian/control.in +++ b/packages/debian/debian/control.in @@ -8,7 +8,7 @@ Build-Depends: Package: n2n Architecture: @EXTN@ Suggests: uml-utilities -Depends: ${shlibs:Depends}, ${misc:Depends} @EXTRA_DEP@ +Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: n2n (<< 2.1.0-1) Replaces: n2n (<< 2.1.0-1) Description: a layer-two peer-to-peer virtual private network (VPN) diff --git a/packages/debian/debian/rules.in b/packages/debian/debian/rules.in index 49685bb..b8368b6 100755 --- a/packages/debian/debian/rules.in +++ b/packages/debian/debian/rules.in @@ -50,6 +50,7 @@ binary-arch: build install cp -r ../etc debian/n2n find debian/n2n -name "*.in" -exec /bin/rm {} ';' find debian/n2n -name "*~" -exec /bin/rm {} ';' + dh_shlibdeps dh_link dh_gencontrol dh_md5sums