Skip to content

Commit

Permalink
Add revision: v1.16.2
Browse files Browse the repository at this point in the history
  • Loading branch information
GovernikusAusweisApp2 committed May 22, 2019
1 parent b432678 commit 9484181
Show file tree
Hide file tree
Showing 1,304 changed files with 4,580 additions and 2,181 deletions.
13 changes: 11 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
language: shell
sudo: required

cache:
ccache: true
directories:
- $HOME/.ccache

env:
matrix:
- CHECK=format
- CHECK=docs
- CHECK=build TYPE=debug COMPILER=g++
- CHECK=build TYPE=release COMPILER=g++
- CHECK=build TYPE=debug COMPILER=clang++
- CHECK=build TYPE=release COMPILER=clang++

install:
- sudo resources/travis/setup.sh $CHECK
- sudo -E resources/travis/setup.sh

script:
- sudo resources/travis/build.sh $CHECK
- sudo -E resources/travis/build.sh

notifications:
email: false
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ELSE()
ENDIF()


PROJECT(AusweisApp2 VERSION 1.16.1 LANGUAGES ${LANGUAGES})
PROJECT(AusweisApp2 VERSION 1.16.2 LANGUAGES ${LANGUAGES})

# Set TWEAK if not defined in PROJECT_VERSION above to
# have a valid tweak version without propagating it
Expand Down Expand Up @@ -110,7 +110,7 @@ SET(SRC_DIR ${PROJECT_SOURCE_DIR}/src)
SET(TEST_DIR ${PROJECT_SOURCE_DIR}/test)
SET(RESOURCES_DIR ${PROJECT_SOURCE_DIR}/resources)
SET(PACKAGING_DIR ${RESOURCES_DIR}/packaging)
SET(COPYRIGHT_TEXT "&#9400\; 2014-2018 ${VENDOR}")
SET(COPYRIGHT_TEXT "&#9400\; 2014-2019 ${VENDOR}")
STRING(REPLACE " \& " " \& " COPYRIGHT_TEXT ${COPYRIGHT_TEXT})

INCLUDE(Tools)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.officially.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Die AusweisApp2 und alle ihre Bestandteile dienen ausschließlich dazu, im Zusam
(2) Es liegt im eigenen Interesse des Nutzers aber auch des Bundes, dass stets nur die neueste Version der AusweisApp2 (siehe § 5) verwendet wird.

§ 5 Pflege und Support
(1) Der Bund bietet nach eigenem Ermessen und ohne hierzu verpflichtet zu sein für Teile der AusweisApp2 zusätzliche kostenfreie Supportleistungen in Form von Dokumentationen und online Hilfen auf dem AusweisApp2-Portal im Internet unter der Adresse www.ausweisapp.bund.de an, sowie über die Hotline des Herstellers Governikus unter der E-Mail-Adresse: [email protected] und der Tel.-Nr.: +49 1805 348 743. Auch stellt er verfügbare neue Versionen der AusweisApp2 zur Verfügung. Hieraus erwächst jedoch kein zusätzlicher Anspruch auf Mängelbeseitigung, auf Zertifizierung, auf Beibehaltung der Supportleistungen oder der Hotline und auf Überlassung neuer Versionen.
(1) Der Bund bietet nach eigenem Ermessen und ohne hierzu verpflichtet zu sein für Teile der AusweisApp2 zusätzliche kostenfreie Supportleistungen in Form von Dokumentationen und online Hilfen auf dem AusweisApp2-Portal im Internet unter der Adresse www.ausweisapp.bund.de an, sowie über die Hotline des Herstellers Governikus unter der E-Mail-Adresse: [email protected] und der Tel.-Nr.: +49 421 204 95-995. Auch stellt er verfügbare neue Versionen der AusweisApp2 zur Verfügung. Hieraus erwächst jedoch kein zusätzlicher Anspruch auf Mängelbeseitigung, auf Zertifizierung, auf Beibehaltung der Supportleistungen oder der Hotline und auf Überlassung neuer Versionen.
(2) Verfügbare neue Versionen der AusweisApp2 können im Internet kostenfrei auf dem AusweisApp2-Portal unter der Adresse www.ausweisapp.bund.de sowie über allgemein zugängliche AppStore heruntergeladen werden.
(3) Eventuelle Mängel der AusweisApp2 werden grundsätzlich dadurch behoben, dass der Bund jeweils eine neue Version der AusweisApp2 zum Herunterladen zur Verfügung stellt (siehe § 5 Absatz 1). Eine Pflicht zur Bereitstellung von neuen Versionen ergibt sich daraus grundsätzlich nicht.

Expand Down
12 changes: 6 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@ environment:
- PlatformToolset: mingw-w64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
QTPath: C:\Qt\5.11\mingw53_32
OPENSSLPath: C:\OpenSSL-v11-Win32
OPENSSLPath: C:\OpenSSL-v111-Win32

