aboutsummaryrefslogtreecommitdiffstats
path: root/main/apache2
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2016-10-30 18:44:39 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2016-10-30 18:44:39 +0200
commit45fa9ece3e09b4991138cd4171a3d2a16f9bdcc2 (patch)
treed69b89ad2b868a852559f95f9dfd9ee2c9481167 /main/apache2
parentf4c7e289dbdbaa00da98009d4018cef25906b573 (diff)
downloadaports-45fa9ece3e09b4991138cd4171a3d2a16f9bdcc2.tar.bz2
aports-45fa9ece3e09b4991138cd4171a3d2a16f9bdcc2.tar.xz
main/apache2: adjust genrsa options
increase key length to 2048 bits remove 'rand' option (not supported by libressl)
Diffstat (limited to 'main/apache2')
-rw-r--r--main/apache2/APKBUILD2
-rw-r--r--main/apache2/apache2-ssl.post-install4
2 files changed, 2 insertions, 4 deletions
diff --git a/main/apache2/APKBUILD b/main/apache2/APKBUILD
index f9d3d46770..34bf8dfe0b 100644
--- a/main/apache2/APKBUILD
+++ b/main/apache2/APKBUILD
@@ -3,7 +3,7 @@
pkgname=apache2
_pkgreal=httpd
pkgver=2.4.23
-pkgrel=6
+pkgrel=7
pkgdesc="A high performance Unix-based HTTP server"
url="http://httpd.apache.org/"
arch="all"
diff --git a/main/apache2/apache2-ssl.post-install b/main/apache2/apache2-ssl.post-install
index d73b5fc622..1e8478a8d4 100644
--- a/main/apache2/apache2-ssl.post-install
+++ b/main/apache2/apache2-ssl.post-install
@@ -6,9 +6,7 @@ sslcert=$ssldir/server.pem
umask 077
-if [ ! -f ${sslkey} ] ; then
- openssl genrsa -rand /proc/apm:/proc/cpuinfo:/proc/dma:/proc/filesystems:/proc/interrupts:/proc/ioports:/proc/pci:/proc/rtc:/proc/uptime 1024 > ${sslkey} 2> /dev/null
-fi
+[ -f $sslkey ] || openssl genrsa 2048 > $sslkey 2>/dev/null
FQDN=`hostname -f`
if [ "x${FQDN}" = "x" ]; then