libwrap is fairly useless. It's also legacy and should not be used/
dbus is a big dependency. It's fairly useless in the OpenWrt context.
I don't know how useful netlink is.
Disabling BSD behavior results in a slightly smaller size.
Disable LDAP. No size difference but I have a feeling it pulls in
another dependency...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
PKG_NAME:=quota
PKG_VERSION:=4.05
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/linuxquota
define Package/quota
SECTION:=utils
CATEGORY:=Utilities
- DEPENDS:=+libnl-genl +libtirpc +libwrap
TITLE:= quota
URL:=https://sourceforge.net/projects/linuxquota/
endef
endef
CONFIGURE_ARGS += \
- --disable-ext2direct
+ --disable-bsd-behaviour \
+ --disable-ext2direct \
+ --disable-ldapmail \
+ --disable-libwrap \
+ --disable-netlink \
+ --disable-rpath \
+ --disable-rpc
define Package/quota/install
$(INSTALL_DIR) $(1)/usr/bin