[arch-commits] Commit in libopensmtpd/repos (3 files)
Bruno Pagani
archange at archlinux.org
Sun May 30 13:17:18 UTC 2021
Date: Sunday, May 30, 2021 @ 13:17:18
Author: archange
Revision: 950376
archrelease: copy trunk to community-x86_64
Added:
libopensmtpd/repos/community-x86_64/
libopensmtpd/repos/community-x86_64/LICENSE
(from rev 950375, libopensmtpd/trunk/LICENSE)
libopensmtpd/repos/community-x86_64/PKGBUILD
(from rev 950375, libopensmtpd/trunk/PKGBUILD)
----------+
LICENSE | 13 +++++++++++++
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
Copied: libopensmtpd/repos/community-x86_64/LICENSE (from rev 950375, libopensmtpd/trunk/LICENSE)
===================================================================
--- community-x86_64/LICENSE (rev 0)
+++ community-x86_64/LICENSE 2021-05-30 13:17:18 UTC (rev 950376)
@@ -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.
Copied: libopensmtpd/repos/community-x86_64/PKGBUILD (from rev 950375, libopensmtpd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-05-30 13:17:18 UTC (rev 950376)
@@ -0,0 +1,37 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Maarten de Vries <maarten at de-vri.es>
+
+pkgname=libopensmtpd
+pkgver=0.6
+pkgrel=2
+pkgdesc="Library for creating opensmtd filters"
+license=(BSD)
+url="https://imperialat.at/dev/libopensmtpd/"
+arch=(x86_64)
+depends=(libevent)
+makedepends=(gzip)
+source=(https://distfiles.sigtrap.nl/${pkgname}-${pkgver}.tar.gz
+ LICENSE)
+sha512sums=('2204f1b35558342a214310338fb0c8d9f574697412162270c0a92a9a0a02cd5d317c63e630959525ff4ae3f8d1d3d5664dcd38442292256182926dcc8ce613f8'
+ '24ffeb515e767416728adf4f02aac9b6305447ff4ce8acdfb1ecb8321f76e261e5a536b20df9acec90542e3c3f30e259c0d11cd99d401eb154fd5faf89a6e125')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ make -f Makefile.gnu
+ gzip -kf osmtpd_run.3
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -Dm755 libopensmtpd.so -t "${pkgdir}"/usr/lib
+ install -Dm644 osmtpd_run.3.gz -t "${pkgdir}"/usr/share/man/man3/
+ install -Dm644 ../LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+
+ (
+ shopt -s globstar nullglob
+ for header in **/*.h; do
+ dir=$(dirname ${header})
+ install -Dm644 ${header} -t "${pkgdir}"/usr/include/libopensmtpd/${dir}
+ done
+ )
+}
More information about the arch-commits
mailing list