Initial import of bglibs, a collection of miscellaneous libraries

by Bruce Guenter. Required for the latest qmail-qfilter.
This commit is contained in:
schmonz 2004-12-21 00:12:29 +00:00
parent b0e74b0a40
commit 17366ce0fa
6 changed files with 219 additions and 0 deletions

2
devel/bglibs/DESCR Normal file
View file

@ -0,0 +1,2 @@
This package contains a collection of libraries written by Bruce
Guenter and put in use in various other packages.

22
devel/bglibs/Makefile Normal file
View file

@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.1.1.1 2004/12/21 00:12:29 schmonz Exp $
#
DISTNAME= bglibs-1.019
CATEGORIES= devel
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://untroubled.org/bglibs/
COMMENT= Collection of libraries by Bruce Guenter
USE_BUILDLINK3= yes
do-configure:
${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld
${ECHO} ${PREFIX} > ${WRKSRC}/conf-home
do-install:
cd ${WRKSRC} && ./installer && ./instcheck
.include "../../mk/bsd.pkg.mk"

149
devel/bglibs/PLIST Normal file
View file

@ -0,0 +1,149 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2004/12/21 00:12:29 schmonz Exp $
include/bglibs/adt/common.h
include/bglibs/adt/ghash.h
include/bglibs/adt/gqueue.h
include/bglibs/adt/gstack.h
include/bglibs/base64/base64.h
include/bglibs/cdb/cdb.h
include/bglibs/cdb/make.h
include/bglibs/cdb/str.h
include/bglibs/cli/cli.h
include/bglibs/crc/crc16_arc.h
include/bglibs/crc/crc16_ccitt.h
include/bglibs/crc/crc16_xmodem.h
include/bglibs/crc/crc32.h
include/bglibs/crc/crc32c.h
include/bglibs/crc/crc64.h
include/bglibs/crc/gcrc.h
include/bglibs/crypto/md5.h
include/bglibs/crypto/sha1.h
include/bglibs/crypto/sha256.h
include/bglibs/crypto/sha384.h
include/bglibs/crypto/sha512.h
include/bglibs/crypto/surf.h
include/bglibs/dict/dict.h
include/bglibs/dict/load.h
include/bglibs/fmt/number.h
include/bglibs/installer.h
include/bglibs/iobuf/common.h
include/bglibs/iobuf/ibuf.h
include/bglibs/iobuf/iobuf.h
include/bglibs/iobuf/obuf.h
include/bglibs/misc/misc.h
include/bglibs/misc/ucspi.h
include/bglibs/msg/msg.h
include/bglibs/msg/wrap.h
include/bglibs/net/ipv4.h
include/bglibs/net/ipv6.h
include/bglibs/net/resolve.h
include/bglibs/net/socket.h
include/bglibs/path/path.h
include/bglibs/pwcmp/client.h
include/bglibs/pwcmp/hex.h
include/bglibs/pwcmp/module.h
include/bglibs/str/env.h
include/bglibs/str/iter.h
include/bglibs/str/str.h
include/bglibs/sysdeps.h
include/bglibs/systime.h
include/bglibs/uint16.h
include/bglibs/uint32.h
include/bglibs/uint64.h
include/bglibs/uintnn.h
include/bglibs/unix/cloexec.h
include/bglibs/unix/fcntl.h
include/bglibs/unix/nonblock.h
include/bglibs/unix/selfpipe.h
include/bglibs/unix/sig.h
include/bglibs/unix/trigger.h
include/bglibs/vmailmgr/client.h
include/bglibs/vmailmgr/vpwentry.h
lib/bglibs/libbase64/base64.a
lib/bglibs/libbg-adt.a
lib/bglibs/libbg-base64.a
lib/bglibs/libbg-cdb.a
lib/bglibs/libbg-cli.a
lib/bglibs/libbg-crc.a
lib/bglibs/libbg-crypto.a
lib/bglibs/libbg-dict.a
lib/bglibs/libbg-fmt.a
lib/bglibs/libbg-installer.a
lib/bglibs/libbg-instcheck.a
lib/bglibs/libbg-instshow.a
lib/bglibs/libbg-iobuf.a
lib/bglibs/libbg-misc.a
lib/bglibs/libbg-msg.a
lib/bglibs/libbg-net.a
lib/bglibs/libbg-path.a
lib/bglibs/libbg-str.a
lib/bglibs/libbg-sysdeps.a
lib/bglibs/libbg-unix.a
lib/bglibs/libbg.a
lib/bglibs/libcdb/cdb.a
lib/bglibs/libcdb/make.a
lib/bglibs/libcdb/str.a
lib/bglibs/libcli/cli.a
lib/bglibs/libcrypto/md5.a
lib/bglibs/libcrypto/sha1.a
lib/bglibs/libcrypto/sha256.a
lib/bglibs/libcrypto/sha512a.a
lib/bglibs/libdict/dict.a
lib/bglibs/libdict/load.a
lib/bglibs/libinstaller.a
lib/bglibs/libinstcheck.a
lib/bglibs/libinstshow.a
lib/bglibs/libiobuf/iobuf.a
lib/bglibs/libiobuf/str.a
lib/bglibs/libmisc/misc.a
lib/bglibs/libmsg/msg.a
lib/bglibs/libmsg/wrap.a
lib/bglibs/libnet/ipv4.a
lib/bglibs/libnet/resolve.a
lib/bglibs/libnet/socket.a
lib/bglibs/libpath/path.a
lib/bglibs/libpwcmp-module.a
lib/bglibs/libpwcmp.a
lib/bglibs/libpwcmp/client.a
lib/bglibs/libpwcmp/hex.a
lib/bglibs/libpwcmp/module.a
lib/bglibs/libstr/iter.a
lib/bglibs/libstr/str.a
lib/bglibs/libsysdeps.a
lib/bglibs/libunix/nonblock.a
lib/bglibs/libunix/sig.a
lib/bglibs/libvmailmgr.a
lib/bglibs/libvmailmgr/client.a
lib/bglibs/libvmailmgr/vpwentry.a
@dirrm lib/bglibs/libvmailmgr
@dirrm lib/bglibs/libunix
@dirrm lib/bglibs/libstr
@dirrm lib/bglibs/libpwcmp
@dirrm lib/bglibs/libpath
@dirrm lib/bglibs/libnet
@dirrm lib/bglibs/libmsg
@dirrm lib/bglibs/libmisc
@dirrm lib/bglibs/libiobuf
@dirrm lib/bglibs/libdict
@dirrm lib/bglibs/libcrypto
@dirrm lib/bglibs/libcli
@dirrm lib/bglibs/libcdb
@dirrm lib/bglibs/libbase64
@dirrm lib/bglibs
@dirrm include/bglibs/vmailmgr
@dirrm include/bglibs/unix
@dirrm include/bglibs/str
@dirrm include/bglibs/pwcmp
@dirrm include/bglibs/path
@dirrm include/bglibs/net
@dirrm include/bglibs/msg
@dirrm include/bglibs/misc
@dirrm include/bglibs/iobuf
@dirrm include/bglibs/fmt
@dirrm include/bglibs/dict
@dirrm include/bglibs/crypto
@dirrm include/bglibs/crc
@dirrm include/bglibs/cli
@dirrm include/bglibs/cdb
@dirrm include/bglibs/base64
@dirrm include/bglibs/adt
@dirrm include/bglibs

View file

@ -0,0 +1,19 @@
# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/12/21 00:12:29 schmonz Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BGLIBS_BUILDLINK3_MK:= ${BGLIBS_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= bglibs
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbglibs}
BUILDLINK_PACKAGES+= bglibs
.if !empty(BGLIBS_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.bglibs+= bglibs>=1.019
BUILDLINK_PKGSRCDIR.bglibs?= ../../devel/bglibs
BUILDLINK_DEPMETHOD.bglibs?= build
.endif # BGLIBS_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}

5
devel/bglibs/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2004/12/21 00:12:29 schmonz Exp $
SHA1 (bglibs-1.019.tar.gz) = 851e74a3b3a1fc9ea6edd3cc04693db4187580b2
Size (bglibs-1.019.tar.gz) = 266793 bytes
SHA1 (patch-aa) = 043782561c1aa7c0f1590d5bd49242bea3bb0c7b

View file

@ -0,0 +1,22 @@
$NetBSD: patch-aa,v 1.1.1.1 2004/12/21 00:12:29 schmonz Exp $
--- insthier.c.orig 2004-11-15 15:50:28.000000000 -0500
+++ insthier.c
@@ -15,7 +15,7 @@ void insthier(void)
bin = d(home, "bin", -1, -1, 0755);
- inc = d(home, "include", -1, -1, 0755);
+ inc = d(home, "include/bglibs", -1, -1, 0755);
cf(inc, "installer.h", -1, -1, 0644, "install/installer.h");
C(inc, sysdeps.h);
@@ -111,7 +111,7 @@ void insthier(void)
CF(vmailmgr, client.h);
CF(vmailmgr, vpwentry.h);
- lib = d(home, "lib", -1, -1, 0755);
+ lib = d(home, "lib/bglibs", -1, -1, 0755);
c(lib, "libbg.a", -1, -1, 0644);