Package Details: openssl-static 1.1.1.k-2

Git Clone URL: https://aur.archlinux.org/openssl-static.git (read-only, click to copy)
Package Base: openssl-static
Description: The Open Source toolkit for Secure Sockets Layer and Transport Layer Security (with static libs)
Upstream URL: https://www.openssl.org
Licenses: custom:BSD
Conflicts: openssl
Provides: openssl=1.1.1.k
Replaces: openssl-doc, openssl-perl
Submitter: kosaka
Maintainer: chn
Last Packager: chn
Votes: 3
Popularity: 0.004788
First Submitted: 2016-06-18 08:06
Last Updated: 2021-05-07 07:49

Required by (1000)

Sources (3)

Latest Comments

chn commented on 2021-05-07 07:42

@kmahyyg Thanks, updated.

kmahyyg commented on 2021-05-07 07:33

For those who cannot build this successfully currently(2021-05-07), apply this patch to correct the source code path in PKGBUILD check().

From c48ea4663f025956afb6201eafed0ed6a1019709 Mon Sep 17 00:00:00 2001
From: kmahyyg <16604643+kmahyyg@users.noreply.github.com>
Date: Fri, 7 May 2021 15:21:34 +0800
Subject: [PATCH] fix err for pkgbuild check - src folder path not correct

---
 PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index 3a42a67..28bb3dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -47,7 +47,7 @@ build() {
 }

 check() {
-   cd "$srcdir/$pkgbase-$_ver"
+   cd "$srcdir/$_pkgname-$_ver"

    # the test fails due to missing write permissions in /etc/ssl
    # revert this patch for make test
-- 
2.31.1

abcfy2 commented on 2020-09-22 01:41

Build failed:

==> 正在开始 package()...
make depend && make _build_libs
make depend && make _build_engines
make depend && make _build_programs
*** Installing manpages
/usr/bin/perl ./util/process_docs.pl \
        "--destdir=/usr/share/man" --type=man --suffix=ssl
install ./apps/CA.pl -> /etc/ssl/misc/CA.pl
cp: cannot create regular file '/etc/ssl/misc/CA.pl.new': Permission denied
make: *** [Makefile:283:install_ssldirs] 错误 1
make: *** 正在等待未完成的任务....
make[1]: Entering directory '/home/fengyu/.cache/yay/openssl-static/src/openssl-1.1.1g'
make[1]: Entering directory '/home/fengyu/.cache/yay/openssl-static/src/openssl-1.1.1g'
make[1]: Entering directory '/home/fengyu/.cache/yay/openssl-static/src/openssl-1.1.1g'
make[1]: Leaving directory '/home/fengyu/.cache/yay/openssl-static/src/openssl-1.1.1g'
make[1]: Leaving directory '/home/fengyu/.cache/yay/openssl-static/src/openssl-1.1.1g'
make[1]: Leaving directory '/home/fengyu/.cache/yay/openssl-static/src/openssl-1.1.1g'
Trying to write to /usr/share/man/man1/asn1parse.1ssl: Permission denied
make: *** [Makefile:475:install_man_docs] 错误 13
make[1]: Entering directory '/home/fengyu/.cache/yay/openssl-static/src/openssl-1.1.1g'
make[1]: Nothing to be done for '_build_engines'.
make[1]: Leaving directory '/home/fengyu/.cache/yay/openssl-static/src/openssl-1.1.1g'
make[1]: Entering directory '/home/fengyu/.cache/yay/openssl-static/src/openssl-1.1.1g'
make[1]: Nothing to be done for '_build_libs'.
make[1]: Leaving directory '/home/fengyu/.cache/yay/openssl-static/src/openssl-1.1.1g'
make[1]: Entering directory '/home/fengyu/.cache/yay/openssl-static/src/openssl-1.1.1g'
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
    "-oMakefile" apps/CA.pl.in > "apps/CA.pl"
chmod a+x apps/CA.pl
make[1]: Leaving directory '/home/fengyu/.cache/yay/openssl-static/src/openssl-1.1.1g'
==> 错误: 在 package() 中发生一个错误。
    正在放弃...
生成时出错: openssl-static

Karrq commented on 2020-07-29 07:12

Indeed if, during package() the environment variable DESTDIR is not set there's an issue while installing the package.

Before building rename INSTALL_PREFIX to DESTDIR

float commented on 2020-07-10 19:00

The INSTALL_PREFIX variable in the make line in package() was renamed into DESTDIR a long time ago. It tries to write to the root filesystem if this is not fixed.