<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[HyperForum — [libarchive] Proposal for removal of Zstandard]]></title>
		<link>https://forums.hyperbola.info/viewtopic.php?id=376</link>
		<atom:link href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=376&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [libarchive] Proposal for removal of Zstandard.]]></description>
		<lastBuildDate>Sun, 31 May 2020 16:07:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [libarchive] Proposal for removal of Zstandard]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=1996#p1996</link>
			<description><![CDATA[<p>Seems <strong>tor-lts</strong> needs to be recompiled also when removing <strong>Zstandard</strong>.</p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Sun, 31 May 2020 16:07:49 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=1996#p1996</guid>
		</item>
		<item>
			<title><![CDATA[[libarchive] Proposal for removal of Zstandard]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=1982#p1982</link>
			<description><![CDATA[<p>Well, the project <strong>Zstandard</strong> maybe licensed permissive and free. But this doesn&#039;t make the project itself free from ethical slurs and having a dependency onto <strong>Facebook</strong> doesn&#039;t make this better in any way. So this is an alternative for a removal of this dependency from the package <strong>zstd</strong> itself:</p><div class="codebox"><pre><code># Maintainer (Arch): Bartłomiej Piotrowski &lt;bpiotrowski@archlinux.org&gt;
# Maintainer (Arch): Dan McGee &lt;dan@archlinux.org&gt;
# Maintainer: André Silva &lt;emulatorman@hyperbola.info&gt;

pkgname=libarchive
pkgver=3.3.3
_debver=3.3.3
_debrel=4+deb10u1
pkgrel=1.hyperbola5
pkgdesc=&#039;Multi-format archive and compression library, with libressl support and without support for zstd&#039;
arch=(i686 x86_64)
url=&#039;https://libarchive.org/&#039;
license=(Simplified-BSD)
depends=(acl attr bzip2 expat lz4 libressl xz zlib)
makedepends=(quilt)
provides=(libarchive.so)
source=(&quot;https://libarchive.org/downloads/$pkgname-$pkgver.tar.gz&quot;
        &quot;https://deb.debian.org/debian/pool/main/liba/libarchive/libarchive_$_debver-$_debrel.debian.tar.xz&quot;)
sha512sums=(&#039;9d12b47d6976efa9f98e62c25d8b85fd745d4e9ca7b7e6d36bfe095dfe5c4db017d4e785d110f3758f5938dad6f1a1b009267fd7e82cb7212e93e1aea237bab7&#039;
            &#039;8896c0a06535f41ba86669fc407f7c4091e0fbf0a6adf2f2cec33afa7c68dd944563e92eb87cec978cb6e89ee3bd64b4fafe7692d062bd3c416fb7afdbd48182&#039;)

prepare() {
  cd $pkgname-$pkgver
  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS=&#039;-p ab --no-timestamps --no-index&#039;
    export QUILT_DIFF_ARGS=&#039;--no-timestamps&#039;

    mv &quot;$srcdir&quot;/debian .

    quilt push -av
  fi
  autoreconf -fi
}

build() {
  cd $pkgname-$pkgver
  ./configure \
      --prefix=/usr \
      --without-xml2 \
      --without-nettle \
      --without-zstd \
      --disable-static

  make
}

check() {
  cd $pkgname-$pkgver
  make check
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR=&quot;$pkgdir&quot; install
  install -Dm644 COPYING &quot;$pkgdir/usr/share/licenses/libarchive/COPYING&quot;
}</code></pre></div><p>No need for getting this into the repositories, it is just a <strong>proposal</strong> for interested.</p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Thu, 28 May 2020 23:32:50 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=1982#p1982</guid>
		</item>
	</channel>
</rss>
