This makes them "private libraries" (which they are, since we don't
maintain a proper versioned ABI on libfrr.) This also properly fixes
another few lintian warnings.
Signed-off-by: David Lamparter <equinox@diac24.net>
-usr/lib/*/libfrrsnmp.*
+usr/lib/*/frr/libfrrsnmp.*
usr/lib/*/frr/modules/*_snmp.so
etc/frr/
usr/bin/vtysh
usr/bin/mtracebis
-usr/lib/*/libfrr.*
-usr/lib/*/libfrrospfapiclient.*
+usr/lib/*/frr/libfrr.*
+usr/lib/*/frr/libfrrospfapiclient.*
usr/lib/frr/frr
usr/lib/frr/*d
usr/lib/frr/watchfrr
-# libfrr* are for internal use only and do not provide a stable API or ABI.
-# soname / library versioning is irrelevant and they must always be shipped
-# exact-matching to the daemons compiled against it
-frr binary: package-name-doesnt-match-sonames libfrr0 libfrrospfapiclient0
-frr binary: no-symbols-control-file *
-
# we're a bit special since we provide network connectivity by starting up
# routing protocols.
frr binary: systemd-service-file-refers-to-unusual-wantedby-target lib/systemd/system/frr.service network-online.target
--sbindir=/usr/lib/frr \
--sysconfdir=/etc/frr \
--with-vtysh-pager=/usr/bin/pager \
+ --libdir=/usr/lib/$(DEB_HOST_MULTIARCH)/frr \
+ --with-moduledir=/usr/lib/$(DEB_HOST_MULTIARCH)/frr/modules \
+ LIBTOOLFLAGS="-rpath /usr/lib/$(DEB_HOST_MULTIARCH)/frr" \
$(USE_DOC) \
$(USE_SNMP) \
$(USE_OSPFAPI) \
override_dh_auto_build:
dh_auto_build -- $(MAKE_SILENT)
+override_dh_makeshlibs:
+# we don't need or want ldconfig for private libs
+ dh_makeshlibs -n
+
override_dh_missing:
dh_missing --fail-missing