aboutsummaryrefslogtreecommitdiffstats
path: root/www/rubygem-passenger
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2018-12-14 08:46:08 +0800
committerosa <osa@FreeBSD.org>2018-12-14 08:46:08 +0800
commita3ffcf200da91a53bd47fbfbd7ac5a22b0e81075 (patch)
tree81c5fd5c3de86d4ab8ad4291f33f1332afb3400c /www/rubygem-passenger
parent5a4f34dc82070d7de0171182b59af44c5bdd3bd3 (diff)
downloadfreebsd-ports-gnome-a3ffcf200da91a53bd47fbfbd7ac5a22b0e81075.tar.gz
freebsd-ports-gnome-a3ffcf200da91a53bd47fbfbd7ac5a22b0e81075.tar.zst
freebsd-ports-gnome-a3ffcf200da91a53bd47fbfbd7ac5a22b0e81075.zip
Disable anonymous telemetry for nginx and apache by default.
Bump PORTREVISION. Requested by: remko
Diffstat (limited to 'www/rubygem-passenger')
-rw-r--r--www/rubygem-passenger/Makefile1
-rw-r--r--www/rubygem-passenger/files/patch-disable-anonymous-telemetry-apache11
-rw-r--r--www/rubygem-passenger/files/patch-disable-anonymous-telemetry-nginx11
3 files changed, 23 insertions, 0 deletions
diff --git a/www/rubygem-passenger/Makefile b/www/rubygem-passenger/Makefile
index 6b4ea2ada851..d42772bbda06 100644
--- a/www/rubygem-passenger/Makefile
+++ b/www/rubygem-passenger/Makefile
@@ -3,6 +3,7 @@
PORTNAME= passenger
PORTVERSION= 6.0.0
+PORTREVISION= 1
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMEPREFIX= rubygem-
diff --git a/www/rubygem-passenger/files/patch-disable-anonymous-telemetry-apache b/www/rubygem-passenger/files/patch-disable-anonymous-telemetry-apache
new file mode 100644
index 000000000000..fcc537f2e286
--- /dev/null
+++ b/www/rubygem-passenger/files/patch-disable-anonymous-telemetry-apache
@@ -0,0 +1,11 @@
+--- src/apache2_module/ServerConfig/AutoGeneratedStruct.h.orig 2018-12-03 12:35:46.016771000 -0500
++++ src/apache2_module/ServerConfig/AutoGeneratedStruct.h 2018-12-03 12:36:58.273211000 -0500
+@@ -287,7 +287,7 @@
+
+
+ AutoGeneratedServerConfig() {
+- disableAnonymousTelemetry = false;
++ disableAnonymousTelemetry = true;
+ disableSecurityUpdateCheck = false;
+ showVersionInHeader = true;
+ turbocaching = true;
diff --git a/www/rubygem-passenger/files/patch-disable-anonymous-telemetry-nginx b/www/rubygem-passenger/files/patch-disable-anonymous-telemetry-nginx
new file mode 100644
index 000000000000..88a8765129e0
--- /dev/null
+++ b/www/rubygem-passenger/files/patch-disable-anonymous-telemetry-nginx
@@ -0,0 +1,11 @@
+--- src/ruby_supportlib/phusion_passenger/nginx/config_options.rb.orig 2018-12-03 12:23:06.980728000 -0500
++++ src/ruby_supportlib/phusion_passenger/nginx/config_options.rb 2018-12-03 12:23:32.978924000 -0500
+@@ -204,7 +204,7 @@
+ :name => 'passenger_disable_anonymous_telemetry',
+ :scope => :global,
+ :type => :flag,
+- :default => false,
++ :default => true,
+ :context => [:main],
+ :struct => 'NGX_HTTP_MAIN_CONF_OFFSET'
+ },