public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: net-libs/picotls/files/
@ 2022-09-03 16:24 Aisha Tammy
  0 siblings, 0 replies; only message in thread
From: Aisha Tammy @ 2022-09-03 16:24 UTC (permalink / raw
  To: gentoo-commits

commit:     47df3b6a671b3eb9ba32fb138ca38369e9115d93
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Sat Sep  3 16:23:54 2022 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Sat Sep  3 16:24:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=47df3b6a

net-libs/picotls: add install target

Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 .../files/picotls-0_pre20220721-disable-e2e.patch  | 26 +++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)

diff --git a/net-libs/picotls/files/picotls-0_pre20220721-disable-e2e.patch b/net-libs/picotls/files/picotls-0_pre20220721-disable-e2e.patch
index b8f6744f1..aa1c6155e 100644
--- a/net-libs/picotls/files/picotls-0_pre20220721-disable-e2e.patch
+++ b/net-libs/picotls/files/picotls-0_pre20220721-disable-e2e.patch
@@ -1,8 +1,15 @@
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index a309d7b..3160e89 100644
+index a309d7b..2bbdb49 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -31,7 +31,7 @@ IF (WITH_FUSION)
+@@ -1,5 +1,6 @@
+ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+ CMAKE_POLICY(SET CMP0003 NEW)
++SET(CMAKE_POSITION_INDEPENDENT_CODE ON)
+ 
+ PROJECT(picotls)
+ 
+@@ -31,7 +32,7 @@ IF (WITH_FUSION)
      MESSAGE(STATUS "Enabling 'fusion' AES-GCM engine")
  ENDIF ()
  
@@ -11,7 +18,7 @@ index a309d7b..3160e89 100644
  INCLUDE_DIRECTORIES(
      deps/cifra/src/ext
      deps/cifra/src
-@@ -178,7 +178,7 @@ IF (NOT WITH_FUSION)
+@@ -178,7 +179,7 @@ IF (NOT WITH_FUSION)
      SET_TARGET_PROPERTIES(ptlsbench PROPERTIES EXCLUDE_FROM_ALL 1)
  ENDIF ()
  
@@ -20,3 +27,16 @@ index a309d7b..3160e89 100644
  
  IF (CMAKE_SYSTEM_NAME STREQUAL "Linux")
       SET(CMAKE_C_FLAGS "-D_GNU_SOURCE -pthread ${CMAKE_C_FLAGS}")
+@@ -227,3 +228,12 @@ IF (BUILD_FUZZER)
+     TARGET_LINK_LIBRARIES(fuzz-client-hello picotls-core picotls-openssl ${OPENSSL_CRYPTO_LIBRARIES} ${LIB_FUZZER})
+ 
+ ENDIF()
++
++INSTALL (DIRECTORY ${CMAKE_SOURCE_DIR}/include/
++    DESTINATION include
++    FILES_MATCHING PATTERN "*.h")
++
++INSTALL(TARGETS picotls-core picotls-openssl picotls-minicrypto
++        RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
++        LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
++        ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-03 16:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-03 16:24 [gentoo-commits] repo/proj/guru:dev commit in: net-libs/picotls/files/ Aisha Tammy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox