[RELEASE] src2pkg-3.0 - create packages from source

Miscellaneous tools
Message
Author
amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

[RELEASE] src2pkg-3.0 - create packages from source

#1 Post by amigo »

src2pkg-3.0 has been released, fixing a couple of minor bugs.

src2pkg is the premiere software for creating software packages from source including the pet package format.
The package for Puppy is here: src2pkg-3.0-noarch-2.pet

The ChangeLog is here: http://distro.ibiblio.org/amigolinux/do ... /ChangeLog

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#2 Post by live »

Under Precise 5.7.1 retro

I fail to create my first pet, can you explain.

I tried with:
http://www.openssl.org/source/
and
http://www.imagemagick.org/script/insta ... e.php#unix

A dependicies check on src2pkg-3.0-noarch-2.pet reveals void, but on execution I have errors

Thanks.

Code: Select all

sh-4.1# cd ..
sh-4.1# cd root
sh-4.1# cd Downloads
sh-4.1# ls
ImageMagick.tar.gz  openssl-1.0.1g.tar.gz  src2pkg-3.0-noarch-2.pet
sh-4.1# src2pkg openssl-1.0.1g.tar.gz
/usr/libexec/src2pkg/01-pre_process: line 789: gcc: command not found
/usr/libexec/src2pkg/01-pre_process: line 918: gcc: command not found
  Notice - Creating src2pkg-helpers:
  src2pkg uses a shared library and a few programs
  when creating packages. For best compatibility,
  these binaries will be compiled on your system.
  They are then installed in a private directory.
  When done, src2pkg is ready for use.

  TEMP_DIR=/usr/src/src2pkg/builds/src2pkg-helpers
  Starting build in 5 seconds
/usr/libexec/src2pkg/01-pre_process: line 789: gcc: command not found
/usr/libexec/src2pkg/01-pre_process: line 918: gcc: command not found
Unpacking sources - OK
Creating libsentry - Ooops! Can't live without it...
Found source archive: openssl-1.0.1g.tar.gz
Deleting old build files - Done
Creating working directories:
   PKG_DIR=/tmp/openssl_1.0.1g-1_i386
   SRC_DIR=/tmp/openssl-1.0.1g-src-1
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - None found
Skipping configuration: Nothing to be done
Continuing - We found at least one Makefile
Compiling sources - Using: 'make'
ERROR! Compiling source code has failed.
This usually happens because of missing libraries, or
badly written Makefiles or configure scripts.
Found an RPM .spec file which shows this:
Requires: openssl

sh-4.1# 

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#3 Post by dejan555 »

live, it seems like you don't have devx loaded.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#4 Post by live »

Thanks dejan555

You were right for Dev sfs pre-requiste.

However:
1/ During process or by running

Code: Select all

src2pkg --install
I'm prompt with an install of
/usr/src/src2pkg/src2pkg-helpers/src2pkg-helpers-1.6-i486-1.pet
If I accept, precise freezes, so I choose cancel and it went through till I got my openssl pet (see next)

2/ If I successfully created openssl-1.0.1g-i486-1.pet from latest openssl source, installing it does not proof to be successful as CLI "openssl version"
returns the very old 14 March 2012 version.

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#5 Post by amigo »

I think I've had an email from you, which I answered. But, I see here you are trying to use the '--install' option. I'd recommend not using that for puppy as it tries to rely on a script which *may* no longer work to install pets. Instead, use the current puppy tools to install the resulting package.

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#6 Post by live »

>I think I've had an email from you, which I answered.
Yes

> I see here you are trying to use the '--install' option.
Even without install or setup it prompts during compilation for install of
/usr/src/src2pkg/src2pkg-helpers/src2pkg-helpers-1.6-i486-1.pet
which I cancel

Created PET for security fix of openssl (no prompted error), but install does not function, it claims to be successfully installed but a CLI: openssl version shows it is not the case

1/ I tried to remove current openssl with remove buildin paackages and then install, all I achieve it break it

2/ I tried to manually delete openssl, but no.

FYI: echo $PATH'

Code: Select all

/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R7/bin:/root/my-applications/bin:/usr/games
What's wrong?

P.S. Forum does not allow me to upload the 2811Kb pet

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#7 Post by amigo »

What's the result of `which openssl` ?

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#8 Post by live »

Code: Select all

sh-4.1# openssl
OpenSSL> version
OpenSSL 1.0.1 14 Mar 2012

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#9 Post by amigo »

No, the command is:
which openssl
That will return the full path to the openssl executable.

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#10 Post by live »

Sorry.

Code: Select all

sh-4.1# which openssl
/usr/bin/openssl
sh-4.1# 
If I shearly delete it and then install the made openssl pet, than "openssl version" or "which openssl" return empty.

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#11 Post by amigo »

Okay, have a look at the actual content of the pet -maybe the openssl binary is not really there. The contents of the package before compression should be in a folder called openssl-1.0.1g-i486-1. Lokk under the usr/bin directory there for openssl. Is it there?

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#12 Post by live »

> folder called openssl-1.0.1g-i486-1. Lokk under the usr/bin directory there for openssl. Is it there?

Empty

Code: Select all

sh-4.1# src2pkg -CWD -PET --arch=i686 openssl-1.0.1g.tar.gz
Found source archive: openssl-1.0.1g.tar.gz
Creating working directories:
   PKG_DIR=/root/Downloads/openssl-1.0.1g-i686-1
   SRC_DIR=/root/Downloads/openssl-1.0.1g-src-1
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - None found
Skipping configuration: Nothing to be done
Continuing - We found at least one Makefile
Compiling sources - Using: 'make'
Compiling has been - Successful!
Checking for Makefile rule: 'install' Okay
Checking support for DESTDIR (or similar) - Found INSTALL_PREFIX
Creating package content using:
   make INSTALL_PREFIX=/root/Downloads/openssl-1.0.1g-i686-1 install
Installation in INSTALL_PREFIX - Successful
Processing package content:
Correcting package permissions - Done
Stripping ELF binaries - Using: strip -p --strip-unneeded Done
Stripping static archives - Using: strip -p --strip-debug Done
Checking for standard documents - Done
Creating slack-desc - From default text
Rechecking package correctness:
Rechecking package permissions - Done
Checking for dead links in PKG_DIR - Done
Searching for links in: openssl-1.0.1g-i686-1 - Done
Adding links to doinst.sh - Adding links-creation to the doinst.sh
Deleting symbolic links - Removing links from the package directory
Creating package: 'openssl-1.0.1g-i686-1.pet' - Done
Package Creation - Successful! Package location:
/root/Downloads/openssl-1.0.1g-i686-1.pet
sh-4.1# cd openssl-1.0.1g-i686-1
sh-4.1# ls
pet.specs  pinstall.sh	usr
sh-4.1#

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#13 Post by amigo »

Try:
cd openssl-1.0.1g-i686-1
ls -lR

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#14 Post by live »

Code: Select all

sh-4.1# ls -lR
.:
total 152
-rw-r--r-- 1 root root  26439 Apr 14 20:12 output.txt
-rw-r--r-- 1 root root    148 Apr 14 20:11 pet.specs
-rwxr-xr-x 1 root root 119968 Apr 14 20:11 pinstall.sh
drwxr-xr-x 4 root root     80 Apr 14 20:11 usr

./usr:
total 0
drwxr-xr-x 3 root root 60 Apr 14 20:11 doc
drwxr-xr-x 3 root root 60 Apr 14 20:10 local

./usr/doc:
total 0
drwxr-xr-x 2 root root 240 Apr 14 20:11 openssl-1.0.1g

./usr/doc/openssl-1.0.1g:
total 700
-rw-r--r-- 1 root root 443455 Apr  7 18:55 CHANGES
-rw-r--r-- 1 root root  46720 Apr  6 04:45 FAQ
-rw-r--r-- 1 root root  14650 Mar 17 17:14 INSTALL
-rw-r--r-- 1 root root   6279 Apr 14 20:11 LICENSE
-rw-r--r-- 1 root root  30567 Apr  7 18:55 NEWS
-rw-r--r-- 1 root root     91 Apr 14 20:11 openssl.desc
-rw-r--r-- 1 root root 119968 Apr 14 20:11 pinstall.sh
-rw-r--r-- 1 root root   9129 Apr 14 20:11 README
-rw-r--r-- 1 root root   7699 Apr 14 20:11 README.ASN1
-rw-r--r-- 1 root root  16100 Apr 14 20:11 README.ENGINE

