Skip to content

Commit 74b50a7

Browse files
robnbehlendorf
authored andcommitted
libuutil: remove packaging
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #17934
1 parent adb316f commit 74b50a7

File tree

7 files changed

+11
-67
lines changed

7 files changed

+11
-67
lines changed

config/deb.am

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,21 @@ deb-utils: deb-local rpm-utils-initramfs
5757
debarch=`$(DPKG) --print-architecture`; \
5858
pkg1=$${name}-$${version}.$${arch}.rpm; \
5959
pkg2=libnvpair3-$${version}.$${arch}.rpm; \
60-
pkg3=libuutil3-$${version}.$${arch}.rpm; \
61-
pkg4=libzfs7-$${version}.$${arch}.rpm; \
62-
pkg5=libzpool7-$${version}.$${arch}.rpm; \
63-
pkg6=libzfs7-devel-$${version}.$${arch}.rpm; \
64-
pkg7=$${name}-test-$${version}.$${arch}.rpm; \
65-
pkg8=$${name}-dracut-$${version}.noarch.rpm; \
66-
pkg9=$${name}-initramfs-$${version}.$${arch}.rpm; \
67-
pkg10=`ls python3-pyzfs-$${version}.noarch.rpm 2>/dev/null`; \
68-
pkg11=`ls pam_zfs_key-$${version}.$${arch}.rpm 2>/dev/null`; \
60+
pkg3=libzfs7-$${version}.$${arch}.rpm; \
61+
pkg4=libzpool7-$${version}.$${arch}.rpm; \
62+
pkg5=libzfs7-devel-$${version}.$${arch}.rpm; \
63+
pkg6=$${name}-test-$${version}.$${arch}.rpm; \
64+
pkg7=$${name}-dracut-$${version}.noarch.rpm; \
65+
pkg8=$${name}-initramfs-$${version}.$${arch}.rpm; \
66+
pkg9=`ls python3-pyzfs-$${version}.noarch.rpm 2>/dev/null`; \
67+
pkg10=`ls pam_zfs_key-$${version}.$${arch}.rpm 2>/dev/null`; \
6968
## Arguments need to be passed to dh_shlibdeps. Alien provides no mechanism
7069
## to do this, so we install a shim onto the path which calls the real
7170
## dh_shlibdeps with the required arguments.
7271
path_prepend=`mktemp -d /tmp/intercept.XXXXXX`; \
7372
echo "#!$(SHELL)" > $${path_prepend}/dh_shlibdeps; \
7473
echo "`which dh_shlibdeps` -- \
75-
-xlibuutil3linux -xlibnvpair3linux -xlibzfs7linux -xlibzpool7linux" \
74+
-xlibnvpair3linux -xlibzfs7linux -xlibzpool7linux" \
7675
>> $${path_prepend}/dh_shlibdeps; \
7776
## These -x arguments are passed to dpkg-shlibdeps, which exclude the
7877
## Debianized packages from the auto-generated dependencies of the new debs,

contrib/debian/Makefile.am

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ dist_noinst_DATA += %D%/openzfs-libnvpair3.install.in
1010
dist_noinst_DATA += %D%/openzfs-libpam-zfs.install
1111
dist_noinst_DATA += %D%/openzfs-libpam-zfs.postinst
1212
dist_noinst_DATA += %D%/openzfs-libpam-zfs.prerm
13-
dist_noinst_DATA += %D%/openzfs-libuutil3.docs
14-
dist_noinst_DATA += %D%/openzfs-libuutil3.install.in
1513
dist_noinst_DATA += %D%/openzfs-libzfs7.docs
1614
dist_noinst_DATA += %D%/openzfs-libzfs7.install.in
1715
dist_noinst_DATA += %D%/openzfs-libzfsbootenv1.docs

contrib/debian/clean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ contrib/pyzfs/libzfs_core/__pycache__/
55
contrib/pyzfs/libzfs_core/bindings/__pycache__/
66
contrib/pyzfs/pyzfs.egg-info/
77
debian/openzfs-libnvpair3.install
8-
debian/openzfs-libuutil3.install
98
debian/openzfs-libzfs7.install
109
debian/openzfs-libzfs-dev.install
1110
debian/openzfs-libzpool7.install

contrib/debian/control

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -55,42 +55,23 @@ Description: PAM module for managing encryption keys for ZFS
5555
This provides a Pluggable Authentication Module (PAM) that automatically
5656
unlocks encrypted ZFS datasets upon login.
5757

