Package Details: postfix-policyd-spf-perl 2.011-1

Git Clone URL: https://aur.archlinux.org/postfix-policyd-spf-perl.git (read-only, click to copy)
Package Base: postfix-policyd-spf-perl
Description: Postfix SPF policy engine, written in Perl
Upstream URL: https://launchpad.net/postfix-policyd-spf-perl/
Licenses: GPL
Submitter: Magotchi
Maintainer: None
Last Packager: Magotchi
Votes: 5
Popularity: 0.056648
First Submitted: 2015-08-14 15:36
Last Updated: 2018-09-12 14:51

Latest Comments

Magotchi commented on 2019-10-31 14:23

Actually, now I realize why I disowned this package a long time ago. If you want to adopt it, go for it, but I highly recommend you stick to MD5.

Magotchi commented on 2019-10-29 22:04

I may make some of those adjustments soon, note that with the usage of md5sums, that's due to only MD5 being provided upstream, as far as I can tell: https://launchpad.net/postfix-policyd-spf-perl/+download . Note the Arch policy at https://wiki.archlinux.org/index.php/PKGBUILD#Integrity .

Megver83 commented on 2019-10-29 21:17

Good pkg, but please fix the following:

  • md5sums is too weak, use sth. like sha256sums or sha512sums
  • Install the CHANGES, INSTALL and README files as they provide useful info
  • Install LICENSE
  • Debian and Ubuntu install it at /usr/sbin, so in Arch it should be in /usr/bin (also python-postfix-policyd-spf installs its binary there)

This is my version of the PKGBUILD:

# Maintainer: Zach Callear <zach@callear.org>
# Original Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=postfix-policyd-spf-perl
pkgver=2.011
pkgrel=1
pkgdesc='Postfix SPF policy engine, written in Perl'
arch=(i686 x86_64)
url='<https://launchpad.net/postfix-policyd-spf-perl/>'
license=(GPL)
depends=(perl-mail-spf perl-netaddr-ip perl-sys-hostname-long)
source=("<https://launchpad.net/postfix-policyd-spf-perl/trunk/>${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"{,.asc})
sha512sums=('22fc00bf74912056a67e937a460ac1fd878f1cb1a3bfa7b19bc5f1e6bc1c36d815dcf8c945e818d242ed5e72a6295bb0e1569446e06b09aefb2842993b8016ba'
            'SKIP')
validpgpkeys=(E7729BFFBE85400FEEEE23B178D7DEFB9AD59AF1) # Scott Kitterman

package() {
  cd "${pkgname}-${pkgver}"

  install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
  install -Dm644 CHANGES INSTALL README -t "${pkgdir}/usr/share/doc/${pkgname}"
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

Magotchi commented on 2015-08-14 15:43

This is a copy of Sergej Pupykin's version of the package, but I edited the upstream URL and description.