- PlatformToolset: v140
platform: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
QTPath: C:\Qt\5.11\msvc2015_64
OPENSSLPath: C:\OpenSSL-v11-Win64
OPENSSLPath: C:\OpenSSL-v111-Win64
ARCHI: amd64

- PlatformToolset: v140
platform: Win32
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
QTPath: C:\Qt\5.11\msvc2015
OPENSSLPath: C:\OpenSSL-v11-Win32
OPENSSLPath: C:\OpenSSL-v111-Win32
ARCHI: x86

- PlatformToolset: v141
platform: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
QTPath: C:\Qt\5.11\msvc2017_64
OPENSSLPath: C:\OpenSSL-v11-Win64
OPENSSLPath: C:\OpenSSL-v111-Win64
ARCHI: amd64

configuration:
Expand Down Expand Up @@ -58,7 +58,7 @@ before_build:
build_script:
- cd "%APPVEYOR_BUILD_FOLDER%"
- set OPENSSL_ROOT=%OPENSSLPath%
- set PATH=%QTPATH%;%QTPATH%/bin;%OPENSSLPath%;%PATH%
- set PATH=%PATH%;%QTPATH%;%QTPATH%/bin;%OPENSSLPath%
- echo %PATH%
- echo %OPENSSL_ROOT%
- mkdir _build
Expand All @@ -76,7 +76,7 @@ build_script:
test_script:
- cd "%APPVEYOR_BUILD_FOLDER%"/_build
- set PATH=%QTPATH%;%QTPATH%/bin;%PATH%
- set PATH=%PATH%;%QTPATH%;%QTPATH%/bin
- echo %PATH%
- ctest --output-on-failure -C "%CONFIGURATION%"

Expand Down
2 changes: 1 addition & 1 deletion cmake/CompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ IF(CMAKE_VERSION VERSION_LESS "3.12")
ADD_DEFINITIONS(-DQT_RESTRICTED_CAST_FROM_ASCII)
ELSE()
ADD_COMPILE_DEFINITIONS($<$<CONFIG:Debug>:QT_RESTRICTED_CAST_FROM_ASCII>)
ADD_COMPILE_DEFINITIONS($<$<CONFIG:Release>:QT_NO_CAST_FROM_ASCII>)
ADD_COMPILE_DEFINITIONS($<$<NOT:$<CONFIG:Debug>>:QT_NO_CAST_FROM_ASCII>)
ENDIF()

