Upgrade unbound library
These files were pulled from the 1.6.3 release tarball. This new version builds against OpenSSL version 1.1 which will be the default in the new Debian Stable which is due to be released RealSoonNow (tm).
This commit is contained in:
19
external/unbound/winrc/setup.nsi
vendored
19
external/unbound/winrc/setup.nsi
vendored
@@ -92,10 +92,18 @@ section "-hidden.postinstall"
|
||||
File "..\anchor-update.exe"
|
||||
File "unbound-control-setup.cmd"
|
||||
File "unbound-website.url"
|
||||
File "service.conf"
|
||||
File "..\doc\example.conf"
|
||||
File "..\doc\Changelog"
|
||||
|
||||
# Does service.conf already exist?
|
||||
IfFileExists "$INSTDIR\service.conf" 0 service_conf_not_found
|
||||
# if so, leave it be and place the shipped file under another name
|
||||
File /oname=service.conf.shipped "service.conf"
|
||||
goto end_service_conf_not_found
|
||||
# or, it is not there, place it and fill it.
|
||||
service_conf_not_found:
|
||||
File "service.conf"
|
||||
|
||||
# Store Root Key choice
|
||||
SectionGetFlags ${SectionRootKey} $R0
|
||||
IntOp $R0 $R0 & ${SF_SELECTED}
|
||||
@@ -111,6 +119,7 @@ section "-hidden.postinstall"
|
||||
${Else}
|
||||
WriteRegStr HKLM "Software\Unbound" "RootAnchor" ""
|
||||
${EndIf}
|
||||
end_service_conf_not_found:
|
||||
|
||||
# store installation folder
|
||||
WriteRegStr HKLM "Software\Unbound" "InstallLocation" "$INSTDIR"
|
||||
@@ -139,8 +148,10 @@ section "-hidden.postinstall"
|
||||
|
||||
# install service entry
|
||||
nsExec::ExecToLog '"$INSTDIR\unbound-service-install.exe"'
|
||||
Pop $0 # return value/error/timeout
|
||||
# start unbound service
|
||||
nsExec::ExecToLog '"$INSTDIR\unbound-service-install.exe" start'
|
||||
Pop $0 # return value/error/timeout
|
||||
sectionEnd
|
||||
|
||||
# set section descriptions
|
||||
@@ -162,8 +173,10 @@ LangString DESC_rootkey ${LANG_ENGLISH} "Set up to use the DNSSEC root trust anc
|
||||
section "un.Unbound"
|
||||
# stop unbound service
|
||||
nsExec::ExecToLog '"$INSTDIR\unbound-service-remove.exe" stop'
|
||||
Pop $0 # return value/error/timeout
|
||||
# uninstall service entry
|
||||
nsExec::ExecToLog '"$INSTDIR\unbound-service-remove.exe"'
|
||||
Pop $0 # return value/error/timeout
|
||||
# deregister uninstall
|
||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Unbound"
|
||||
Delete "$INSTDIR\uninst.exe" # delete self
|
||||
@@ -179,7 +192,9 @@ section "un.Unbound"
|
||||
Delete "$INSTDIR\anchor-update.exe"
|
||||
Delete "$INSTDIR\unbound-control-setup.cmd"
|
||||
Delete "$INSTDIR\unbound-website.url"
|
||||
Delete "$INSTDIR\service.conf"
|
||||
# keep the service.conf with potential local modifications
|
||||
#Delete "$INSTDIR\service.conf"
|
||||
Delete "$INSTDIR\service.conf.shipped"
|
||||
Delete "$INSTDIR\example.conf"
|
||||
Delete "$INSTDIR\Changelog"
|
||||
Delete "$INSTDIR\root.key"
|
||||
|
||||
Reference in New Issue
Block a user