Contains following list of changes: ab4c3471b261 tests: add cram based unit tests 7b4e3241e1bd tests: add cgi-io built with clang sanitizers 21831f45d16d Disable session ACLs during unit testing 2f525417b5df Add initial GitLab CI support 57f1c4f18cb6 Add .gitignore 09f9ac5066ee Fix off-by-one in postdecode_fields ed8ce0d5d28b Add fuzzing of utility functions a61581819800 Add fuzzing of multipart_parser 6b0615b728ed Refactor utility functions into static library a0ed2c9a7a72 Fix clang compiler errors 232659da19a4 Fix possible NULL dereference 8e5719b37a67 Fix warnings reported by clang-10 static analyzer b99aa8a64cca Remove Makefile Signed-off-by: Petr Štetiar <ynezz@true.cz>
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
#
|
|
# Copyright (C) 2015 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=cgi-io
|
|
PKG_RELEASE:=19
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL=$(PROJECT_GIT)/project/cgi-io.git
|
|
PKG_SOURCE_DATE:=2020-10-27
|
|
PKG_SOURCE_VERSION:=ab4c3471b26179b6e1decfb6ca27c4a87df9a0a4
|
|
PKG_MIRROR_HASH:=fb1ca916aeb75a58f3ca003556aa7516d30e5d868000fc00929ca4c4bf336b0e
|
|
CMAKE_INSTALL:=1
|
|
|
|
PKG_LICENSE:=GPL-2.0-or-later
|
|
PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/cgi-io
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
SUBMENU:=Web Servers/Proxies
|
|
DEPENDS:=+libubox +libubus
|
|
TITLE:=CGI utility for handling up/downloading of files
|
|
endef
|
|
|
|
define Package/cgi-io/description
|
|
This package contains an cgi utility that is useful for up/downloading files
|
|
endef
|
|
|
|
define Package/cgi-io/install
|
|
$(INSTALL_DIR) $(1)/usr/libexec $(1)/www/cgi-bin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/cgi-io $(1)/usr/libexec
|
|
$(LN) ../../usr/libexec/cgi-io $(1)/www/cgi-bin/cgi-upload
|
|
$(LN) ../../usr/libexec/cgi-io $(1)/www/cgi-bin/cgi-download
|
|
$(LN) ../../usr/libexec/cgi-io $(1)/www/cgi-bin/cgi-backup
|
|
$(LN) ../../usr/libexec/cgi-io $(1)/www/cgi-bin/cgi-exec
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,cgi-io))
|