diff options
Diffstat (limited to 'fdm/APKBUILD')
| -rw-r--r-- | fdm/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/fdm/APKBUILD b/fdm/APKBUILD new file mode 100644 index 0000000..f2b604d --- /dev/null +++ b/fdm/APKBUILD @@ -0,0 +1,47 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=fdm +pkgver=2.2 +pkgrel=2 +pkgdesc="A simple lightweight tool of fetching, filtering and delivering emails" +url="https://github.com/nicm/fdm" +arch="all" +license="ISC" +makedepends=" + openssl-dev>3 + pcre2-dev + tdb-dev + zlib-dev + " +subpackages="$pkgname-doc" +source="https://github.com/nicm/fdm/releases/download/$pkgver/fdm-$pkgver.tar.gz + 0001-Fix-bugs-in-PCRE2-code-don-t-walk-off-the-end-of-the.patch + 0002-Fix-use-after-free-GitHub-issue-126.patch + 0004-Send-UTF8-command-to-POP3-server-ignore-the-response.patch +" +build() { + CFLAGS="$CFLAGS -flto=auto" \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --enable-pcre2 + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums=" +13efa0f272c5f6146b90e094602e8a9b52016af79ae0b6cd80dc9f36b2ba37f64cadae7313bd8db90bcb007dd07206a3614987f11bb82c3535e04f0511c9fc6d fdm-2.2.tar.gz +12bb3cd5d5365c5811f6a165596d1ff08974dcef81f4529acfa366a0d90a8f26904b704622c16ceb56c4c0a790c8bb47f1b63c5bcf01e6bc78008c03a07a2a28 0001-Fix-bugs-in-PCRE2-code-don-t-walk-off-the-end-of-the.patch +f04d61f89ba1bdbc390cc34c50d3ee748fe3cb8746925925bfeb353b0b09feb678d10730e735797592d5fa013d41bcf941770bd8f26f342e7664d339d5a3e16d 0002-Fix-use-after-free-GitHub-issue-126.patch +b17cd601611fdfc4d47282b7846eba225cd76950c81b1f410ebea604900d9571703af4d8e45e31edcf5a50ced7b8ca978ce4ca71ce806cf69732100ac7c301df 0004-Send-UTF8-command-to-POP3-server-ignore-the-response.patch +" |
