Remove some crap
authorSteven Barth <steven@midlink.org>
Sun, 22 Feb 2009 23:37:35 +0000 (23:37 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 22 Feb 2009 23:37:35 +0000 (23:37 +0000)
Add compatiblity for older uclibc versions

libs/nixio/axTLS/_stage/libaxtls.a [deleted file]
libs/nixio/axTLS/_stage/libaxtls.so.1 [deleted symlink]
libs/nixio/axTLS/_stage/libaxtls.so.1.2 [deleted file]
libs/nixio/axTLS/crypto/.depend [deleted file]
libs/nixio/axTLS/ssl/.depend [deleted file]
libs/nixio/src/splice.c

diff --git a/libs/nixio/axTLS/_stage/libaxtls.a b/libs/nixio/axTLS/_stage/libaxtls.a
deleted file mode 100644 (file)
index e1ea96e..0000000
Binary files a/libs/nixio/axTLS/_stage/libaxtls.a and /dev/null differ
diff --git a/libs/nixio/axTLS/_stage/libaxtls.so.1 b/libs/nixio/axTLS/_stage/libaxtls.so.1
deleted file mode 120000 (symlink)
index 587a460..0000000
+++ /dev/null
@@ -1 +0,0 @@
-libaxtls.so.1.2
\ No newline at end of file
diff --git a/libs/nixio/axTLS/_stage/libaxtls.so.1.2 b/libs/nixio/axTLS/_stage/libaxtls.so.1.2
deleted file mode 100755 (executable)
index 440730b..0000000
Binary files a/libs/nixio/axTLS/_stage/libaxtls.so.1.2 and /dev/null differ
diff --git a/libs/nixio/axTLS/crypto/.depend b/libs/nixio/axTLS/crypto/.depend
deleted file mode 100644 (file)
index 4fb0433..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-aes.o: aes.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \
-  bigint.h
-bigint.o: bigint.c bigint.h crypto.h ../config/config.h ../ssl/os_port.h \
-  bigint_impl.h
-crypto_misc.o: crypto_misc.c ../ssl/crypto_misc.h ../crypto/crypto.h \
-  ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \
-  ../crypto/bigint.h ../crypto/crypto.h ../crypto/bigint.h
-hmac.o: hmac.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \
-  bigint.h
-md2.o: md2.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \
-  bigint.h
-md5.o: md5.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \
-  bigint.h
-rc4.o: rc4.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \
-  bigint.h
-rsa.o: rsa.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \
-  bigint.h
-sha1.o: sha1.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \
-  bigint.h
diff --git a/libs/nixio/axTLS/ssl/.depend b/libs/nixio/axTLS/ssl/.depend
deleted file mode 100644 (file)
index 85f138f..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-asn1.o: asn1.c os_port.h ../crypto/crypto.h ../config/config.h \
-  ../ssl/os_port.h ../crypto/bigint_impl.h ../crypto/bigint.h \
-  ../crypto/crypto.h crypto_misc.h ../crypto/bigint.h
-gen_cert.o: gen_cert.c ../config/config.h ssl.h tls1.h version.h \
-  ../crypto/crypto.h ../ssl/os_port.h ../crypto/bigint_impl.h \
-  ../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \
-  ../crypto/bigint.h
-loader.o: loader.c ssl.h tls1.h version.h ../crypto/crypto.h \
-  ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \
-  ../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \
-  ../crypto/bigint.h private_key.h
-openssl.o: openssl.c ../config/config.h
-os_port.o: os_port.c os_port.h
-p12.o: p12.c ssl.h tls1.h version.h ../crypto/crypto.h ../config/config.h \
-  ../ssl/os_port.h ../crypto/bigint_impl.h ../crypto/bigint.h \
-  ../crypto/crypto.h os_port.h crypto_misc.h ../crypto/bigint.h
-tls1.o: tls1.c ssl.h tls1.h version.h ../crypto/crypto.h \
-  ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \
-  ../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \
-  ../crypto/bigint.h
-tls1_clnt.o: tls1_clnt.c ssl.h tls1.h version.h ../crypto/crypto.h \
-  ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \
-  ../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \
-  ../crypto/bigint.h
-tls1_svr.o: tls1_svr.c ssl.h tls1.h version.h ../crypto/crypto.h \
-  ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \
-  ../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \
-  ../crypto/bigint.h
-x509.o: x509.c os_port.h crypto_misc.h ../crypto/crypto.h \
-  ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \
-  ../crypto/bigint.h ../crypto/crypto.h ../crypto/bigint.h
index 2b28370..538b99e 100644 (file)
 /* guess what sucks... */
 #ifdef __UCLIBC__
 #include <unistd.h>
+#include <errno.h>
 #include <sys/syscall.h>
 ssize_t splice(int __fdin, __off64_t *__offin, int __fdout,
         __off64_t *__offout, size_t __len, unsigned int __flags) {
+#ifdef __NR_splice
        return syscall(__NR_splice, __fdin, __offin, __fdout, __offout, __len, __flags);
+#else
+       (void)__fdin;
+       (void)__offin;
+       (void)__fdout;
+       (void)__offout;
+       (void)__len;
+       (void)__flags;
+       errno = ENOSYS;
+       return -1;
+#endif
 }
 #endif /* __UCLIBC__ */