From 2a9aa5721be7ad694561150b371ad4617dad412c Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Sun, 10 Dec 2023 18:11:37 -0600 Subject: [PATCH] cyrus-sasl: create libsasl2-utils package for programs Signed-off-by: W. Michael Petullo --- libs/cyrus-sasl/Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/libs/cyrus-sasl/Makefile b/libs/cyrus-sasl/Makefile index 88964f5ff0..b39d46c257 100644 --- a/libs/cyrus-sasl/Makefile +++ b/libs/cyrus-sasl/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=cyrus-sasl PKG_VERSION:=2.1.28 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=W. Michael Petullo @@ -47,6 +47,12 @@ define Package/libsasl2-sasldb TITLE+= (sasldb libraries) endef +define Package/libsasl2-utils + $(call Package/libsasl2/Default) + DEPENDS:=+libsasl2 +libdb47 + TITLE+= (sasldb utilities) +endef + TARGET_CFLAGS += $(FPIC) CONFIGURE_ARGS += \ --enable-shared \ @@ -132,5 +138,11 @@ define Package/libsasl2-sasldb/install $(CP) $(PKG_INSTALL_DIR)/usr/lib/sasl2/libsasldb.so* $(1)/usr/lib/sasl2/ endef +define Package/libsasl2-utils/install + $(INSTALL_DIR) $(1)/usr/sbin/ + $(CP) $(PKG_INSTALL_DIR)/usr/sbin/{pluginviewer,sasldblistusers2,saslpasswd2} $(1)/usr/sbin/ +endef + $(eval $(call BuildPackage,libsasl2)) $(eval $(call BuildPackage,libsasl2-sasldb)) +$(eval $(call BuildPackage,libsasl2-utils))