[Slapt-get-devel] Patch to skip

Alec Thomas alec at swapoff.org
Wed May 5 11:40:04 EDT 2004


Hmmm,

Sorry about that. For some reason, the PACKAGES.TXT I had at the root of
my slackware-current mirror had lines like this:

	PACKAGE NAME:  bash-completion-20040331-noarch-1.tgz 
	PACKAGE LOCATION:  ./extra/bash-completion
	PACKAGE SIZE (compressed):  64 K
	PACKAGE SIZE (uncompressed):  245760 K
	PACKAGE DESCRIPTION:
	# HOW TO EDIT THIS FILE:
	# The "handy ruler" below makes it easier to edit a package description.  Line
	# up the first '|' above the ':' following the base package name, and the '|' on
	# the right side marks the last column you can put a character in.  You must mak
	# exactly 11 lines for the formatting to be correct.  It's also customary to
	# leave one space after the ':'.

				   |-----handy-ruler------------------------------------------------
	bash-completion: bash-completion
	bash-completion:
	bash-completion: Adds programmable completion to the bash shell.  A new file cal
	bash-completion: /etc/bash_completion will be sourced for interactive bash shell
	bash-completion: adding all sorts of enhanced command completion features.  Once
	bash-completion: installed, you may get a list of all commands that have associa
	bash-completion: completions with 'complete -p', and examine the code for the sh
	bash-completion: functions with 'declare -f'.

Needless to say, this caused havoc with slapt-get. Bizarre. Anyway, all is well now after an rsync.

Regards,
Alec

On Wed, May 05, 2004 at 11:17:06AM -0400, Jason Woodward wrote:
> Hi Alec,
>
> I think the reason your patch becomes needed is you seem to have deviated from the 0.9.8d
> release.  In your patch you are replacing a line:
>
> -	if (strncmp(getline_buffer, tmp_pkg->description, strlen(tmp_pkg->description))) continue;
>
> But in the official 0.9.8d release, this same line is:
>
> if( strcmp(getline_buffer,"\n") != 0 && (strlen(tmp_pkg->description) + bytes_read) <
> DESCRIPTION_LEN){
>
> I haven't seen those ruler lines with the base code.  This is also why your patch fails to
> apply to a clean 0.9.8d source tree.
>
>
> thanks and take care,
> jason
>
>
> --
> Jason Woodward
> woodwardj at jaos.org
>
> -----BEGIN PGP PUBLIC KEY BLOCK-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> mQGi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ew2Z5ZRPfDLv64kKPIGNgVXsAHirH2KjChZat4VC
> qkZciEYEGBECAAYFAjrwHP0ACgkQa7bah1Sn+h7qkQCePz0ds5O/dsZrm450pjLs
> 2V3BkMAAn2/6alBBC9b9F94svdOf0mGY/G5w
> =4p8c
> -----END PGP PUBLIC KEY BLOCK-----
>
> my($c, at s)=(0,qw( | / - \ ));$|++;my$p;&{sub{map{$p.=chr$_}
> unpack(join('a',('',split(//,$_->[1]))),$_->[0]);}}foreach
> [qw/74117115116 2333/],[qw/65110111116104101114 2333333/],
> [qw/80101114108 2333/],[qw/729799107101114 222333/];{my$z=
> $c<4?$s[$c++]:$s [$c=0];printf"\ec%s%s%s",$z,$p,$z,select*
> STDOUT,*STDOUT,*STDOUT,0.1,;redo;}##########JAPH##########


--
Evolution: Taking care of those too stupid to take care of themselves.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://software.jaos.org/pipermail/slapt-get-devel/attachments/20040506/d05ad0cf/attachment.pgp


More information about the Slapt-get-devel mailing list