Skip to content
  • LibArchive Upstream's avatar
    libarchive 3.0.1-r3950 (reduced) · 2f4a3792
    LibArchive Upstream authored and Brad King's avatar Brad King committed
    Extract upstream libarchive using the following shell code.
    
    url=https://libarchive.googlecode.com/svn/trunk
    v=3.0.1
    r=3950
    paths="
      CMakeLists.txt
      COPYING
      CTestConfig.cmake
      build/cmake
      build/pkgconfig
      build/utils
      build/version
      libarchive/*.*
    "
    date=$(svn log -q -c$r $url |
           sed -n "/^r/ {s/[^|]*|[^|]*|//;p;}")
    svn export -r$r $url libarchive-$v-r$r &&
    mkdir libarchive-$v-r$r-reduced &&
    (cd libarchive-$v-r$r && tar c $paths) |
    (cd libarchive-$v-r$r-reduced && tar x)
    echo "r$r date: $date"
    2f4a3792