netwhere: remove package
authorYanase Yuki <dev@zpc.st>
Wed, 10 Dec 2025 08:41:33 +0000 (17:41 +0900)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 18 Dec 2025 20:57:09 +0000 (21:57 +0100)
It seems this software is no longer maintained.
The last upstream commit is 8 years ago.

Signed-off-by: Yanase Yuki <dev@zpc.st>
utils/netwhere/Makefile [deleted file]
utils/netwhere/patches/010-libmicrohttpd.patch [deleted file]

diff --git a/utils/netwhere/Makefile b/utils/netwhere/Makefile
deleted file mode 100644 (file)
index 1de3a82..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=netwhere
-PKG_VERSION:=0.9
-PKG_RELEASE:=2
-
-PKG_SOURCE:=netwhere-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://github.com/benhsmith/netwhere/archive/$(PKG_VERSION)/
-PKG_HASH:=94a672bdcd9d4455b85429dddd81ffc778e0b26fe87af19ad75c27858ec9dbe2
-
-PKG_MAINTAINER:=Ben Smith <le.ben.smith@gmail.com>
-PKG_LICENSE:=MIT
-PKG_LICENSE_FILES:=LICENSE
-
-PKG_BUILD_DEPENDS:=boost
-
-include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/cmake.mk
-
-define Package/netwhere
-  SECTION:=utils
-  CATEGORY:=Utilities
-  TITLE:=Netwhere
-  URL:=https://github.com/benhsmith/netwhere
-  DEPENDS:=+libtins +libmicrohttpd
-endef
-
-define Package/netwhere/description
-  Network monitor
-endef
-
-define Package/netwhere/install
-       $(INSTALL_DIR) $(1)/usr/bin
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/netwhere $(1)/usr/bin/netwhere
-       $(INSTALL_DIR) $(1)/www/netwhere
-       $(INSTALL_DATA) $(PKG_BUILD_DIR)/html/index.html $(1)/www/netwhere/
-       $(INSTALL_DATA) $(PKG_BUILD_DIR)/html/netwhere.js $(1)/www/netwhere/
-endef
-
-$(eval $(call BuildPackage,netwhere))
diff --git a/utils/netwhere/patches/010-libmicrohttpd.patch b/utils/netwhere/patches/010-libmicrohttpd.patch
deleted file mode 100644 (file)
index 8592e24..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
---- a/webservice.hpp
-+++ b/webservice.hpp
-@@ -38,13 +38,13 @@ class WebService {
-   MHD_Daemon* daemon;
-   Functor functor;
-  
--  static int on_request(void * cls, struct MHD_Connection * connection, const char * url, const char * method, const char * version,
-+  static enum MHD_Result on_request(void * cls, struct MHD_Connection * connection, const char * url, const char * method, const char * version,
-                           const char * upload_data, size_t * upload_data_size,
-                           void ** ptr);
- };
- template <typename Functor>
--int WebService<Functor>::on_request(void * cls,
-+enum MHD_Result WebService<Functor>::on_request(void * cls,
-                   struct MHD_Connection * connection,
-                   const char * url,
-                   const char * method,
-@@ -53,7 +53,7 @@ int WebService<Functor>::on_request(void
-                   size_t * upload_data_size,
-                     void ** ptr) {
-   static int dummy;
--  int ret;
-+  enum MHD_Result ret;
-   if (std::string("GET") != method)
-     return MHD_NO; /* unexpected method */