[arch-commits] Commit in fdm/repos (3 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 23:35:06 UTC 2018


    Date: Friday, November 9, 2018 @ 23:35:05
  Author: felixonmars
Revision: 405324

archrelease: copy trunk to community-staging-x86_64

Added:
  fdm/repos/community-staging-x86_64/
  fdm/repos/community-staging-x86_64/PKGBUILD
    (from rev 405323, fdm/trunk/PKGBUILD)
  fdm/repos/community-staging-x86_64/openssl-1.1.0.patch
    (from rev 405323, fdm/trunk/openssl-1.1.0.patch)

---------------------+
 PKGBUILD            |   43 +++++++++++++++++++++++++++++++++++++++++++
 openssl-1.1.0.patch |   31 +++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

Copied: fdm/repos/community-staging-x86_64/PKGBUILD (from rev 405323, fdm/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 23:35:05 UTC (rev 405324)
@@ -0,0 +1,43 @@
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Jeff Mickey <jeff at archlinux.org>
+# Contributor: Grigorios Bouzakis <grbzks at gmail.com>
+
+pkgname=fdm
+pkgver=1.9
+pkgrel=4
+pkgdesc='Program to fetch and deliver mail'
+url='https://github.com/nicm/fdm'
+license=('BSD')
+arch=('x86_64')
+depends=('openssl' 'tdb' 'zlib')
+source=("https://github.com/nicm/fdm/releases/download/${pkgver}/fdm-${pkgver}.tar.gz"
+        'openssl-1.1.0.patch')
+sha256sums=('16416c38a9a7e32d187220cc5ae61a51463d5e4e47419c5c513f422523d39914'
+            '334122758841e7d03d691267a634d5b3fda3ab7dbd9852a810349c4ea618b0cb')
+
+options=('!makeflags')
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p1 -i ../openssl-1.1.0.patch
+	autoreconf -fi
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure --prefix=/usr
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	make DESTDIR="${pkgdir}" install
+
+	install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+	sed '3,17p;d' fdm.c > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+	install -d "${pkgdir}/usr/share/doc/${pkgname}"
+	cp -a examples "${pkgdir}/usr/share/doc/${pkgname}"
+}

Copied: fdm/repos/community-staging-x86_64/openssl-1.1.0.patch (from rev 405323, fdm/trunk/openssl-1.1.0.patch)
===================================================================
--- community-staging-x86_64/openssl-1.1.0.patch	                        (rev 0)
+++ community-staging-x86_64/openssl-1.1.0.patch	2018-11-09 23:35:05 UTC (rev 405324)
@@ -0,0 +1,31 @@
+From 070cee8d1efba1ca260777a204fba7cdfe676ca5 Mon Sep 17 00:00:00 2001
+From: Nicholas Marriott <nicholas.marriott at gmail.com>
+Date: Tue, 17 Jan 2017 23:14:03 +0000
+Subject: [PATCH] Look for OPENSSL_init_ssl, from Tomasz Miasko.
+
+---
+ configure.ac | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 5793c2d..161040c 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -93,11 +93,16 @@ if test "x$found_libcrypto" = xno; then
+ 	AC_MSG_ERROR("libcrypto not found")
+ fi
+ AC_SEARCH_LIBS(
+-	SSL_library_init,
++	OPENSSL_init_ssl,
+ 	[ssl],
+ 	found_libssl=yes,
+ 	found_libssl=no
+ )
++AC_SEARCH_LIBS(
++	SSL_library_init,
++	[ssl],
++	found_libssl=yes
++)
+ if test "x$found_libssl" = xno; then
+ 	AC_MSG_ERROR("libssl not found")
+ fi



More information about the arch-commits mailing list