LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-06-2020, 08:44 AM   #1
krakanut
Member
 
Registered: Aug 2012
Distribution: The Slackware
Posts: 62

Rep: Reputation: Disabled
Building or obtaining newer packages than available in current or slackbuilds


This all started by seeking a current/secure rdp client for Slackware (64 current). I know we have rdesktop-1.9 which is current release of rdesktop but this seems to be lagging in seciurity issues (wont connect to my Win machine using NTLM). I went to slcakbuilds and found freerdp. I was able to build install and use just fine. however, I see from free rdp website that 2.0.0 has quite a few security issues.

So, as a slacker, what is the best way to use the latest version of freerdp-2.2.0 (or any software for that matter)?

Can I simply download the source for 2.2.0 and change the slackbuild script? Admittedly I tried this and it built but the install file produced a bunch of errors when installing so suspect there is more to this.

Is it better to download source and build on my own? The question here is then it is managed outside slackpkg - not sure of the implications for this in regards to upgrades and such.

Do I need to wait for someone else who has the experience to bring the current package forward?

Other?

I can get around slack fairly well but admittedly do not have much experience in package land as between current, slackbuilds and alien have been finding mostly what I need.

Any thoughst/direction would be appreciated.
 
Old 09-06-2020, 09:46 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
When using Slackware-current, the best source for the most recent SlackBuild script is https://github.com/Ponce/slackbuilds. At this time, the build is for freerdp 2.0.0.
As freerdp is not an official Slackware package, it is not managed by slackpkg.
When a new program version is released, then it requires community support to identify any problems with the SlackBuild script and/or the resulting build. Please provide more details of your issues with freerdp 2.2.0 to this thread.

I feel your pain with RDP support. I got cranky with rdesktop on Slackware 14.2(stable), when after many years, it dropped support for connections to Windows XP (NTLM authentication) and could not support connection to Windows servers with NLA (network level authentication) enabled without PAM. I switched to freerdp on Slackware 14.2 and forced the Windows XP machines to use NTLMv2 authentication.
 
Old 09-06-2020, 04:02 PM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by krakanut View Post
Can I simply download the source for 2.2.0 and change the slackbuild script? Admittedly I tried this and it built but the install file produced a bunch of errors when installing so suspect there is more to this.
FWIW I actually just built it fine like this (just a version-bump to 2.2.0) on a clean and full installation of slackware64-current.

Quote:
Originally Posted by krakanut View Post
however, I see from free rdp website that 2.0.0 has quite a few security issues.
[...]
Any thoughst/direction would be appreciated.
an alternative could be also to ping the maintainer asking him the courtesy of pushing an update to SBo because of the security enhancements of the new versions.

Last edited by ponce; 09-06-2020 at 04:07 PM.
 
Old 09-06-2020, 07:46 PM   #4
krakanut
Member
 
Registered: Aug 2012
Distribution: The Slackware
Posts: 62

Original Poster
Rep: Reputation: Disabled
Thank you guys for the responses. I did try changing the build script to 2.2.0 and it did build but when I tried installing it was giving me a bunch of odd parsing errors (sorry I do not recall details). I tried building with the Ponce script as he confirmed it worked (added -fcommon on line 88) and it built and installed fine. I was thinking the one small change was it so wanted to test. I remove the program, deleted the install file and tried building again using the regular Slackbuild script and low and behold it compiled and installed fine. Not sure what I did wrong in the first place but thank you for helping me along.

I will mark this as solved in that you should at least try changing the version number and run the Slackbuild script against the newer source code.

Last edited by krakanut; 09-06-2020 at 07:51 PM.
 
Old 09-06-2020, 08:21 PM   #5
thirdm
Member
 
Registered: May 2013
Location: Massachusetts
Distribution: Slackware, NetBSD, Debian, 9front
Posts: 316

Rep: Reputation: Disabled
Quote:
Originally Posted by krakanut View Post
I will mark this as solved in that you should at least try changing the version number and run the Slackbuild script against the newer source code.
It's good fun to try this and then to try fixing any problems that pop up. Just did this trying to get the newest zstd, 1.4.5, to build.

What I wonder though is when it is useful to share what you find and when it is better to leave the slackbuild maintainer alone. In my case there's a trivial makefile problem created by an upstream change I didn't fully investigate involving the lib-release target in the lib dir and the shared library not being built for the parallel version build. I hacked around it with an explicit make lib run in the slackbuild script but the Makefile patch should probably be adjusted instead for the real thing.

Probably the maintainer will quickly handle this when he gets to it and in less time and trouble than he'd take to deal with a patch from me, so I opt not to send one. But where do you draw the line between offering useful help and being possibly annoying?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Best practice for running newer version of software than what is available as maintained Slackbuild? otl Slackware 7 04-27-2016 08:10 PM
A tip for building packages with a lot of dependencies from Slackbuilds Lufbery Slackware 7 06-30-2014 08:25 PM
[SOLVED] Building AlienBob's KDE 4.7.2 packages from the Slackbuilds damgar Slackware 7 10-27-2011 12:11 AM
[SOLVED] Building packages for newer versions of Slack madsovenielsen Slackware 2 08-09-2011 03:30 PM
Building slackbuilds.org packages with gcc 4.4.2 ponce Slackware 1 11-05-2009 11:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration