[Slackbuilds-users] makepasswd (0.5.3) Slackbuilds Script

Willy Sudiarto Raharjo willysr at slackbuilds.org
Tue Apr 14 08:47:09 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/14/2015 11:41 AM, B Watson wrote:
> On 4/13/15, freeze at riseup.net <freeze at riseup.net> wrote:
>> i changed the slackbuilds script in line 45 from
>> 
>> tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
>> 
>> to
>> 
>> tar xvf $CWD/$PRGNAM-$VERSION.tar
>> 
>> and the script worked properly.
>> 
>> Hope this helps and can be changed for future users.
> 
> No need to change anything. You downloaded the file with a web
> browser, which "helpfully" gunzipped it for you.
> 
> $ grep DOWNLOAD= makepasswd.info 
> DOWNLOAD="http://defora.org/os/download/download/4323/makepasswd-0.5.3
.tar.gz"
>
>  It's a gzipped tarball, try downloading it with wget or curl... or
> if possible, turn off the browser's automatic gunzipping.
> 
> $ file makepasswd-0.5.3.tar.gz makepasswd-0.5.3.tar.gz: gzip
> compressed data, from Unix, last modified: Tue Dec 17 22:31:18
> 2013

downloading from browser also caused the file to corrupt even when
it's downloaded successfully

tar xvf makepasswd-0.5.3.tar.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
willysr at office:~$ rm makepasswd-0.5.3.tar.gz
rm: remove regular file ‘makepasswd-0.5.3.tar.gz’? y
willysr at office:~$ wget
http://defora.org/os/download/download/4323/makepasswd-0.5.3.tar.gz
- --2015-04-14 15:45:53--
http://defora.org/os/download/download/4323/makepasswd-0.5.3.tar.gz
Connecting to 192.168.3.1:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 21425 (21K) [application/x-compressed-tar]
Saving to: ‘makepasswd-0.5.3.tar.gz’

makepasswd-0.5.3.tar.gz
100%[==================================================================>
]
 20.92K  63.0KB/s   in 0.3s

2015-04-14 15:45:54 (63.0 KB/s) - ‘makepasswd-0.5.3.tar.gz’ saved
[21425/21425]

willysr at office:~$ tar xvf makepasswd-0.5.3.tar.gz
makepasswd-0.5.3/doc/Makefile
makepasswd-0.5.3/doc/docbook.sh
makepasswd-0.5.3/doc/makepasswd.xml
makepasswd-0.5.3/doc/project.conf
makepasswd-0.5.3/src/makepasswd.c
makepasswd-0.5.3/src/Makefile
makepasswd-0.5.3/src/project.conf
makepasswd-0.5.3/Makefile
makepasswd-0.5.3/config.h
makepasswd-0.5.3/config.sh
makepasswd-0.5.3/COPYING
makepasswd-0.5.3/project.conf


- -- 
Willy Sudiarto Raharjo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlUs1A0ACgkQiHuDdNczM4F8ggCgmGAmf7ZsYEHjV1VJyuFVX90t
RoYAmwTAHMlxYgar1zkVQP9fGlVkdV2O
=o8eR
-----END PGP SIGNATURE-----


More information about the SlackBuilds-users mailing list