diff options
author | rh <rh@pkgsrc.org> | 2002-04-23 12:17:22 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2002-04-23 12:17:22 +0000 |
commit | 0485c0bce58f8daf0d9aad12a378e2d117ae8fca (patch) | |
tree | 368ba0661838a4464dd4d81543fbe360df79c36c /net/linc | |
parent | 8c6bb35592e26564b248f41b5f8c8dcac51451f1 (diff) | |
download | pkgsrc-0485c0bce58f8daf0d9aad12a378e2d117ae8fca.tar.gz |
Initial import of linc-0.1.21, a network client/server library.
Diffstat (limited to 'net/linc')
-rw-r--r-- | net/linc/DESCR | 12 | ||||
-rw-r--r-- | net/linc/Makefile | 20 | ||||
-rw-r--r-- | net/linc/PLIST | 28 | ||||
-rw-r--r-- | net/linc/buildlink.mk | 51 | ||||
-rw-r--r-- | net/linc/distinfo | 5 | ||||
-rw-r--r-- | net/linc/patches/patch-aa | 13 |
6 files changed, 129 insertions, 0 deletions
diff --git a/net/linc/DESCR b/net/linc/DESCR new file mode 100644 index 00000000000..5f100da7956 --- /dev/null +++ b/net/linc/DESCR @@ -0,0 +1,12 @@ +Linc is a library that eases the task of writing networked servers & +clients. It takes care of connection initiation and maintainance, +and the details of various transports. It is used by the new ORBit +to handle message transmission/receipt. + +Currently supported transports: + IPv4 (tested) + UNIX domain sockets (tested) + IPv6 + IrDA + +The connections can optionally be encrypted using OpenSSL. diff --git a/net/linc/Makefile b/net/linc/Makefile new file mode 100644 index 00000000000..b75fe3f6119 --- /dev/null +++ b/net/linc/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/04/23 12:17:22 rh Exp $ +# + +DISTNAME= linc-0.1.21 +CATEGORIES= net gnome +MASTER_SITES= ${MASTER_SITE_GNOME:=pre-gnome2/sources/linc/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= rh@netbsd.org +HOMEPAGE= http://www.gnome.org/ +COMMENT= network client/server library + +BUILD_DEPENDS+= gtk-doc-[0-9]*:../../textproc/gtk-doc + +GNU_CONFIGURE= YES +USE_LIBTOOL= YES + +.include "../../devel/pkgconfig/buildlink.mk" +.include "../../devel/glib2/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/linc/PLIST b/net/linc/PLIST new file mode 100644 index 00000000000..326d5ce693d --- /dev/null +++ b/net/linc/PLIST @@ -0,0 +1,28 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/23 12:17:22 rh Exp $ +bin/linc-config +include/linc-1.0/linc/linc-config.h +include/linc-1.0/linc/linc-connection.h +include/linc-1.0/linc/linc-protocol.h +include/linc-1.0/linc/linc-server.h +include/linc-1.0/linc/linc-types.h +include/linc-1.0/linc/linc.h +lib/liblinc.a +lib/liblinc.la +lib/liblinc.so +lib/liblinc.so.1 +lib/liblinc.so.1.0 +lib/pkgconfig/linc.pc +share/aclocal/linc.m4 +share/gtk-doc/html/linc/c4.html +share/gtk-doc/html/linc/index.html +share/gtk-doc/html/linc/linc-config.html +share/gtk-doc/html/linc/linc-linc-config.html +share/gtk-doc/html/linc/linc-linc-private.html +share/gtk-doc/html/linc/linc-linc-protocol.html +share/gtk-doc/html/linc/linc-linc-types.html +share/gtk-doc/html/linc/linc-linc.html +share/gtk-doc/html/linc/linc-lincconnection.html +share/gtk-doc/html/linc/linc-lincserver.html +@dirrm share/gtk-doc/html/linc +@dirrm include/linc-1.0/linc +@dirrm include/linc-1.0 diff --git a/net/linc/buildlink.mk b/net/linc/buildlink.mk new file mode 100644 index 00000000000..30e1550c647 --- /dev/null +++ b/net/linc/buildlink.mk @@ -0,0 +1,51 @@ +# $NetBSD: buildlink.mk,v 1.1.1.1 2002/04/23 12:17:22 rh Exp $ +# +# This Makefile fragment is included by packages that use linc. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.linc to the dependency pattern +# for the version of linc desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(LINC_BUILDLINK_MK) +LINC_BUILDLINK_MK= # defined + +.include "../../mk/bsd.buildlink.mk" + +BUILDLINK_DEPENDS.linc?= linc>=0.1.21 +DEPENDS+= ${BUILDLINK_DEPENDS.linc}:../../net/linc + +EVAL_PREFIX+= BUILDLINK_PREFIX.linc=linc +BUILDLINK_PREFIX.linc_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.linc= include/linc-1.0/linc/* +BUILDLINK_FILES.linc+= lib/liblinc.* + +.include "../../devel/pkgconfig/buildlink.mk" +.include "../../devel/glib2/buildlink.mk" + +BUILDLINK_TARGETS.linc= linc-buildlink +BUILDLINK_TARGETS.linc+=linc-buildlink-config-wrapper +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.linc} +BUILDLINK_TARGETS+= ${BUILDLINK_PKG_CONFIG} + +BUILDLINK_CONFIG.linc=${BUILDLINK_PREFIX.linc}/bin/linc-config +BUILDLINK_CONFIG_WRAPPER.linc=${BUILDLINK_DIR}/bin/linc-config +REPLACE_BUILDLINK_SED+= \ + -e "s|${BUILDLINK_CONFIG_WRAPPER.linc}|${BUILDLINK_CONFIG.linc}|g" + +.if defined(USE_CONFIG_WRAPPER) +LINC_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.linc} +CONFIGURE_ENV+= LINC_CONFIG="${LINC_CONFIG}" +MAKE_ENV+= LINC_CONFIG="${LINC_CONFIG}" +.endif + +pre-configure: ${BUILDLINK_TARGETS} +linc-buildlink: _BUILDLINK_USE +linc-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE + +.endif # LINC_BUILDLINK_MK diff --git a/net/linc/distinfo b/net/linc/distinfo new file mode 100644 index 00000000000..9cf846fdb71 --- /dev/null +++ b/net/linc/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/04/23 12:17:22 rh Exp $ + +SHA1 (linc-0.1.21.tar.bz2) = 19243478581e2e400d2ea4912c90a3a9f1fe093e +Size (linc-0.1.21.tar.bz2) = 175550 bytes +SHA1 (patch-aa) = 1643b8decf11568a2aaaf8cbe8c0e0989a897196 diff --git a/net/linc/patches/patch-aa b/net/linc/patches/patch-aa new file mode 100644 index 00000000000..0b4ac827b3b --- /dev/null +++ b/net/linc/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/04/23 12:17:22 rh Exp $ + +--- docs/Makefile.in.orig Tue Apr 23 20:27:20 2002 ++++ docs/Makefile.in +@@ -327,8 +327,6 @@ + echo '-- Installing '$$i ; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \ + done; \ +- echo '-- Installing $(srcdir)/html/index.sgml' ; \ +- $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \ + fi) + + # |