[arch-commits] Commit in (5 files)

Bruno Pagani archange at archlinux.org
Sun May 30 13:41:12 UTC 2021


    Date: Sunday, May 30, 2021 @ 13:41:12
  Author: archange
Revision: 950377

Initial addition of opensmtpd-filter-dkimsign to [community]

Added:
  opensmtpd-filter-dkimsign/
  opensmtpd-filter-dkimsign/repos/
  opensmtpd-filter-dkimsign/trunk/
  opensmtpd-filter-dkimsign/trunk/LICENSE
  opensmtpd-filter-dkimsign/trunk/PKGBUILD

----------+
 LICENSE  |   13 +++++++++++++
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

Added: opensmtpd-filter-dkimsign/trunk/LICENSE
===================================================================
--- opensmtpd-filter-dkimsign/trunk/LICENSE	                        (rev 0)
+++ opensmtpd-filter-dkimsign/trunk/LICENSE	2021-05-30 13:41:12 UTC (rev 950377)
@@ -0,0 +1,13 @@
+Copyright (c) 2019 Martijn van Duren <martijn at openbsd.org>
+
+Permission to use, copy, modify, and distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Added: opensmtpd-filter-dkimsign/trunk/PKGBUILD
===================================================================
--- opensmtpd-filter-dkimsign/trunk/PKGBUILD	                        (rev 0)
+++ opensmtpd-filter-dkimsign/trunk/PKGBUILD	2021-05-30 13:41:12 UTC (rev 950377)
@@ -0,0 +1,31 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Maarten de Vries <maarten at de-vri.es>
+
+_pkg=filter-dkimsign
+pkgname=opensmtpd-${_pkg}
+pkgver=0.5
+pkgrel=1
+pkgdesc="OpenSMTPD filter for signing mail with DKIM"
+license=(BSD)
+url="https://imperialat.at/dev/filter-dkimsign/"
+arch=(x86_64)
+depends=(libopensmtpd openssl)
+makedepends=(gzip)
+source=(https://distfiles.sigtrap.nl/${_pkg}-${pkgver}.tar.gz
+        LICENSE)
+sha512sums=('35293bc51c6026c6846952ddf3a0fc92c99c88e9a573676e3e46034761318f32fe86563c2607175909c331ff0c1e2e6603173e286574a922528eae92bf6a4064'
+            '24ffeb515e767416728adf4f02aac9b6305447ff4ce8acdfb1ecb8321f76e261e5a536b20df9acec90542e3c3f30e259c0d11cd99d401eb154fd5faf89a6e125')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  export CFLAGS="${CFLAGS} -I/usr/include/libopensmtpd"
+  make -f Makefile.gnu
+  gzip -kf filter-dkimsign.8
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  install -Dm755 filter-dkimsign -t "${pkgdir}"/usr/lib/smtpd/opensmtpd/
+  install -Dm644 filter-dkimsign.8.gz -t "${pkgdir}"/usr/share/man/man8/
+  install -Dm644 ../LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



More information about the arch-commits mailing list