pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/unworkable Initial import of unworkable-0.51 into ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69ba04117e72
branches:  trunk
changeset: 553323:69ba04117e72
user:      agc <agc%pkgsrc.org@localhost>
date:      Mon Jan 19 05:40:39 2009 +0000

description:
Initial import of unworkable-0.51 into the Packages Collection.

        Unworkable is a BSD-licensed BitTorrent implementation written by
        Niall O'Higgins <niallo%p2presearch.com@localhost>.  Goals of this project
        include efficiency, simplicity and high code quality.

        Unworkable is single threaded and asynchronous, written in portable
        ANSI C using libevent and mmap() for performance.

diffstat:

 net/unworkable/DESCR            |   6 ++++++
 net/unworkable/Makefile         |  30 ++++++++++++++++++++++++++++++
 net/unworkable/PLIST            |   4 ++++
 net/unworkable/distinfo         |   6 ++++++
 net/unworkable/patches/patch-aa |  28 ++++++++++++++++++++++++++++
 5 files changed, 74 insertions(+), 0 deletions(-)

diffs (94 lines):

diff -r 5571449133ea -r 69ba04117e72 net/unworkable/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/unworkable/DESCR      Mon Jan 19 05:40:39 2009 +0000
@@ -0,0 +1,6 @@
+Unworkable is a BSD-licensed BitTorrent implementation written by
+Niall O'Higgins <niallo%p2presearch.com@localhost>.  Goals of this project
+include efficiency, simplicity and high code quality.
+
+Unworkable is single threaded and asynchronous, written in portable
+ANSI C using libevent and mmap() for performance.
diff -r 5571449133ea -r 69ba04117e72 net/unworkable/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/unworkable/Makefile   Mon Jan 19 05:40:39 2009 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/19 05:40:39 agc Exp $
+
+DISTNAME=      unworkable-0.51
+CATEGORIES=    net
+MASTER_SITES=  http://p2presearch.com/unworkable/dist/
+
+MAINTAINER=    agc%NetBSD.org@localhost
+HOMEPAGE=      http://p2presearch.com/unworkable/
+COMMENT=       BSD-licensed command-line torrent client
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+WRKSRC=                ${WRKDIR}/unworkable
+MAKE_FILE=     BSDmakefile
+
+INSTALLATION_DIRS+=    bin ${PKGMANDIR}/man1 ${PKGMANDIR}/cat1
+
+post-configure:
+       cp ${WRKSRC}/openbsd-compat/sha1.c ${WRKSRC}
+       cp ${WRKSRC}/openbsd-compat/strtonum.c ${WRKSRC}
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/unworkable ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/unworkable.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKSRC}/unworkable.cat1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/unworkable.0
+
+.include "../../devel/libevent/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 5571449133ea -r 69ba04117e72 net/unworkable/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/unworkable/PLIST      Mon Jan 19 05:40:39 2009 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/19 05:40:39 agc Exp $
+bin/unworkable
+${PKGMANDIR}/man1/unworkable.1
+${PKGMANDIR}/cat1/unworkable.0
diff -r 5571449133ea -r 69ba04117e72 net/unworkable/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/unworkable/distinfo   Mon Jan 19 05:40:39 2009 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/19 05:40:39 agc Exp $
+
+SHA1 (unworkable-0.51.tar.gz) = 0a179f7d84aa95df3fe30bd49806776826f8e4c6
+RMD160 (unworkable-0.51.tar.gz) = 72174941df30ab63101f334f0a657e1357f7309b
+Size (unworkable-0.51.tar.gz) = 71020 bytes
+SHA1 (patch-aa) = c792177339cf79341c24cf9a12032ee98d564eaa
diff -r 5571449133ea -r 69ba04117e72 net/unworkable/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/unworkable/patches/patch-aa   Mon Jan 19 05:40:39 2009 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/01/19 05:40:39 agc Exp $
+
+Just add the sources we need to to get it to compile on most hosts
+
+--- BSDmakefile        2008-09-08 10:46:30.000000000 -0700
++++ BSDmakefile        2009-01-18 21:16:38.000000000 -0800
+@@ -21,6 +21,7 @@
+ CFLAGS+= -Wmissing-declarations
+ CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
+ CFLAGS+= -Wsign-compare -g -ggdb
++CFLAGS+= -Iopenbsd-compat
+ 
+ #
+ # Uncomment if you like to use Boehm's garbage collector (/usr/ports/devel/boehm-gc).
+@@ -32,10 +33,12 @@
+ 
+ PROG= unworkable
+ 
+-SRCS= announce.c bencode.c buf.c ctl_server.c main.c network.c parse.y progressmeter.c scheduler.c torrent.c trace.c util.c xmalloc.c
++SRCS= announce.c bencode.c buf.c ctl_server.c main.c network.c parse.y progressmeter.c scheduler.c torrent.c trace.c util.c xmalloc.c sha1.c strtonum.c
+ OBJS= ${SRCS:N*.h:N*.sh:R:S/$/.o/g}
+ MAN= unworkable.1
+ 
++.PATH: ${.CURDIR}:${.CURDIR}/openbsd-compat
++
+ all: ${PROG} unworkable.cat1
+ 
+ ${PROG}: ${OBJS}



Home | Main Index | Thread Index | Old Index