import libvstr:

Vstr is a string library designed for network communication. Its
design uses blocks of ptr+length data, so adding, substituting, and
deleting data are all fast operations. It has a full API of all the
usual string tasks: searching, comparing, splitting, substitution,
converting between upper and lower case, and parsing numbers and
strings. Has a full POSIX and ISO 9899:1999 compliant printf()
implementation including gcc warning compatible custom formatters.
This commit is contained in:
sthen 2009-05-12 21:38:59 +00:00
parent 4f39357f47
commit d7fc46fed8
5 changed files with 92 additions and 0 deletions

31
devel/libvstr/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/05/12 21:38:59 sthen Exp $
COMMENT = string library designed for network communication
V = 1.0.15
DISTNAME = vstr-$V
SHARED_LIBS = vstr-1.0 0.0 \
vstr 0.0
CATEGORIES = devel
HOMEPAGE = http://www.and.org/vstr/
# mostly LGPLv2.1+, assert_loop.c GPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ftp://ftp.and.org/pub/james/vstr/$V/
REGRESS_FLAGS = CPPFLAGS="${CPPFLAGS} -I${WRKSRC}/include"
SEPARATE_BUILD = concurrent
USE_GMAKE = Yes
USE_LIBTOOL = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
.include <bsd.port.mk>

5
devel/libvstr/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (vstr-1.0.15.tar.gz) = Llr0qLtkrV782/QB0KAbZQ==
RMD160 (vstr-1.0.15.tar.gz) = FY4pV0JnsClRWaCyTmSiBBwdq3o=
SHA1 (vstr-1.0.15.tar.gz) = ypg2Nayb7ogLl8I292gjD2C4iFc=
SHA256 (vstr-1.0.15.tar.gz) = jUoMZs2JNw9rnUWZwI6dAF+bTj8iIG01TugmJJSJc0o=
SIZE (vstr-1.0.15.tar.gz) = 4467918

7
devel/libvstr/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
Vstr is a string library designed for network communication. Its
design uses blocks of ptr+length data, so adding, substituting, and
deleting data are all fast operations. It has a full API of all the
usual string tasks: searching, comparing, splitting, substitution,
converting between upper and lower case, and parsing numbers and
strings. Has a full POSIX and ISO 9899:1999 compliant printf()
implementation including gcc warning compatible custom formatters.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/05/12 21:38:59 sthen Exp $
@lib lib/libvstr-1.0.so.${LIBvstr-1.0_VERSION}
@lib lib/libvstr.so.${LIBvstr_VERSION}

46
devel/libvstr/pkg/PLIST Normal file
View File

@ -0,0 +1,46 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/05/12 21:38:59 sthen Exp $
%%SHARED%%
include/vstr-arch.h
include/vstr-conf.h
include/vstr-const.h
include/vstr-def.h
include/vstr-extern.h
include/vstr-inline.h
include/vstr-switch.h
include/vstr.h
lib/libvstr.a
lib/libvstr.la
lib/pkgconfig/
lib/pkgconfig/vstr.pc
@man man/man3/vstr.3
@man man/man3/vstr_const.3
share/doc/vstr-devel-1.0.15/
share/doc/vstr-devel-1.0.15/basic_cat.c.html
share/doc/vstr-devel-1.0.15/compare_licenses/
share/doc/vstr-devel-1.0.15/compare_licenses/SafeStr.txt
share/doc/vstr-devel-1.0.15/compare_licenses/bstring.txt
share/doc/vstr-devel-1.0.15/compare_licenses/cords.txt
share/doc/vstr-devel-1.0.15/compare_licenses/ossp-str.txt
share/doc/vstr-devel-1.0.15/compare_licenses/rope.txt
share/doc/vstr-devel-1.0.15/compare_licenses/sz.txt
share/doc/vstr-devel-1.0.15/compare_licenses/toolbox.txt
share/doc/vstr-devel-1.0.15/comparison.html
share/doc/vstr-devel-1.0.15/constants.html
share/doc/vstr-devel-1.0.15/constants.txt
share/doc/vstr-devel-1.0.15/cost_tutorial.html
share/doc/vstr-devel-1.0.15/design.html
share/doc/vstr-devel-1.0.15/f_c.css
share/doc/vstr-devel-1.0.15/functions.html
share/doc/vstr-devel-1.0.15/functions.txt
share/doc/vstr-devel-1.0.15/internal_structure.dia
share/doc/vstr-devel-1.0.15/namespace.html
share/doc/vstr-devel-1.0.15/overview.html
share/doc/vstr-devel-1.0.15/printf_comparison.html
share/doc/vstr-devel-1.0.15/req_trunc_io.html
share/doc/vstr-devel-1.0.15/security.html
share/doc/vstr-devel-1.0.15/security_problems.html
share/doc/vstr-devel-1.0.15/size_cmp.gnumeric
share/doc/vstr-devel-1.0.15/speed.html
share/doc/vstr-devel-1.0.15/structs.html
share/doc/vstr-devel-1.0.15/structs.txt
share/doc/vstr-devel-1.0.15/tutorial.html