mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 10:08:41 +00:00
debianpkg: ditch development-only files
It is currently impossible to build external stuff that links against installed FRR headers or libraries. Such projects need to directly reference an FRR source tree until we revamp the library installation semantics. In any case these files would then be in a frr-dev Debian package. Signed-off-by: David Lamparter <equinox@diac24.net>
This commit is contained in:
parent
a44340c5c6
commit
0842713062
@ -1,7 +1,6 @@
|
||||
etc/frr/
|
||||
usr/bin/vtysh
|
||||
usr/bin/mtracebis
|
||||
usr/include/frr
|
||||
usr/lib/*/libfrr.*
|
||||
usr/lib/*/libfrrospfapiclient.*
|
||||
usr/lib/frr/*d
|
||||
|
@ -1,6 +1,2 @@
|
||||
frr: non-dev-pkg-with-shlib-symlink usr/lib/libfrrospfapiclient.so.0.0.0 usr/lib/libfrrospfapiclient.so
|
||||
frr: non-dev-pkg-with-shlib-symlink usr/lib/libfrr.so.0.0.0 usr/lib/libfrr.so
|
||||
frr: non-dev-pkg-with-shlib-symlink usr/lib/libfrrfpm_pb.so.0.0.0 usr/lib/libfrrfpm_pb.so
|
||||
frr: package-name-doesnt-match-sonames libfrr0 libfrrfpm-pb0 libfrrospfapiclient0
|
||||
frr: systemd-service-file-refers-to-unusual-wantedby-target lib/systemd/system/frr.service network-online.target
|
||||
frr: shared-lib-without-dependency-information usr/lib/libfrrfpm_pb.so.0.0.0
|
||||
|
1
debianpkg/not-installed
Normal file
1
debianpkg/not-installed
Normal file
@ -0,0 +1 @@
|
||||
usr/include
|
@ -167,10 +167,9 @@ endif
|
||||
mkdir -p debian/tmp/etc/frr/
|
||||
perl -pi -e 's#^!log file #!log file /var/log/frr/#' debian/tmp/usr/share/doc/frr/examples/*sample*
|
||||
|
||||
# we don't need .la files
|
||||
rm debian/tmp/usr/lib/*/*.la
|
||||
rm debian/tmp/usr/lib/*/frr/modules/*.la
|
||||
rm debian/tmp/usr/lib/*/frr/libyang_plugins/*.la
|
||||
# drop dev-only files
|
||||
find debian/tmp -name '*.la' -o -name '*.a' -o -name 'lib*.so' | xargs rm -f
|
||||
rm -rf debian/tmp/usr/include
|
||||
|
||||
override_dh_auto_build:
|
||||
dh_auto_build -- $(MAKE_SILENT)
|
||||
|
@ -36,4 +36,5 @@ EXTRA_DIST += \
|
||||
debianpkg/frr.postrm \
|
||||
debianpkg/frr.preinst \
|
||||
debianpkg/frr.prerm \
|
||||
debianpkg/not-installed \
|
||||
# end
|
||||
|
Loading…
Reference in New Issue
Block a user