aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/util-linux
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-01-22 19:17:32 +0100
committerJo-Philipp Wich <jo@mein.io>2019-01-24 10:39:30 +0100
commit0e70f69a35fd79be781c859c12487b626e243e96 (patch)
tree2025021f55f831e09f0f102969e01532881b8147 /package/utils/util-linux
parent60558790a2a832265ec041131e851b6648f514d4 (diff)
downloadupstream-0e70f69a35fd79be781c859c12487b626e243e96.tar.gz
upstream-0e70f69a35fd79be781c859c12487b626e243e96.tar.bz2
upstream-0e70f69a35fd79be781c859c12487b626e243e96.zip
treewide: revise library packaging
- Annotate versionless libraries (such as libubox, libuci etc.) with a fixed ABI_VERSION resembling the source date of the last incompatible change - Annotate packages shipping versioned library objects with ABI_VERSION - Stop shipping unversioned library symlinks for packages with ABI_VERSION Ref: https://openwrt.org/docs/guide-developer/package-policies#shared_libraries Ref: https://github.com/KanjiMonster/maintainer-tools/blob/master/check-abi-versions.pl Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/utils/util-linux')
-rw-r--r--package/utils/util-linux/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/package/utils/util-linux/Makefile b/package/utils/util-linux/Makefile
index 5e1a6ea58a..169ef5159c 100644
--- a/package/utils/util-linux/Makefile
+++ b/package/utils/util-linux/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=util-linux
PKG_VERSION:=2.33
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.33
@@ -47,6 +47,7 @@ $(call Package/util-linux/Default)
TITLE:=block device id library
SECTION:=libs
CATEGORY:=Libraries
+ ABI_VERSION:=1
endef
define Package/libblkid/description
@@ -62,6 +63,7 @@ $(call Package/util-linux/Default)
TITLE:=partition manipulating library
SECTION:=libs
CATEGORY:=Libraries
+ ABI_VERSION:=1
endef
define Package/libfdisk/description
@@ -74,6 +76,7 @@ $(call Package/util-linux/Default)
TITLE:=mount library
SECTION:=libs
CATEGORY:=Libraries
+ ABI_VERSION:=1
endef
define Package/libmount/description
@@ -86,6 +89,7 @@ $(call Package/util-linux/Default)
TITLE:=DCE compatible Universally Unique Identifier library
SECTION:=libs
CATEGORY:=Libraries
+ ABI_VERSION:=1
endef
define Package/libuuid/description
@@ -100,6 +104,7 @@ $(call Package/util-linux/Default)
TITLE:=table or tree library
SECTION:=libs
CATEGORY:=Libraries
+ ABI_VERSION:=1
endef
define Package/libsmartcols/description
@@ -544,32 +549,27 @@ endef
define Package/libfdisk/install
$(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/lib/libfdisk.so* $(1)/usr/lib/
- $(LN) libfdisk.so.1 $(1)/usr/lib/libfdisk.so
+ $(CP) $(PKG_INSTALL_DIR)/lib/libfdisk.so.* $(1)/usr/lib/
endef
define Package/libblkid/install
$(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/lib/libblkid.so* $(1)/usr/lib/
- $(LN) libblkid.so.1 $(1)/usr/lib/libblkid.so
+ $(CP) $(PKG_INSTALL_DIR)/lib/libblkid.so.* $(1)/usr/lib/
endef
define Package/libmount/install
$(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/lib/libmount.so* $(1)/usr/lib/
- $(LN) libmount.so.1 $(1)/usr/lib/libmount.so
+ $(CP) $(PKG_INSTALL_DIR)/lib/libmount.so.* $(1)/usr/lib/
endef
define Package/libsmartcols/install
$(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/lib/libsmartcols.so* $(1)/usr/lib/
- $(LN) libsmartcols.so.1 $(1)/usr/lib/libsmartcols.so
+ $(CP) $(PKG_INSTALL_DIR)/lib/libsmartcols.so.* $(1)/usr/lib/
endef
define Package/libuuid/install
$(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/lib/libuuid.so* $(1)/usr/lib/
- $(LN) libuuid.so.1 $(1)/usr/lib/libuuid.so
+ $(CP) $(PKG_INSTALL_DIR)/lib/libuuid.so.* $(1)/usr/lib/
endef
define Package/agetty/install