Subject: [alpine-devel] [PATCH] testing/openswan: upgrade to 2.6.38

From: Borys Zhukov <[email-masked]>
Date: Mon, 9 Apr 2012 07:31:43 +0000

---
 testing/openswan/APKBUILD    |   12 ++++++------
 testing/openswan/setup.patch |    4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/testing/openswan/APKBUILD b/testing/openswan/APKBUILD
index ffd0a5a..91bb0b1 100644
--- a/testing/openswan/APKBUILD
+++ b/testing/openswan/APKBUILD
@@ -1,17 +1,17 @@
 # Contributor: Danilo Godec <[email-masked]>
-# Maintainer:
+# Maintainer: Borys Zhukov <[email-masked]>
 pkgname=openswan
-pkgver=2.6.37
+pkgver=2.6.38
 pkgrel=0
 pkgdesc="IPsec Implementation which Allows Building of VPNs"
 url="http://www.openswan.org/"
 arch="all"
 license="GPL"
-depends=""
+depends="perl lsof"
 makedepends="gmp-dev bison flex coreutils bash"
 install=""
 subpackages="$pkgname-doc"
-source="http://www.openswan.org/download/$pkgname-$pkgver.tar.gz
+source="http://download.openswan.org/openswan/$pkgname-$pkgver.tar.gz
 	ipsec.initd setup.patch"
 
 _builddir="$srcdir"/$pkgname-$pkgver
@@ -45,6 +45,6 @@ package() {
 	cp -aR docs/* "$pkgdir"/usr/share/doc/$pkgname/
 
 }
-md5sums="e5c948555088df06cfadcfbe6c13adfe  openswan-2.6.37.tar.gz
+md5sums="13073eb5314b83a31be88e4117e8bbcd  openswan-2.6.38.tar.gz
 f019d1fa23627d54462054fedc9de03b  ipsec.initd
-fd3cd27f9da9140fabd935377c3d6921  setup.patch"
+5b9b126f0480388e0c6c7cb9dd62926e  setup.patch"
diff --git a/testing/openswan/setup.patch b/testing/openswan/setup.patch
index 86ff6d8..1239a88 100644
--- a/testing/openswan/setup.patch
+++ b/testing/openswan/setup.patch
@@ -1,5 +1,5 @@
---- openswan-2.6.35-orig/programs/setup/Makefile
-+++ openswan-2.6.35/programs/setup/Makefile
+--- openswan-2.6.35/programs/setup/Makefile
++++ openswan-2.6.38/programs/setup/Makefile
 @@ -36,8 +36,7 @@
  	# check the directories we need exist (ie., make install DESTDIR=/tmp/IPsec)
  	@mkdir -p $(RCDIR) $(BINDIR)
-- 
1.7.7.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Timo Teras <[email-masked]>
Date: Mon, 9 Apr 2012 10:49:43 +0300

Hi,

On Mon,  9 Apr 2012 07:31:43 +0000 Borys Zhukov <[email-masked]> wrote:

> diff --git a/testing/openswan/setup.patch
> b/testing/openswan/setup.patch index 86ff6d8..1239a88 100644
>   	# check the directories we need exist (ie., make install
> DESTDIR=/tmp/IPsec) @mkdir -p $(RCDIR) $(BINDIR)

Applied without the modification to the setup.patch; the patch file's
versions are ignored (it's applied with -p1).

-Timo

---