[arch-commits] Commit in thttpd/trunk (PKGBUILD crypt.patch)
Gaetan Bisson
bisson at archlinux.org
Fri Aug 15 08:40:05 UTC 2014
Date: Friday, August 15, 2014 @ 10:40:04
Author: bisson
Revision: 117432
fix segfault on crypt call
Added:
thttpd/trunk/crypt.patch
Modified:
thttpd/trunk/PKGBUILD
-------------+
PKGBUILD | 7 +++++--
crypt.patch | 11 +++++++++++
2 files changed, 16 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-08-15 08:32:02 UTC (rev 117431)
+++ PKGBUILD 2014-08-15 08:40:04 UTC (rev 117432)
@@ -5,7 +5,7 @@
pkgname=thttpd
pkgver=2.26
-pkgrel=1
+pkgrel=2
pkgdesc='Simple, small, portable, fast, and secure HTTP server'
url='http://www.acme.com/software/thttpd/'
license=('custom:BSD')
@@ -14,11 +14,13 @@
source=("http://www.acme.com/software/thttpd/${pkgname}-${pkgver}.tar.gz"
'forwarded-for.patch'
'discreet.patch'
+ 'crypt.patch'
'service'
'config')
-sha1sums=('72c37d058312465b607d662796d05ea43bc6df37'
+sha1sums=('6acdc827203ab5878743cf0efee818d796ff740e'
'1293fbaf83a489c65d6d2b107d797c687233d96a'
'b954028d4360ad856f7fb1edc8534f0652f33d20'
+ 'ca0779709fe8e765797ad127e49db635a6494763'
'73bd76de0e89a9cc31e5605659837d83b3c8dfde'
'7a6413491b6ba68625d450caa3c6f071af0ca1ac')
@@ -26,6 +28,7 @@
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i ../forwarded-for.patch
patch -p1 -i ../discreet.patch
+ patch -p1 -i ../crypt.patch
sed \
-e 's/^CFLAGS =/CFLAGS +=/' \
-e '/^STATICFLAG =/c STATICFLAG =' \
Added: crypt.patch
===================================================================
--- crypt.patch (rev 0)
+++ crypt.patch 2014-08-15 08:40:04 UTC (rev 117432)
@@ -0,0 +1,11 @@
+diff -Naur old/libhttpd.c new/libhttpd.c
+--- old/libhttpd.c 2014-08-05 07:41:30.000000000 +0900
++++ new/libhttpd.c 2014-08-15 17:33:40.810796296 +0900
+@@ -54,6 +54,7 @@
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <stdarg.h>
++#include <crypt.h>
+
+ #ifdef HAVE_OSRELDATE_H
+ #include <osreldate.h>
More information about the arch-commits
mailing list