Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
GNet is a simple network library. It is written in C, object-oriented,
and built upon GLib. It is intended to be small, fast, easy-to-use,
and easy to port. GNet comes with documentation and examples.
This package contains the old 1.x series.
+24
View File
@@ -0,0 +1,24 @@
# $NetBSD: Makefile,v 1.27 2012/10/23 17:18:23 asau Exp $
#
DISTNAME= gnet-1.1.8
PKGNAME= gnet1-1.1.8
PKGREVISION= 8
CATEGORIES= net
MASTER_SITES= http://www.gnetlibrary.org/src/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnetlibrary.org/
COMMENT= Simple network library (older version)
CONFLICTS= gnet<=1.1.8
USE_TOOLS+= pkg-config
USE_LIBTOOL= YES
PKGCONFIG_OVERRIDE= gnet.pc.in
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-glib2
TEST_TARGET= check
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+46
View File
@@ -0,0 +1,46 @@
@comment $NetBSD: PLIST,v 1.4 2009/06/14 18:09:28 joerg Exp $
bin/gnet-config
include/gnet/conn.h
include/gnet/gnet.h
include/gnet/inetaddr.h
include/gnet/iochannel.h
include/gnet/mcast.h
include/gnet/md5.h
include/gnet/pack.h
include/gnet/server.h
include/gnet/sha.h
include/gnet/socks.h
include/gnet/tcp.h
include/gnet/udp.h
include/gnet/unix.h
include/gnet/url.h
lib/gnet/include/gnetconfig.h
lib/libgnet.la
lib/pkgconfig/gnet.pc
man/man1/gnet-config.1
share/aclocal/gnet.m4
share/doc/libgnet1.1-dev/html/book1.html
share/doc/libgnet1.1-dev/html/gnet-conn.html
share/doc/libgnet1.1-dev/html/gnet-developers-tips.html
share/doc/libgnet1.1-dev/html/gnet-developers.html
share/doc/libgnet1.1-dev/html/gnet-examples.html
share/doc/libgnet1.1-dev/html/gnet-gnet.html
share/doc/libgnet1.1-dev/html/gnet-inetaddr.html
share/doc/libgnet1.1-dev/html/gnet-iochannel.html
share/doc/libgnet1.1-dev/html/gnet-mcast.html
share/doc/libgnet1.1-dev/html/gnet-md5.html
share/doc/libgnet1.1-dev/html/gnet-overview.html
share/doc/libgnet1.1-dev/html/gnet-pack.html
share/doc/libgnet1.1-dev/html/gnet-server.html
share/doc/libgnet1.1-dev/html/gnet-sha.html
share/doc/libgnet1.1-dev/html/gnet-socks.html
share/doc/libgnet1.1-dev/html/gnet-tcp.html
share/doc/libgnet1.1-dev/html/gnet-udp.html
share/doc/libgnet1.1-dev/html/gnet-unix.html
share/doc/libgnet1.1-dev/html/gnet-url.html
share/doc/libgnet1.1-dev/html/hfetch.html
share/doc/libgnet1.1-dev/html/index.html
share/doc/libgnet1.1-dev/html/index.sgml
share/doc/libgnet1.1-dev/html/libgnet-reference.html
share/doc/libgnet1.1-dev/html/sdr.html
share/doc/libgnet1.1-dev/html/tests.html
+15
View File
@@ -0,0 +1,15 @@
# $NetBSD: buildlink3.mk,v 1.14 2012/09/15 10:05:59 obache Exp $
BUILDLINK_TREE+= gnet1
.if !defined(GNET1_BUILDLINK3_MK)
GNET1_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.gnet1+= gnet1>=1.1.8nb2
BUILDLINK_ABI_DEPENDS.gnet1+= gnet1>=1.1.8nb8
BUILDLINK_PKGSRCDIR.gnet1?= ../../net/gnet1
.include "../../devel/glib2/buildlink3.mk"
.endif # GNET1_BUILDLINK3_MK
BUILDLINK_TREE+= -gnet1
+11
View File
@@ -0,0 +1,11 @@
$NetBSD: distinfo,v 1.3 2010/02/11 21:22:17 joerg Exp $
SHA1 (gnet-1.1.8.tar.gz) = f0c01075f911859f807a5a49a2165eded26c2ad5
RMD160 (gnet-1.1.8.tar.gz) = a967693f6cbfa6dab7f0c98bb56a7c2e8049cee9
Size (gnet-1.1.8.tar.gz) = 350091 bytes
SHA1 (patch-aa) = b46a6ca9a9f1582d262763d59c1ff6e4111667f2
SHA1 (patch-ab) = e874ed0fd4ee827f2c96746bb33f34182f3f6968
SHA1 (patch-ac) = 7f1545f76d28c92e37953bd5e1e0f743f3b4800f
SHA1 (patch-ad) = f6bfaafafeaf12b49b18b2f4525310ee32db9726
SHA1 (patch-ae) = 5135cf8ed04bb6ed7441fff03c513039b675be5d
SHA1 (patch-af) = f7b4ac31662b5030f698c9a9fd7c123265d4ab1f
+32
View File
@@ -0,0 +1,32 @@
$NetBSD: patch-aa,v 1.1.1.1 2003/04/15 11:49:02 wiz Exp $
--- src/iochannel.c.orig Wed Aug 14 12:51:02 2002
+++ src/iochannel.c Wed Feb 12 09:58:27 2003
@@ -51,5 +51,5 @@
{
guint nleft;
- guint nwritten;
+ gsize nwritten;
gchar* ptr;
GIOError error = G_IO_ERROR_NONE;
@@ -108,5 +108,5 @@
{
guint nleft;
- guint nread;
+ gsize nread;
gchar* ptr;
GIOError error = G_IO_ERROR_NONE;
@@ -476,5 +476,5 @@
else if (condition & G_IO_OUT)
{
- guint bytes_written;
+ gsize bytes_written;
if (g_io_channel_write(iochannel,
@@ -662,5 +662,5 @@
GIOError error;
guint bytes_to_read;
- guint bytes_read;
+ gsize bytes_read;
gint bytes_processed;
+18
View File
@@ -0,0 +1,18 @@
$NetBSD: patch-ab,v 1.1.1.1 2003/04/15 11:49:02 wiz Exp $
--- examples/echoserver.c.orig Thu Sep 26 13:58:59 2002
+++ examples/echoserver.c Wed Feb 12 10:00:59 2003
@@ -319,5 +319,5 @@
{
GIOError error;
- guint bytes_read;
+ gsize bytes_read;
/* Read the data into our buffer */
@@ -369,5 +369,5 @@
{
GIOError error;
- guint bytes_written;
+ gsize bytes_written;
/* Write the data out */
+25
View File
@@ -0,0 +1,25 @@
$NetBSD: patch-ac,v 1.1.1.1 2003/04/15 11:49:02 wiz Exp $
--- examples/echoclient.c.orig Thu Sep 26 13:58:59 2002
+++ examples/echoclient.c Wed Feb 12 10:03:38 2003
@@ -278,5 +278,5 @@
GIOError error;
gchar buffer[1024];
- guint bytes_read;
+ gsize bytes_read;
/* Read the data into our buffer */
@@ -332,5 +332,5 @@
GIOError error;
gchar buffer[1024];
- guint bytes_read;
+ gsize bytes_read;
/* Read the data into our buffer */
@@ -451,5 +451,5 @@
GIOError error;
gchar buffer[1024];
- guint bytes_read;
+ gsize bytes_read;
/* Read the data into our buffer */
+18
View File
@@ -0,0 +1,18 @@
$NetBSD: patch-ad,v 1.1.1.1 2003/04/15 11:49:02 wiz Exp $
--- examples/echoserver-unix.c.orig Thu Sep 26 13:58:59 2002
+++ examples/echoserver-unix.c Wed Feb 12 10:04:48 2003
@@ -234,5 +234,5 @@
if (c & G_IO_IN) {
GIOError e;
- guint bytes_read;
+ gsize bytes_read;
/* Read the data into our buffer */
@@ -265,5 +265,5 @@
if (c & G_IO_OUT) {
GIOError e;
- guint bytes_written;
+ gsize bytes_written;
/* Write the data out */
e = g_io_channel_write(iochannel, cs->buffer, cs->n,
+28
View File
@@ -0,0 +1,28 @@
$NetBSD: patch-ae,v 1.1.1.1 2003/04/15 11:49:02 wiz Exp $
--- examples/hfetch.c.orig Thu Sep 26 13:58:59 2002
+++ examples/hfetch.c Wed Feb 12 10:06:35 2003
@@ -115,4 +115,5 @@
GIOError error;
guint n;
+ gsize n2;
@@ -143,5 +144,5 @@
while (1)
{
- error = g_io_channel_read(iochannel, buffer, sizeof(buffer), &n);
+ error = g_io_channel_read(iochannel, buffer, sizeof(buffer), &n2);
if (error != G_IO_ERROR_NONE)
{
@@ -150,8 +151,8 @@
}
- if (n == 0)
+ if (n2 == 0)
break;
- fwrite(buffer, n, 1, stdout);
+ fwrite(buffer, n2, 1, stdout);
}
+17
View File
@@ -0,0 +1,17 @@
$NetBSD: patch-af,v 1.1 2010/02/11 21:22:17 joerg Exp $
--- doc/Makefile.in.orig 2003-01-06 21:19:57.000000000 +0000
+++ doc/Makefile.in
@@ -289,9 +289,9 @@ install-data-local:
-@INSTALL@ -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(TARGET_DIR)
-@INSTALL@ -m 0644 $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR)
-(cd $(DESTDIR); gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR))
- -mv $(HTML_DIR)/$(DOC_MODULE)/* $(HTML_DIR)
- -rm -rf $(HTML_DIR)/$(DOC_MODULE)
- -(cd $(HTML_DIR); ln -s book1.html index.html)
+ -mv ${DESTDIR}$(HTML_DIR)/$(DOC_MODULE)/* ${DESTDIR}$(HTML_DIR)
+ -rm -rf ${DESTDIR}$(HTML_DIR)/$(DOC_MODULE)
+ -(cd ${DESTDIR}$(HTML_DIR); ln -s book1.html index.html)
dist-hook:
(cd $(srcdir) ; tar cvf - html/*.html html/*.sgml) | (cd $(distdir); tar xf -)