./usr/local:
total 0
drwxr-xr-x 9 root root 200 Apr 14 20:11 ssl

./usr/local/ssl:
total 12
drwxr-xr-x 2 root root    80 Apr 14 20:11 bin
drwxr-xr-x 2 root root    40 Apr 14 20:11 certs
drwxr-xr-x 3 root root    60 Apr 14 20:11 include
drwxr-xr-x 4 root root   120 Apr 14 20:11 lib
drwxr-xr-x 6 root root   120 Apr 14 20:10 man
drwxr-xr-x 2 root root   180 Apr 14 20:11 misc
-rw-r--r-- 1 root root 10835 Apr 14 20:11 openssl.cnf
drwxr-xr-x 2 root root    40 Apr 14 20:11 private

./usr/local/ssl/bin:
total 2080
-rwxr-xr-x 1 root root    4261 Apr 14 20:11 c_rehash
-rwxr-xr-x 1 root root 2120896 Apr 14 20:11 openssl

./usr/local/ssl/certs:
total 0

./usr/local/ssl/include:
total 0
drwxr-xr-x 2 root root 1540 Apr 14 20:11 openssl

./usr/local/ssl/include/openssl:
total 1564
-rw-r--r-- 1 root root   5507 Apr 14 20:11 aes.h
-rw-r--r-- 1 root root  52190 Apr 14 20:11 asn1.h
-rw-r--r-- 1 root root  19143 Apr 14 20:11 asn1_mac.h
-rw-r--r-- 1 root root  30092 Apr 14 20:11 asn1t.h
-rw-r--r-- 1 root root  32987 Apr 14 20:11 bio.h
-rw-r--r-- 1 root root   5143 Apr 14 20:11 blowfish.h
-rw-r--r-- 1 root root  36559 Apr 14 20:11 bn.h
-rw-r--r-- 1 root root   4652 Apr 14 20:11 buffer.h
-rw-r--r-- 1 root root   4956 Apr 14 20:11 camellia.h
-rw-r--r-- 1 root root   4492 Apr 14 20:11 cast.h
-rw-r--r-- 1 root root   3244 Apr 14 20:11 cmac.h
-rw-r--r-- 1 root root  19927 Apr 14 20:11 cms.h
-rw-r--r-- 1 root root   1978 Apr 14 20:11 comp.h
-rw-r--r-- 1 root root   4080 Apr 14 20:11 conf_api.h
-rw-r--r-- 1 root root   9848 Apr 14 20:11 conf.h
-rw-r--r-- 1 root root  24337 Apr 14 20:11 crypto.h
-rw-r--r-- 1 root root  10849 Apr 14 20:11 des.h
-rw-r--r-- 1 root root  18238 Apr 14 20:11 des_old.h
-rw-r--r-- 1 root root   9979 Apr 14 20:11 dh.h
-rw-r--r-- 1 root root  12057 Apr 14 20:11 dsa.h
-rw-r--r-- 1 root root  18095 Apr 14 20:11 dso.h
-rw-r--r-- 1 root root   8026 Apr 14 20:11 dtls1.h
-rw-r--r-- 1 root root    540 Apr 14 20:11 ebcdic.h
-rw-r--r-- 1 root root   4682 Apr 14 20:11 ecdh.h
-rw-r--r-- 1 root root  10510 Apr 14 20:11 ecdsa.h
-rw-r--r-- 1 root root  46413 Apr 14 20:11 ec.h
-rw-r--r-- 1 root root  40585 Apr 14 20:11 engine.h
-rw-r--r-- 1 root root  10444 Apr 14 20:11 e_os2.h
-rw-r--r-- 1 root root  15862 Apr 14 20:11 err.h
-rw-r--r-- 1 root root  52791 Apr 14 20:11 evp.h
-rw-r--r-- 1 root root   4476 Apr 14 20:11 hmac.h
-rw-r--r-- 1 root root   4469 Apr 14 20:11 idea.h
-rw-r--r-- 1 root root   7642 Apr 14 20:11 krb5_asn.h
-rw-r--r-- 1 root root   6290 Apr 14 20:11 kssl.h
-rw-r--r-- 1 root root   9092 Apr 14 20:11 lhash.h
-rw-r--r-- 1 root root   4692 Apr 14 20:11 md4.h
-rw-r--r-- 1 root root   4692 Apr 14 20:11 md5.h
-rw-r--r-- 1 root root   3917 Apr 14 20:11 mdc2.h
-rw-r--r-- 1 root root   5619 Apr 14 20:11 modes.h
-rw-r--r-- 1 root root  36641 Apr 14 20:11 objects.h
-rw-r--r-- 1 root root 136214 Apr 14 20:11 obj_mac.h
-rw-r--r-- 1 root root  24041 Apr 14 20:11 ocsp.h
-rw-r--r-- 1 root root   6301 Apr 14 20:11 opensslconf.h
-rw-r--r-- 1 root root   3750 Apr 14 20:11 opensslv.h
-rw-r--r-- 1 root root   7397 Apr 14 20:11 ossl_typ.h
-rw-r--r-- 1 root root   2863 Apr 14 20:11 pem2.h
-rw-r--r-- 1 root root  21992 Apr 14 20:11 pem.h
-rw-r--r-- 1 root root  12654 Apr 14 20:11 pkcs12.h
-rw-r--r-- 1 root root  18064 Apr 14 20:11 pkcs7.h
-rw-r--r-- 1 root root   3580 Apr 14 20:11 pqueue.h
-rw-r--r-- 1 root root   5578 Apr 14 20:11 rand.h
-rw-r--r-- 1 root root   4405 Apr 14 20:11 rc2.h
-rw-r--r-- 1 root root   3797 Apr 14 20:11 rc4.h
-rw-r--r-- 1 root root   4327 Apr 14 20:11 ripemd.h
-rw-r--r-- 1 root root  22870 Apr 14 20:11 rsa.h
-rw-r--r-- 1 root root 184155 Apr 14 20:11 safestack.h
-rw-r--r-- 1 root root   5714 Apr 14 20:11 seed.h
-rw-r--r-- 1 root root   7636 Apr 14 20:11 sha.h
-rw-r--r-- 1 root root   5378 Apr 14 20:11 srp.h
-rw-r--r-- 1 root root   6644 Apr 14 20:11 srtp.h
-rw-r--r-- 1 root root   3744 Apr 14 20:11 ssl23.h
-rw-r--r-- 1 root root  10755 Apr 14 20:11 ssl2.h
-rw-r--r-- 1 root root  27080 Apr 14 20:11 ssl3.h
-rw-r--r-- 1 root root 103768 Apr 14 20:11 ssl.h
-rw-r--r-- 1 root root   4412 Apr 14 20:11 stack.h
-rw-r--r-- 1 root root  24302 Apr 14 20:11 symhacks.h
-rw-r--r-- 1 root root  35294 Apr 14 20:11 tls1.h
-rw-r--r-- 1 root root  31006 Apr 14 20:11 ts.h
-rw-r--r-- 1 root root   4481 Apr 14 20:11 txt_db.h
-rw-r--r-- 1 root root   3439 Apr 14 20:11 ui_compat.h
-rw-r--r-- 1 root root  16656 Apr 14 20:11 ui.h
-rw-r--r-- 1 root root   1019 Apr 14 20:11 whrlpool.h
-rw-r--r-- 1 root root  45041 Apr 14 20:11 x509.h
-rw-r--r-- 1 root root  32713 Apr 14 20:11 x509v3.h
-rw-r--r-- 1 root root  22408 Apr 14 20:11 x509_vfy.h

