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

Evangelos Foutras foutrelis at archlinux.org
Mon Mar 13 21:18:43 UTC 2017


    Date: Monday, March 13, 2017 @ 21:18:41
  Author: foutrelis
Revision: 216139

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

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

----------------------------------------------+
 community-staging-i686/PKGBUILD              |   44 +++++++++++++++++++++++++
 community-staging-i686/openssl-1.1.0.patch   |   31 +++++++++++++++++
 community-staging-x86_64/PKGBUILD            |   44 +++++++++++++++++++++++++
 community-staging-x86_64/openssl-1.1.0.patch |   31 +++++++++++++++++
 4 files changed, 150 insertions(+)

Copied: fdm/repos/community-staging-i686/PKGBUILD (from rev 216138, fdm/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-03-13 21:18:41 UTC (rev 216139)
@@ -0,0 +1,44 @@
+# $Id$
+# 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=3
+pkgdesc='Program to fetch and deliver mail'
+url='https://github.com/nicm/fdm'
+license=('BSD')
+arch=('i686' '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-i686/openssl-1.1.0.patch (from rev 216138, fdm/trunk/openssl-1.1.0.patch)
===================================================================
--- community-staging-i686/openssl-1.1.0.patch	                        (rev 0)
+++ community-staging-i686/openssl-1.1.0.patch	2017-03-13 21:18:41 UTC (rev 216139)
@@ -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

Copied: fdm/repos/community-staging-x86_64/PKGBUILD (from rev 216138, fdm/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-03-13 21:18:41 UTC (rev 216139)
@@ -0,0 +1,44 @@
+# $Id$
+# 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=3
+pkgdesc='Program to fetch and deliver mail'
+url='https://github.com/nicm/fdm'
+license=('BSD')
+arch=('i686' '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 216138, 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	2017-03-13 21:18:41 UTC (rev 216139)
@@ -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