Difference between revisions of "Star"

From CBLFS
Jump to navigationJump to search
Line 20: Line 20:
 
Install the package:
 
Install the package:
  
  make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install
+
  make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
 +
install -dv -m755 /etc/default &&
 +
mv -v /usr/etc/default/{rmt,star} /etc/default &&
 +
rmdir -v --ignore-fail-on-non-empty /usr/etc/default &&
 +
rmdir -v --ignore-fail-on-non-empty /usr/etc
  
 
Fix permissions:
 
Fix permissions:
Line 41: Line 45:
  
 
  make CCOM="gcc" COPTX="${BUILD32}" LDOPTX="${BUILD32}" \
 
  make CCOM="gcc" COPTX="${BUILD32}" LDOPTX="${BUILD32}" \
     INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install  
+
     INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
 +
install -dv -m755 /etc/default &&
 +
mv -v /usr/etc/default/{rmt,star} /etc/default &&
 +
rmdir -v --ignore-fail-on-non-empty /usr/etc/default &&
 +
rmdir -v --ignore-fail-on-non-empty /usr/etc
  
 
Fix permissions:
 
Fix permissions:
Line 62: Line 70:
 
  make CCOM="gcc" COPTX="${BUILDN32}" LDOPTX="${BUILDN32}" \
 
  make CCOM="gcc" COPTX="${BUILDN32}" LDOPTX="${BUILDN32}" \
 
     INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
 
     INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
 +
install -dv -m755 /etc/default &&
 +
mv -v /usr/etc/default/{rmt,star} /etc/default &&
 +
rmdir -v --ignore-fail-on-non-empty /usr/etc/default &&
 +
rmdir -v --ignore-fail-on-non-empty /usr/etc
  
 
Fix permissions:
 
Fix permissions:
Line 80: Line 92:
 
Install the package
 
Install the package
  
  make CCOM="gcc" COPTX="${BUILD64}" LDOPTX="${BUILD64}"\
+
  make CCOM="gcc" COPTX="${BUILD64}" LDOPTX="${BUILD64}" \
     INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install
+
     INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
 +
install -dv -m755 /etc/default &&
 +
mv -v /usr/etc/default/{rmt,star} /etc/default &&
 +
rmdir -v --ignore-fail-on-non-empty /usr/etc/default &&
 +
rmdir -v --ignore-fail-on-non-empty /usr/etc
  
 
Fix permissions:
 
Fix permissions:

Revision as of 08:31, 26 December 2008

Download Source: ftp://ftp.berlios.de/pub/star/star-1.5.tar.bz2

Introduction to Star

A tape archiving program following POSIX standards which backs up Extended Attributes and Access Control Lists on files.

Project Homepage: http://cdrecord.berlios.de/old/private/star.html

Dependencies

Required

Non-Multilib

Compile the package:

make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root

Install the package:

make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
install -dv -m755 /etc/default &&
mv -v /usr/etc/default/{rmt,star} /etc/default &&
rmdir -v --ignore-fail-on-non-empty /usr/etc/default &&
rmdir -v --ignore-fail-on-non-empty /usr/etc

Fix permissions:

chmod 755 /usr/lib/libdeflt.so.1.0 &&
chmod 755 /usr/lib/libfind.so.1.0 &&
chmod 755 /usr/lib/librmt.so.1.0 &&
chmod 755 /usr/lib/schily.so.1.0

Multilib

32Bit

Compile the package:

make CCOM="gcc" COPTX="${BUILD32}" LDOPTX="${BUILD32}" \
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root

Install the package

make CCOM="gcc" COPTX="${BUILD32}" LDOPTX="${BUILD32}" \
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
install -dv -m755 /etc/default &&
mv -v /usr/etc/default/{rmt,star} /etc/default &&
rmdir -v --ignore-fail-on-non-empty /usr/etc/default &&
rmdir -v --ignore-fail-on-non-empty /usr/etc

Fix permissions:

chmod 755 /usr/lib/libdeflt.so.1.0 &&
chmod 755 /usr/lib/libfind.so.1.0 &&
chmod 755 /usr/lib/librmt.so.1.0 &&
chmod 755 /usr/lib/schily.so.1.0

N32

Compile the package:

(find . -name "*.mk"; find . -name Makefile) | xargs sed -i "/^INSDIR=\s*lib$/s/lib/&32/" &&
make CCOM="gcc" COPTX="${BUILDN32}" LDOPTX="${BUILDN32}" \
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root

Install the package

make CCOM="gcc" COPTX="${BUILDN32}" LDOPTX="${BUILDN32}" \
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
install -dv -m755 /etc/default &&
mv -v /usr/etc/default/{rmt,star} /etc/default &&
rmdir -v --ignore-fail-on-non-empty /usr/etc/default &&
rmdir -v --ignore-fail-on-non-empty /usr/etc

Fix permissions:

chmod 755 /usr/lib32/libdeflt.so.1.0 &&
chmod 755 /usr/lib32/libfind.so.1.0 &&
chmod 755 /usr/lib32/librmt.so.1.0 &&
chmod 755 /usr/lib32/schily.so.1.0

64Bit

Compile the package:

(find . -name "*.mk"; find . -name Makefile) | xargs sed -i "/^INSDIR=\s*lib$/s/lib/&64/" &&
make CCOM="gcc" COPTX="${BUILD64}" LDOPTX="${BUILD64}"\
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root

Install the package

make CCOM="gcc" COPTX="${BUILD64}" LDOPTX="${BUILD64}" \
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
install -dv -m755 /etc/default &&
mv -v /usr/etc/default/{rmt,star} /etc/default &&
rmdir -v --ignore-fail-on-non-empty /usr/etc/default &&
rmdir -v --ignore-fail-on-non-empty /usr/etc

Fix permissions:

chmod 755 /usr/lib64/libdeflt.so.1.0 &&
chmod 755 /usr/lib64/libfind.so.1.0 &&
chmod 755 /usr/lib64/librmt.so.1.0 &&
chmod 755 /usr/lib64/schily.so.1.0
Retrieved from "?title=Star&oldid=16503"