./usr/local/ssl/lib:
total 3352
drwxr-xr-x 2 root root      40 Apr 14 20:11 engines
-rw-r--r-- 1 root root 2906050 Apr 14 20:11 libcrypto.a
-rw-r--r-- 1 root root  523704 Apr 14 20:11 libssl.a
drwxr-xr-x 2 root root     100 Apr 14 20:11 pkgconfig

./usr/local/ssl/lib/engines:
total 0

./usr/local/ssl/lib/pkgconfig:
total 12
-rw-r--r-- 1 root root 260 Apr 14 20:11 libcrypto.pc
-rw-r--r-- 1 root root 275 Apr 14 20:11 libssl.pc
-rw-r--r-- 1 root root 285 Apr 14 20:11 openssl.pc

./usr/local/ssl/man:
total 0
drwxr-xr-x 2 root root  920 Apr 14 20:11 man1
drwxr-xr-x 2 root root 5780 Apr 14 20:11 man3
drwxr-xr-x 2 root root   80 Apr 14 20:10 man5
drwxr-xr-x 2 root root   60 Apr 14 20:11 man7

./usr/local/ssl/man/man1:
total 636
-rw-r--r-- 1 root root  9689 Apr 14 20:10 asn1parse.1
-rw-r--r-- 1 root root 29641 Apr 14 20:10 ca.1
-rw-r--r-- 1 root root 10157 Apr 14 20:10 CA.pl.1
-rw-r--r-- 1 root root 22121 Apr 14 20:10 ciphers.1
-rw-r--r-- 1 root root 26811 Apr 14 20:10 cms.1
-rw-r--r-- 1 root root  6798 Apr 14 20:10 crl.1
-rw-r--r-- 1 root root  6715 Apr 14 20:10 crl2pkcs7.1
-rw-r--r-- 1 root root  8650 Apr 14 20:10 dgst.1
-rw-r--r-- 1 root root  8341 Apr 14 20:10 dhparam.1
-rw-r--r-- 1 root root  9035 Apr 14 20:10 dsa.1
-rw-r--r-- 1 root root  7185 Apr 14 20:10 dsaparam.1
-rw-r--r-- 1 root root 10338 Apr 14 20:10 ec.1
-rw-r--r-- 1 root root  9568 Apr 14 20:10 ecparam.1
-rw-r--r-- 1 root root 14921 Apr 14 20:10 enc.1
-rw-r--r-- 1 root root  4577 Apr 14 20:10 errstr.1
-rw-r--r-- 1 root root  5760 Apr 14 20:10 gendsa.1
-rw-r--r-- 1 root root 10591 Apr 14 20:10 genpkey.1
-rw-r--r-- 1 root root  6771 Apr 14 20:10 genrsa.1
-rw-r--r-- 1 root root  5739 Apr 14 20:10 nseq.1
-rw-r--r-- 1 root root 18890 Apr 14 20:10 ocsp.1
-rw-r--r-- 1 root root 15893 Apr 14 20:10 openssl.1
-rw-r--r-- 1 root root  5859 Apr 14 20:10 passwd.1
-rw-r--r-- 1 root root 17545 Apr 14 20:10 pkcs12.1
-rw-r--r-- 1 root root  6611 Apr 14 20:10 pkcs7.1
-rw-r--r-- 1 root root 13255 Apr 14 20:10 pkcs8.1
-rw-r--r-- 1 root root  7753 Apr 14 20:10 pkey.1
-rw-r--r-- 1 root root  5550 Apr 14 20:10 pkeyparam.1
-rw-r--r-- 1 root root 10714 Apr 14 20:10 pkeyutl.1
-rw-r--r-- 1 root root  5107 Apr 14 20:10 rand.1
-rw-r--r-- 1 root root 29522 Apr 14 20:10 req.1
-rw-r--r-- 1 root root 10806 Apr 14 20:10 rsa.1
-rw-r--r-- 1 root root  9775 Apr 14 20:10 rsautl.1
-rw-r--r-- 1 root root 15608 Apr 14 20:10 s_client.1
-rw-r--r-- 1 root root  8279 Apr 14 20:10 sess_id.1
-rw-r--r-- 1 root root 20596 Apr 14 20:10 smime.1
-rw-r--r-- 1 root root  4882 Apr 14 20:10 speed.1
-rw-r--r-- 1 root root  7901 Apr 14 20:10 spkac.1
-rw-r--r-- 1 root root 16072 Apr 14 20:10 s_server.1
-rw-r--r-- 1 root root 10562 Apr 14 20:10 s_time.1
-rw-r--r-- 1 root root 26630 Apr 14 20:10 ts.1
-rw-r--r-- 1 root root 10968 Apr 14 20:10 tsget.1
-rw-r--r-- 1 root root 22062 Apr 14 20:10 verify.1
-rw-r--r-- 1 root root  4807 Apr 14 20:10 version.1
-rw-r--r-- 1 root root 35448 Apr 14 20:10 x509.1

