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 02-15-2012, 10:47 AM   #1
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
[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 03:25 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-15-2012, 06:57 PM   #2
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
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, 07:31 PM   #3
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
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, 12:06 AM   #4
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Thanks Gnashley!

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

Original Poster
Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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, 04:27 AM   #6
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
great tool!
 
Old 02-17-2012, 09:04 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Thanks, gnashley.
 
  


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

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

All times are GMT -5. The time now is 01:56 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