Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -1680,8 +1680,8 @@ libid3.so id3lib-3.8.3_7
libid3-3.8.so.3 id3lib-3.8.3_7
libgirara.so.5 girara-2026.02.04_1
libjq.so.1 jq-1.6_2
libcrypto.so.3 libcrypto3-3.5.4_1
libssl.so.3 libssl3-3.5.4_1
libcrypto.so.4 libcrypto4-4.0.3_1
libssl.so.4 libssl4-4.0.3_1
libvamp-hostsdk.so.3 libvamp-plugin-sdk-2.2_6
libportmidi.so.2 portmidi-2.0.6_1
libWildMidi.so.2 libwildmidi-0.4.3_1
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/curl/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'curl'
pkgname=curl
version=8.22.0
revision=1
revision=2
build_style=gnu-configure
configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6
--with-random=/dev/urandom
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/libarchive/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'libarchive'
pkgname=libarchive
version=3.8.9
revision=1
revision=3
bootstrap=yes
build_style=gnu-configure
configure_args="$(vopt_enable acl) $(vopt_enable acl xattr)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion srcpkgs/libssh2/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'libssh2'
pkgname=libssh2
version=1.11.1
revision=2
revision=3
build_style=cmake
configure_args="-DENABLE_ZLIB_COMPRESSION=ON -DRUN_DOCKER_TESTS=OFF"
makedepends="zlib-devel openssl-devel"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion srcpkgs/nghttp2/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'nghttp2'
pkgname=nghttp2
version=1.70.0
revision=1
revision=2
build_style=gnu-configure
# build system errors out if python isn't available
configure_args="--disable-python-bindings --enable-http3"
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/ngtcp2/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'ngtcp2'
pkgname=ngtcp2
version=1.25.0
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config automake libtool"
makedepends="openssl-devel"
Expand Down
1 change: 0 additions & 1 deletion srcpkgs/openssl-c_rehash

This file was deleted.

38 changes: 9 additions & 29 deletions srcpkgs/openssl/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'openssl'
pkgname=openssl
version=3.6.5
version=4.0.3
revision=1
bootstrap=yes
build_style=configure
Expand All @@ -12,26 +12,20 @@ make_cmd=make
make_build_args='MAKEDEPPROG="$(CC)'
make_check_target=test
make_install_args="MANSUFFIX=ssl"
hostmakedepends="perl"
short_desc="Toolkit for Secure Sockets Layer and Transport Layer Security"
maintainer="classabbyamp <void@placeviolette.net>"
license="Apache-2.0"
homepage="https://openssl-library.org"
distfiles="https://github.com/openssl/openssl/releases/download/openssl-${version}/openssl-${version}.tar.gz"
checksum=a2157c2830efdec3788939b00c9b0638306d3f0bbb76dc4832ee503bb397df98
checksum=325b5c806167c13b40b1ffeadfe0248197c00eccc4cf123ec1e28d2d2fd216d9
conf_files="/etc/ssl/openssl.cnf"
replaces="libressl>=0"

CFLAGS="-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1"

build_options=asm

if [ "$CHROOT_READY" ]; then
hostmakedepends="perl"
build_options_default="asm"
else
# openssl-c_rehash depends on perl, ignore on bootstrap
subpackages="libcrypto3 libssl3 openssl-devel"
fi
build_options_default="asm"

case $XBPS_TARGET_MACHINE in
x86_64*) configure_args+=" enable-ec_nistp_64_gcc_128 linux-x86_64";;
Expand All @@ -55,38 +49,24 @@ pre_build() {
make ${makejobs} depend
}

post_install() {
if [ ! "$CHROOT_READY" ]; then
rm -f "${DESTDIR}/usr/bin/c_rehash" "${DESTDIR}/usr/share/man/man1/c_rehash.1ssl"
fi
}

libcrypto3_package() {
libcrypto4_package() {
replaces="libcrypto3>=0"
short_desc+=" - crypto library"
pkg_install() {
vmove "usr/lib/libcrypto.so.*"
vmove usr/lib/engines-3
}
}

libssl3_package() {
libssl4_package() {
replaces="libssl3>=0"
short_desc+=" - SSL/TLS library"
pkg_install() {
vmove "usr/lib/libssl.so.*"
}
}

openssl-c_rehash_package() {
short_desc+=" - c_rehash utility"
depends="openssl perl"
pkg_install() {
vmove usr/bin/c_rehash
vmove usr/share/man/man1/c_rehash.1ssl
}
}

openssl-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libssl3>=${version}_${revision} libcrypto3>=${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision} libssl4>=${version}_${revision} libcrypto4>=${version}_${revision}"
replaces="libressl-devel>=0"
short_desc+=" - development files"
pkg_install() {
Expand Down
1 change: 1 addition & 0 deletions srcpkgs/removed-packages/template
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,7 @@ replaces="
openbazaar<=1.1.13_2
opencl-clhpp<=2.0.15_1
openlierox<=0.58.rc5_2
openssl-c_rehash<=3.6.5_1
opentmpfiles<=0.3.1_1
orage<=4.12.1_7
orion<=1.6.7_2
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/xbps/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'xbps'
pkgname=xbps
version=0.60.7
revision=1
revision=2
bootstrap=yes
build_style=configure
short_desc="XBPS package system utilities"
Expand All @@ -23,7 +23,7 @@

if [ "$CHROOT_READY" ]; then
makedepends+=" atf-devel"
xbps-tests_package() {

Check failure on line 26 in srcpkgs/xbps/template

View workflow job for this annotation

GitHub Actions / Lint templates

Template Lint

subpackage functions should be at the top level (not in a conditional), use subpackages="..." to make subpackages conditional
short_desc+=" - Kyua testsuite"
pkg_install() {
vmove usr/tests
Expand Down
Loading