./usr/local/ssl/man/man3:
total 2724
-rw-r--r-- 1 root root 13630 Apr 14 20:10 ASN1_generate_nconf.3
-rw-r--r-- 1 root root  5173 Apr 14 20:10 ASN1_OBJECT_new.3
-rw-r--r-- 1 root root  6953 Apr 14 20:10 ASN1_STRING_length.3
-rw-r--r-- 1 root root  4943 Apr 14 20:10 ASN1_STRING_new.3
-rw-r--r-- 1 root root  8081 Apr 14 20:10 ASN1_STRING_print_ex.3
-rw-r--r-- 1 root root  5751 Apr 14 20:11 bio.3
-rw-r--r-- 1 root root  9443 Apr 14 20:10 BIO_ctrl.3
-rw-r--r-- 1 root root  6053 Apr 14 20:10 BIO_f_base64.3
-rw-r--r-- 1 root root  6892 Apr 14 20:10 BIO_f_buffer.3
-rw-r--r-- 1 root root  6703 Apr 14 20:10 BIO_f_cipher.3
-rw-r--r-- 1 root root  7126 Apr 14 20:10 BIO_find_type.3
-rw-r--r-- 1 root root  9012 Apr 14 20:10 BIO_f_md.3
-rw-r--r-- 1 root root  4558 Apr 14 20:10 BIO_f_null.3
-rw-r--r-- 1 root root 15386 Apr 14 20:10 BIO_f_ssl.3
-rw-r--r-- 1 root root  6047 Apr 14 20:10 BIO_new.3
-rw-r--r-- 1 root root  6202 Apr 14 20:10 BIO_new_CMS.3
-rw-r--r-- 1 root root  6063 Apr 14 20:10 BIO_push.3
-rw-r--r-- 1 root root  6532 Apr 14 20:10 BIO_read.3
-rw-r--r-- 1 root root 11781 Apr 14 20:10 BIO_s_accept.3
-rw-r--r-- 1 root root 12392 Apr 14 20:10 BIO_s_bio.3
-rw-r--r-- 1 root root 11535 Apr 14 20:10 BIO_s_connect.3
-rw-r--r-- 1 root root  7885 Apr 14 20:10 BIO_set_callback.3
-rw-r--r-- 1 root root  6897 Apr 14 20:10 BIO_s_fd.3
-rw-r--r-- 1 root root  9075 Apr 14 20:10 BIO_s_file.3
-rw-r--r-- 1 root root  9124 Apr 14 20:10 BIO_should_retry.3
-rw-r--r-- 1 root root  8320 Apr 14 20:10 BIO_s_mem.3
-rw-r--r-- 1 root root  4761 Apr 14 20:10 BIO_s_null.3
-rw-r--r-- 1 root root  5673 Apr 14 20:10 BIO_s_socket.3
-rw-r--r-- 1 root root  9095 Apr 14 20:11 blowfish.3
-rw-r--r-- 1 root root 11221 Apr 14 20:11 bn.3
-rw-r--r-- 1 root root  8862 Apr 14 20:10 BN_add.3
-rw-r--r-- 1 root root  5745 Apr 14 20:10 BN_add_word.3
-rw-r--r-- 1 root root  9079 Apr 14 20:10 BN_BLINDING_new.3
-rw-r--r-- 1 root root  7780 Apr 14 20:10 BN_bn2bin.3
-rw-r--r-- 1 root root  5205 Apr 14 20:10 BN_cmp.3
-rw-r--r-- 1 root root  4605 Apr 14 20:10 BN_copy.3
-rw-r--r-- 1 root root  5478 Apr 14 20:10 BN_CTX_new.3
-rw-r--r-- 1 root root  5517 Apr 14 20:10 BN_CTX_start.3
-rw-r--r-- 1 root root  7384 Apr 14 20:10 BN_generate_prime.3
-rw-r--r-- 1 root root 14857 Apr 14 20:11 bn_internal.3
-rw-r--r-- 1 root root  4822 Apr 14 20:10 BN_mod_inverse.3
-rw-r--r-- 1 root root  7474 Apr 14 20:10 BN_mod_mul_montgomery.3
-rw-r--r-- 1 root root  6636 Apr 14 20:10 BN_mod_mul_reciprocal.3
-rw-r--r-- 1 root root  5311 Apr 14 20:10 BN_new.3
-rw-r--r-- 1 root root  5636 Apr 14 20:10 BN_num_bytes.3
-rw-r--r-- 1 root root  5934 Apr 14 20:10 BN_rand.3
-rw-r--r-- 1 root root  6015 Apr 14 20:10 BN_set_bit.3
-rw-r--r-- 1 root root  4110 Apr 14 20:10 BN_swap.3
-rw-r--r-- 1 root root  5453 Apr 14 20:10 BN_zero.3
-rw-r--r-- 1 root root  6104 Apr 14 20:11 buffer.3
-rw-r--r-- 1 root root  6096 Apr 14 20:10 CMS_add0_cert.3
-rw-r--r-- 1 root root  6428 Apr 14 20:10 CMS_add1_recipient_cert.3
-rw-r--r-- 1 root root  6551 Apr 14 20:10 CMS_compress.3
-rw-r--r-- 1 root root  6265 Apr 14 20:10 CMS_decrypt.3
-rw-r--r-- 1 root root  7928 Apr 14 20:10 CMS_encrypt.3
-rw-r--r-- 1 root root  5006 Apr 14 20:10 CMS_final.3
-rw-r--r-- 1 root root  9326 Apr 14 20:10 CMS_get0_RecipientInfos.3
-rw-r--r-- 1 root root  6693 Apr 14 20:10 CMS_get0_SignerInfos.3
-rw-r--r-- 1 root root  5942 Apr 14 20:10 CMS_get0_type.3
-rw-r--r-- 1 root root  6878 Apr 14 20:10 CMS_get1_ReceiptRequest.3
-rw-r--r-- 1 root root  9443 Apr 14 20:10 CMS_sign.3
-rw-r--r-- 1 root root  8331 Apr 14 20:10 CMS_sign_add1_signer.3
-rw-r--r-- 1 root root  5315 Apr 14 20:10 CMS_sign_receipt.3
-rw-r--r-- 1 root root  5486 Apr 14 20:10 CMS_uncompress.3
-rw-r--r-- 1 root root  9026 Apr 14 20:10 CMS_verify.3
-rw-r--r-- 1 root root  5278 Apr 14 20:10 CMS_verify_receipt.3
-rw-r--r-- 1 root root  5184 Apr 14 20:10 CONF_modules_free.3
-rw-r--r-- 1 root root  6015 Apr 14 20:10 CONF_modules_load_file.3
-rw-r--r-- 1 root root  6588 Apr 14 20:11 crypto.3
-rw-r--r-- 1 root root  5685 Apr 14 20:10 CRYPTO_set_ex_data.3
-rw-r--r-- 1 root root  4445 Apr 14 20:11 d2i_ASN1_OBJECT.3
-rw-r--r-- 1 root root  4426 Apr 14 20:11 d2i_DHparams.3
-rw-r--r-- 1 root root  6856 Apr 14 20:11 d2i_DSAPublicKey.3
-rw-r--r-- 1 root root  6077 Apr 14 20:11 d2i_PKCS8PrivateKey.3
-rw-r--r-- 1 root root  5913 Apr 14 20:11 d2i_RSAPublicKey.3
-rw-r--r-- 1 root root  6685 Apr 14 20:11 d2i_SSL_SESSION.3
-rw-r--r-- 1 root root 11108 Apr 14 20:11 d2i_X509.3
-rw-r--r-- 1 root root  4477 Apr 14 20:11 d2i_X509_ALGOR.3
-rw-r--r-- 1 root root  4714 Apr 14 20:11 d2i_X509_CRL.3
-rw-r--r-- 1 root root  4558 Apr 14 20:11 d2i_X509_NAME.3
-rw-r--r-- 1 root root  4688 Apr 14 20:11 d2i_X509_REQ.3
-rw-r--r-- 1 root root  4462 Apr 14 20:11 d2i_X509_SIG.3
-rw-r--r-- 1 root root 21744 Apr 14 20:11 des.3
-rw-r--r-- 1 root root  6491 Apr 14 20:11 dh.3
-rw-r--r-- 1 root root  5391 Apr 14 20:10 DH_generate_key.3
-rw-r--r-- 1 root root  6383 Apr 14 20:10 DH_generate_parameters.3
-rw-r--r-- 1 root root  4774 Apr 14 20:10 DH_get_ex_new_index.3
-rw-r--r-- 1 root root  4763 Apr 14 20:10 DH_new.3
-rw-r--r-- 1 root root  9392 Apr 14 20:10 DH_set_method.3
-rw-r--r-- 1 root root  4431 Apr 14 20:10 DH_size.3
-rw-r--r-- 1 root root  8096 Apr 14 20:11 dsa.3
-rw-r--r-- 1 root root  5172 Apr 14 20:10 DSA_do_sign.3
-rw-r--r-- 1 root root  4633 Apr 14 20:10 DSA_dup_DH.3
-rw-r--r-- 1 root root  4621 Apr 14 20:10 DSA_generate_key.3
-rw-r--r-- 1 root root  7152 Apr 14 20:10 DSA_generate_parameters.3
-rw-r--r-- 1 root root  4791 Apr 14 20:10 DSA_get_ex_new_index.3
-rw-r--r-- 1 root root  4844 Apr 14 20:10 DSA_new.3
-rw-r--r-- 1 root root 10012 Apr 14 20:10 DSA_set_method.3
-rw-r--r-- 1 root root  6239 Apr 14 20:10 DSA_sign.3
-rw-r--r-- 1 root root  4794 Apr 14 20:10 DSA_SIG_new.3
-rw-r--r-- 1 root root  4435 Apr 14 20:10 DSA_size.3
-rw-r--r-- 1 root root 11484 Apr 14 20:11 ecdsa.3
-rw-r--r-- 1 root root 35675 Apr 14 20:11 engine.3
-rw-r--r-- 1 root root 10975 Apr 14 20:11 err.3
-rw-r--r-- 1 root root  4333 Apr 14 20:10 ERR_clear_error.3
-rw-r--r-- 1 root root  6410 Apr 14 20:10 ERR_error_string.3
-rw-r--r-- 1 root root  6886 Apr 14 20:10 ERR_get_error.3
-rw-r--r-- 1 root root  5376 Apr 14 20:10 ERR_GET_LIB.3
-rw-r--r-- 1 root root  5008 Apr 14 20:10 ERR_load_crypto_strings.3
-rw-r--r-- 1 root root  5265 Apr 14 20:10 ERR_load_strings.3
-rw-r--r-- 1 root root  5298 Apr 14 20:10 ERR_print_errors.3
-rw-r--r-- 1 root root  5019 Apr 14 20:10 ERR_put_error.3
-rw-r--r-- 1 root root  4577 Apr 14 20:10 ERR_remove_state.3
-rw-r--r-- 1 root root  4710 Apr 14 20:10 ERR_set_mark.3
-rw-r--r-- 1 root root  5745 Apr 14 20:11 evp.3
-rw-r--r-- 1 root root  6242 Apr 14 20:10 EVP_BytesToKey.3
-rw-r--r-- 1 root root 15873 Apr 14 20:10 EVP_DigestInit.3
-rw-r--r-- 1 root root  7698 Apr 14 20:10 EVP_DigestSignInit.3
-rw-r--r-- 1 root root  7352 Apr 14 20:10 EVP_DigestVerifyInit.3
-rw-r--r-- 1 root root 29088 Apr 14 20:10 EVP_EncryptInit.3
-rw-r--r-- 1 root root  6013 Apr 14 20:10 EVP_OpenInit.3
-rw-r--r-- 1 root root  5917 Apr 14 20:10 EVP_PKEY_cmp.3
-rw-r--r-- 1 root root  9940 Apr 14 20:10 EVP_PKEY_CTX_ctrl.3
-rw-r--r-- 1 root root  5614 Apr 14 20:10 EVP_PKEY_CTX_new.3
-rw-r--r-- 1 root root  6767 Apr 14 20:10 EVP_PKEY_decrypt.3
-rw-r--r-- 1 root root  6696 Apr 14 20:10 EVP_PKEY_derive.3
-rw-r--r-- 1 root root  6767 Apr 14 20:10 EVP_PKEY_encrypt.3
-rw-r--r-- 1 root root  4991 Apr 14 20:10 EVP_PKEY_get_default_digest.3
-rw-r--r-- 1 root root  9716 Apr 14 20:10 EVP_PKEY_keygen.3
-rw-r--r-- 1 root root  4950 Apr 14 20:10 EVP_PKEY_new.3
-rw-r--r-- 1 root root  5710 Apr 14 20:10 EVP_PKEY_print_private.3
-rw-r--r-- 1 root root  6877 Apr 14 20:10 EVP_PKEY_set1_RSA.3
-rw-r--r-- 1 root root  6847 Apr 14 20:10 EVP_PKEY_sign.3
-rw-r--r-- 1 root root  6845 Apr 14 20:10 EVP_PKEY_verify.3
-rw-r--r-- 1 root root  7402 Apr 14 20:10 EVP_PKEY_verify_recover.3
-rw-r--r-- 1 root root  7183 Apr 14 20:10 EVP_SealInit.3
-rw-r--r-- 1 root root  7847 Apr 14 20:10 EVP_SignInit.3
-rw-r--r-- 1 root root  7441 Apr 14 20:10 EVP_VerifyInit.3
-rw-r--r-- 1 root root  7843 Apr 14 20:11 hmac.3
-rw-r--r-- 1 root root  4908 Apr 14 20:11 i2d_CMS_bio_stream.3
-rw-r--r-- 1 root root  4903 Apr 14 20:11 i2d_PKCS7_bio_stream.3
-rw-r--r-- 1 root root 18595 Apr 14 20:11 lhash.3
-rw-r--r-- 1 root root  5853 Apr 14 20:11 lh_stats.3
-rw-r--r-- 1 root root  7351 Apr 14 20:11 md5.3
-rw-r--r-- 1 root root  5805 Apr 14 20:11 mdc2.3
-rw-r--r-- 1 root root  9406 Apr 14 20:10 OBJ_nid2obj.3
-rw-r--r-- 1 root root  6033 Apr 14 20:11 OpenSSL_add_all_algorithms.3
-rw-r--r-- 1 root root  4466 Apr 14 20:10 OPENSSL_Applink.3
-rw-r--r-- 1 root root  7287 Apr 14 20:10 OPENSSL_config.3
-rw-r--r-- 1 root root  5643 Apr 14 20:11 OPENSSL_ia32cap.3
-rw-r--r-- 1 root root  5286 Apr 14 20:11 OPENSSL_load_builtin_modules.3
-rw-r--r-- 1 root root  6808 Apr 14 20:10 OPENSSL_VERSION_NUMBER.3
-rw-r--r-- 1 root root 24692 Apr 14 20:11 pem.3
-rw-r--r-- 1 root root  4858 Apr 14 20:11 PEM_write_bio_CMS_stream.3
-rw-r--r-- 1 root root  4853 Apr 14 20:11 PEM_write_bio_PKCS7_stream.3
-rw-r--r-- 1 root root  6907 Apr 14 20:11 PKCS12_create.3
-rw-r--r-- 1 root root  5677 Apr 14 20:11 PKCS12_parse.3
-rw-r--r-- 1 root root  5651 Apr 14 20:11 PKCS7_decrypt.3
-rw-r--r-- 1 root root  7044 Apr 14 20:11 PKCS7_encrypt.3
-rw-r--r-- 1 root root  8876 Apr 14 20:11 PKCS7_sign.3
-rw-r--r-- 1 root root  7386 Apr 14 20:11 PKCS7_sign_add_signer.3
-rw-r--r-- 1 root root  8824 Apr 14 20:11 PKCS7_verify.3
-rw-r--r-- 1 root root 10295 Apr 14 20:11 rand.3
-rw-r--r-- 1 root root  6836 Apr 14 20:11 RAND_add.3
-rw-r--r-- 1 root root  5473 Apr 14 20:11 RAND_bytes.3
-rw-r--r-- 1 root root  4283 Apr 14 20:11 RAND_cleanup.3
-rw-r--r-- 1 root root  7452 Apr 14 20:11 RAND_egd.3
-rw-r--r-- 1 root root  5572 Apr 14 20:11 RAND_load_file.3
-rw-r--r-- 1 root root  7224 Apr 14 20:11 RAND_set_rand_method.3
-rw-r--r-- 1 root root  5816 Apr 14 20:11 rc4.3
-rw-r--r-- 1 root root  5875 Apr 14 20:11 ripemd.3
-rw-r--r-- 1 root root  8216 Apr 14 20:11 rsa.3
-rw-r--r-- 1 root root  5033 Apr 14 20:11 RSA_blinding_on.3
-rw-r--r-- 1 root root  6393 Apr 14 20:11 RSA_check_key.3
-rw-r--r-- 1 root root  5670 Apr 14 20:11 RSA_generate_key.3
-rw-r--r-- 1 root root  9704 Apr 14 20:11 RSA_get_ex_new_index.3
-rw-r--r-- 1 root root  4831 Apr 14 20:11 RSA_new.3
-rw-r--r-- 1 root root  8055 Apr 14 20:11 RSA_padding_add_PKCS1_type_1.3
-rw-r--r-- 1 root root  5202 Apr 14 20:11 RSA_print.3
-rw-r--r-- 1 root root  6066 Apr 14 20:11 RSA_private_encrypt.3
-rw-r--r-- 1 root root  6655 Apr 14 20:11 RSA_public_encrypt.3
-rw-r--r-- 1 root root 12944 Apr 14 20:11 RSA_set_method.3
-rw-r--r-- 1 root root  5892 Apr 14 20:11 RSA_sign.3
-rw-r--r-- 1 root root  5670 Apr 14 20:11 RSA_sign_ASN1_OCTET_STRING.3
-rw-r--r-- 1 root root  4390 Apr 14 20:11 RSA_size.3
-rw-r--r-- 1 root root  6113 Apr 14 20:11 sha.3
-rw-r--r-- 1 root root  5982 Apr 14 20:11 SMIME_read_CMS.3
-rw-r--r-- 1 root root  5998 Apr 14 20:11 SMIME_read_PKCS7.3
-rw-r--r-- 1 root root  6035 Apr 14 20:11 SMIME_write_CMS.3
-rw-r--r-- 1 root root  6071 Apr 14 20:11 SMIME_write_PKCS7.3
-rw-r--r-- 1 root root 46605 Apr 14 20:11 ssl.3
-rw-r--r-- 1 root root  6621 Apr 14 20:11 SSL_accept.3
-rw-r--r-- 1 root root 13959 Apr 14 20:11 SSL_alert_type_string.3
-rw-r--r-- 1 root root  8301 Apr 14 20:11 SSL_CIPHER_get_name.3
-rw-r--r-- 1 root root  6271 Apr 14 20:11 SSL_clear.3
-rw-r--r-- 1 root root  6344 Apr 14 20:11 SSL_COMP_add_compression_method.3
-rw-r--r-- 1 root root  6372 Apr 14 20:11 SSL_connect.3
-rw-r--r-- 1 root root  4936 Apr 14 20:11 SSL_CTX_add_extra_chain_cert.3
-rw-r--r-- 1 root root  6312 Apr 14 20:11 SSL_CTX_add_session.3
-rw-r--r-- 1 root root  4839 Apr 14 20:11 SSL_CTX_ctrl.3
-rw-r--r-- 1 root root  5425 Apr 14 20:11 SSL_CTX_flush_sessions.3
-rw-r--r-- 1 root root  5076 Apr 14 20:11 SSL_CTX_free.3
-rw-r--r-- 1 root root  5642 Apr 14 20:11 SSL_CTX_get_ex_new_index.3
-rw-r--r-- 1 root root  5661 Apr 14 20:11 SSL_CTX_get_verify_mode.3
-rw-r--r-- 1 root root  8367 Apr 14 20:11 SSL_CTX_load_verify_locations.3
-rw-r--r-- 1 root root  7662 Apr 14 20:11 SSL_CTX_new.3
-rw-r--r-- 1 root root  4711 Apr 14 20:11 SSL_CTX_sessions.3
-rw-r--r-- 1 root root  6861 Apr 14 20:11 SSL_CTX_sess_number.3
-rw-r--r-- 1 root root  5445 Apr 14 20:11 SSL_CTX_sess_set_cache_size.3
-rw-r--r-- 1 root root  7967 Apr 14 20:11 SSL_CTX_sess_set_get_cb.3
-rw-r--r-- 1 root root  5858 Apr 14 20:11 SSL_CTX_set_cert_store.3
-rw-r--r-- 1 root root  6910 Apr 14 20:11 SSL_CTX_set_cert_verify_callback.3
-rw-r--r-- 1 root root  6704 Apr 14 20:11 SSL_CTX_set_cipher_list.3
-rw-r--r-- 1 root root  7159 Apr 14 20:11 SSL_CTX_set_client_CA_list.3
-rw-r--r-- 1 root root  8450 Apr 14 20:11 SSL_CTX_set_client_cert_cb.3
-rw-r--r-- 1 root root  6854 Apr 14 20:11 SSL_CTX_set_default_passwd_cb.3
-rw-r--r-- 1 root root 10550 Apr 14 20:11 SSL_CTX_set_generate_session_id.3
-rw-r--r-- 1 root root  9686 Apr 14 20:11 SSL_CTX_set_info_callback.3
-rw-r--r-- 1 root root  6828 Apr 14 20:11 SSL_CTX_set_max_cert_list.3
-rw-r--r-- 1 root root  7190 Apr 14 20:11 SSL_CTX_set_mode.3
-rw-r--r-- 1 root root  7752 Apr 14 20:11 SSL_CTX_set_msg_callback.3
-rw-r--r-- 1 root root 18320 Apr 14 20:11 SSL_CTX_set_options.3
-rw-r--r-- 1 root root  5764 Apr 14 20:11 SSL_CTX_set_psk_client_callback.3
-rw-r--r-- 1 root root  6197 Apr 14 20:11 SSL_CTX_set_quiet_shutdown.3
-rw-r--r-- 1 root root  9391 Apr 14 20:11 SSL_CTX_set_session_cache_mode.3
-rw-r--r-- 1 root root  6790 Apr 14 20:11 SSL_CTX_set_session_id_context.3
-rw-r--r-- 1 root root  5495 Apr 14 20:11 SSL_CTX_set_ssl_version.3
-rw-r--r-- 1 root root  5798 Apr 14 20:11 SSL_CTX_set_timeout.3
-rw-r--r-- 1 root root 10955 Apr 14 20:11 SSL_CTX_set_tmp_dh_callback.3
-rw-r--r-- 1 root root 10939 Apr 14 20:11 SSL_CTX_set_tmp_rsa_callback.3
-rw-r--r-- 1 root root 16205 Apr 14 20:11 SSL_CTX_set_verify.3
-rw-r--r-- 1 root root 12987 Apr 14 20:11 SSL_CTX_use_certificate.3
-rw-r--r-- 1 root root  6727 Apr 14 20:11 SSL_CTX_use_psk_identity_hint.3
-rw-r--r-- 1 root root  6632 Apr 14 20:11 SSL_do_handshake.3
-rw-r--r-- 1 root root  5268 Apr 14 20:11 SSL_free.3
-rw-r--r-- 1 root root  5078 Apr 14 20:11 SSL_get_ciphers.3
-rw-r--r-- 1 root root  5354 Apr 14 20:11 SSL_get_client_CA_list.3
-rw-r--r-- 1 root root  5313 Apr 14 20:11 SSL_get_current_cipher.3
-rw-r--r-- 1 root root  4917 Apr 14 20:11 SSL_get_default_timeout.3
-rw-r--r-- 1 root root  8926 Apr 14 20:11 SSL_get_error.3
-rw-r--r-- 1 root root  5720 Apr 14 20:11 SSL_get_ex_data_X509_STORE_CTX_idx.3
-rw-r--r-- 1 root root  5790 Apr 14 20:11 SSL_get_ex_new_index.3
-rw-r--r-- 1 root root  4784 Apr 14 20:11 SSL_get_fd.3
-rw-r--r-- 1 root root  5288 Apr 14 20:11 SSL_get_peer_cert_chain.3
-rw-r--r-- 1 root root  5374 Apr 14 20:11 SSL_get_peer_certificate.3
-rw-r--r-- 1 root root  4877 Apr 14 20:11 SSL_get_psk_identity.3
-rw-r--r-- 1 root root  4566 Apr 14 20:11 SSL_get_rbio.3
-rw-r--r-- 1 root root  6244 Apr 14 20:11 SSL_get_session.3
-rw-r--r-- 1 root root  4324 Apr 14 20:11 SSL_get_SSL_CTX.3
-rw-r--r-- 1 root root  5293 Apr 14 20:11 SSL_get_verify_result.3
-rw-r--r-- 1 root root  4571 Apr 14 20:11 SSL_get_version.3
-rw-r--r-- 1 root root  5516 Apr 14 20:11 SSL_library_init.3
-rw-r--r-- 1 root root  5310 Apr 14 20:11 SSL_load_client_CA_file.3
-rw-r--r-- 1 root root  4790 Apr 14 20:11 SSL_new.3
-rw-r--r-- 1 root root  4934 Apr 14 20:11 SSL_pending.3
-rw-r--r-- 1 root root  9196 Apr 14 20:11 SSL_read.3
-rw-r--r-- 1 root root  5511 Apr 14 20:11 SSL_rstate_string.3
-rw-r--r-- 1 root root  6049 Apr 14 20:11 SSL_SESSION_free.3
-rw-r--r-- 1 root root  6075 Apr 14 20:11 SSL_SESSION_get_ex_new_index.3
-rw-r--r-- 1 root root  6008 Apr 14 20:11 SSL_SESSION_get_time.3
-rw-r--r-- 1 root root  4678 Apr 14 20:11 SSL_session_reused.3
-rw-r--r-- 1 root root  4734 Apr 14 20:11 SSL_set_bio.3
-rw-r--r-- 1 root root  5671 Apr 14 20:11 SSL_set_connect_state.3
-rw-r--r-- 1 root root  5298 Apr 14 20:11 SSL_set_fd.3
-rw-r--r-- 1 root root  5514 Apr 14 20:11 SSL_set_session.3
-rw-r--r-- 1 root root  6035 Apr 14 20:11 SSL_set_shutdown.3
-rw-r--r-- 1 root root  4857 Apr 14 20:11 SSL_set_verify_result.3
-rw-r--r-- 1 root root 11506 Apr 14 20:11 SSL_shutdown.3
-rw-r--r-- 1 root root  5226 Apr 14 20:11 SSL_state_string.3
-rw-r--r-- 1 root root  6309 Apr 14 20:11 SSL_want.3
-rw-r--r-- 1 root root  8245 Apr 14 20:11 SSL_write.3
-rw-r--r-- 1 root root 12114 Apr 14 20:11 threads.3
-rw-r--r-- 1 root root 12800 Apr 14 20:11 ui.3
-rw-r--r-- 1 root root  5997 Apr 14 20:11 ui_compat.3
-rw-r--r-- 1 root root  5965 Apr 14 20:11 x509.3
-rw-r--r-- 1 root root  8482 Apr 14 20:11 X509_NAME_add_entry_by_txt.3
-rw-r--r-- 1 root root  6925 Apr 14 20:11 X509_NAME_ENTRY_get_object.3
-rw-r--r-- 1 root root  7750 Apr 14 20:11 X509_NAME_get_index_by_NID.3
-rw-r--r-- 1 root root  8885 Apr 14 20:11 X509_NAME_print_ex.3
-rw-r--r-- 1 root root  4772 Apr 14 20:11 X509_new.3
-rw-r--r-- 1 root root 19311 Apr 14 20:11 X509_STORE_CTX_get_error.3
-rw-r--r-- 1 root root  5147 Apr 14 20:11 X509_STORE_CTX_get_ex_new_index.3
-rw-r--r-- 1 root root  9014 Apr 14 20:11 X509_STORE_CTX_new.3
-rw-r--r-- 1 root root  9804 Apr 14 20:11 X509_STORE_CTX_set_verify_cb.3
-rw-r--r-- 1 root root  5422 Apr 14 20:11 X509_STORE_set_verify_cb_func.3
-rw-r--r-- 1 root root  5452 Apr 14 20:11 X509_verify_cert.3
-rw-r--r-- 1 root root 11533 Apr 14 20:11 X509_VERIFY_PARAM_set_flags.3

