LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-10-2007, 01:24 PM   #1
matters
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 281

Rep: Reputation: Disabled
where to download src2pkg


On these links that ive found here i cant anymore download this utility?

Thanks!
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-10-2007, 01:36 PM   #2
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
http://distro.ibiblio.org/pub/linux/...nload/src2pkg/
 
Old 06-11-2007, 06:29 AM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,850

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Just a note to matters- I've just uploaded a new version a few minutes ago. If you've already downloaded version 1.2 be sure to get the latest version 1.3 instead. The 1.2 version has been on the site for a couple of weeks but I hadn't announced it as I was still testing. Finally, last night I uncovered a serious bug in the new installwatch libraries so be sure to use the latest src2pkg-1.3 version which goes back to the old libs.

The link given is the new home of the src2pkg packages and sources. Although I'll probably be making a separate web-page for src2pkg soon, the latest package should always be found in the same place.
 
Old 01-27-2017, 02:51 AM   #4
mfoley
Member
 
Registered: Oct 2008
Posts: 807

Rep: Reputation: 73
how to install src2pkg

I've gone to the site http://distro.ibiblio.org/amigolinux/download/src2pkg/ to download src2pkg. Sorry to be ignorant, but there is little information there. I guess it is assumed that one should instinctively know what to do. So, I beg a little guidance. The site lists:
Code:
Index of /amigolinux/download/src2pkg/
Name                     Last Modified         Size    Type
Parent Directory                                         Directory 
pasture/                 2014-Apr-04 09:12:54    -       Directory
src2pkg-3.0/             2014-Apr-04 13:17:33    -       Directory 
src2pkg-extensions/      2009-Jan-29 05:37:33    -       Directory
src2pkg-ng/              2009-Dec-20 13:22:12    -       Directory 
CHANGES                  2014-Apr-04 11:05:59    29.8K   application/octet-stream
ChangeLog                2014-Apr-04 11:05:33    233.3K  application/octet-stream
src2pkg-3.0-noarch-2.txz 2014-Apr-04 14:40:12    2.7M    application/octet-stream
The src2pkg-3.0 seems to contain packages for other distros, debian, chromium, etc.

src2pkg-3.0-noarch-2.txz seems to be the likely candidate for Slackware though nothing on the site itself specifically says that.

When I download and examine the txz file, it has LOTS of files, starting apparently at the root:
Code:
$ tar -tvf src2pkg-3.0-noarch-2.txz
drwxr-xr-x root/root         0 2014-04-04 14:40 ./
drwxr-xr-x root/root         0 2014-04-04 14:40 install/
-rw-r--r-- root/root       587 2011-07-24 13:39 install/slack-desc
-rw-r--r-- root/root      4771 2014-04-04 14:40 install/doinst.sh
drwxr-xr-x root/root         0 2014-04-04 14:40 etc/
drwxr-xr-x root/root         0 2014-04-04 14:40 etc/src2pkg/
-rw-r--r-- root/root       502 2014-03-15 14:21 etc/src2pkg/DONT_PURGE.locales.new
-rw-r--r-- root/root     26654 2013-08-26 06:52 etc/src2pkg/src2pkg.conf.new
-rw-r--r-- root/root      1009 2014-01-09 13:13 etc/src2pkg/sysdirs.conf.new
drwxr-xr-x root/root         0 2014-04-04 14:40 usr/
drwxr-xr-x root/root         0 2014-04-04 14:40 usr/bin/
-rwxr-xr-x root/root     25686 2014-03-25 14:58 usr/bin/src2pkg
-rwxr-xr-x root/root      5005 2013-11-26 10:53 usr/bin/src2pkg-dnd
There are no obvious instructions for installing. What do I do, simply untar this at the root?

Do I untar it into a staging directory and run install/doinst.sh?

Last edited by mfoley; 01-27-2017 at 02:58 AM.
 
Old 01-27-2017, 03:33 AM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,158

Rep: Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271
src2pkg-3.0-noarch-2.txz is a Slackware package. Install it with installpkg.

PS But you could as well use slacktrack, included in Slackware, written by Stuart Winter aka drmozes @ LQ.

To know more:
Code:
man slacktrack

Last edited by Didier Spaier; 01-27-2017 at 03:41 AM. Reason: PS added.
 
Old 01-27-2017, 03:36 AM   #6
kjhambrick
Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 778

Rep: Reputation: 273Reputation: 273Reputation: 273
mfoley --

I don't have time to see for myself, but looking at the contents of src2pkg-3.0-noarch-2.txz that you listed below it looks like a candidate for `installpkg src2pkg-3.0-noarch-2.txz`

HOWEVER, I don't ever run installpkg on Packages from unknown sources without first checking the install/doinst.sh file !

What I would do if I had time is:

Code:
mkdir /tmp/src2pkg
cd /tmp/src2pkg
tar -xvf /path/to/src2pkg-3.0-noarch-2.txz
Then I would inspect /tmp/src2pkg/install/doinst.sh to look for scary stuff.

If it looks 'safe' ... then: installpkg /path/to/src2pkg-3.0-noarch-2.txz

And eventually I might even clean up my mess: rm -rf /tmp/src2pkg

HTH.

-- kjh

Last edited by kjhambrick; 01-27-2017 at 03:38 AM. Reason: move line
 
Old 01-27-2017, 09:21 AM   #7
hitest
LQ Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 5,065

Rep: Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034Reputation: 1034
Quote:
Originally Posted by kjhambrick View Post

HOWEVER, I don't ever run installpkg on Packages from unknown sources without first checking the install/doinst.sh file !

jh
The src2pkg utility is very useful; gnashley is a long time well-respected member of our forum. I trust his work.
 
3 members found this post helpful.
Old 01-27-2017, 01:30 PM   #8
kjhambrick
Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 778

Rep: Reputation: 273Reputation: 273Reputation: 273
Thanks hitest.

I didn't know gnashley was the author ... I do trust gnashley

As a rule however, I still like look at the doinst.sh scripts before doing installpkg from a new source

-- kjh
 
1 members found this post helpful.
Old 01-28-2017, 03:20 AM   #9
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,850

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
There used to be a wiki for src2pkg, but we let the domain expire some time ago. Basically it was a re-organized version of the docs included with src2pkg. Indeed, the *.txz archive is an installable slackware-type package. The package does not included the binaries used by src2pkg. After installing the package, you must run 'src2pkg --setup' (as root) which will compile the needed binaries, create a package of them and install it for you. Then you are ready to go.
The most basic use is to simply run:
src2pkg path/to/archive
or even:
src2pkg URL-of-archive

There are many, many options to src2pkg for nearly every imaginable case. The best way to experiment with them is by using src2pkg to build some sources which are easy and fast to build, without extra dependencies. That way you can quickly see what the options do.

Read the docs for more examples and explainers.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
'src2pkg' Converts sources to installable packages gnashley Slackware 34 12-23-2007 06:13 AM
New release of PkgBuild src2pkg trackinstall gnashley Slackware 19 01-27-2007 03:32 PM
PkgBuild/src2pkg upgrade gnashley Slackware - Installation 1 10-20-2006 07:28 AM
PkgBuild & src2pkg upgrade gnashley Slackware 5 09-23-2006 03:31 AM
Restricting Download based on total download using Squid,SARG& Webmin jomy Linux - Networking 0 04-27-2005 06:04 AM


All times are GMT -5. The time now is 09:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration