I am intermediate Linux user heading towards 60 yrs and am good looking blonde
So if I have any blonde moments feel free to let me know.
But my skills with Porteus and Slackware are basic. I thought I would share my first attempts to use a slackbuild to build a TXZ and a little of my intentions. Firstly openssl currently has sslv3 support and I prefer it doesn't. I plan to build a v 1.0.2d but first I have to learn how to use a slackbuild by re-creating an existing package.
The following is my experience so far....no need to read unless you are like minded or have time to offer comments etc.
slackware URLs
###############
http://mirror.internode.on.net/pub/slac ... rtwatch.gz
http://mirror.internode.on.net/pub/slac ... openssl.gz
http://mirror.internode.on.net/pub/slac ... SlackBuild
http://mirror.internode.on.net/pub/slac ... .1e.tar.gz
http://mirror.internode.on.net/pub/slac ... sc.openssl
http://mirror.internode.on.net/pub/slac ... me.diff.gz
############################
Next one is not for building but comparing the build to a real package
http://mirror.internode.on.net/pub/slac ... 6_64-1.txz
first run for the slackbuild has this error
Code: Select all
snip....... Expected text after =item, not a number solved
The build actually mentions the parallel issue but its fix is commented out, lines 48+9
Internet says downgrade of perl to 5.16 or patch
I have perl-5.18.1-x86_64-1.txz was found in slackware [installed]
try patches
############
http://www.linuxfromscratch.org/patches ... ax-1.patch
http://www.linuxfromscratch.org/patches ... es-1.patch
http://www.linuxfromscratch.org/patches ... ld-1.patch
unpack first five URLs at /tmp and also have all 3 patches at /tmp
Code: Select all
cd openssl-1.0.1e
patch -Np1 -i ../openssl-1.0.1e-fix_parallel_build-1.patch
patch -Np1 -i ../openssl-1.0.1e-fix_pod_syntax-1.patch
patch -Np1 -i ../openssl-1.0.1e-fix_manpages-1.patch
line 55 stop the removal of the unpack
line 57 I comment out....tar xvf $CWD/openssl-$VERSION.tar.gz || exit 1
Now the build
###############
Code: Select all
./openssl.SlackBuild
Most of it works as expected with the following errors or comments
Code: Select all
WARNING: zero length file etc/cron.daily/certwatch.new
Slackware package /tmp/openssl-1.0.1e-x86_64-1.txz created.
gzip: /tmp/doinst.sh-openssl-solibs.gz: No such file or directory
cat: /tmp/slack-desc.openssl-solibs: No such file or directory
Slackware package maker, version 3.14159.
Searching for symbolic links:
No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.
This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!
Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n
Creating Slackware package: /tmp/openssl-solibs-1.0.1e-x86_64-1.txz
WARNING: zero length file install/doinst.sh
WARNING: zero length file install/slack-desc
Slackware package /tmp/openssl-solibs-1.0.1e-x86_64-1.txz created.
1 etc/cron.daily will need the certwatch injected.
2 etc/ssl has openssl.cnf.new not dropping the .new wrong! install script expects to find the file with .new
3 install/doinst.sh is larger than the download ...see below
4 install/slack-desc is same as download but contains the measure tape
----and is supposed to be only eleven lines....needs fixing
5 lib64 has 2 shared object files already stripped and executable
6 usr/bin/openssl already stripped and executable other file also OK
7 usr/doc exists appears same as download package
8 usr/include headers look OK
9 usr/lib64/engines shared objects already stripped and executable
10 usr/lib64/pkgconfig looks OK
11 usr/lib64 for real....has more sym links so doinst.sh postinstall script needs to work later
12 usr/man manpages are gunzipped looks OK
* (3) AFAIK I should not expect (5) to be correct as I have not installed the package
time will tell.
EDIT I forgot to mention that I ran this script as root so the code box is an automatic output, was not an interactive output,
but the ownership appears good as root:root.
edit forgot to add soname.diff.gz to URL section now fixed