./usr/local/ssl/man/man5:
total 40
-rw-r--r-- 1 root root 14818 Apr 14 20:10 config.5
-rw-r--r-- 1 root root 22443 Apr 14 20:10 x509v3_config.5

./usr/local/ssl/man/man7:
total 12
-rw-r--r-- 1 root root 10175 Apr 14 20:11 des_modes.7

./usr/local/ssl/misc:
total 40
-rwxr-xr-x 1 root root 5679 Apr 14 20:11 CA.pl
-rwxr-xr-x 1 root root 5175 Apr 14 20:11 CA.sh
-rwxr-xr-x 1 root root  119 Apr 14 20:11 c_hash
-rwxr-xr-x 1 root root  152 Apr 14 20:11 c_info
-rwxr-xr-x 1 root root  112 Apr 14 20:11 c_issuer
-rwxr-xr-x 1 root root  110 Apr 14 20:11 c_name
-rwxr-xr-x 1 root root 6419 Apr 14 20:11 tsget

./usr/local/ssl/private:
total 0
sh-4.1#


amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#15 Post by amigo »

Are you using a '--prefix=??' on the command-line or in the src2pkg.conf file? It seems to be using --prefix=/usr/local/ssl which is a pretty weird location.
I'd try using --prefix=/usr in theCLI options to src2pkg. Either that, or you need to create a wrapper for the program which would be placed in the normal PATH, or add /usr/local/ssl/bin to your PATH.

