libsigar: remove
authorRosen Penev <redacted>
Sat, 4 Apr 2020 21:05:40 +0000 (14:05 -0700)
committerRosen Penev <redacted>
Thu, 9 Apr 2020 07:57:28 +0000 (00:57 -0700)
Signed-off-by: Rosen Penev <redacted>
libs/libsigar/Makefile [deleted file]
libs/libsigar/patches/010-rindex.patch [deleted file]
libs/libsigar/patches/020-sysmacros.patch [deleted file]

diff --git a/libs/libsigar/Makefile b/libs/libsigar/Makefile
deleted file mode 100644 (file)
index 39f2213..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=libsigar
-PKG_SOURCE_DATE:=2017-02-21
-PKG_SOURCE_VERSION:=a6c61edf8c64e013411e8c9d753165cd03102c6e
-PKG_RELEASE:=3
-
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://github.com/boundary/sigar
-PKG_MIRROR_HASH:=5f017e10ab1d929c9dfb2937fef16a45962b60958cd1569573d18f00fcea290f
-
-PKG_MAINTAINER:=Amol Bhave <ambhave@fb.com>
-PKG_LICENSE:=Apache-2.0
-PKG_LICENSE_FILE:=LICENSE
-
-include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/cmake.mk
-
-PKG_BUILD_PARALLEL:=1
-CMAKE_INSTALL:=1
-
-define Package/libsigar
-       SECTION:=libs
-       CATEGORY:=Libraries
-       TITLE:=System Information Gatherer And Reporter
-       URL:=https://github.com/boundary/sigar
-       DEPENDS:=+libtirpc
-endef
-
-define Package/libsigar/description
-       System Information Gatherer And Reporter
-endef
-
-define Package/libsigar/install
-       $(INSTALL_DIR) $(1)/usr/lib
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsigar.so* $(1)/usr/lib/
-endef
-
-$(eval $(call BuildPackage,libsigar))
diff --git a/libs/libsigar/patches/010-rindex.patch b/libs/libsigar/patches/010-rindex.patch
deleted file mode 100644 (file)
index bc0b064..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/src/sigar_util.c
-+++ b/src/sigar_util.c
-@@ -954,14 +954,10 @@ int sigar_file2str(const char *fname, char *buffer, int buflen)
- #define vsnprintf _vsnprintf
- #endif
--#ifdef WIN32
--#   define rindex strrchr
--#endif
--
- static int proc_module_get_self(void *data, char *name, int len)
- {
-     sigar_t *sigar = (sigar_t *)data;
--    char *ptr = rindex(name, '/');
-+    char *ptr = strrchr(name, '/');
-     if (!ptr) {
-         return SIGAR_OK;
diff --git a/libs/libsigar/patches/020-sysmacros.patch b/libs/libsigar/patches/020-sysmacros.patch
deleted file mode 100644 (file)
index 334a908..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/os/linux/linux_sigar.c
-+++ b/src/os/linux/linux_sigar.c
-@@ -23,6 +23,7 @@
- #include <linux/param.h>
- #include <sys/param.h>
- #include <sys/stat.h>
-+#include <sys/sysmacros.h>
- #include <sys/times.h>
- #include <sys/utsname.h>
- #include <mntent.h>
git clone https://git.99rst.org/PROJECT