From 402660492aa228ad08bb6321d49af27b1b845e28 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Tue, 8 Nov 2016 21:28:07 +0000 Subject: Remove expired port: 2016-09-07 ftp/curl-hiphop: useful only for removed hiphop-php --- ftp/curl-hiphop/Makefile | 34 ---------- ftp/curl-hiphop/files/extra-patch-hiphop | 105 ------------------------------- ftp/curl-hiphop/pkg-descr | 3 - ftp/curl-hiphop/pkg-plist | 10 --- 4 files changed, 152 deletions(-) delete mode 100644 ftp/curl-hiphop/Makefile delete mode 100644 ftp/curl-hiphop/files/extra-patch-hiphop delete mode 100644 ftp/curl-hiphop/pkg-descr delete mode 100644 ftp/curl-hiphop/pkg-plist (limited to 'ftp/curl-hiphop') diff --git a/ftp/curl-hiphop/Makefile b/ftp/curl-hiphop/Makefile deleted file mode 100644 index 8ecc4acce343..000000000000 --- a/ftp/curl-hiphop/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -# Created by: Martin Matuska -# $FreeBSD$ - -PKGNAMESUFFIX= -hiphop - -MAINTAINER= mm@FreeBSD.org -COMMENT= Static libcurl with custom patches for HipHop - -BROKEN= fails to build -DEPRECATED= useful only for removed hiphop-php -EXPIRATION_DATE= 2016-09-07 - -SSP_UNSAFE= Refuses -l in LDFLAGS - -BUILDING_HIPHOP= yes - -HIPHOP_DIR= share/hiphop-php -EXTRA_PATCHES= ${.CURDIR}/files/extra-patch-hiphop -GNU_CONFIGURE_PREFIX= ${PREFIX}/${HIPHOP_DIR}/ext -CONFIGURE_ARGS+= --disable-shared --enable-static -PLIST_SUB+= HIPHOP_DIR="${HIPHOP_DIR}" -PLIST= ${.CURDIR}/pkg-plist -DESCR= ${.CURDIR}/pkg-descr - -MASTERDIR= ${.CURDIR}/../curl - -do-install: -.for dir in include lib - @cd ${WRKSRC}/${dir} && \ - ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ - ${MAKE_ARGS} ${INSTALL_TARGET} -.endfor - -.include "${MASTERDIR}/Makefile" diff --git a/ftp/curl-hiphop/files/extra-patch-hiphop b/ftp/curl-hiphop/files/extra-patch-hiphop deleted file mode 100644 index c14e2068f8f6..000000000000 --- a/ftp/curl-hiphop/files/extra-patch-hiphop +++ /dev/null @@ -1,105 +0,0 @@ ---- include/curl/multi.h.orig 2013-06-23 04:32:16.000000000 +0800 -+++ include/curl/multi.h 2013-08-18 01:15:02.455786067 +0800 -@@ -161,6 +161,19 @@ - int *ret); - - /* -+ * Name: curl_multi_select() -+ * -+ * Desc: Calls select() or poll() internally so app can call -+ * curl_multi_perform() as soon as one of them is ready. This is to -+ * fix FD_SETSIZE problem curl_multi_fdset() has. -+ * -+ * Returns: CURLMcode type, general multi error code. -+ */ -+CURL_EXTERN CURLMcode curl_multi_select(CURLM *multi_handle, -+ int timeout_ms, -+ int *ret); -+ -+ /* - * Name: curl_multi_perform() - * - * Desc: When the app thinks there's data available for curl it calls this ---- lib/multi.c.orig 2013-08-10 05:41:42.000000000 +0800 -+++ lib/multi.c 2013-08-18 01:15:02.458784982 +0800 -@@ -922,6 +922,80 @@ - return CURLM_OK; - } - -+CURLMcode curl_multi_select(CURLM *multi_handle, int timeout_ms, int *ret) { -+ struct Curl_multi *multi=(struct Curl_multi *)multi_handle; -+ struct SessionHandle *easy; -+ curl_socket_t sockbunch[MAX_SOCKSPEREASYHANDLE]; -+ int bitmap; -+ int i; -+ unsigned int nfds = 0; -+ struct pollfd *ufds; -+ int nret = -1; -+ -+ if(!GOOD_MULTI_HANDLE(multi)) -+ return CURLM_BAD_HANDLE; -+ -+ easy=multi->easyp->next; -+ while(easy != &multi->easyp) { -+ bitmap = multi_getsock(easy, sockbunch, MAX_SOCKSPEREASYHANDLE); -+ -+ for(i=0; i< MAX_SOCKSPEREASYHANDLE; i++) { -+ curl_socket_t s = CURL_SOCKET_BAD; -+ -+ if(bitmap & GETSOCK_READSOCK(i)) { -+ ++nfds; -+ s = sockbunch[i]; -+ } -+ if(bitmap & GETSOCK_WRITESOCK(i)) { -+ ++nfds; -+ s = sockbunch[i]; -+ } -+ if(s == CURL_SOCKET_BAD) { -+ break; -+ } -+ } -+ -+ easy = easy->next; /* check next handle */ -+ } -+ -+ ufds = (struct pollfd *)malloc(nfds * sizeof(struct pollfd)); -+ nfds = 0; -+ -+ easy=multi->easyp->next; -+ while(easy != &multi->easyp) { -+ bitmap = multi_getsock(easy, sockbunch, MAX_SOCKSPEREASYHANDLE); -+ -+ for(i=0; i< MAX_SOCKSPEREASYHANDLE; i++) { -+ curl_socket_t s = CURL_SOCKET_BAD; -+ -+ if(bitmap & GETSOCK_READSOCK(i)) { -+ ufds[nfds].fd = sockbunch[i]; -+ ufds[nfds].events = POLLIN; -+ ++nfds; -+ s = sockbunch[i]; -+ } -+ if(bitmap & GETSOCK_WRITESOCK(i)) { -+ ufds[nfds].fd = sockbunch[i]; -+ ufds[nfds].events = POLLOUT; -+ ++nfds; -+ s = sockbunch[i]; -+ } -+ if(s == CURL_SOCKET_BAD) { -+ break; -+ } -+ } -+ -+ easy = easy->next; /* check next handle */ -+ } -+ -+ nret = Curl_poll(ufds, nfds, timeout_ms); -+ free(ufds); -+ if (ret) { -+ *ret = nret; -+ } -+ return CURLM_OK; -+} -+ - static CURLMcode multi_runsingle(struct Curl_multi *multi, - struct timeval now, - struct SessionHandle *easy) diff --git a/ftp/curl-hiphop/pkg-descr b/ftp/curl-hiphop/pkg-descr deleted file mode 100644 index 7b47816cc95e..000000000000 --- a/ftp/curl-hiphop/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -This is a static version of the libcurl library for use with lang/hiphop-php - -WWW: https://github.com/facebook/hiphop-php/wiki/ diff --git a/ftp/curl-hiphop/pkg-plist b/ftp/curl-hiphop/pkg-plist deleted file mode 100644 index 07bcea266bdc..000000000000 --- a/ftp/curl-hiphop/pkg-plist +++ /dev/null @@ -1,10 +0,0 @@ -%%HIPHOP_DIR%%/ext/include/curl/curl.h -%%HIPHOP_DIR%%/ext/include/curl/curlbuild.h -%%HIPHOP_DIR%%/ext/include/curl/curlrules.h -%%HIPHOP_DIR%%/ext/include/curl/curlver.h -%%HIPHOP_DIR%%/ext/include/curl/easy.h -%%HIPHOP_DIR%%/ext/include/curl/mprintf.h -%%HIPHOP_DIR%%/ext/include/curl/multi.h -%%HIPHOP_DIR%%/ext/include/curl/stdcheaders.h -%%HIPHOP_DIR%%/ext/include/curl/typecheck-gcc.h -%%HIPHOP_DIR%%/ext/lib/libcurl.a -- cgit v1.2.3