Rename libupsclient1 to libupsclient3 following the soname bump, rename libupsclient1-dev to libupsclient-dev, the package is not co-installable anyway

This commit is contained in:
Laurent Bigonville 2013-11-24 17:07:08 +01:00
parent 8e8886fd95
commit a62d95150d
10 changed files with 48 additions and 35 deletions

5
debian/changelog vendored
View File

@ -2,13 +2,16 @@ nut (2.7.1-1) UNRELEASED; urgency=low
* New upstream release (Closes: #730183)
- Refresh debian/patches/0004-fix-systemd-service.patch
- Rename libupsclient1 to libupsclient3 following the soname bump, rename
libupsclient1-dev to libupsclient-dev, the package is not co-installable
anyway
* debian/rules, debian/control: Enable SSL support using libnss3
* d/p/0005-Provide-retry-options-for-upsdrvctl-and-drivers.patch,
d/p/0006-ups-conf-maxretry.patch: By default, retry to start the drivers
up-to three times, this should mitigate races with slow devices
(Closes: #694717)
-- Laurent Bigonville <bigon@debian.org> Sun, 24 Nov 2013 16:26:05 +0100
-- Laurent Bigonville <bigon@debian.org> Sun, 24 Nov 2013 16:59:49 +0100
nut (2.6.5-4) unstable; urgency=low

8
debian/control vendored
View File

@ -164,7 +164,7 @@ Description: network UPS tools - documentation
.
This package contains FAQ, user, developer and packager documentation.
Package: libupsclient1
Package: libupsclient3
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
@ -179,10 +179,12 @@ Description: network UPS tools - client library
.
This package provides the shared client library.
Package: libupsclient1-dev
Package: libupsclient-dev
Section: libdevel
Architecture: any
Depends: libupsclient1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Depends: libupsclient3 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Conflicts: libupsclient1-dev
Replaces: libupsclient1-dev
Description: network UPS tools - development files
Network UPS Tools (NUT) is a client/server monitoring system that
allows computers to share uninterruptible power supply (UPS) and

9
debian/libupsclient-dev.install vendored Normal file
View File

@ -0,0 +1,9 @@
usr/lib/*/libupsclient.so
usr/lib/*/libupsclient.a
usr/lib/*/pkgconfig/libupsclient.pc
usr/include/nut-scan.h
usr/include/nutscan-device.h
usr/include/nutscan-init.h
usr/include/nutscan-ip.h
usr/include/parseconf.h
usr/include/upsclient.h

2
debian/libupsclient-dev.manpages vendored Normal file
View File

@ -0,0 +1,2 @@
debian/tmp/usr/share/man/man3/nutscan*.3
debian/tmp/usr/share/man/man3/upscli*.3

View File

@ -1,4 +0,0 @@
usr/lib/*/libupsclient.so
usr/lib/*/libupsclient.a
usr/lib/*/pkgconfig/libupsclient.pc
usr/include

View File

@ -1 +0,0 @@
debian/tmp/usr/share/man/man3/*.3

View File

@ -1,25 +0,0 @@
libupsclient.so.1 libupsclient1 #MINVER#
pconf_char@Base 2.4.1
pconf_encode@Base 2.4.1
pconf_file_begin@Base 2.4.1
pconf_file_next@Base 2.4.1
pconf_finish@Base 2.4.1
pconf_init@Base 2.4.1
pconf_line@Base 2.4.1
pconf_parse_error@Base 2.4.1
upscli_connect@Base 2.4.1
upscli_disconnect@Base 2.4.1
upscli_errlist@Base 2.4.1
upscli_fd@Base 2.4.1
upscli_get@Base 2.4.1
upscli_list_next@Base 2.4.1
upscli_list_start@Base 2.4.1
upscli_readline@Base 2.4.1
upscli_sendline@Base 2.4.1
upscli_splitaddr@Base 2.4.1
upscli_splitname@Base 2.4.1
upscli_ssl@Base 2.4.1
upscli_sslcert@Base 2.4.1
upscli_strerror@Base 2.4.1
upscli_upserror@Base 2.4.1
upscli_tryconnect@Base 2.6.2

27
debian/libupsclient3.symbols vendored Normal file
View File

@ -0,0 +1,27 @@
libupsclient.so.3 libupsclient3 #MINVER#
pconf_char@Base 2.7.1
pconf_encode@Base 2.7.1
pconf_file_begin@Base 2.7.1
pconf_file_next@Base 2.7.1
pconf_finish@Base 2.7.1
pconf_init@Base 2.7.1
pconf_line@Base 2.7.1
pconf_parse_error@Base 2.7.1
upscli_add_host_cert@Base 2.7.1
upscli_cleanup@Base 2.7.1
upscli_connect@Base 2.7.1
upscli_disconnect@Base 2.7.1
upscli_errlist@Base 2.7.1
upscli_fd@Base 2.7.1
upscli_get@Base 2.7.1
upscli_init@Base 2.7.1
upscli_list_next@Base 2.7.1
upscli_list_start@Base 2.7.1
upscli_readline@Base 2.7.1
upscli_sendline@Base 2.7.1
upscli_splitaddr@Base 2.7.1
upscli_splitname@Base 2.7.1
upscli_ssl@Base 2.7.1
upscli_strerror@Base 2.7.1
upscli_upserror@Base 2.7.1
upscli_tryconnect@Base 2.7.1

2
debian/rules vendored
View File

@ -66,7 +66,7 @@ common-install-arch::
mv $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/libupsclient.a \
$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libupsclient.a
rm -f $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/libupsclient.so
ln -s /lib/$(DEB_HOST_MULTIARCH)/libupsclient.so.1 \
ln -s /lib/$(DEB_HOST_MULTIARCH)/libupsclient.so.3 \
$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libupsclient.so
# Install systemd files only on systems where it's supported