remove; active development stopped 2 years ago and it was never that
great to begin with
This commit is contained in:
parent
109005f7a0
commit
b5f325fe8d
@ -1,40 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2007/09/16 02:53:00 merdely Exp $
|
||||
|
||||
COMMENT= C reimplementation of the BitTorrent core protocols
|
||||
DISTNAME= libbt-1.03
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
CATEGORIES= devel net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libbt/}
|
||||
|
||||
HOMEPAGE= http://libbt.sourceforge.net/
|
||||
|
||||
MAINTAINER= Jolan Luff <jolan@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
WANTLIB= c crypto idn m ssl z
|
||||
|
||||
NO_REGRESS= Yes
|
||||
USE_X11= Yes # for makedepend
|
||||
|
||||
LIB_DEPENDS= curl.>=2.2::net/curl
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/include/libbt
|
||||
${INSTALL_DATA} ${WRKBUILD}/src/libbt.a ${PREFIX}/lib
|
||||
.for p in btcheck btget btlist
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/src/${p} ${PREFIX}/bin
|
||||
.endfor
|
||||
.for i in benc bitset bterror btmessage bts context peer random segmenter \
|
||||
strbuf stream types util
|
||||
${INSTALL_DATA} ${WRKSRC}/include/${i}.h ${PREFIX}/include/libbt
|
||||
.endfor
|
||||
${INSTALL_MAN} ${WRKSRC}/man/*.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
MD5 (libbt-1.03.tar.gz) = 9f3X9LZB1doI1ngTC01r/w==
|
||||
RMD160 (libbt-1.03.tar.gz) = 1/NC63QeE7Qolqe4OpWcD2oMbOw=
|
||||
SHA1 (libbt-1.03.tar.gz) = fHLiNCpGyLHPxVSurgRpGLgWA/Q=
|
||||
SHA256 (libbt-1.03.tar.gz) = 2KXEnvzAIXPnMKjGWTv4Iv4sf2xJ2s88Z4EgmyeUFTk=
|
||||
SIZE (libbt-1.03.tar.gz) = 307473
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-configure,v 1.3 2010/05/22 16:16:45 espie Exp $
|
||||
--- configure.orig Wed Apr 21 07:12:50 2004
|
||||
+++ configure Sat May 22 16:35:06 2010
|
||||
@@ -2530,7 +2530,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }; then
|
||||
- ac_cv_lib_uuid_uuid_generate=yes
|
||||
+ ac_cv_lib_uuid_uuid_generate=no
|
||||
else
|
||||
echo "$as_me: failed program was:" >&5
|
||||
sed 's/^/| /' conftest.$ac_ext >&5
|
@ -1,18 +0,0 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.2 2004/07/12 06:16:50 jolan Exp $
|
||||
--- src/Makefile.in.orig Sat Jul 10 01:49:54 2004
|
||||
+++ src/Makefile.in Mon Jul 12 01:02:57 2004
|
||||
@@ -25,11 +25,11 @@ SRCS:=\
|
||||
bterror.c
|
||||
OBJS:= ${SRCS:.c=.o}
|
||||
|
||||
-CPPFLAGS:=@CPPFLAGS@
|
||||
-CFLAGS:=-g -Wall -I../include -I$(top_srcdir)/include
|
||||
+CPPFLAGS:=@CPPFLAGS@ `curl-config --cflags`
|
||||
+CFLAGS:=$(CPPFLAGS) @CFLAGS@ -Wall -I../include -I$(top_srcdir)/include
|
||||
|
||||
LIBS:=@LIBS@ `curl-config --libs` -lm
|
||||
-LDFLAGS:=-g -L. @LDFLAGS@
|
||||
+LDFLAGS:=-L. @LDFLAGS@
|
||||
VERSION=1.03
|
||||
MAKEDEPEND=@MAKEDEPEND@
|
||||
|
@ -1,17 +0,0 @@
|
||||
$OpenBSD: patch-src_peer_c,v 1.3 2010/05/22 16:16:45 espie Exp $
|
||||
--- src/peer.c.orig Sat May 22 18:12:27 2010
|
||||
+++ src/peer.c Sat May 22 18:15:28 2010
|
||||
@@ -458,11 +458,11 @@ static int rate_timer( btPeerStatus *ps, time_t now) {
|
||||
|
||||
#define SHIFT_INT32(ptr,nbo,ival) \
|
||||
(nbo=htonl(ival), memcpy(ptr,&nbo,sizeof(int32_t)), ptr+=sizeof(int32_t))
|
||||
-#define SHIFT_BYTE(ptr,ival) ((*((unsigned char *)(ptr))++) = ival)
|
||||
+#define SHIFT_BYTE(ptr,ival) ((*((unsigned char *)(ptr)) = (ival)),((ptr)++))
|
||||
|
||||
#define UNSHIFT_INT32(ptr,nbo,ival) \
|
||||
(memcpy(&nbo,ptr,sizeof(int32_t)), ival=ntohl(nbo), ptr+=sizeof(int32_t))
|
||||
-#define UNSHIFT_BYTE(ptr,ival) (ival = (*((unsigned char *)(ptr))++)
|
||||
+#define UNSHIFT_BYTE(ptr,ival) ((ival) = *((unsigned char *)(ptr)),(ptr)++)
|
||||
/*
|
||||
* Return 1 if there are more messages waiting
|
||||
* Return 0 on success,
|
@ -1,16 +0,0 @@
|
||||
$OpenBSD: patch-src_strbuf_c,v 1.1 2004/08/12 17:22:23 jolan Exp $
|
||||
--- src/strbuf.c.orig Fri Apr 16 01:19:41 2004
|
||||
+++ src/strbuf.c Thu Aug 12 12:08:05 2004
|
||||
@@ -1,11 +1,11 @@
|
||||
#include "config.h"
|
||||
+#include "strbuf.h"
|
||||
#include "util.h"
|
||||
|
||||
#include <string.h>
|
||||
#ifdef HAVE_STRINGS_H
|
||||
#include <strings.h>
|
||||
#endif
|
||||
-#include "strbuf.h"
|
||||
#ifndef max
|
||||
#define max(x,y) ((x)>(y)?(x):(y))
|
||||
#endif
|
@ -1,4 +0,0 @@
|
||||
LibBT is a C reimplementation of the BitTorrent core protocols. The
|
||||
goal for the project is to develop a low overhead library version of
|
||||
the protocols so that BitTorrent transfers can easily be built in to
|
||||
any existing application.
|
@ -1,23 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2005/08/09 19:09:06 naddy Exp $
|
||||
@conflict blackbox-*
|
||||
bin/btcheck
|
||||
bin/btget
|
||||
bin/btlist
|
||||
include/libbt/
|
||||
include/libbt/benc.h
|
||||
include/libbt/bitset.h
|
||||
include/libbt/bterror.h
|
||||
include/libbt/btmessage.h
|
||||
include/libbt/bts.h
|
||||
include/libbt/context.h
|
||||
include/libbt/peer.h
|
||||
include/libbt/random.h
|
||||
include/libbt/segmenter.h
|
||||
include/libbt/strbuf.h
|
||||
include/libbt/stream.h
|
||||
include/libbt/types.h
|
||||
include/libbt/util.h
|
||||
lib/libbt.a
|
||||
@man man/man1/btcheck.1
|
||||
@man man/man1/btget.1
|
||||
@man man/man1/btlist.1
|
Loading…
Reference in New Issue
Block a user