58-
Package: openzfs-libuutil3
59-
Section: contrib/libs
60-
Architecture: linux-any
61-
Depends: ${misc:Depends}, ${shlibs:Depends}
62-
Breaks: libuutil1, libuutil3
63-
Replaces: libuutil1, libuutil3, libuutil3linux
64-
Conflicts: libuutil3linux
65-
Description: Solaris userland utility library for Linux
66-
This library provides a variety of glue functions for ZFS on Linux:
67-
* libspl: The Solaris Porting Layer userland library, which provides APIs
68-
that make it possible to run Solaris user code in a Linux environment
69-
with relatively minimal modification.
70-
* libavl: The Adelson-Velskii Landis balanced binary tree manipulation
71-
library.
72-
* libefi: The Extensible Firmware Interface library for GUID disk
73-
partitioning.
74-
* libshare: NFS, SMB, and iSCSI service integration for ZFS.
75-
7658
Package: openzfs-libzfs-dev
7759
Section: contrib/libdevel
7860
Architecture: linux-any
7961
Depends: libssl-dev | libssl1.0-dev,
8062
openzfs-libnvpair3 (= ${binary:Version}),
81-
openzfs-libuutil3 (= ${binary:Version}),
8263
openzfs-libzfs7 (= ${binary:Version}),
8364
openzfs-libzfsbootenv1 (= ${binary:Version}),
8465
openzfs-libzpool7 (= ${binary:Version}),
8566
${misc:Depends}
8667
Replaces: libzfslinux-dev
8768
Conflicts: libzfslinux-dev
88-
Provides: libnvpair-dev, libuutil-dev
69+
Provides: libnvpair-dev
8970
Description: OpenZFS filesystem development files for Linux
9071
Header files and static libraries for compiling software against
9172
libraries of OpenZFS filesystem.
9273
.
93-
This package includes the development files of libnvpair3, libuutil3,
74+
This package includes the development files of libnvpair3,
9475
libzpool7 and libzfs7.
9576

9677
Package: openzfs-libzfs7
@@ -246,7 +227,6 @@ Section: contrib/admin
246227
Architecture: linux-any
247228
Pre-Depends: ${misc:Pre-Depends}
248229
Depends: openzfs-libnvpair3 (= ${binary:Version}),
249-
openzfs-libuutil3 (= ${binary:Version}),
250230
openzfs-libzfs7 (= ${binary:Version}),
251231
openzfs-libzpool7 (= ${binary:Version}),
252232
python3,

contrib/debian/openzfs-libuutil3.docs

Lines changed: 0 additions & 2 deletions
This file was deleted.

contrib/debian/openzfs-libuutil3.install.in

Lines changed: 0 additions & 1 deletion
This file was deleted.

rpm/generic/zfs.spec.in

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ Source0: %{name}-%{version}.tar.gz
113113
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
114114
Requires: libzpool7%{?_isa} = %{version}-%{release}
115115
Requires: libnvpair3%{?_isa} = %{version}-%{release}
116-
Requires: libuutil3%{?_isa} = %{version}-%{release}
117116
Requires: libzfs7%{?_isa} = %{version}-%{release}
118117
Requires: %{name}-kmod = %{version}
119118
Provides: %{name}-kmod-common = %{version}-%{release}
@@ -199,29 +198,6 @@ to write self describing data structures on disk.
199198
%postun -n libnvpair3 -p /sbin/ldconfig
200199
%endif
201200

202-
%package -n libuutil3
203-
Summary: Solaris userland utility library for Linux
204-
Group: System Environment/Kernel
205-
Obsoletes: libuutil1 <= %{version}
206-
207-
%description -n libuutil3
208-
This library provides a variety of compatibility functions for OpenZFS:
209-
* libspl: The Solaris Porting Layer userland library, which provides APIs
210-
that make it possible to run Solaris user code in a Linux environment
211-
with relatively minimal modification.
212-
* libavl: The Adelson-Velskii Landis balanced binary tree manipulation
213-
library.
214-
* libefi: The Extensible Firmware Interface library for GUID disk
215-
partitioning.
216-
* libshare: NFS, SMB, and iSCSI service integration for ZFS.
217-
218-
%if %{defined ldconfig_scriptlets}
219-
%ldconfig_scriptlets -n libuutil3
220-
%else
221-
%post -n libuutil3 -p /sbin/ldconfig
222-
%postun -n libuutil3 -p /sbin/ldconfig
223-
%endif
224-
225201
# The library version is encoded in the package name. When updating the
226202
# version information it is important to add an obsoletes line below for
227203
# the previous version of the package.
@@ -249,10 +225,8 @@ Group: System Environment/Kernel
249225
Requires: libzfs7%{?_isa} = %{version}-%{release}
250226
Requires: libzpool7%{?_isa} = %{version}-%{release}
251227
Requires: libnvpair3%{?_isa} = %{version}-%{release}
252-
Requires: libuutil3%{?_isa} = %{version}-%{release}
253228
Provides: libzpool7-devel = %{version}-%{release}
254229
Provides: libnvpair3-devel = %{version}-%{release}
255-
Provides: libuutil3-devel = %{version}-%{release}
256230
Obsoletes: zfs-devel <= %{version}
257231
Obsoletes: libzfs2-devel <= %{version}
258232
Obsoletes: libzfs4-devel <= %{version}
@@ -556,9 +530,6 @@ systemctl --system daemon-reload >/dev/null || true
556530
%files -n libnvpair3
557531
%{_libdir}/libnvpair.so.*
558532

559-
%files -n libuutil3
560-
%{_libdir}/libuutil.so.*
561-
562533
%files -n libzfs7
563534
%{_libdir}/libzfs*.so.*
564535

0 commit comments

Comments
 (0)