diff options
-rw-r--r-- | net-p2p/ctorrent/Makefile | 1 | ||||
-rw-r--r-- | net-p2p/ctorrent/distinfo | 1 | ||||
-rw-r--r-- | net-p2p/ctorrent/files/patch-btcontent.cpp | 14 | ||||
-rw-r--r-- | net-p2p/ctorrent/files/patch-btfiles.cpp | 14 | ||||
-rw-r--r-- | net-p2p/ctorrent/files/patch-configure | 41 | ||||
-rw-r--r-- | net/ctorrent/Makefile | 1 | ||||
-rw-r--r-- | net/ctorrent/distinfo | 1 | ||||
-rw-r--r-- | net/ctorrent/files/patch-btcontent.cpp | 14 | ||||
-rw-r--r-- | net/ctorrent/files/patch-btfiles.cpp | 14 | ||||
-rw-r--r-- | net/ctorrent/files/patch-configure | 41 |
10 files changed, 142 insertions, 0 deletions
diff --git a/net-p2p/ctorrent/Makefile b/net-p2p/ctorrent/Makefile index 09f640d..f5b52c4 100644 --- a/net-p2p/ctorrent/Makefile +++ b/net-p2p/ctorrent/Makefile @@ -17,5 +17,6 @@ COMMENT= BitTorrent Client written in C for FreeBSD and Linux GNU_CONFIGURE= yes PLIST_FILES= bin/ctorrent +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} .include <bsd.port.mk> diff --git a/net-p2p/ctorrent/distinfo b/net-p2p/ctorrent/distinfo index ca92fe4..6da87e2 100644 --- a/net-p2p/ctorrent/distinfo +++ b/net-p2p/ctorrent/distinfo @@ -1 +1,2 @@ MD5 (ctorrent-1.3.2.tar.gz) = 1bc787df91285a9cec8509617c3152d6 +SIZE (ctorrent-1.3.2.tar.gz) = 87195 diff --git a/net-p2p/ctorrent/files/patch-btcontent.cpp b/net-p2p/ctorrent/files/patch-btcontent.cpp new file mode 100644 index 0000000..8fbd2ec --- /dev/null +++ b/net-p2p/ctorrent/files/patch-btcontent.cpp @@ -0,0 +1,14 @@ +--- btcontent.cpp.orig Sun Feb 1 06:18:07 2004 ++++ btcontent.cpp Fri Feb 13 03:09:22 2004 +@@ -8,7 +8,11 @@ + #else + #include <unistd.h> + #include <sys/param.h> ++#if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBMD) ++#include <sha.h> ++#elif defined(HAVE_LIBSSL) + #include <openssl/sha.h> ++#endif + #endif + + #include <time.h> diff --git a/net-p2p/ctorrent/files/patch-btfiles.cpp b/net-p2p/ctorrent/files/patch-btfiles.cpp new file mode 100644 index 0000000..c11a75a --- /dev/null +++ b/net-p2p/ctorrent/files/patch-btfiles.cpp @@ -0,0 +1,14 @@ +--- btfiles.cpp.orig Sun Feb 1 06:33:16 2004 ++++ btfiles.cpp Fri Feb 13 03:10:57 2004 +@@ -8,7 +8,11 @@ + #include <unistd.h> + #include <dirent.h> + #include <sys/param.h> ++#if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBMD) ++#include <sha.h> ++#elif defined(HAVE_LIBSSL) + #include <openssl/sha.h> ++#endif + #endif + + #include <time.h> diff --git a/net-p2p/ctorrent/files/patch-configure b/net-p2p/ctorrent/files/patch-configure new file mode 100644 index 0000000..73f560f --- /dev/null +++ b/net-p2p/ctorrent/files/patch-configure @@ -0,0 +1,41 @@ +--- configure.orig Sun Feb 1 07:15:43 2004 ++++ configure Fri Feb 13 03:04:21 2004 +@@ -2851,7 +2851,7 @@ + int + main () + { +-SHA1_Init (); ++XXXSHA1_Init (); + ; + return 0; + } +@@ -2915,7 +2915,7 @@ + int + main () + { +-SHA1_Init (); ++XXXSHA1_Init (); + ; + return 0; + } +@@ -3814,13 +3814,13 @@ + echo "${ECHO_T}$ac_cv_header_openssl_sha_h" >&6 + + fi +-if test $ac_cv_header_openssl_sha_h = yes; then +- : +-else +- { { echo "$as_me:$LINENO: error: Error, OpenSSL header file sha.h not found." >&5 +-echo "$as_me: error: Error, OpenSSL header file sha.h not found." >&2;} +- { (exit 1); exit 1; }; } +-fi ++#if test $ac_cv_header_openssl_sha_h = yes; then ++# : ++#else ++# { { echo "$as_me:$LINENO: error: Error, OpenSSL header file sha.h not found." >&5 ++#echo "$as_me: error: Error, OpenSSL header file sha.h not found." >&2;} ++# { (exit 1); exit 1; }; } ++#fi + + + diff --git a/net/ctorrent/Makefile b/net/ctorrent/Makefile index 09f640d..f5b52c4 100644 --- a/net/ctorrent/Makefile +++ b/net/ctorrent/Makefile @@ -17,5 +17,6 @@ COMMENT= BitTorrent Client written in C for FreeBSD and Linux GNU_CONFIGURE= yes PLIST_FILES= bin/ctorrent +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} .include <bsd.port.mk> diff --git a/net/ctorrent/distinfo b/net/ctorrent/distinfo index ca92fe4..6da87e2 100644 --- a/net/ctorrent/distinfo +++ b/net/ctorrent/distinfo @@ -1 +1,2 @@ MD5 (ctorrent-1.3.2.tar.gz) = 1bc787df91285a9cec8509617c3152d6 +SIZE (ctorrent-1.3.2.tar.gz) = 87195 diff --git a/net/ctorrent/files/patch-btcontent.cpp b/net/ctorrent/files/patch-btcontent.cpp new file mode 100644 index 0000000..8fbd2ec --- /dev/null +++ b/net/ctorrent/files/patch-btcontent.cpp @@ -0,0 +1,14 @@ +--- btcontent.cpp.orig Sun Feb 1 06:18:07 2004 ++++ btcontent.cpp Fri Feb 13 03:09:22 2004 +@@ -8,7 +8,11 @@ + #else + #include <unistd.h> + #include <sys/param.h> ++#if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBMD) ++#include <sha.h> ++#elif defined(HAVE_LIBSSL) + #include <openssl/sha.h> ++#endif + #endif + + #include <time.h> diff --git a/net/ctorrent/files/patch-btfiles.cpp b/net/ctorrent/files/patch-btfiles.cpp new file mode 100644 index 0000000..c11a75a --- /dev/null +++ b/net/ctorrent/files/patch-btfiles.cpp @@ -0,0 +1,14 @@ +--- btfiles.cpp.orig Sun Feb 1 06:33:16 2004 ++++ btfiles.cpp Fri Feb 13 03:10:57 2004 +@@ -8,7 +8,11 @@ + #include <unistd.h> + #include <dirent.h> + #include <sys/param.h> ++#if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBMD) ++#include <sha.h> ++#elif defined(HAVE_LIBSSL) + #include <openssl/sha.h> ++#endif + #endif + + #include <time.h> diff --git a/net/ctorrent/files/patch-configure b/net/ctorrent/files/patch-configure new file mode 100644 index 0000000..73f560f --- /dev/null +++ b/net/ctorrent/files/patch-configure @@ -0,0 +1,41 @@ +--- configure.orig Sun Feb 1 07:15:43 2004 ++++ configure Fri Feb 13 03:04:21 2004 +@@ -2851,7 +2851,7 @@ + int + main () + { +-SHA1_Init (); ++XXXSHA1_Init (); + ; + return 0; + } +@@ -2915,7 +2915,7 @@ + int + main () + { +-SHA1_Init (); ++XXXSHA1_Init (); + ; + return 0; + } +@@ -3814,13 +3814,13 @@ + echo "${ECHO_T}$ac_cv_header_openssl_sha_h" >&6 + + fi +-if test $ac_cv_header_openssl_sha_h = yes; then +- : +-else +- { { echo "$as_me:$LINENO: error: Error, OpenSSL header file sha.h not found." >&5 +-echo "$as_me: error: Error, OpenSSL header file sha.h not found." >&2;} +- { (exit 1); exit 1; }; } +-fi ++#if test $ac_cv_header_openssl_sha_h = yes; then ++# : ++#else ++# { { echo "$as_me:$LINENO: error: Error, OpenSSL header file sha.h not found." >&5 ++#echo "$as_me: error: Error, OpenSSL header file sha.h not found." >&2;} ++# { (exit 1); exit 1; }; } ++#fi + + + |