The time now is Thu 23 May 2013, 19:04
All times are UTC - 4 |
| Author |
Message |
Karl Godt

Joined: 20 Jun 2010 Posts: 2677 Location: Kiel,Germany
|
Posted: Sun 22 Apr 2012, 05:53 Post subject:
Add support for other compressions than gzip for dotPets |
|
This is study to support other compressions for .pet .
The current compression used by the petget install utility is gzip/gz .
There had been discussion on the forum to add other/newer compressions .
*
This is a first study of the /usr/local/petget/petget script for supporting these :
| Code: | # ADDS/CHANGES by Karl Godt :
# 1.) usage message, called with $1 "-h" using bash shell
# buittin getopts
# 2.) Support for .pet with other compressions as gzip :
# bzip2,lzop,lzma,xz ;needs altered pet2tgz/tgz2pet,dir2pet
# 3.) though added in later Puppies, have manually adjusted support for .rpm
# 4.) Added support for checking pets in /tmp with extracting them there .
# Code should be nearly the same as in installpkg.sh
# On this installation still a TODO |
| Code: | $0 [-h] FILE_NAME_TO_INSTALL
Puppy Linux .pet installer script .
Needs at least the parameter FILE_NAME_TO_INSTALL.ext
Currently supported file formats/.ext :
original : .pet
new : .b2pet,.lopet,.lapet,.xzpet
other : .tgz,.tar.gz,.deb,.rpm
[unsupported : .pup]
Depends on :
pet2tgz, installpkg.sh, tar, gzip, dpkg-pkg, rpm
[,bzip2,lzop,lzma,xz] |
| Description |
|

Download |
| Filename |
petget.tar.bz2 |
| Filesize |
6.06 KB |
| Downloaded |
204 Time(s) |
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2677 Location: Kiel,Germany
|
Posted: Mon 23 Apr 2012, 05:37 Post subject:
|
|
Today the whole bunch of files ,
working until now :
pet2tgz and similar functions .
Mime handling is handled as a work around by a /root/my-roxapps/mime.sh .
| Description |
|

Download |
| Filename |
files-for-petget.tar.gz |
| Filesize |
24.63 KB |
| Downloaded |
198 Time(s) |
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2677 Location: Kiel,Germany
|
Posted: Sat 23 Jun 2012, 08:51 Post subject:
|
|
first alpha snapshot based on Puppy-430 : likely not bugfree
was fixing several of mine and
one misleading error message in
downloadpkgs.sh
where
ONEFILE was "pet_packages-4/dotpuphandler-0.0.4-2.pet"
changed to
BN_ONEFILE="${ONEFILE##*/}"
if [ -f /root/"$BN_ONEFILE" ];then
also added a function file with three functions from /sbin/pup_event_frontend_d
if /tmp/pup_event_sizefreem file does not exist ie the daemon was stopped by eventmanager .
| Description |
|

Download |
| Filename |
PETGET_PPM_430_KRG-0.1-alpha.tar.bz2 |
| Filesize |
59.1 KB |
| Downloaded |
144 Time(s) |
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|