[arch-commits] Commit in libytnef/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Mar 18 16:31:49 UTC 2021


    Date: Thursday, March 18, 2021 @ 16:31:48
  Author: heftig
Revision: 410231

archrelease: copy trunk to extra-x86_64

Added:
  libytnef/repos/extra-x86_64/PKGBUILD
    (from rev 410230, libytnef/trunk/PKGBUILD)
Deleted:
  libytnef/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   85 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 51 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-18 16:31:37 UTC (rev 410230)
+++ PKGBUILD	2021-03-18 16:31:48 UTC (rev 410231)
@@ -1,34 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: Andre Klitzing <aklitzing () online () de>
-
-pkgname=libytnef
-pkgver=1.9.3+7+g24fe30e
-pkgrel=2
-pkgdesc="Yerase's TNEF Stream Reader library (decode winmail.dat)"
-url="https://github.com/Yeraze/ytnef"
-license=('GPL')
-arch=('x86_64')
-depends=('glibc')
-makedepends=('perl' git)
-optdepends=('perl: ytnefprocess.pl script')
-_commit=24fe30e592a7a840b415dbbc16ba47c7a882bb38  # master
-source=("git+https://github.com/Yeraze/ytnef/#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd ytnef
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-build() {
-  cd ytnef
-  ./autogen.sh
-  autoreconf -fi
-  ./configure --prefix=/usr --disable-static
-  make
-}
-
-package() {
-  cd ytnef
-  make DESTDIR="$pkgdir" install
-}

Copied: libytnef/repos/extra-x86_64/PKGBUILD (from rev 410230, libytnef/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-18 16:31:48 UTC (rev 410231)
@@ -0,0 +1,51 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Andre Klitzing <aklitzing () online () de>
+
+pkgname=libytnef
+pkgver=1.9.3
+pkgrel=1
+epoch=1
+pkgdesc="Yerase's TNEF Stream Reader library (decodes winmail.dat)"
+url="https://github.com/Yeraze/ytnef"
+license=(GPL)
+arch=(x86_64)
+depends=(glibc)
+makedepends=(perl git)
+optdepends=('perl: ytnefprocess')
+_commit=d9b2f01d125c9b178f7a00ec397cc2a9f258e8e1  # tags/v1.9.3
+source=("git+https://github.com/Yeraze/ytnef#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd ytnef
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd ytnef
+
+  # https://github.com/Yeraze/ytnef/pull/74
+  git cherry-pick -n f7ff4f66a1e6f8a9936aea2add6512c4b23a4261
+
+  # CVE-2021-3404
+  # https://bugs.archlinux.org/task/70056
+  git cherry-pick -n f9ff4a203b8c155d51a208cadadb62f224fba715
+
+  # CVE-2021-3403
+  # https://bugs.archlinux.org/task/70056
+  git cherry-pick -n f2380a53fb84d370eaf6e6c3473062c54c57fac7
+
+  ./autogen.sh
+}
+
+build() {
+  cd ytnef
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package() {
+  cd ytnef
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list