pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import libevhtp 1.2.11 required by seafile-server.
Module Name: pkgsrc-wip
Committed By: Daniel Oelschlegel <amoibos%gmail.com@localhost>
Pushed By: amoibos
Date: Sat Jan 14 10:24:03 2017 +0000
Changeset: f10aea2682eda4dfbb05244d00ad5acf2088feee
Added Files:
libevhtp/DESCR
libevhtp/Makefile
libevhtp/PLIST
libevhtp/buildlink3.mk
libevhtp/distinfo
libevhtp/patches/patch-CMakeLists.txt
Log Message:
Import libevhtp 1.2.11 required by seafile-server.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f10aea2682eda4dfbb05244d00ad5acf2088feee
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
libevhtp/DESCR | 3 +++
libevhtp/Makefile | 23 +++++++++++++++++++++++
libevhtp/PLIST | 8 ++++++++
libevhtp/buildlink3.mk | 12 ++++++++++++
libevhtp/distinfo | 7 +++++++
libevhtp/patches/patch-CMakeLists.txt | 14 ++++++++++++++
6 files changed, 67 insertions(+)
diffs:
diff --git a/libevhtp/DESCR b/libevhtp/DESCR
new file mode 100644
index 0000000000..281056d8b7
--- /dev/null
+++ b/libevhtp/DESCR
@@ -0,0 +1,3 @@
+Libevent's http interface was created as a JIT server, never meant to
+be a full-fledged HTTP service. This library attempts to improve on
+that.
diff --git a/libevhtp/Makefile b/libevhtp/Makefile
new file mode 100644
index 0000000000..0e9da524d2
--- /dev/null
+++ b/libevhtp/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+VERSION= 1.2.11
+PKGNAME= libevhtp-${VERSION}
+CATEGORIES= www
+GITHUB_TAG= ${VERSION}
+DISTNAME= ${GITHUB_TAG}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ellzey/}
+
+MAINTAINER= amoibos%gmail.com@localhost
+HOMEPAGE= https://github.com/ellzey/libevhtp
+COMMENT= Flexible replacement for libevent's httpd API
+LICENSE= modified-bsd
+
+DIST_SUBDIR= libevhtp
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+
+USE_CMAKE= yes
+
+USE_LANGUAGES+= c99 c++
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/libevent/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libevhtp/PLIST b/libevhtp/PLIST
new file mode 100644
index 0000000000..98d6b4e9fc
--- /dev/null
+++ b/libevhtp/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+include/evhtp/evhtp-config.h
+include/evhtp/evhtp.h
+include/evhtp/evthr.h
+include/evhtp/htparse.h
+include/evhtp/onigposix.h
+lib/libevhtp.a
+lib/pkgconfig/evhtp.pc
diff --git a/libevhtp/buildlink3.mk b/libevhtp/buildlink3.mk
new file mode 100644
index 0000000000..c064ae9a4e
--- /dev/null
+++ b/libevhtp/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= libevhtp
+
+.if !defined(LIBEVHTP_BUILDLINK3_MK)
+LIBEVHTP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libevhtp+= libevhtp>=1.2.11
+BUILDLINK_PKGSRCDIR.libevhtp?= ../../wip/libevhtp
+.endif # LIBEVHTP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libevhtp
diff --git a/libevhtp/distinfo b/libevhtp/distinfo
new file mode 100644
index 0000000000..7ab278762a
--- /dev/null
+++ b/libevhtp/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (libevhtp/1.2.11.tar.gz) = 9750a39574a0195164f2f84315ae41f0db25ab65
+RMD160 (libevhtp/1.2.11.tar.gz) = dde9dd2f95757403c4952dbae8369fbfea34bb48
+SHA512 (libevhtp/1.2.11.tar.gz) = 849102c9e5ec54f4bbe4b4106e72ddd0864c8636bdd1f821e70d6dc4dc0b8b0039257e67d597199161187d522ff65dc826862adfc7c60e755a1ffa95fcd2ac44
+Size (libevhtp/1.2.11.tar.gz) = 429931 bytes
+SHA1 (patch-CMakeLists.txt) = d329dffb908f2524fc76fe2b384a880e183a4e15
diff --git a/libevhtp/patches/patch-CMakeLists.txt b/libevhtp/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..8cd496eff8
--- /dev/null
+++ b/libevhtp/patches/patch-CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD$
+Disable search for lib_dl
+
+--- CMakeLists.txt.orig 2017-01-14 10:19:31.656873079 +0000
++++ CMakeLists.txt 2017-01-14 10:19:57.737004283 +0000
+@@ -276,7 +276,7 @@
+ find_library (LIB_WS32 ws2_32)
+ set (SYS_LIBS ${SYS_LIBS} ${LIB_WS32})
+ ELSE ()
+- if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
++ if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "BSD$")
+ find_library (LIB_DL dl)
+ set (SYS_LIBS ${LIB_DL})
+ endif()
Home |
Main Index |
Thread Index |
Old Index