cdrtools - Utils used to burn CDs ChangeLog

HOWTO


# cdrtools
# ========
# Slackware 10.0's 'cdrtools' package includes version 2.00.3, 10.1,
# 10.2, and 11.0's include 2.01, 12.0's includes 2.01.01a23

# If you ever want to uninstall cdrtools, or remove files from an old
# version before installing a new one, skip down to the bottom for
# instructions.


# cdrtools 2.01
# =============
cd
test -f installed/cdrtools-2.01.tar.bz2 &&
mv installed/cdrtools-2.01.tar.bz2 .
test ! -f cdrtools-2.01.tar.bz2 &&
wget ftp://ftp.berlios.de/pub/cdrecord/cdrtools-2.01.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "cdrtools-*" -exec rm -r {} \;
tar xjvf ~/cdrtools-2.01.tar.bz2
cd cdrtools-2.01
test $UID = 0 && chown -R root:root .
make INS_BASE=/usr
chmod -R u+w .

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg cdrtools
make install INS_BASE=/usr
chown -R $USER .

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/cdrtools-*.tar.*
mv cdrtools-2.01.tar.bz2 installed/


# cdrtools 2.01.01a35
# ===================
# Occasionally when a kernel is released after the cdrtools development
# version, I've been unable to build a certain development version with a
# certain kernel's headers (/usr/src/linux/include).  I was unable to
# build a03 with kernel 2.6.14.3 for example.  a14 and kernel 2.6.17.3 were
# just fine.

cd
test -f installed/cdrtools-2.01.01a35.tar.bz2 &&
mv installed/cdrtools-2.01.01a35.tar.bz2 .
test ! -f cdrtools-2.01.01a35.tar.bz2 &&
wget ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a35.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "cdrtools-*" -exec rm -r {} \;
tar xjvf ~/cdrtools-2.01.01a35.tar.bz2
cd cdrtools-2.01.01
test $UID = 0 && chown -R root:root .
chmod -R u+w .
make INS_BASE=/usr

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg cdrtools
make install INS_BASE=/usr
chown -R $USER .

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/cdrtools-*.tar.*
mv cdrtools-2.01.01a35.tar.bz2 installed/


# If you ever want to uninstall cdrtools, this should do it:
su
for pfx in /usr /usr/local;
do
  ( cd ${pfx}/bin ; rm -f cdda2wav cdrecord devdump isodebug isodump \
    isoinfo isovfy mkhybrid mkisofs mkzftree readcd scgcheck )
  find ${pfx}/doc -type d -maxdepth 1 -name "cdrtools-*" -exec rm -r {} \;
  find ${pfx}/doc -type d -maxdepth 1 -name "zisofs-tools-*" \
   -exec rm -r {} \;
  ( cd ${pfx}/man/man1 ; rm -f cdda2wav.1 cdrecord.1 mkzftree.1 readcd.1 \
    scgcheck.1 )
  ( cd ${pfx}/man/man8 ; rm -f isoinfo.8 mkhybrid.8 mkisofs.8 )
done
exit
find ~/src -maxdepth 1 -type d -name "cdrtools-*" -exec rm -r {} \;
rm -f ~/installed/cdrtools-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2007-09-05 11:54am
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]