Normally, src2pkg uses --prefix=/usr unless you specify something else.

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#16 Post by live »

Are you using a '--prefix=??' on the command-line
No, as you see in the preceedeing post my CLI is

Code: Select all

src2pkg -CWD -PET --arch=i686 openssl-1.0.1g.tar.gz 

or in the src2pkg.conf file?
No, I installed your posted pet and unmodified.

Now, it's interesting to look at this conf file.
Does "my" command line generate compiled code working for i486, but when possible optimises it for i686?

Code: Select all

# settings for generic puppy
[[ $ARCH ]] || ARCH="i486"
[[ $MARCH_FLAG ]] || MARCH_FLAG="i486"
[[ $PKG_FORMAT ]] || PKG_FORMAT=pet
PET2=1
[[ $INIT_DIR ]] || INIT_DIR=/etc/rc.d
RE: page 229 of GCC manual http://gcc.gnu.org/onlinedocs/gcc-4.8.2 ... tions.html

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#17 Post by amigo »

Yes, it does. 'march' is the bottom limit and 'mtune' is the upper limit, which gets set to i686 for ARCH=i486. These are the standard settings long used by most mainstream distros. So, you should be fine using the standard ARCH=i486 settings.

Sorry about the prefix stuff, I should have looked here at my build script for openssl to see if there were any abnormalities to the build. Turns out it is rather involved, so I'll attach my materials.

