1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

[NEW PORT] devel/poslib: Posadis C++ DNS library

Poslib is a portable C++ DNS library, a part of Posadis
	project.  It consists of two parts: a client library and a
	server library.

	Using the client library, you can simply develop applications
	that use the Domain Name System (DNS). It includes many
	functions for resolving, domain-name manipulation and
	Resource Record (RR) creation.

	The server library, based on the client core, can be used
	to develop DNS servers. By implementing a query entry-point
	function using the Poslib library of functions, you can
	easily create DNS servers, without worrying about low-level
	details such as DNS message compilation, domain-name
	compression and UDP/TCP transmission.

	Author:	Meilof Veeningen <meilof@users.sourceforge.net>
	WWW:	http://posadis.sourceforge.net/projects/poslib.php

PR:		ports/55195
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
This commit is contained in:
Edwin Groothuis 2003-08-30 00:56:20 +00:00
parent 1ce967df62
commit 3618543557
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88025
5 changed files with 97 additions and 0 deletions

View File

@ -811,6 +811,7 @@
SUBDIR += portcheckout
SUBDIR += portlint
SUBDIR += porttools
SUBDIR += poslib
SUBDIR += powerpc-rtems-binutils
SUBDIR += powerpc-rtems-g77
SUBDIR += powerpc-rtems-gcc

30
devel/poslib/Makefile Normal file
View File

@ -0,0 +1,30 @@
# New ports collection makefile for: poslib
# Date created: 2003-08-03
# Whom: Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#
PORTNAME= poslib
PORTVERSION= 1.0
CATEGORIES= devel dns
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= posadis
MAINTAINER= sergei@kolobov.com
COMMENT= Posadis C++ DNS library
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-cxxflags="${CXXFLAGS} -D_REENTRANT"
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
DOCS= AUTHORS ChangeLog NEWS README TODO
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>

1
devel/poslib/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (poslib-1.0.tar.gz) = c87a9fa5eeca7465ede03d3196cb4277

15
devel/poslib/pkg-descr Normal file
View File

@ -0,0 +1,15 @@
Poslib is a portable C++ DNS library, a part of Posadis project.
It consists of two parts: a client library and a server library.
Using the client library, you can simply develop applications that use
the Domain Name System (DNS). It includes many functions for resolving,
domain-name manipulation and Resource Record (RR) creation.
The server library, based on the client core, can be used to develop
DNS servers. By implementing a query entry-point function using the
Poslib library of functions, you can easily create DNS servers,
without worrying about low-level details such as DNS message compilation,
domain-name compression and UDP/TCP transmission.
Author: Meilof Veeningen <meilof@users.sourceforge.net>
WWW: http://posadis.sourceforge.net/projects/poslib.php

50
devel/poslib/pkg-plist Normal file
View File

@ -0,0 +1,50 @@
@comment $FreeBSD$
bin/poslib-config
include/poslib-1.0/poslib/bits.h
include/poslib-1.0/poslib/dnsdefs.h
include/poslib-1.0/poslib/dnsmessage.h
include/poslib-1.0/poslib/domainfn.h
include/poslib-1.0/poslib/exception.h
include/poslib-1.0/poslib/lexfn.h
include/poslib-1.0/poslib/masterfile.h
include/poslib-1.0/poslib/poslib.h
include/poslib-1.0/poslib/postime.h
include/poslib-1.0/poslib/random.h
include/poslib-1.0/poslib/resolver.h
include/poslib-1.0/poslib/rr.h
include/poslib-1.0/poslib/server/configuration.h
include/poslib-1.0/poslib/server/handlequery.h
include/poslib-1.0/poslib/server/log.h
include/poslib-1.0/poslib/server/pending.h
include/poslib-1.0/poslib/server/posthreads.h
include/poslib-1.0/poslib/server/requestid.h
include/poslib-1.0/poslib/server/server.h
include/poslib-1.0/poslib/server/serverthread.h
include/poslib-1.0/poslib/server/srvresolver.h
@dirrm include/poslib-1.0/poslib/server
include/poslib-1.0/poslib/socket.h
include/poslib-1.0/poslib/syssocket.h
include/poslib-1.0/poslib/sysstl.h
include/poslib-1.0/poslib/sysstring.h
include/poslib-1.0/poslib/types.h
include/poslib-1.0/poslib/vsnprintf.h
include/poslib-1.0/poslib/w32poll.h
@dirrm include/poslib-1.0/poslib
@dirrm include/poslib-1.0
lib/libposlib.a
lib/libposlib.la
lib/libposlib.so
lib/libposlib.so.0
lib/libposserver.a
lib/libposserver.la
lib/libposserver.so
lib/libposserver.so.0
lib/poslib-1.0/include/poslib-config.h
@dirrm lib/poslib-1.0/include
@dirrm lib/poslib-1.0
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%@dirrm %%DOCSDIR%%