cdrtools / star patches

2001-11-17 Thread Karol Pietrzak

Hello.
Attached are two patches: one for cdrtools, the other for star 
(it will be obvious from the filenames).

The one for cdrtools updates README.linux-shm.  The Linux SHM 
system has changed much,  I believe, and now it uses the TMPFS 
filesystem.  The update contains the help file from, IIRC, linux 

2.4.13.  

The one for star 1.4a08 makes many little non-programming 
corrections, such as spelling, grammar, and consistency.

Feel free to completely ignore this message, but please tell me 
if you make use of these patches in some way.

Thank you for your time.

PS: I tried sending this to [EMAIL PROTECTED] , but I got:

host mailhub.fokus.gmd.de [193.174.154.14]: 550 5.7.1 
<[EMAIL PROTECTED]>... Access denied



--
Karol Pietrzak
PGP KeyID: 3A1446A0


The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

    File information ---
 File:  patches.tar.gz
 Date:  17 Nov 2001, 23:32
 Size:  4493 bytes.
 Type:  Unknown



patches.tar.gz
Description: Binary data


Re: cdrtools RPM

2001-11-17 Thread Karol Pietrzak

On 17 Nov 2001, Danilo Godec wrote:

> How about a src.rpm or a spec fiel? I have an alpha platform and
> I'd like to build the new cdrtools...

Sure... I've gotten more than enough comments from people (Denis 
Pelletier is among them) about offering an SRPM, for at least 
the SPEC file and a diff.

Well, I'm working on that.  Should be up in the next couple of 
days...

--
Karol Pietrzak
PGP KeyID: 3A1446A0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




star 1.4a08 comments / questions / suggestions (was: Re: cdrtools RPM)

2001-11-17 Thread Karol Pietrzak

On 16 Nov 2001, Joerg Schilling wrote:

> How about putting "star" on your list?
> 
> 
> It's bad to see, that currently all Linux systems only have the
> non-standard GNU tar while the standard compilant star is
> available for a long time.

It's up.  Check out 
http://home.earthlink.net/~noodlez84/rpm_packages.html .

It's working, but I have some problems / questions (I couldn't 
find a star mailing list, so I hope I don't get beaten down for 
this post):

1. On my machine, star is SLOW... More than 7x slower on average 
than GNU tar...  That can't be right.

linux:~ # time star -z -x -f star-1.4a08.tar.gz -C=/tmp/
star: 234 blocks + 9216 bytes (total of 2405376 bytes = 
2349.00k).

real0m17.925s
user0m0.420s
sys 0m1.550s
linux:~ # rm -rf /tmp/star-1.4/
linux:~ # time tar --gzip -xf star-1.4a08.tar.gz  -C /tmp/

real0m1.620s
user0m0.460s
sys 0m0.650s
linux:~ # rm -rf /tmp/star-1.4/
linux:~ # time gzip -dc star-1.4a08.tar.gz |  star -x -f - -
C=/tmp/
star: 234 blocks + 9216 bytes (total of 2405376 bytes = 
2349.00k).

real0m15.408s
user0m0.420s
sys 0m1.570s
linux:~ # rm -rf /tmp/star-1.4/
linux:~ # time bzip2 -dc fubar.tar.bz2 |  star -x -f - -C=/tmp/
star: 262 blocks + 0 bytes (total of 2682880 bytes = 2620.00k).

real0m10.099s
user0m2.320s
sys 0m0.970s
linux:/tmp # time star -x -f fubar.tar
star: 262 blocks + 0 bytes (total of 2682880 bytes = 2620.00k).

real0m10.515s
user0m0.060s
sys 0m0.860s
linux:/tmp # rm -rf fubar
linux:/tmp # time tar -xf fubar.tar

real0m0.676s
user0m0.040s
sys 0m0.440s
linux:/tmp #

In the last operation, star used ~15.7% of my RAM (total :32MB). 
 GNU tar only ~2.7%.  I would have no qualms about using star 
over GNU tar if it was faster even if it used more RAM.

2. There are several cool things in GNU tar that don't work in 
star.  Here's a list:
  options  :: star equivalent
  o -cf :: -c -f
  o -xf :: -x -f
  o -C /fubar :: -C=/fubar

IMO, these options should be added if not for user convenience, 
then for GNU tar compatibility.

3. Is there a way to remove files from tar archives using star?

4.  I noticed the following files are installed when 'make 
install'ing Schilling programs:

/usr/include/align.h
/usr/include/avoffset.h
/usr/lib/libdeflt.a
/usr/lib/libfile.a
/usr/lib/libhfs.a
/usr/lib/librscg.a
/usr/lib/libscg.a
/usr/lib/libschily.a
/usr/lib/libunls.a

What are they used for?  Should I include them in my RPMs?  If 
you take a peek at 
http://home.earthlink.net/~noodlez84/rpm_packages.html , I have 
a devel RPM for every Schilling package I compile.  Is this the 
"right" way?

5. Joerg Schilling: I read your GNU tar rant in the rather 
lengthy README.otherbugs, and I must say, I agree with you.  
Even the folks at 'file' know that GNU tar != POSIX tar:

linux:~ # file some_gnu_tar_file.tar
some_gnu_tar_file.tar: GNU tar archive
linux:~ # file some_star_archive.tar
some_star_archive.tar: POSIX tar archive



BTW, I apologize for the length of this message.

--
Karol Pietrzak
PGP KeyID: 3A1446A0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: cdrtools RPM

2001-11-17 Thread Denis Pelletier

On Sat, 17 Nov 2001, Joerg Schilling wrote:

{ >From: Danilo Godec <[EMAIL PROTECTED]>
{
{ >On Thu, 15 Nov 2001, Karol Pietrzak wrote:
{
{ >> I have created RPMs for the latest cdrtools (now 1.11a11) and
{ >> posted them on my website at
{ >> http://home.earthlink.net/~noodlez84/rpm_packages.html .  I have
{ >> been doing this for the last couple of weeks, actually.
{
{ >How about a src.rpm or a spec fiel? I have an alpha platform and I'd like
{ >to build the new cdrtools...
{
{ Do you have any problem?
{
{ I don't understand your statement: cdrtools compiles out of the box
{ on ~ 30 different platforms. Linux/alpha and True64 included

The only thing available on his web site is a i386 binary rpm. What Danilo
would want is a src.rpm (or the spec file to build the src.rpm) so that he
could recompile the src.rpm on his alpha platform and get an alpha.rpm. I
guees that he is using an rpm based linux distribution on his alpha.

Denis
___
Denis Pelletier
Étudiant au doctorat
sciences économiques, Université de Montréal


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: cdrtools RPM

2001-11-17 Thread Joerg Schilling

>From: Danilo Godec <[EMAIL PROTECTED]>

>On Thu, 15 Nov 2001, Karol Pietrzak wrote:

>> I have created RPMs for the latest cdrtools (now 1.11a11) and
>> posted them on my website at
>> http://home.earthlink.net/~noodlez84/rpm_packages.html .  I have
>> been doing this for the last couple of weeks, actually.

>How about a src.rpm or a spec fiel? I have an alpha platform and I'd like
>to build the new cdrtools...

Do you have any problem?

I don't understand your statement: cdrtools compiles out of the box
on ~ 30 different platforms. Linux/alpha and True64 included

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: cdrtools RPM

2001-11-17 Thread Danilo Godec

On Thu, 15 Nov 2001, Karol Pietrzak wrote:

> I have created RPMs for the latest cdrtools (now 1.11a11) and
> posted them on my website at
> http://home.earthlink.net/~noodlez84/rpm_packages.html .  I have
> been doing this for the last couple of weeks, actually.

How about a src.rpm or a spec fiel? I have an alpha platform and I'd like
to build the new cdrtools...

Hopefully it'll build on RedHat 6.1 ...

 Thanks, D.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: cdrtools RPM

2001-11-17 Thread Karol Pietrzak

On 16 Nov 2001, Joerg Schilling wrote:

> There should be recent rpm's fron RedHat too, but I don't know
> the location.

Looking at RPMfind.net, the newest RPM is 1.10.

> Thank you for the SuSE work.

No problem. :)
 
> Well it's a Linux only standard but it is close to that UNIX
> systems do...
> 
> How about putting "star" on your list?

Sure... I just downloaded the source.  I presume 
ftp://ftp.fokus.gmd.de/pub/unix/star/alpha/star-1.4a08-
sspm.tar.gz is the latest version.  I am right?

> It's bad to see, that currently all Linux systems only have the
> non-standard GNU tar while the standard compilant star is
> available for a long time.

Perhaps I am ignorant, but I always assumed GNU tar _was_ 
standards complaint.  Could you send me a link to the standard 
you have in mind?

--
Karol Pietrzak
PGP KeyID: 3A1446A0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]