aboutsummaryrefslogtreecommitdiffstats
path: root/main/apache2
diff options
context:
space:
mode:
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