All pastes #825119 Raw Edit

Miscellany

public text v1 · immutable
#825119 ·published 2007-12-20 10:47 UTC
rendered paste body
<?xml version="1.0"?>
<spec>
 <name>bash</name>
 <group>base/bin</group>
 <group>Applications/Shells</group>
 <summary>The GNU Bourne Again Shell</summary>
 <description>
 The GNU Bourne Again Shell, one of the most common GPL licensed shells
 in use today.
 </description>
 <license>GPL</license>
 <ver>3.2</ver>
 <url>http://www.gnu.org/software/bash/bash.html</url>

 <deps>
  <virtual>libc</virtual>
  <pkg>libreadline>=5.2</pkg>
 </deps>

 <files>
  <src>ftp://ftp.cwru.edu/pub/bash/bash-3.2.tar.gz</src>
  <!-- XXX: maybe we should think of embedding python throughout? -jd -->
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-001</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-002</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-003</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-004</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-005</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-006</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-007</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-008</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-009</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-010</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-011</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-012</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-013</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-014</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-015</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-016</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-017</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-018</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-019</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-020</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-021</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-022</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-023</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-024</patch>
  <patch opts="-Np0">ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/bash32-025</patch>
  <misc>${sys.dist.url.misc}/${spec.name}-${spec.ver}.profile</misc>
  <misc>${sys.dist.url.misc}/${spec.name}-${spec.ver}.bashrc</misc>
  <misc>${sys.dist.url.misc}/${spec.name}-${spec.ver}.skel_profile</misc>
 </files>

 <!-- XXX: </build> MUST not be indented, ideas?! -jd -->
 <rules>
  <build>
os.execvp(conf.tool.make)
</build>
 </rules>
 <output>
  <!-- main binary package -->
  <package name="${spec.name}_${spec.ver}">
   <file dest="${sys.path.bin}/bash" mode="755">${spec.name}-${spec.realver}/bash</file>
   <link type="soft" dest="${sys.path.bin}/sh">${sys.path.bin}/bash</link>
   <!-- Special action 'orphan' for when spec removed, if file changed:
        backup: move to orphan spillfile as filename.backup
        remove: delete the file [default]
   -->
   <file dest="${sys.path.conf}/profile" orphan="backup">${spec.name}-${spec.ver}.profile</file>
   <file dest="${sys.path.conf}/skel/.bashrc" orphan="backup">${spec.name}-${spec.ver}.bashrc</file>
   <file dest="${sys.path.conf}/skel/.bash_profile" orphan="backup">${spec.name}-${spec.realver}.skel_profile</file>
  </package>

  <!-- documentation package -->
  <package name="${spec.name}_${spec.ver}-doc">
   <file dest="${sys.path.man}/man1/bash.1">${spec.name}-${spec.realver}/doc/bash.1</file>
   <file dest="${sys.path.man}/man1/builtins.1">${spec.name}-${spec.realver}/doc/builtins.1</file>
   <file dest="${sys.path.man}/man1/bashbug.1">${spec.name}-${spec.realver}/doc/bashbug.1</file>
   <file dest="${sys.path.man}/man1/rbash.1">${spec.name}-${spec.realver}/doc/rbash.1</file>
  </package>
 </output>
</spec>