diff options
| author | Michael Forney <mforney@mforney.org> | 2016-12-11 16:04:20 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-12-13 23:10:30 -0800 |
| commit | 293f5a93b77d92fd65db7f3d0df654f102e46cfb (patch) | |
| tree | 6ecd1170e3dd793862dd852814dc1b4cd5e44260 /core/curl | |
| parent | 9a506a6834df01a26795cea222b410f206efa9fa (diff) | |
Move to flat package hierarchy
Note to self: never try to move submodules again
To migrate your existing submodules (more or less):
set -x
set -e
mkdir .git/modules/pkg
for old in */*/src ; do
new="pkg/${old#*/}"
if ! [ -f "$old/.git" ] || [ "${old%%/*}" = pkg ] ; then
continue
fi
git -C ".git/modules/$old" config core.worktree "../../../../../$new"
rmdir "$new"
mv "$old" "$new"
sed -e "s,$old,$new," "$new/.git" > "$new/.git.tmp"
mv "$new/.git.tmp" "$new/.git"
mkdir ".git/modules/${new%/src}"
mv ".git/modules/$old" ".git/modules/$new"
rm "${old%/src}"/*.ninja
mv "${old%/src}"/*.tar.{gz,xz,bz2} "${new%/src}/"
rmdir "${old%/src}" || true
done
sed -e 's,^\[submodule "[^/]*/,[submodule "pkg/,' .git/config > .git/config.tmp
mv .git/config.tmp .git/config
Diffstat (limited to 'core/curl')
| -rw-r--r-- | core/curl/curl_config.h | 243 | ||||
| -rw-r--r-- | core/curl/gen.rc | 107 | ||||
| -rw-r--r-- | core/curl/rev | 1 | ||||
| m--------- | core/curl/src | 0 | ||||
| -rw-r--r-- | core/curl/tool_hugehelp.c | 3 |
5 files changed, 0 insertions, 354 deletions
diff --git a/core/curl/curl_config.h b/core/curl/curl_config.h deleted file mode 100644 index 65855097..00000000 --- a/core/curl/curl_config.h +++ /dev/null @@ -1,243 +0,0 @@ -#include <config-posix.h> - -/* features */ -#define CURL_CA_BUNDLE "/etc/ssl/cert.pem" -#define CURL_DISABLE_LDAP 1 -#define CURL_DISABLE_LDAPS 1 -#define CURL_DISABLE_POP3 1 -#define CURL_DISABLE_RTMP 1 -#define CURL_DISABLE_SMB 1 -#define CURL_DISABLE_SMTP 1 -#define ENABLE_IPV6 1 -#define HAVE_LIBSSL 1 -#define HAVE_LIBZ 1 -#define HAVE_ZLIB_H 1 -#define USE_OPENSSL 1 -#define USE_UNIX_SOCKETS 1 -/* #undef CURL_CA_PATH */ -/* #undef CURL_DISABLE_COOKIES */ -/* #undef CURL_DISABLE_CRYPTO_AUTH */ -/* #undef CURL_DISABLE_DICT */ -/* #undef CURL_DISABLE_FILE */ -/* #undef CURL_DISABLE_FTP */ -/* #undef CURL_DISABLE_GOPHER */ -/* #undef CURL_DISABLE_HTTP */ -/* #undef CURL_DISABLE_IMAP */ -/* #undef CURL_DISABLE_PROXY */ -/* #undef CURL_DISABLE_RTSP */ -/* #undef CURL_DISABLE_TELNET */ -/* #undef CURL_DISABLE_TFTP */ -/* #undef CURL_DISABLE_VERBOSE_STRINGS */ -/* #undef DISABLED_THREADSAFE */ -/* #undef EGD_SOCKET */ -/* #undef HAVE_KRB4 */ -/* #undef HAVE_LDAP_SSL */ -/* #undef HAVE_LIBIDN */ -/* #undef HAVE_LIBRESOLV */ -/* #undef HAVE_LIBRESOLVE */ -/* #undef HAVE_LIBSOCKET */ -/* #undef HAVE_OLD_GSSMIT */ -/* #undef USE_ARES */ -/* #undef USE_BLOCKING_SOCKETS */ -/* #undef USE_GNUTLS */ -/* #undef USE_LIBSSH2 */ -/* #undef USE_MANUAL */ -/* #undef USE_MBEDTLS */ -/* #undef USE_NGHTTP2 */ -/* #undef USE_NSS */ -/* #undef USE_OPENLDAP */ -/* #undef USE_POLARSSL */ -/* #undef USE_SCHANNEL */ -/* #undef USE_THREADS_POSIX */ -/* #undef USE_THREADS_WIN32 */ -/* #undef USE_WIN32_LARGE_FILES */ -/* #undef USE_WIN32_LDAP */ -/* #undef USE_WINDOWS_SSPI */ -/* #undef USE_YASSLEMUL */ -/* #undef WIN32_LEAN_AND_MEAN */ - -/* headers */ -#define HAVE_ALLOCA_H 1 -#define HAVE_ARPA_TFTP_H 1 -#define HAVE_ERR_H 1 -#define HAVE_IFADDRS_H 1 -#define HAVE_MALLOC_H 1 -#define HAVE_MEMORY_H 1 -#define HAVE_OPENSSL_CRYPTO_H 1 -#define HAVE_OPENSSL_ENGINE_H 1 -#define HAVE_OPENSSL_ERR_H 1 -#define HAVE_OPENSSL_PEM_H 1 -#define HAVE_OPENSSL_PKCS12_H 1 -#define HAVE_OPENSSL_RSA_H 1 -#define HAVE_OPENSSL_SSL_H 1 -#define HAVE_OPENSSL_X509_H 1 -#define HAVE_SYS_IOCTL_H 1 -#define HAVE_SYS_PARAM_H 1 -#define TIME_WITH_SYS_TIME 1 -/* #undef HAVE_CRYPTO_H */ -/* #undef HAVE_DES_H */ -/* #undef HAVE_GSSAPI_GSSAPI_GENERIC_H */ -/* #undef HAVE_GSSAPI_GSSAPI_H */ -/* #undef HAVE_GSSAPI_GSSAPI_KRB5_H */ -/* #undef HAVE_IDN_FREE_H */ -/* #undef HAVE_IO_H */ -/* #undef HAVE_KRB_H */ -/* #undef HAVE_LBER_H */ -/* #undef HAVE_LDAP_H */ -/* #undef HAVE_LDAP_SSL_H */ -/* #undef HAVE_LDAPSSL_H */ -/* #undef HAVE_PEM_H */ -/* #undef HAVE_PROCESS_H */ -/* #undef HAVE_RSA_H */ -/* #undef HAVE_SGTTY_H */ -/* #undef HAVE_SSL_H */ -/* #undef HAVE_SYS_FILIO_H */ -/* #undef HAVE_SYS_SOCKIO_H */ -/* #undef HAVE_TLD_H */ -/* #undef HAVE_WINBER_H */ -/* #undef HAVE_WINDOWS_H */ -/* #undef HAVE_WINLDAP_H */ -/* #undef HAVE_WINSOCK2_H */ -/* #undef HAVE_WINSOCK_H */ -/* #undef HAVE_WS2TCPIP_H */ -/* #undef HAVE_X509_H */ -/* #undef NEED_LBER_H */ - -/* types */ -#define SIZEOF_INT 4 -#define SIZEOF_LONG 8 -#define SIZEOF_OFF_T 8 -#define SIZEOF_SHORT 2 -#define SIZEOF_SIZE_T 8 -#define SIZEOF_TIME_T 8 -#define SIZEOF_VOIDP 8 - -/* functions */ -#define GETSERVBYPORT_R_ARGS 6 -#define GETSERVBYPORT_R_BUFSIZE 4096 -#define HAVE_CLOCK_GETTIME_MONOTONIC 1 -#define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 -#define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 -#define HAVE_FREEIFADDRS 1 -#define HAVE_GETHOSTBYADDR 1 -#define HAVE_GETHOSTBYADDR_R 1 -#define HAVE_GETHOSTBYADDR_R_8 1 -#define HAVE_GETHOSTBYNAME 1 -#define HAVE_GETHOSTBYNAME_R 1 -#define HAVE_GETHOSTBYNAME_R_6 1 -#define HAVE_GETIFADDRS 1 -#define HAVE_GETSERVBYPORT_R 1 -#define HAVE_POLL_FINE 1 -#define HAVE_RAND_STATUS 1 -#define HAVE_SSL_GET_SHUTDOWN 1 -#define HAVE_STRCASESTR 1 -#define HAVE_STRLCAT 1 -#define HAVE_STRLCPY 1 -/* #undef HAVE_CLOSESOCKET */ -/* #undef HAVE_GETHOSTBYADDR_R_5 */ -/* #undef HAVE_GETHOSTBYADDR_R_7 */ -/* #undef HAVE_GETHOSTBYNAME_R_3 */ -/* #undef HAVE_GETHOSTBYNAME_R_5 */ -/* #undef HAVE_GETPASS_R */ -/* #undef HAVE_GLIBC_STRERROR_R */ -/* #undef HAVE_GSSAPI */ -/* #undef HAVE_GSSGNU */ -/* #undef HAVE_GSSHEIMDAL */ -/* #undef HAVE_GSSMIT */ -/* #undef HAVE_IDNA_STRERROR */ -/* #undef HAVE_IDN_FREE */ -/* #undef HAVE_INET_ADDR */ -/* #undef HAVE_INET_NTOA_R */ -/* #undef HAVE_INET_NTOA_R_2 */ -/* #undef HAVE_INET_NTOA_R_3 */ -/* #undef HAVE_IOCTL_FIONBIO */ -/* #undef HAVE_IOCTL_SIOCGIFADDR */ -/* #undef HAVE_IOCTLSOCKET */ -/* #undef HAVE_IOCTLSOCKET_CAMEL */ -/* #undef HAVE_IOCTLSOCKET_CAMEL_FIONBIO */ -/* #undef HAVE_IOCTLSOCKET_FIONBIO */ -/* #undef HAVE_KRB_GET_OUR_IP_FOR_REALM */ -/* #undef HAVE_LDAP_URL_PARSE */ -/* #undef HAVE_RAND_EGD */ -/* #undef HAVE_RAND_SCREEN */ -/* #undef HAVE_SETMODE */ -/* #undef HAVE_SETSOCKOPT_SO_NONBLOCK */ -/* #undef HAVE_STRCMPI */ -/* #undef HAVE_STRICMP */ -/* #undef HAVE_STRNCMPI */ -/* #undef HAVE_STRNICMP */ -/* #undef HAVE_TLD_STRERROR */ - -/* libssh2 */ -/* undef HAVE_LIBSSH2 */ -/* undef HAVE_LIBSSH2_EXIT */ -/* undef HAVE_LIBSSH2_H */ -/* undef HAVE_LIBSSH2_INIT */ -/* undef HAVE_LIBSSH2_SCP_SEND64 */ -/* undef HAVE_LIBSSH2_SESSION_HANDSHAKE */ -/* undef HAVE_LIBSSH2_VERSION */ - -/* misc */ -#define BUILDING_LIBCURL 1 -#define CURL_STATICLIB 1 -#define HAVE_MSG_NOSIGNAL 1 -#define HAVE_VARIADIC_MACROS_GCC 1 -#define OS "Linux" -#define RANDOM_FILE "/dev/urandom" -/* #undef CURL_EXTERN_SYMBOL */ -/* #undef _FILE_OFFSET_BITS */ -/* #undef HAVE_NI_WITHSCOPEID */ -/* #undef _LARGE_FILES */ -/* #undef LT_OBJDIR */ -/* #undef NEED_REENTRANT */ -/* #undef PACKAGE */ -/* #undef PACKAGE_BUGREPORT */ -/* #undef PACKAGE_NAME */ -/* #undef PACKAGE_STRING */ -/* #undef PACKAGE_TARNAME */ -/* #undef PACKAGE_VERSION */ -/* #undef _THREAD_SAFE */ -/* #undef VERSION */ - -/* posix */ -#define GETNAMEINFO_QUAL_ARG1 const -#define GETNAMEINFO_TYPE_ARG1 struct sockaddr *restrict -#define GETNAMEINFO_TYPE_ARG46 socklen_t -#define GETNAMEINFO_TYPE_ARG7 int -#define HAVE_BOOL_T 1 /* non-standard macro name? */ -#define HAVE_FCNTL_O_NONBLOCK 1 -#define HAVE_LL 1 -#define HAVE_POSIX_STRERROR_R 1 -#define HAVE_SIG_ATOMIC_T_VOLATILE 1 -#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 -#define HAVE_VARIADIC_MACROS_C99 1 -#define HAVE_WRITABLE_ARGV 1 -#define RECVFROM_TYPE_ARG1 int -#define RECVFROM_TYPE_ARG2 void *restrict -#define RECVFROM_TYPE_ARG3 size_t -#define RECVFROM_TYPE_ARG4 int -#define RECVFROM_TYPE_ARG5 struct sockaddr *restrict -#define RECVFROM_TYPE_ARG6 socklen_t *restrict -#define RECV_TYPE_ARG1 int -#define RECV_TYPE_ARG2 void * -#define RECV_TYPE_ARG3 size_t -#define RECV_TYPE_ARG4 int -#define RECV_TYPE_RETV ssize_t -#define RETSIGTYPE void -#define SELECT_QUAL_ARG5 -#define SELECT_TYPE_ARG1 int -#define SELECT_TYPE_ARG234 fd_set * -#define SELECT_TYPE_ARG5 struct timeval *restrict -#define SELECT_TYPE_RETV int -#define SEND_QUAL_ARG2 const -#define SEND_TYPE_ARG1 int -#define SEND_TYPE_ARG2 void * -#define SEND_TYPE_ARG3 size_t -#define SEND_TYPE_ARG4 int -#define SEND_TYPE_RETV ssize_t -#define STRERROR_R_TYPE_ARG3 size_t -/* #undef NEED_BASENAME_PROTO */ -/* #undef NEED_MALLOC_H */ -/* #undef RECVFROM_TYPE_ARG2_IS_VOID */ -/* #undef RECVFROM_TYPE_ARG5_IS_VOID */ -/* #undef RECVFROM_TYPE_ARG6_IS_VOID */ diff --git a/core/curl/gen.rc b/core/curl/gen.rc deleted file mode 100644 index 60974d86..00000000 --- a/core/curl/gen.rc +++ /dev/null @@ -1,107 +0,0 @@ -cflags\ - -D HAVE_CONFIG_H\ - -isystem '$builddir'/core/libressl/include\ - -isystem '$builddir'/core/zlib/include\ - -I include\ - -I '$dir' \ - -I '$outdir'/include/curl\ - -I '$outdir'/include\ - -I '$srcdir'/lib\ - -I '$srcdir'/src - -hdrs=include/curl/^(curl.h curlrules.h curlver.h easy.h mprintf.h multi.h stdcheaders.h typecheck-gcc.h) -for(hdr in $hdrs) build '$outdir'/$hdr copy '$srcdir'/$hdr -build '$outdir'/include/curl/curlbuild.h copy '$srcdir'/include/curl/curlbuild.h.dist -phony headers '$outdir'/^($hdrs include/curl/curlbuild.h) - -phony deps core/^(libressl zlib)^/headers - -# src/lib/Makefile.inc:/^CSOURCES -lib libcurl.a -d '$dir'/deps lib/^(\ - file.c timeval.c base64.c hostip.c progress.c formdata.c\ - cookie.c http.c sendf.c ftp.c url.c dict.c if2ip.c speedcheck.c\ - ldap.c version.c getenv.c escape.c mprintf.c telnet.c netrc.c\ - getinfo.c transfer.c strcase.c easy.c security.c curl_fnmatch.c\ - fileinfo.c ftplistparser.c wildcard.c krb5.c memdebug.c http_chunks.c\ - strtok.c connect.c llist.c hash.c multi.c content_encoding.c share.c\ - http_digest.c md4.c md5.c http_negotiate.c inet_pton.c strtoofft.c\ - strerror.c amigaos.c hostasyn.c hostip4.c hostip6.c hostsyn.c\ - inet_ntop.c parsedate.c select.c tftp.c splay.c strdup.c socks.c\ - ssh.c curl_addrinfo.c socks_gssapi.c socks_sspi.c\ - curl_sspi.c slist.c nonblock.c curl_memrchr.c imap.c pop3.c smtp.c\ - pingpong.c rtsp.c curl_threads.c warnless.c hmac.c curl_rtmp.c\ - openldap.c curl_gethostname.c gopher.c idn_win32.c\ - http_proxy.c non-ascii.c asyn-ares.c asyn-thread.c curl_gssapi.c\ - http_ntlm.c curl_ntlm_wb.c curl_ntlm_core.c curl_sasl.c\ - curl_multibyte.c hostcheck.c conncache.c pipeline.c dotdot.c\ - x509asn1.c http2.c smb.c curl_endian.c curl_des.c system_win32.c\ - vauth/^(\ - vauth.c cleartext.c cram.c\ - digest.c digest_sspi.c krb5_gssapi.c\ - krb5_sspi.c ntlm.c ntlm_sspi.c oauth2.c\ - spnego_gssapi.c spnego_sspi.c\ - )\ - vtls/^(\ - openssl.c gtls.c vtls.c nss.c\ - polarssl.c polarssl_threadlock.c axtls.c\ - cyassl.c schannel.c darwinssl.c gskit.c\ - mbedtls.c\ - )\ -) '$builddir'/^(\ - core/libressl/libssl.a.d\ - core/libressl/libcrypto.a.d\ - core/zlib/libz.a\ -) - -build '$outdir'/tool_hugehelp.c.o cc '$dir'/tool_hugehelp.c '||' '$srcdir'/src/tool_hugehelp.h - -# src/src/Makefile.inc:/^CURL_CFILES -exe curl -d '$outdir'/include/curl/curlbuild.h\ - src/^(\ - slist_wc.c\ - tool_binmode.c\ - tool_bname.c\ - tool_cb_dbg.c\ - tool_cb_hdr.c\ - tool_cb_prg.c\ - tool_cb_rea.c\ - tool_cb_see.c\ - tool_cb_wrt.c\ - tool_cfgable.c\ - tool_convert.c\ - tool_dirhie.c\ - tool_doswin.c\ - tool_easysrc.c\ - tool_formparse.c\ - tool_getparam.c\ - tool_getpass.c\ - tool_help.c\ - tool_helpers.c\ - tool_homedir.c\ - tool_libinfo.c\ - tool_main.c\ - tool_metalink.c\ - tool_mfiles.c\ - tool_msgs.c\ - tool_operate.c\ - tool_operhlp.c\ - tool_panykey.c\ - tool_paramhlp.c\ - tool_parsecfg.c\ - tool_strdup.c\ - tool_setopt.c\ - tool_sleep.c\ - tool_urlglob.c\ - tool_util.c\ - tool_vms.c\ - tool_writeenv.c\ - tool_writeout.c\ - tool_xattr.c\ - )\ - tool_hugehelp.c.o\ - libcurl.a.d - -file bin/curl '$outdir'/curl 755 -file share/man/man1/curl.1 '$srcdir'/docs/curl.1 644 - -fetch git diff --git a/core/curl/rev b/core/curl/rev deleted file mode 100644 index b8626c4c..00000000 --- a/core/curl/rev +++ /dev/null @@ -1 +0,0 @@ -4 diff --git a/core/curl/src b/core/curl/src deleted file mode 160000 -Subproject 3c561c657c2f0e553b19115a506592a8bbd744b diff --git a/core/curl/tool_hugehelp.c b/core/curl/tool_hugehelp.c deleted file mode 100644 index bc33e2f1..00000000 --- a/core/curl/tool_hugehelp.c +++ /dev/null @@ -1,3 +0,0 @@ -/* built-in manual is disabled, blank function */ -#include "tool_hugehelp.h" -void hugehelp(void) {} |