The file openssl.src2pkg.gz is a fake gz file, simply rename to remove the '.gz' suffix. That is then the build recipe for openssl. It will use a couple of patches included in the (real) archive named openssl-patches.tar.bz2. Simply place those two files alongside the openssl sources and run 'src2pkg -X' to use that recipe.
Attachments
openssl.src2pkg.gz
(3.47 KiB) Downloaded 270 times
openssl-patches.tar.bz2
(4.82 KiB) Downloaded 273 times

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#18 Post by live »

>Sorry about the prefix stuff
I'm very glad to learn and exchange. If at the same time it provides enhancement it's an additional benefit for everyone.
Yes, it does. 'march' is the bottom limit and 'mtune' is the upper limit, which gets set to i686 for ARCH=i486. These are the standard settings long used by most mainstream distros.
Unfortunately I do know and I do consider it has a performance and ecological absurdity has i686(=Pentium Pro max 200Mhz) ceased to be produced in 1998 (now 16 years ago) and i486 SX has no floating point unit so it must be emulated by the compiler into fewer integer registers, but that might be considered as personal philosophy and I modified your config file to march=i686.
FYI: Intel history list of CPU, http://www.intel.com/pressroom/kits/quickreffam.htm

For the rest of your last post, would you be so kind to explain in other words, as I think my lack of experience in this matter prevents me of fully seizing the importance of all the concentrate information you give.
It does perfectly work and install this time.
Now interestingly, terminal suggest to it had wishes for SSE2 optimisation http://en.wikipedia.org/wiki/SSE2

Code: Select all

sh-4.1# src2pkg -X
Running build script: openssl.src2pkg
Found source archive: openssl-1.0.1g.tar.gz
Creating working directories:
   PKG_DIR=/root/Downloads/openssl-1.0.1g-i686-1
   SRC_DIR=/root/Downloads/openssl-1.0.1g-src-1
Unpacking source archive - Done
Decompressing openssl-patches.tar.bz2 - Done
Correcting source permissions - Done
Applying patches - from User-Supplied PATCHLIST
Applying: openssl.soname.diff
Applying: openssl.no-extssl.diff
Applying: i486-i686.diff
   Notice - Running 'make clean' in SRC_DIR - Done
Running user-specified CONFIG_COMMAND: ./config --prefix=/usr --openssldir=/etc/ssl no-idea no-rc5 no-sse2 no-engine shared
Compiling sources - Using: 'make depend all'
Compiling has been - Successful!
Checking for Makefile rule: 'install' Okay
Checking support for DESTDIR (or similar) - Found INSTALL_PREFIX
Creating package content using:
   make INSTALL_PREFIX=/root/Downloads/openssl-1.0.1g-i686-1 install
