rpcbind: update to 1.2.5
authorAndy Walsh <andy.walsh44+github@gmail.com>
Sun, 19 Aug 2018 14:33:42 +0000 (16:33 +0200)
committerAndy Walsh <andy.walsh44+github@gmail.com>
Sun, 19 Aug 2018 14:36:03 +0000 (16:36 +0200)
* update to 1.2.5
* fix wrong URL
* adapt to bin/sbin from new version

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
net/rpcbind/Makefile
net/rpcbind/files/rpcbind.init

index bf0ea7b54fae0f53358d7a43cdd061119a5ebd48..434f7a974d401acb9275fb66b65c2f3ae3fa0a6a 100644 (file)
@@ -1,12 +1,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=rpcbind
-PKG_VERSION:=0.2.4
-PKG_RELEASE:=2
+PKG_VERSION:=1.2.5
+PKG_RELEASE:=1
 
 PKG_SOURCE_URL:=@SF/rpcbind
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_HASH:=074a9a530dc7c11e0d905aa59bcb0847c009313f02e98d3d798aa9568f414c66
+PKG_HASH:=2ce360683963b35c19c43f0ee2c7f18aa5b81ef41c3fdbd15ffcb00b8bffda7a
 
 PKG_MAINTAINER:=Andy Walsh <andy.walsh44+github@gmail.com>
 PKG_LICENSE:=BSD-3-Clause
@@ -26,7 +26,7 @@ define Package/rpcbind
   CATEGORY:=Network
   DEPENDS:=+libtirpc +RPCBIND_LIBWRAP:libwrap
   TITLE:=Universal addresses to RPC mapper
-  URL:=http://libtirpc.sourceforge.net/
+  URL:=http://rpcbind.sourceforge.net/
   USERID:=rpc=65533:rpc=65533
 endef
 
@@ -67,7 +67,9 @@ endif
 
 define Package/rpcbind/install
        $(INSTALL_DIR) $(1)/usr/bin
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/{rpcbind,rpcinfo} $(1)/usr/bin/
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rpcinfo $(1)/usr/bin/
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/rpcbind $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) ./files/rpcbind.init $(1)/etc/init.d/rpcbind
 endef
index f3efaed3c7097e35abb1588b51f1daa454f2640c..2e8ace04150b7dcd48c06121329cf69969b67399 100644 (file)
@@ -7,7 +7,7 @@ USE_PROCD=1
 
 start_service() { 
        procd_open_instance
-       procd_set_param command /usr/bin/rpcbind -f -w
+       procd_set_param command /usr/sbin/rpcbind -f -w
        procd_set_param respawn
        procd_close_instance
 }