mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-26 21:12:51 +08:00
update 2026-09-26 17:00:06
This commit is contained in:
1 parent
97ae9f68da
commit
bcc9ceb04a
4756 files changed
+1670713
No files matched your search
@@ -0,0 +1,48 @@
|
||||
#
|
||||
# Copyright (C) 2020-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ooniprobe
|
||||
PKG_VERSION:=3.30.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=probe-cli-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/ooni/probe-cli/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=8ddd7bf5f831e635dada1f8eca2db688f8da9c37e06deed03fa94826d943315b
|
||||
|
||||
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
|
||||
PKG_LICENSE:=BSD-3-Clause
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/probe-cli-$(PKG_VERSION)
|
||||
PKG_BUILD_DEPENDS:=golang/host
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
PKG_USE_MIPS16:=0
|
||||
|
||||
GO_PKG:=github.com/ooni/probe-cli/v3
|
||||
GO_PKG_BUILD_PKG:=$(GO_PKG)/cmd/ooniprobe
|
||||
GO_PKG_TAGS:=nouserauth
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include ../../lang/golang/golang-package.mk
|
||||
|
||||
define Package/ooniprobe
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
TITLE:=OONI probe-cli
|
||||
URL:=https://ooni.org
|
||||
DEPENDS:=$(GO_ARCH_DEPENDS)
|
||||
endef
|
||||
|
||||
define Package/ooniprobe/description
|
||||
The next generation of OONI(Open Observatory of Network Interference)
|
||||
Probe Command Line Interface.
|
||||
endef
|
||||
|
||||
$(eval $(call GoBinPackage,ooniprobe))
|
||||
$(eval $(call BuildPackage,ooniprobe))
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
ooniprobe version | grep "$2"
|
||||
Reference in new issue
Block a user