summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2020-02-19 12:55:27 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2020-02-19 12:55:27 +0000
commit4215a76496138a7d55ac19b12d7aedfec1d1339e (patch)
tree1e0fa580c332dd0319e7f14f1e096aba42af1a22
parentFix WWW (diff)
- Add missing dependencies.
- Add /usr/local/bin in the path of the crontab example.
Notes
Notes: svn path=/head/; revision=526512
-rw-r--r--www/nginx-ultimate-bad-bot-blocker/Makefile6
-rw-r--r--www/nginx-ultimate-bad-bot-blocker/files/pkg-message.in2
2 files changed, 5 insertions, 3 deletions
diff --git a/www/nginx-ultimate-bad-bot-blocker/Makefile b/www/nginx-ultimate-bad-bot-blocker/Makefile
index 336baabbfbe9..30f797d6e684 100644
--- a/www/nginx-ultimate-bad-bot-blocker/Makefile
+++ b/www/nginx-ultimate-bad-bot-blocker/Makefile
@@ -3,7 +3,7 @@
PORTNAME= nginx-ultimate-bad-bot-blocker
DISTVERSIONPREFIX= V
DISTVERSION= 4.2020.02.1988
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= www security
MAINTAINER= netchild@FreeBSD.org
@@ -12,7 +12,9 @@ COMMENT= Nginx bad bot and other things blocker
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-RUN_DEPENDS= gsed:textproc/gsed
+RUN_DEPENDS= curl:ftp/curl \
+ gsed:textproc/gsed \
+ wget:ftp/wget
USE_GITHUB= yes
diff --git a/www/nginx-ultimate-bad-bot-blocker/files/pkg-message.in b/www/nginx-ultimate-bad-bot-blocker/files/pkg-message.in
index 800cf6b6655c..d343ae005055 100644
--- a/www/nginx-ultimate-bad-bot-blocker/files/pkg-message.in
+++ b/www/nginx-ultimate-bad-bot-blocker/files/pkg-message.in
@@ -25,7 +25,7 @@ Example crontab entry for /etc/cron.d/nginx-bad-bot-blocker:
---snip---
#
SHELL=/bin/sh
-PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:%%PREFIX%%/sbin
+PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:%%PREFIX%%/bin:%%PREFIX%%/sbin
# See crontab(5) for field format.
53 10 * * * root %%PREFIX%%/sbin/update-ngxblocker -q