[arch-commits] Commit in libspf2/repos (2 files)

George Rawlinson grawlinson at gemini.archlinux.org
Mon Nov 22 06:23:43 UTC 2021


    Date: Monday, November 22, 2021 @ 06:23:42
  Author: grawlinson
Revision: 1054213

archrelease: copy trunk to community-testing-x86_64

Added:
  libspf2/repos/community-testing-x86_64/
  libspf2/repos/community-testing-x86_64/PKGBUILD
    (from rev 1054212, libspf2/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: libspf2/repos/community-testing-x86_64/PKGBUILD (from rev 1054212, libspf2/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-11-22 06:23:42 UTC (rev 1054213)
@@ -0,0 +1,39 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: svvac <_ at svvac.net>
+
+# NOTE: package version is a pinned commit (titled 'bump to version 1.2.11').
+# this is used due to inactivity upstream and CVE-2021-20314.
+# when/if upstream becomes active again, this package can be re-done in a
+# better way.
+
+pkgname=libspf2
+pkgver=1.2.11
+pkgrel=1
+pkgdesc="Sender Policy Framework record checking library"
+arch=('x86_64')
+url="https://www.libspf2.org/"
+license=('LGPL')
+depends=('glibc' 'libnsl')
+makedepends=('libmilter' 'git')
+source=("$pkgname::git+https://github.com/shevek/libspf2#commit=8131fe140704eaae695e76b5cd09e39bd1dd220b")
+sha512sums=('SKIP')
+
+build() {
+  cd "$pkgname"
+  ./configure --prefix='/usr'
+  make
+}
+
+check() {
+  cd "$pkgname"
+  make check
+}
+
+package() {
+  cd "$pkgname"
+  make DESTDIR="$pkgdir" install
+
+  # remove unused binaries
+  rm -v "${pkgdir}"/usr/bin/*_static "${pkgdir}/usr/bin/spfd" "${pkgdir}/usr/bin/spf_example" "${pkgdir}/usr/bin/spftest"
+}



More information about the arch-commits mailing list