Difference between revisions of "Star"

From CBLFS
Jump to navigationJump to search
(Archiving program capable of backing up Extended Attributes and Access Control Lists.)
 
(19 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| URL http://cdrecord.berlios.de/old/private/star.html
+
|ftp://ftp.berlios.de/pub/star/star-{{Star-Version}}.tar.bz2
 
|-
 
|-
 
|}
 
|}
  
----
+
{{Package-Introduction|A tape archiving program following POSIX standards which backs up Extended Attributes and Access Control Lists on files.|http://cdrecord.berlios.de/old/private/star.html}}
 
 
Star - A tape archiving program which backs up Extended Attributes and Access Control Lists on files. Follows POSIX standards.
 
 
 
----
 
 
 
 
== Dependencies ==
 
== Dependencies ==
  
 
=== Required ===
 
=== Required ===
ACL
+
* [[acl]]
 
 
== Configuration Information ==
 
 
 
{|
 
|-
 
|''--enable-someoption:'' brief description of the non-default functionality provided by someoption.
 
|-
 
|''--disable-someotheroption:'' brief description of the default functionality removed by disabling someotheroption.
 
|-
 
|''--with-somepackage=DIR:''
 
|}
 
 
 
'''<font style="color: green">Generally speaking, CBLFS packages are installed in the /usr hierarchy although there are some exceptions.  Even if you passed --prefix=/home/fubar/stuff/CBLFS/is/really/awesome/some/package/version/5.0/hope/this/works to the configure script, please use --prefix=/usr for the wiki.  Thanks.  Also, the instructions presume that the source package has been retrieved to the local machine, unpacked, and you have cd'd to the top of the source tree.  Generally, we don't need those instructions unless there is something very unique about the process for the package you are adding.</font>'''
 
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 34: Line 16:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr &&
+
  make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root
make
 
  
 
Install the package:
 
Install the package:
  
  make 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
  
 
== Multilib ==
 
== Multilib ==
 
'''<font style="color: green">If appropriate, add this line:</font>'''
 
 
'''''This package does not provide any libraries so only one installation is required.'''''
 
 
'''<font style="color: green">If package documentation is not installed by the 'make install' step, only include the commands to install the documentation in the 64-bit section.</font>'''
 
  
 
=== 32Bit ===
 
=== 32Bit ===
Line 53: Line 32:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  make CCOM="gcc" COPTX="${BUILD32}" LDOPTX="${BUILD32}" \
make
+
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root
  
Install the package:
+
Install the package
  
  make install
+
  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
  
 
=== N32 ===
 
=== N32 ===
Line 64: Line 48:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
+
  (find . -name "*.mk"; find . -name Makefile) | xargs sed -i "/^INSDIR=\s*lib$/s/lib/&32/" &&
     --libdir=/usr/lib32 &&
+
make CCOM="gcc" COPTX="${BUILDN32}" LDOPTX="${BUILDN32}" \
make
+
     INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root
  
Install the package:
+
Install the package
  
  make install
+
  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
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 76: Line 65:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr \
+
  (find . -name "*.mk"; find . -name Makefile) | xargs sed -i "/^INSDIR=\s*lib$/s/lib/&64/" &&
    --libdir=/usr/lib64 &&
+
  make CCOM="gcc" COPTX="${BUILD64}" LDOPTX="${BUILD64}"\
  make
+
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root
 
 
Install the package:
 
 
 
make install
 
 
 
== Configuring ==
 
 
 
'''<font style="color: green">This section should contain information about the post-installation configuration of a package, bootscript(s), other files, creating directories.  Omit this section if there is no post-installation configuration required.</font>'''
 
 
 
== Contents ==
 
 
 
'''<font style="color: green">You can find a script [[User:Weibullguy|here]] that can be used to make creating this table reasonably pain free.</font>'''
 
  
{| style="text-align: left;"
+
Install the package
|-valign="top"
 
!Installed Directories:
 
|/path/to/dir
 
|-valign="top"
 
!Installed Programs:
 
|Program 1, Program 2
 
|-valign="top"
 
!Installed Libraries:
 
|library1.{a,so}, library2.{a,so}
 
|}
 
  
=== Short Descriptions ===
+
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
  
{| style="text-align: left;"
+
[[Category:General Utilities]]
|-valign="top"
 
!Program 1
 
|is a program that converts pennies to dollars.
 
|-valign="top"
 
!Program 2
 
|is a program that converts dollars to pennies.
 
|-valign="top"
 
!library1.{so,a}
 
|is a library that contains functions necessary to convert from dollars to pennies and vice versa.
 
|}
 

Latest revision as of 14:03, 19 March 2009

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

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

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

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
Retrieved from "?title=Star&oldid=17274"