IF(QT_VENDOR STREQUAL "Governikus")
Expand Down
2 changes: 1 addition & 1 deletion cmake/DefaultFiles.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SET(REMOTE_CONFIG_URL_PROD https://appl.governikus-asp.de/ausweisapp2)
IF(JENKINS_APPCAST)
SET(REMOTE_CONFIG_URL https://vtf-aajenkins.tf.bos-test.de/job/${JENKINS_APPCAST}/lastSuccessfulBuild/artifact CACHE STRING "Remote config download URL" FORCE)
SET(REMOTE_CONFIG_URL https://ausweisapp-ci.govkg.de/job/${JENKINS_APPCAST}/lastSuccessfulBuild/artifact CACHE STRING "Remote config download URL" FORCE)
ELSE()
SET(REMOTE_CONFIG_URL ${REMOTE_CONFIG_URL_PROD} CACHE STRING "Remote config download URL" FORCE)
ENDIF()
Expand Down
9 changes: 7 additions & 2 deletions cmake/Install.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,13 @@ ELSEIF(APPLE AND NOT IOS)

FETCH_TARGET_LOCATION(opensslCryptoName "OpenSSL::Crypto" NAME)
FETCH_TARGET_LOCATION(opensslSslName "OpenSSL::SSL" NAME)
LIST(APPEND ADDITIONAL_BUNDLE_FILES_TO_SIGN "/Contents/MacOS/${opensslCryptoName}")
LIST(APPEND ADDITIONAL_BUNDLE_FILES_TO_SIGN "/Contents/MacOS/${opensslSslName}")
IF(CMAKE_VERSION VERSION_LESS "3.13")
SET(OPENSSL_LIB_LOCATION "/Contents/MacOS")
ELSE()
SET(OPENSSL_LIB_LOCATION "/Contents/Frameworks")
ENDIF()
LIST(APPEND ADDITIONAL_BUNDLE_FILES_TO_SIGN "${OPENSSL_LIB_LOCATION}/${opensslCryptoName}")
LIST(APPEND ADDITIONAL_BUNDLE_FILES_TO_SIGN "${OPENSSL_LIB_LOCATION}/${opensslSslName}")

# set it to parent scope to be able to access it from Packaging.cmake
SET(ADDITIONAL_BUNDLE_FILES_TO_SIGN ${ADDITIONAL_BUNDLE_FILES_TO_SIGN} PARENT_SCOPE)
Expand Down
14 changes: 12 additions & 2 deletions cmake/Packaging.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ SET(CPACK_PACKAGE_CONTACT "[email protected]")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Governikus AusweisApp2")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${PROJECT_SOURCE_DIR}/README.rst")
SET(CPACK_PACKAGE_FILE_NAME ${FILENAME})
SET(CPACK_PACKAGE_INSTALL_DIRECTORY ${PROJECT_NAME})

IF(VENDOR_GOVERNIKUS)
SET(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE.officially.txt")
Expand Down Expand Up @@ -90,6 +91,8 @@ IF(WIN32)
SET(CPACK_WIX_UI_DIALOG ${RESOURCES_DIR}/images/wix_dialog.jpg)
SET(CPACK_WIX_EXTENSIONS WixUtilExtension)
SET(CPACK_WIX_LIGHT_EXTRA_FLAGS -loc ${PACKAGING_DIR}/win/WIX.Texts.de-DE.wxl -loc ${PACKAGING_DIR}/win/WIX.Texts.en-US.wxl)
# suppress warning LGHT1076/ICE61 caused by AllowSameVersionUpgrades
SET(CPACK_WIX_LIGHT_EXTRA_FLAGS -sw1076 ${CPACK_WIX_LIGHT_EXTRA_FLAGS})

IF(SIGNTOOL_CMD)
MESSAGE(STATUS "MSI can be signed with 'make package.sign'")
Expand Down Expand Up @@ -185,9 +188,10 @@ ELSEIF(ANDROID)
MESSAGE(STATUS "Prepare ${ANDROID_FILE_EXT} file generation")

IF(${CMAKE_BUILD_TYPE} STREQUAL "RELEASE" OR ${CMAKE_BUILD_TYPE} STREQUAL "RELWITHDEBINFO" OR ${CMAKE_BUILD_TYPE} STREQUAL "MINSIZEREL")
SET(DEPLOY_CMD_SIGN --release)

IF(ANDROID_BUILD_AAR)
SET(ANDROID_FILE dist-release.aar)
SET(DEPLOY_CMD_SIGN --release)
ELSEIF(APK_SIGN_KEYSTORE AND APK_SIGN_KEYSTORE_ALIAS AND APK_SIGN_KEYSTORE_PSW)
MESSAGE(STATUS "Release build will be signed using: ${APK_SIGN_KEYSTORE} | Alias: ${APK_SIGN_KEYSTORE_ALIAS}")
SET(DEPLOY_CMD_SIGN --sign ${APK_SIGN_KEYSTORE} ${APK_SIGN_KEYSTORE_ALIAS} --storepass ${APK_SIGN_KEYSTORE_PSW} --digestalg SHA-256 --sigalg SHA256WithRSA)
Expand All @@ -197,7 +201,13 @@ ELSEIF(ANDROID)
SET(ANDROID_FILE QtApp-release-signed.apk)
ENDIF()
ELSE()
MESSAGE(FATAL_ERROR "Cannot sign release build! Set APK_SIGN_KEYSTORE, APK_SIGN_KEYSTORE_ALIAS and APK_SIGN_KEYSTORE_PSW!")
IF(ANDROID_USE_GRADLE)
SET(ANDROID_FILE dist-release-unsigned.apk)
ELSE()
SET(ANDROID_FILE QtApp-release-unsigned.apk)
ENDIF()

MESSAGE(WARNING "Cannot sign release build! Set APK_SIGN_KEYSTORE, APK_SIGN_KEYSTORE_ALIAS and APK_SIGN_KEYSTORE_PSW!")
ENDIF()

ELSE()
Expand Down
2 changes: 1 addition & 1 deletion cmake/Tools.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ IF(UNCRUSTIFY)
EXECUTE_PROCESS(COMMAND ${UNCRUSTIFY} --version OUTPUT_VARIABLE UNCRUSTIFY_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
STRING(REPLACE "uncrustify " "" UNCRUSTIFY_VERSION ${UNCRUSTIFY_VERSION})

SET(UNCRUSTIFY_NEEDED_VERSION "0.67")
SET(UNCRUSTIFY_NEEDED_VERSION "0.68")
IF("${UNCRUSTIFY_VERSION}" STRLESS "${UNCRUSTIFY_NEEDED_VERSION}")
MESSAGE(WARNING "Uncrustify seems to be too old. Use at least ${UNCRUSTIFY_NEEDED_VERSION}... you are using: ${UNCRUSTIFY_VERSION}")
ELSE()
Expand Down
Loading

0 comments on commit 9484181

Please sign in to comment.