Installation in INSTALL_PREFIX - Successful
Processing package content:
Correcting package permissions - Done
Stripping ELF binaries - Using: strip -p --strip-unneeded Done
Stripping static archives - Using: strip -p --strip-debug Done
Stripping shared libraries - Using: strip -p --strip-unneeded Done
Checking for standard documents - Done
Verified slack-desc.openssl found - Inserting in package as PKG_DIR/install/slack-desc
Adding src2pkg script to package in: usr/doc/openssl-1.0.1g
Rechecking package correctness:
Rechecking package permissions - Done
Checking for dead links in PKG_DIR - Done
Copying content for: openssl-SOLIBS
*** buffer overflow detected ***: /usr/libexec/src2pkg/bin/tar-1.13 terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x45)[0xb76a60e5]
/lib/libc.so.6(+0x102eba)[0xb76a4eba]
/lib/libc.so.6(+0x1021ed)[0xb76a41ed]
/usr/libexec/src2pkg/bin/tar-1.13[0x804ff86]
/usr/libexec/src2pkg/bin/tar-1.13[0x80505b9]
/usr/libexec/src2pkg/bin/tar-1.13[0x8051cd0]
/usr/libexec/src2pkg/bin/tar-1.13[0x804a9b7]
/lib/libc.so.6(__libc_start_main+0xf3)[0xb75bb4d3]
/usr/libexec/src2pkg/bin/tar-1.13[0x804ad01]
======= Memory map: ========
08048000-08067000 r-xp 00000000 00:0b 66774      /initrd/pup_rw/usr/libexec/src2pkg/bin/tar-1.13
08067000-08068000 r-xp 0001e000 00:0b 66774      /initrd/pup_rw/usr/libexec/src2pkg/bin/tar-1.13
08068000-08069000 rwxp 0001f000 00:0b 66774      /initrd/pup_rw/usr/libexec/src2pkg/bin/tar-1.13
08069000-0808a000 rwxp 00000000 00:00 0          [heap]
b7582000-b759e000 r-xp 00000000 07:00 35738      /initrd/pup_ro2/lib/libgcc_s.so.1
b759e000-b759f000 r-xp 0001b000 07:00 35738      /initrd/pup_ro2/lib/libgcc_s.so.1
b759f000-b75a0000 rwxp 0001c000 07:00 35738      /initrd/pup_ro2/lib/libgcc_s.so.1
b75a0000-b75a2000 rwxp 00000000 00:00 0 
b75a2000-b7745000 r-xp 00000000 07:00 35707      /initrd/pup_ro2/lib/libc-2.15.so
b7745000-b7747000 r-xp 001a3000 07:00 35707      /initrd/pup_ro2/lib/libc-2.15.so
b7747000-b7748000 rwxp 001a5000 07:00 35707      /initrd/pup_ro2/lib/libc-2.15.so
b7748000-b774d000 rwxp 00000000 00:00 0 
b774d000-b776d000 r-xp 00000000 07:00 35686      /initrd/pup_ro2/lib/ld-2.15.so
b776d000-b776e000 r-xp 0001f000 07:00 35686      /initrd/pup_ro2/lib/ld-2.15.so
b776e000-b776f000 rwxp 00020000 07:00 35686      /initrd/pup_ro2/lib/ld-2.15.so
bff2e000-bff4f000 rw-p 00000000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
      Creating: 'pkg-manifest' Done
Searching for links in: openssl-1.0.1g-i686-1 - Done
Adding links to doinst.sh - Adding links-creation to the doinst.sh
Found '.new' files in PKG_DIR - Adding '.new' file routine to doinst.sh
Deleting symbolic links - Removing links from the package directory
Creating package: 'openssl_SOLIBS-1.0.1g-i686-1.pet' - Done
Creating package: 'openssl-1.0.1g-i686-1.pet' - Done
Package Creation - Successful! Package location:
/root/Downloads/openssl-1.0.1g-i686-1.pet
sh-4.1# openssl version
OpenSSL 1.0.1g 7 Apr 2014
Finally, I do not know if it is a scripting issue, but if I compile geany-1.24.tar.gz
Under "root/Downloads" I have a successful build
However if I compile on my HDD, it fails to compile, as if they were some hard coded path.

Thanks

Code: Select all

sh-4.1# src2pkg -CWD -PET geany-1.24.tar.gz
Found source archive: geany-1.24.tar.gz
Creating working directories:
   PKG_DIR=/mnt/sda7/ITC/SharedWinXp/Linux/Puppy save/pet/dev/src/geany-1.24-i686-1
   SRC_DIR=/mnt/sda7/ITC/SharedWinXp/Linux/Puppy save/pet/dev/src/geany-1.24-src-1
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - None found
Found configure script - Done
Configuring sources using:
 LDFLAGS="-Wl,-O1,-L/lib,-L/usr/lib,--relax,--sort-common,--no-keep-memory" CFLAGS="-O2 -m32 -pipe -fomit-frame-pointer -fno-strict-aliasing -Wno-shadow -Wno-unused -march=i686 -mtune=i686" ./configure --prefix=/usr --libdir=/usr/lib
Configuration has been - Successful!
Compiling sources - Using: 'make'
Compiling has been - Successful!
Checking for Makefile rule: 'install' Okay
Checking support for DESTDIR (or similar) - Found DESTDIR
Creating package content using:
   make DESTDIR=/mnt/sda7/ITC/SharedWinXp/Linux/Puppy save/pet/dev/src/geany-1.24-i686-1 install
Notice - Possible error running 'make install'
FATAL! Running make install has failed with error: 1 
Try using INSTALL_LINE 'make -i install'  Exiting...
sh-4.1#

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#19 Post by amigo »

No, there are no hard-coded paths. It may have something to do with the aufs layering. That's a strange tar-1.13 error that I've never seen either. Do you get that with the failed geany build?

About sse, you may want to leave out the no-sse2 and see if that works for you -this is directly related to the march choice. As for generally trying to adjust march/mtune when compiling, this makes no sense unless you build a whole system using 'better' settings -starting with glibc itself. src2pkg itself defaults to using the most conservative and universal settings for obvious reasons. You can adjust any settings you like, as far as compiler options goes. Have a look at and near lines 258-259 for some of them. Actually the defaults there are not completely conservative -the -fomit-frame-pointer option is not good on some arches. And the -pipe option could even be causing the tar-1.13 or build errors.

You can find lots of pre-made recipes here:
http://distro.ibiblio.org/amigolinux/di ... .0/SOURCE/
Again about openssl, its build system is a home-grown thing which works pretty different than most builds -that's why the build script has so many lines. geany, OTOH, is pretty normal. The point is that some sources require extra work to get what you want, whereas something like geany can usually be compiled without any recipe at all.

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#20 Post by live »

>That's a strange tar-1.13 error that I've never seen either. Do you get that with the failed geany build?
It's a reproducable path bug and here is the way:
If my path is:
mnt/sda7/ITC/SharedWinXp/Linux/Puppysave/pet/dev/src
build is OK (thought contrary to a build in /root/Downloads I have way more output lines in Terminal...).
My initial path contained a blank in the folder's name so was 'Puppy save' instead of now Puppysave and there it stops on error 1.
I tested with non US char (namley: ésrc) it's ok.

I have to investigate other things regarding last post, however some others:

1/ On line 32 & 33 of /etc/src2pkg/src2pkg.conf if I modify them as

Code: Select all

[[ $ARCH ]] || ARCH="i686"
[[ $MARCH_FLAG ]] || MARCH_FLAG="i686"
And then execute:

Code: Select all

src2pkg -PET -CWD --arch=pentium4 <tar source>
Then I see

Code: Select all

Configuring sources using:
 LDFLAGS="-Wl,-O1,-L/lib,-L/usr/lib,--relax,--sort-common,--no-keep-memory" CFLAGS="-O2 -m32 -pipe -fomit-frame-pointer -fno-strict-aliasing -Wno-shadow -Wno-unused -march=i686 -mtune=i686" ./configure --prefix=/usr --libdir=/usr/lib
Notice -march=i686 -mtune=i686

If I now modify src2pkg.conf and sets both param as pentium4
and execute the command I see:

Code: Select all

Configuring sources using:
 LDFLAGS="-Wl,-O1,-L/lib,-L/usr/lib,--relax,--sort-common,--no-keep-memory" CFLAGS="-O2 -m32 -pipe -fomit-frame-pointer -fno-strict-aliasing -Wno-shadow -Wno-unused -march=pentium4 -mtune=i686" ./configure --prefix=/usr --libdir=/usr/lib
Notice -march=pentium4 -mtune=i686


2/ Are the files in /usr/include sometimes used for linking/dependicies during build process?

3/
this makes no sense unless you build a whole system using 'better' settings -starting with glibc itself.
OK, good to know, any other?

Post Reply