mbedtls-3.6.2

This commit is contained in:
uglyside
2025-01-30 21:08:46 +03:00
parent d55a1700b1
commit fd42855549
3 changed files with 33 additions and 40 deletions
+16 -17
View File
@@ -1,28 +1,27 @@
#!/usr/bin/env python
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
from pisi.actionsapi import cmaketools, mesontools, pisitools
i = ''.join([
' -DCMAKE_INSTALL_PREFIX=/usr',
' -DCMAKE_BUILD_TYPE=Release',
' -DUSE_SHARED_MBEDTLS_LIBRARY=ON',
' -DUSE_STATIC_MBEDTLS_LIBRARY=OFF',
' -DLINK_WITH_PTHREAD=ON',
' -Bbuild -G Ninja -L '
])
def setup():
#pisitools.dosed('CMakeLists.txt', '"cmake"', '"lib/cmake"')
shelltools.system("mkdir build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
-DUSE_SHARED_MBEDTLS_LIBRARY=ON \
-DMBEDTLS_FATAL_WARNINGS=OFF \
-DINSTALL_MBEDTLS_HEADERS=ON", sourceDir="..")
cmaketools.configure(i)
def build():
cmaketools.make("-C build")
mesontools.build()
def install():
cmaketools.rawInstall("DESTDIR=%s -C build" % get.installDIR())
mesontools.install()
pisitools.dodoc("ChangeLog", "LICENSE", "README*")
pisitools.dodoc("LICENSE")
+17 -11
View File
@@ -1,28 +1,26 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>mbedtls</Name>
<Homepage>https://github.com/ARMmbed/mbedtls</Homepage>
<Homepage>https://github.com/Mbed-TLS/mbedtls</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>Apache</License>
<License>Apache-2.0</License>
<IsA>library</IsA>
<Summary>Cryptographic library for embedded systems</Summary>
<Description>Gömülü sistemler için kriptografik kitaplık</Description>
<Archive sha1sum="036496467be56b21c4afd76e8728e5ff43cd4d57" type="targz">https://github.com/ARMmbed/mbedtls/archive/refs/tags/v2.27.0.tar.gz</Archive>
<Summary>Cryptographic library for embedded systems.</Summary>
<Description>A C library that implements cryptographic primitives, X.509 certificate manipulation and the SSL/TLS and DTLS protocols.</Description>
<Archive sha1sum="cc2a6272f4982fdfa1b4c11fad5947001ac4c1f1" type="tarbz2">https://github.com/Mbed-TLS/mbedtls/releases/download/mbedtls-3.6.2/mbedtls-3.6.2.tar.bz2</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
<Dependency>python3</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>mbedtls.patch</Patch>
<Patch level="1">mbedtls.patch</Patch>
<!-- <Patch level="1"></Patch> -->
</Patches>
-->
</Source>
<Package>
@@ -30,7 +28,7 @@
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
@@ -43,10 +41,18 @@
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/cmake</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2025-01-30</Date>
<Version>3.6.2</Version>
<Comment>Version bump.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2021-11-09</Date>
<Version>2.27.0</Version>
@@ -1,12 +0,0 @@
diff -ruN Yarock_1.1.5_source-orig/src/core/player/phonon/CMakeLists.txt Yarock_1.1.5_source/src/core/player/phonon/CMakeLists.txt
--- Yarock_1.1.5_source-orig/src/core/player/phonon/CMakeLists.txt 2015-05-21 00:42:46.627611703 +0300
+++ Yarock_1.1.5_source/src/core/player/phonon/CMakeLists.txt 2015-05-21 00:43:25.852867232 +0300
@@ -34,7 +34,7 @@
if (ENABLE_QT5)
- INCLUDE_DIRECTORIES( ${PHONON_INCLUDE_DIR}/phonon4qt5 )
+ INCLUDE_DIRECTORIES( /usr/include/phonon4qt5 )
else (ENABLE_QT5)
INCLUDE_DIRECTORIES( ${PHONON_INCLUDES} )
endif (ENABLE_QT5)