[arch-commits] Commit in opensmtpd-filter-rspamd/repos/community-x86_64 (2 files)
Bruno Pagani
archange at archlinux.org
Mon Dec 21 12:24:52 UTC 2020
Date: Monday, December 21, 2020 @ 12:24:52
Author: archange
Revision: 780956
archrelease: copy trunk to community-x86_64
Added:
opensmtpd-filter-rspamd/repos/community-x86_64/PKGBUILD
(from rev 780955, opensmtpd-filter-rspamd/trunk/PKGBUILD)
Deleted:
opensmtpd-filter-rspamd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 62 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-21 12:24:43 UTC (rev 780955)
+++ PKGBUILD 2020-12-21 12:24:52 UTC (rev 780956)
@@ -1,31 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=filter-rspamd
-pkgname=opensmtpd-${_pkg}
-pkgver=0.1.6
-pkgrel=2
-pkgdesc="OpenSMTPD filter integration for Rspamd"
-arch=(x86_64)
-url=https://github.com/poolpOrg/filter-rspamd
-license=(ISC)
-depends=(glibc rspamd)
-makedepends=(go)
-source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('d452143902c713f2d277651e8322b6da00d8531f32b8c78f7c945b4e9302083df2ad419614ed2a9d4d31270d8edd0c4e9ac8a11c9f470fcf8364347e101ac456')
-
-build() {
- cd ${_pkg}-${pkgver}
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
- go build -v -o ${_pkg}
-}
-
-package() {
- cd ${_pkg}-$pkgver
- install -D filter-rspamd -t "${pkgdir}"/usr/lib/smtpd/opensmtpd
- install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
- install -Dm644 README.md -t "${pkgdir}"/usr/share/doc/${pkgname}/
-}
Copied: opensmtpd-filter-rspamd/repos/community-x86_64/PKGBUILD (from rev 780955, opensmtpd-filter-rspamd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-21 12:24:52 UTC (rev 780956)
@@ -0,0 +1,31 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=filter-rspamd
+pkgname=opensmtpd-${_pkg}
+pkgver=0.1.7
+pkgrel=1
+pkgdesc="OpenSMTPD filter integration for Rspamd"
+arch=(x86_64)
+url=https://github.com/poolpOrg/filter-rspamd
+license=(ISC)
+depends=(glibc rspamd)
+makedepends=(go)
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('7f098450a19b59c97d050c25ff4d2295c7d42b92e8d312867b9734e4f38f99833290e67402dd1f9bccd31ebd6245c6eb1461fbd8434d41dfb791498315b4ebf5')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ go build -v -ldflags "-linkmode external" -o ${_pkg}
+}
+
+package() {
+ cd ${_pkg}-$pkgver
+ install -D filter-rspamd -t "${pkgdir}"/usr/lib/smtpd/opensmtpd
+ install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+ install -Dm644 README.md -t "${pkgdir}"/usr/share/doc/${pkgname}/
+}
More information about the arch-commits
mailing list