summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2016-11-08 21:28:07 +0000
committerRene Ladan <rene@FreeBSD.org>2016-11-08 21:28:07 +0000
commit402660492aa228ad08bb6321d49af27b1b845e28 (patch)
tree573e574d48ff116bab76412341f0d7e6ffcd686a /ftp
parentChase py-sqlalchemy06 expiration (diff)
Remove expired port:
2016-09-07 ftp/curl-hiphop: useful only for removed hiphop-php
Notes
Notes: svn path=/head/; revision=425765
Diffstat (limited to 'ftp')
-rw-r--r--ftp/Makefile1
-rw-r--r--ftp/curl-hiphop/Makefile34
-rw-r--r--ftp/curl-hiphop/files/extra-patch-hiphop105
-rw-r--r--ftp/curl-hiphop/pkg-descr3
-rw-r--r--ftp/curl-hiphop/pkg-plist10
5 files changed, 0 insertions, 153 deletions
diff --git a/ftp/Makefile b/ftp/Makefile
index 84bc7a012069..66d9d56912e4 100644
--- a/ftp/Makefile
+++ b/ftp/Makefile
@@ -14,7 +14,6 @@
SUBDIR += cftp
SUBDIR += cmdftp
SUBDIR += curl
- SUBDIR += curl-hiphop
SUBDIR += curlpp
SUBDIR += dmachine
SUBDIR += fastdfs
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 <mm@FreeBSD.org>
-# $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