Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-23-2014, 12:35 PM
|
#1
|
Member
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 518
Rep:
|
tips on updating openssl on unsupported release of slack
for one reason or another, I have a 9.1 install running still and while upgating my other boxes with the usual slackpkg upgrade [whatever package] routine, I thought, hey what about my 9.1
So sparing the reasons, would I simply be looking to uninstall the current openssl
Code:
removepkg openssl
[compile new one]
./config
make
make install
or do I need to add any additional options, install locations or so?
And finally, what about the openssl-solibs
Thanks in advance...
|
|
|
04-23-2014, 01:23 PM
|
#2
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
|
You may not need to, depending upon the version you have installed: look at my original post at http://www.linuxquestions.org/questi...4/#post5148814.
9.1's most likely not vulnerable.
Hope this helps some.
|
|
|
04-23-2014, 01:31 PM
|
#4
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557
|
If you do find you need to, you could grab the SlackBuild from a supported version (tweak it to use tgz instead of txz) and then use that to make a package.
|
|
|
04-23-2014, 01:54 PM
|
#5
|
Member
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 308
Rep:
|
Can't edit my previous post for some reason...
The oldest installation I have is Slamd64 12.1 and the build script for 13.37 worked for me, so for 32 bit that would be this one:
ftp://ftp.slackware.com/pub/slackwar...ource/openssl/
Just grab the whole directory and remember to these two instances of containing txz with tgz:
Code:
/sbin/makepkg -l y -c n $TMP/${NAME1}.txz
Code:
/sbin/makepkg -l y -c n $TMP/${NAME2}.txz
|
|
1 members found this post helpful.
|
04-23-2014, 02:05 PM
|
#6
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557
|
Quote:
Originally Posted by ruario
If you do find you need to, you could grab the SlackBuild from a supported version (tweak it to use tgz instead of txz) and then use that to make a package.
|
Here is the full set of steps:
Code:
$ mkdir -p /tmp/staging
$ cd /tmp/staging
$ lftp -c 'open http://mirrors.slackware.com/slackware/slackware-13.37/patches/source/; mirror -x ".*\.mirrorlist" openssl'
Tweak openssl.SlackBuild to produce an .tgz package instead of a .txz package:
Code:
$ sed -i '/makepkg/s/txz$/tgz/' /tmp/staging/openssl/openssl.SlackBuild
Switch to root and run the SlackBuild:
Code:
$ su -
# cd /tmp/staging/openssl
# sh openssl.SlackBuild
Upgrade the openssl packages:
Code:
# upgradepkg /tmp/openssl-*0.9.8y-*.tgz
Last edited by ruario; 04-23-2014 at 02:22 PM.
Reason: I wrote a more complete example
|
|
|
04-23-2014, 02:06 PM
|
#7
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
|
You can go to http://ftp.osuosl.org/pub/slackware/...ches/packages/ (or some other favorite mirror) and download
Code:
[ ] openssl-0.9.7l-i486-1_slack9.1.tgz 29-Sep-2006 04:03 2.8M
[TXT] openssl-0.9.7l-i486-1_slack9.1.tgz.asc 29-Sep-2006 04:03 189
[TXT] openssl-0.9.7l-i486-1_slack9.1.txt 29-Sep-2006 04:03 561
[ ] openssl-solibs-0.9.7l-i486-1_slack9.1.tgz 29-Sep-2006 04:03 677K
[TXT] openssl-solibs-0.9.7l-i486-1_slack9.1.tgz.asc 29-Sep-2006 04:03 189
[TXT] openssl-solibs-0.9.7l-i486-1_slack9.1.txt 29-Sep-2006 04:03 678
and use those to
Code:
upgradepkg openssl*.t?z
Those are the last Slackware patches for 9.1.
Alternately, you can grab the source from http://ftp.osuosl.org/pub/slackware/...ource/openssl/, get the 0.9.8y source from @fskmsh's post above, edit the SlackBuild in the source directory and build the packages from there (you'd edit the version number in the SlackBuild).
May or may not be worth bothering with, though (are you running an https web page on that box or are you using that box to connect to https web sites?).
Hope this helps some.
|
|
|
04-26-2014, 03:50 AM
|
#8
|
Member
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 518
Original Poster
Rep:
|
Thanks for all help/posts above, I am running 0.9.71 so guessing will just leave alone, really should get the box offline but still running a couple of sites on there from so long ago.
Thanks
|
|
|
All times are GMT -5. The time now is 07:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|