LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   [RELEASE] src2pkg-2.7 (http://www.linuxquestions.org/questions/slackware-14/%5Brelease%5D-src2pkg-2-7-a-929504/)

gnashley 02-15-2012 10:47 AM

[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

mlangdn 02-15-2012 06:57 PM

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.

hitest 02-15-2012 07:31 PM

Quote:

Originally Posted by mlangdn (Post 4603511)
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.

Daedra 02-16-2012 12:06 AM

Thanks Gnashley!

Upgrade worked but I am also getting the same error as the above posters.

gnashley 02-16-2012 03:24 AM

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.

solarfields 02-17-2012 04:27 AM

great tool!

brianL 02-17-2012 09:04 AM

Thanks, gnashley.
:hattip:


All times are GMT -5. The time now is 12:29 PM.