LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-15-2012, 11:47 AM   #1
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
[RELEASE] src2pkg-2.7


After two months of intensive development, src2pkg-2.7 is now released. The last release was only in December, but I started coding wildy the very next day...

Most of the changes are related to package-splitting and the new kiss *.tpkg format, but there were a few small bug-fixes which affected all package formats.

From the CHANGES file:
== Version 2.7 == 15 Feb 2012

This version fixes a couple of minor bugs and adds many
enhancements for the KISS-linux 'tpkg' package format.
Some of that code was separated from routines for
Slackware packages, so the Slackware routines are cleaner.

Notes on upgrading:
As user root, run 'src2pkg --setup' after upgrading
from any earlier version.

Some new configuration options have been implemented,
so check the new configuration file against any existing one.

The full ChangeLog is here:
http://distro.ibiblio.org/amigolinux...2pkg/ChangeLog

The installable package for Slackware is here:
http://distro.ibiblio.org/amigolinux...7-noarch-2.txz

Last edited by gnashley; 02-16-2012 at 04:25 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-15-2012, 07:57 PM   #2
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,386

Rep: Reputation: 181Reputation: 181
Thanks gnashley!

However, there was this on running "src2pkg --setup:"

Code:
/usr/libexec/src2pkg/FUNCTIONS: line 275: syntax error near unexpected token `}'
/usr/libexec/src2pkg/FUNCTIONS: line 275: `}'
/usr/src/src2pkg/src2pkg-helpers/src2pkg.setup: line 601: get_flags: command not found
The upgrade went ok, including src2pkg-helpers.
 
Old 02-15-2012, 08:31 PM   #3
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,282

Rep: Reputation: 588Reputation: 588Reputation: 588Reputation: 588Reputation: 588Reputation: 588
Quote:
Originally Posted by mlangdn View Post
Thanks gnashley!

However, there was this on running "src2pkg --setup:"

Code:
/usr/libexec/src2pkg/FUNCTIONS: line 275: syntax error near unexpected token `}'
/usr/libexec/src2pkg/FUNCTIONS: line 275: `}'
/usr/src/src2pkg/src2pkg-helpers/src2pkg.setup: line 601: get_flags: command not found
The upgrade went ok, including src2pkg-helpers.
Thanks, gnashley.
Upgrade went ok for me as well. I encountered those errors as well.
 
Old 02-16-2012, 01:06 AM   #4
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,226

Rep: Reputation: 187Reputation: 187
Thanks Gnashley!

Upgrade worked but I am also getting the same error as the above posters.
 
Old 02-16-2012, 04:24 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Original Poster
Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
Thanks guys, it is fixed now. I wasn't getting the error using my lil' old bash3 here... Tried with bash4 and got the same errors. Finding the real problem can be hell with this type of error because bash usually lies about the line number or even which file when *lots* of functions are involved.

Line 135 of /usr/libexec/src2pkg/FUNCTIONS is missing a closing curly bracket:
case $LINE in *' ') LINE=$(echo ${LINE:0:$((${#LINE}-1))) ;; esac
should be:
case $LINE in *' ') LINE=$(echo ${LINE:0:$((${#LINE}-1))}) ;; esac

There is an updated package at:
http://distro.ibiblio.org/amigolinux...7-noarch-2.txz

Links have been fixed in the original post.
 
4 members found this post helpful.
Old 02-17-2012, 05:27 AM   #6
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 494

Rep: Reputation: 132Reputation: 132
great tool!
 
Old 02-17-2012, 10:04 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,139
Blog Entries: 52

Rep: Reputation: Disabled
Thanks, gnashley.
 
  


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
[RELEASE] src2pkg-2.6 gnashley Slackware 15 07-17-2012 01:14 PM
[ RELEASE ] src2pkg-2.5 is released gnashley Slackware 25 08-12-2011 03:17 PM
[Announce] src2pkg-1.9.7 release gnashley Slackware 11 01-31-2009 02:57 AM
New src2pkg release available for download -Introducing the src2pkg WIKI gnashley Slackware 11 05-06-2008 12:09 PM
New release of PkgBuild src2pkg trackinstall gnashley Slackware 19 01-27-2007 04:32 PM


All times are GMT -5. The time now is 10:23 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration