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

Evangelos Foutras foutrelis at archlinux.org
Wed Mar 2 19:14:11 UTC 2016


    Date: Wednesday, March 2, 2016 @ 20:14:11
  Author: foutrelis
Revision: 164232

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

Added:
  httperf/repos/community-staging-i686/
  httperf/repos/community-staging-i686/PKGBUILD
    (from rev 164231, httperf/trunk/PKGBUILD)
  httperf/repos/community-staging-i686/use-SSLv23_client_method.patch
    (from rev 164231, httperf/trunk/use-SSLv23_client_method.patch)
  httperf/repos/community-staging-x86_64/
  httperf/repos/community-staging-x86_64/PKGBUILD
    (from rev 164231, httperf/trunk/PKGBUILD)
  httperf/repos/community-staging-x86_64/use-SSLv23_client_method.patch
    (from rev 164231, httperf/trunk/use-SSLv23_client_method.patch)

---------------------------------------------------------+
 community-staging-i686/PKGBUILD                         |   36 ++++++++++++++
 community-staging-i686/use-SSLv23_client_method.patch   |   13 +++++
 community-staging-x86_64/PKGBUILD                       |   36 ++++++++++++++
 community-staging-x86_64/use-SSLv23_client_method.patch |   13 +++++
 4 files changed, 98 insertions(+)

Copied: httperf/repos/community-staging-i686/PKGBUILD (from rev 164231, httperf/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-03-02 19:14:11 UTC (rev 164232)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
+# Contributor: Essien Ita Essien <me at essienitaessien.com>
+# Contributor: Peter Baldwin <bald_pete at hotmail.com>
+
+pkgname=httperf
+pkgver=0.9.0
+pkgrel=7
+pkgdesc='A tool for measuring web server performance.'
+arch=('i686' 'x86_64')
+license=('GPL2')
+url='http://code.google.com/p/httperf'
+depends=('openssl')
+source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz"
+        'use-SSLv23_client_method.patch')
+md5sums=('2968c36b9ecf3d98fc1f2c1c9c0d9341'
+         '4b7cd4bd707c322f73333e34f0302b76')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../use-SSLv23_client_method.patch
+}
+
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: httperf/repos/community-staging-i686/use-SSLv23_client_method.patch (from rev 164231, httperf/trunk/use-SSLv23_client_method.patch)
===================================================================
--- community-staging-i686/use-SSLv23_client_method.patch	                        (rev 0)
+++ community-staging-i686/use-SSLv23_client_method.patch	2016-03-02 19:14:11 UTC (rev 164232)
@@ -0,0 +1,13 @@
+diff -uprb httperf-0.9.0.orig/src/httperf.c httperf-0.9.0/src/httperf.c
+--- httperf-0.9.0.orig/src/httperf.c	2007-04-07 10:01:56.000000000 +0300
++++ httperf-0.9.0/src/httperf.c	2016-03-02 21:09:57.376029451 +0200
+@@ -808,7 +808,8 @@ main (int argc, char **argv)
+       SSLeay_add_ssl_algorithms ();
+ 
+       /* for some strange reason, SSLv23_client_method () doesn't work here */
+-      ssl_ctx = SSL_CTX_new (SSLv3_client_method ());
++      /* hopefully the above comment is a lie */
++      ssl_ctx = SSL_CTX_new (SSLv23_client_method ());
+       if (!ssl_ctx)
+ 	{
+ 	  ERR_print_errors_fp (stderr);

Copied: httperf/repos/community-staging-x86_64/PKGBUILD (from rev 164231, httperf/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-03-02 19:14:11 UTC (rev 164232)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
+# Contributor: Essien Ita Essien <me at essienitaessien.com>
+# Contributor: Peter Baldwin <bald_pete at hotmail.com>
+
+pkgname=httperf
+pkgver=0.9.0
+pkgrel=7
+pkgdesc='A tool for measuring web server performance.'
+arch=('i686' 'x86_64')
+license=('GPL2')
+url='http://code.google.com/p/httperf'
+depends=('openssl')
+source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz"
+        'use-SSLv23_client_method.patch')
+md5sums=('2968c36b9ecf3d98fc1f2c1c9c0d9341'
+         '4b7cd4bd707c322f73333e34f0302b76')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../use-SSLv23_client_method.patch
+}
+
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: httperf/repos/community-staging-x86_64/use-SSLv23_client_method.patch (from rev 164231, httperf/trunk/use-SSLv23_client_method.patch)
===================================================================
--- community-staging-x86_64/use-SSLv23_client_method.patch	                        (rev 0)
+++ community-staging-x86_64/use-SSLv23_client_method.patch	2016-03-02 19:14:11 UTC (rev 164232)
@@ -0,0 +1,13 @@
+diff -uprb httperf-0.9.0.orig/src/httperf.c httperf-0.9.0/src/httperf.c
+--- httperf-0.9.0.orig/src/httperf.c	2007-04-07 10:01:56.000000000 +0300
++++ httperf-0.9.0/src/httperf.c	2016-03-02 21:09:57.376029451 +0200
+@@ -808,7 +808,8 @@ main (int argc, char **argv)
+       SSLeay_add_ssl_algorithms ();
+ 
+       /* for some strange reason, SSLv23_client_method () doesn't work here */
+-      ssl_ctx = SSL_CTX_new (SSLv3_client_method ());
++      /* hopefully the above comment is a lie */
++      ssl_ctx = SSL_CTX_new (SSLv23_client_method ());
+       if (!ssl_ctx)
+ 	{
+ 	  ERR_print_errors_fp (stderr);



More information about the arch-commits mailing list