Update kcgi to 0.12.1

This commit is contained in:
jturner 2020-05-14 13:38:55 +00:00
parent 951c2668f1
commit 6a0e61b80b
4 changed files with 9 additions and 38 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.53 2020/04/14 19:38:05 stsp Exp $
# $OpenBSD: Makefile,v 1.54 2020/05/14 13:38:55 jturner Exp $
COMMENT = minimal CGI library for web applications
DISTNAME = kcgi-0.12.0
REVISION = 0
DISTNAME = kcgi-0.12.1
CATEGORIES = www
MAINTAINER = James Turner <james@calminferno.net>

View File

@ -1,2 +1,2 @@
SHA256 (kcgi-0.12.0.tgz) = 2a4JbACU0gu2iIC+554P3leyL3eyqD4elnYN0RDvjCc=
SIZE (kcgi-0.12.0.tgz) = 236817
SHA256 (kcgi-0.12.1.tgz) = EcdBOtBdbJbzKuBdofLxHEff1rKwL8xsCCaQYOekXeg=
SIZE (kcgi-0.12.1.tgz) = 243489

View File

@ -1,31 +0,0 @@
$OpenBSD: patch-kcgi_h,v 1.1 2020/04/14 19:38:05 stsp Exp $
Fix build with base-gcc (e.g. on sparc64)
Index: kcgi.h
--- kcgi.h.orig
+++ kcgi.h
@@ -632,19 +632,19 @@ char *khttp_vurlpartx(const char *,
char *kutil_urlabs(enum kscheme, const char *,
uint16_t, const char *)
- __attribute((deprecated("use khttp_urlabs")));
+ __attribute((deprecated));
enum kcgi_err kutil_urldecode(const char *, char **)
- __attribute((deprecated("use khttp_urldecode")));
+ __attribute((deprecated));
enum kcgi_err kutil_urldecode_inplace(char *)
- __attribute((deprecated("use khttp_urldecode_inplace")));
+ __attribute((deprecated));
char *kutil_urlencode(const char *)
- __attribute((deprecated("use khttp_urlencode")));
+ __attribute((deprecated));
char *kutil_urlpart(struct kreq *, const char *,
const char *, const char *, ...)
- __attribute((deprecated("use khttp_urlpart")));
+ __attribute((deprecated));
char *kutil_urlpartx(struct kreq *, const char *,
const char *, const char *, ...)
- __attribute((deprecated("use khttp_urlpartx")));
+ __attribute((deprecated));
void kutil_invalidate(struct kreq *, struct kpair *);

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.16 2020/04/13 14:34:37 jturner Exp $
@comment $OpenBSD: PLIST,v 1.17 2020/05/14 13:38:55 jturner Exp $
include/kcgi.h
include/kcgihtml.h
include/kcgijson.h
@ -41,6 +41,10 @@ lib/pkgconfig/kcgi.pc
@man man/man3/khtml_puts.3
@man man/man3/khtml_write.3
@man man/man3/khttp_body.3
@man man/man3/khttp_datetime2epoch.3
@man man/man3/khttp_epoch2datetime.3
@man man/man3/khttp_epoch2str.3
@man man/man3/khttp_epoch2tms.3
@man man/man3/khttp_fcgi_free.3
@man man/man3/khttp_fcgi_init.3
@man man/man3/khttp_fcgi_parse.3
@ -74,7 +78,6 @@ lib/pkgconfig/kcgi.pc
@man man/man3/kjson_string_open.3
@man man/man3/kjson_string_write.3
@man man/man3/kmalloc.3
@man man/man3/kutil_epoch2str.3
@man man/man3/kutil_invalidate.3
@man man/man3/kutil_log.3
@man man/man3/kutil_openlog.3