@ -8,12 +8,12 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := nginx
PKG_VERSION := 1.17.9
PKG_VERSION := 1.17.10
PKG_RELEASE := 1
PKG_SOURCE := nginx-$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://nginx.org/download/
PKG_HASH := 7dd65d405c753c41b7fdab9415cfb4bdbaf093ec6d9f7432072d52cb7bcbb689
PKG_HASH := a9aa73f19c352a6b166d78e2a664bb3ef1295bbe6d3cc5aa7404bd4664ab4b83
PKG_MAINTAINER := Thomas Heil <heil@terminal-consulting.de> \
Ansuel Smith <ansuelsmth@gmail.com>
@ -426,7 +426,7 @@ Package/nginx-all-module/install = $(Package/nginx-ssl/install)
d e f i n e P a c k a g e / n g i n x - s s l / p r e r m
#!/bin/sh
[ - z "$${IPKG_INSTROOT}" ] | | e x i t 0
i f [ "$${PKG_UPGRADE}" = = "1" ] ; t h e n
i f [ "$${PKG_UPGRADE}" = "1" ] ; t h e n
eval $$ ( /usr/bin/nginx-util get_env)
TMP_CRT = $$ ( mktemp -p " $$ {CONF_DIR} " " $$ {LAN_NAME}.crt.tmp-XXXXXX " )
ln -f " $$ {CONF_DIR} $$ {LAN_NAME}.crt " " $$ {TMP_CRT} "
@ -434,8 +434,12 @@ if [ "$${PKG_UPGRADE}" == "1" ]; then
ln -f " $$ {CONF_DIR} $$ {LAN_NAME}.key " " $$ {TMP_KEY} "
f i
/ u s r / b i n / n g i n x - u t i l d e l _ s s l
[ - f "$${TMP_CRT}" ] & & m v - f "$${TMP_CRT}" "$${CONF_DIR}$${LAN_NAME}.crt"
[ - f "$${TMP_KEY}" ] & & m v - f "$${TMP_KEY}" "$${CONF_DIR}$${LAN_NAME}.key"
[ - f "$${TMP_CRT}" ] & &
r m - f "$${CONF_DIR}$${LAN_NAME}.crt" & &
m v - f "$${TMP_CRT}" "$${CONF_DIR}$${LAN_NAME}.crt"
[ - f "$${TMP_KEY}" ] & &
r m - f "$${CONF_DIR}$${LAN_NAME}.key" & &
m v - f "$${TMP_KEY}" "$${CONF_DIR}$${LAN_NAME}.key"
e x i t 0
e n d e f