From 0e70f69a35fd79be781c859c12487b626e243e96 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 22 Jan 2019 19:17:32 +0100 Subject: 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 --- package/utils/util-linux/Makefile | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'package/utils/util-linux') 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 -- cgit v1.2.3