From caf32c734f3318cbc92178114535137ecc5164e9 Mon Sep 17 00:00:00 2001 From: fbrosson Date: Mon, 12 Feb 2018 23:40:03 +0000 Subject: [PATCH] PolarSSL: drop recipe, as we have its successor: mbedTLS (#2211) --- .../polarssl/patches/polarssl-1.3.9.patchset | 53 ------------- dev-libs/polarssl/polarssl-1.3.9.recipe | 77 ------------------- 2 files changed, 130 deletions(-) delete mode 100644 dev-libs/polarssl/patches/polarssl-1.3.9.patchset delete mode 100644 dev-libs/polarssl/polarssl-1.3.9.recipe diff --git a/dev-libs/polarssl/patches/polarssl-1.3.9.patchset b/dev-libs/polarssl/patches/polarssl-1.3.9.patchset deleted file mode 100644 index 4f2468937..000000000 --- a/dev-libs/polarssl/patches/polarssl-1.3.9.patchset +++ /dev/null @@ -1,53 +0,0 @@ -From 2b80e6b0452d7e8ecd6236f2a9d41fa4284d782b Mon Sep 17 00:00:00 2001 -From: Alexander von Gluck IV -Date: Sat, 21 Jun 2014 22:37:56 +0000 -Subject: library: Link in libnetwork on Haiku - - -diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt -index 33d96b4..ae7f039 100644 ---- a/library/CMakeLists.txt -+++ b/library/CMakeLists.txt -@@ -77,6 +77,10 @@ if(WIN32) - set(libs ws2_32) - endif(WIN32) - -+if(HAIKU) -+set(libs network) -+endif(HAIKU) -+ - if(CMAKE_COMPILER_IS_GNUCC) - set(CMAKE_C_FLAGS_CHECK "${CMAKE_C_FLAGS_CHECK} -Wmissing-declarations -Wmissing-prototypes") - set(CMAKE_C_FLAGS_CHECKFULL "${CMAKE_C_FLAGS_CHECK} -Wcast-qual") --- -2.2.2 - - -From 1a7c1af8548622a8099168aa19292a2f361ada99 Mon Sep 17 00:00:00 2001 -From: Alexander von Gluck IV -Date: Sun, 22 Jun 2014 01:17:39 +0000 -Subject: cmake: Detect old gcc and adjust flags - - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 9e1158c..2772a10 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -4,7 +4,13 @@ project(POLARSSL C) - string(REGEX MATCH "Clang" CMAKE_COMPILER_IS_CLANG "${CMAKE_C_COMPILER_ID}") - - if(CMAKE_COMPILER_IS_GNUCC) -- set(CMAKE_C_FLAGS "-Wall -Wextra -W -Wdeclaration-after-statement -Wlogical-op -Wwrite-strings") -+ execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion -+ OUTPUT_VARIABLE GCC_VERSION) -+ if(GCC_VERSION VERSION_GREATER 3.0) -+ set(CMAKE_C_FLAGS "-Wall -Wextra -W -Wdeclaration-after-statement -Wlogical-op -Wwrite-strings") -+ else() -+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W") -+ endif() - set(CMAKE_C_FLAGS_RELEASE "-O2") - set(CMAKE_C_FLAGS_DEBUG "-g3 -O0") - set(CMAKE_C_FLAGS_COVERAGE "-g3 -O0 --coverage") --- -2.2.2 - diff --git a/dev-libs/polarssl/polarssl-1.3.9.recipe b/dev-libs/polarssl/polarssl-1.3.9.recipe deleted file mode 100644 index e67de281c..000000000 --- a/dev-libs/polarssl/polarssl-1.3.9.recipe +++ /dev/null @@ -1,77 +0,0 @@ -SUMMARY="An easy to understand, use, integrate, and expand SSL library" -DESCRIPTION="PolarSSL is a official continuation fork of the XySSL SSL library. \ -XySSL was created by the french white hat hacker Christophe Devine \ -and was first released on November 1, 2006 under the GPL and BSD \ -licenses. The core SSL library is written in C without external \ -dependencies." -HOMEPAGE="https://www.polarssl.org" -COPYRIGHT="2008-2014 Offspark B.V." -LICENSE="GNU GPL v2" -REVISION="2" -SOURCE_URI="https://polarssl.org/download/polarssl-${portVersion}-gpl.tgz" -CHECKSUM_SHA256="d3605afc28ed4b7d1d9e3142d72e42855e4a23c07c951bbb0299556b02d36755" -PATCHES="polarssl-$portVersion.patchset" - -ARCHITECTURES="?x86_gcc2 x86 x86_64 arm" -SECONDARY_ARCHITECTURES="?x86_gcc2 x86" - -PROVIDES=" - polarssl$secondaryArchSuffix = $portVersion compat >= 1 - lib:libpolarssl$secondaryArchSuffix = 7.3.9 compat >= 7 - " -REQUIRES=" - haiku$secondaryArchSuffix - lib:libz$secondaryArchSuffix >= 1.2.3 - " - -PROVIDES_devel=" - polarssl${secondaryArchSuffix}_devel = $portVersion - devel:libpolarssl${secondaryArchSuffix} = 7.3.9 compat >= 7 - " -REQUIRES_devel=" - polarssl${secondaryArchSuffix} == $portVersion base - " - -BUILD_REQUIRES=" - devel:libz$secondaryArchSuffix >= 1.2.3 - " -BUILD_PREREQUIRES=" - haiku${secondaryArchSuffix}_devel - cmd:gcc${secondaryArchSuffix} - cmd:ld${secondaryArchSuffix} - cmd:cmake - cmd:make - cmd:perl >= 5 - cmd:sed - " - -BUILD() -{ - # enable static and shared PolarSSL libraries - cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix -DENABLE_PROGRAMS=0 \ - -DUSE_SHARED_POLARSSL_LIBRARY=1 -DUSE_STATIC_POLARSSL_LIBRARY=1 . - - make ${jobArgs} -} - -INSTALL() -{ - make install - - # move include dir to correct location - mkdir -p $(dirname $includeDir) - mv $prefix/include $includeDir - - # prepare develop/lib - prepareInstalledDevelLibs libpolarssl - fixPkgconfig - - # devel package - packageEntries devel \ - $developDir -} - -TEST() -{ - make test -}