Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 24 May 2013, 05:26
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Add support for other compressions than gzip for dotPets
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
Karl Godt


Joined: 20 Jun 2010
Posts: 2678
Location: Kiel,Germany

PostPosted: 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]
petget.tar.bz2
Description 
bz2

 Download 
Filename  petget.tar.bz2 
Filesize  6.06 KB 
Downloaded  204 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


Joined: 20 Jun 2010
Posts: 2678
Location: Kiel,Germany

PostPosted: 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 .
files-for-petget.tar.gz
Description 
gz

 Download 
Filename  files-for-petget.tar.gz 
Filesize  24.63 KB 
Downloaded  198 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


Joined: 20 Jun 2010
Posts: 2678
Location: Kiel,Germany

PostPosted: 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 .
PETGET_PPM_430_KRG-0.1-alpha.tar.bz2
Description 
bz2

 Download 
Filename  PETGET_PPM_430_KRG-0.1-alpha.tar.bz2 
Filesize  59.1 KB 
Downloaded  144 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

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
[ Time: 0.0448s ][ Queries: 12 (0.0056s) ][ GZIP on ]