Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2000 03:20:03 -0800 (PST)
From:      Eugene Grosbein <eugen@iname.com>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/22379: New port: libudbc
Message-ID:  <200010291120.DAA80136@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/22379; it has been noted by GNATS.

From: Eugene Grosbein <eugen@iname.com>
To: freebsd-gnats-submit@FreeBSD.org,
	eugen@D00015.dialonly.kemerovo.su
Cc:  
Subject: Re: ports/22379: New port: libudbc
Date: Sun, 29 Oct 2000 18:17:33 +0700

 This is a multi-part message in MIME format.
 --------------6D4F3C3641FCE3CE8D9E913B
 Content-Type: text/plain; charset=koi8-r
 Content-Transfer-Encoding: 7bit
 
 It appears that vendor (Openlink) offers two distributions from two ftp
 servers.
 Archives appear to have identical contents but are compressed differently.
 I did "make makesum" using one archive while Makefile points to another as
 first
 of MASTER_SITES. Sorry, this is my first contribution and my fault.
 Collision is fixed by removing one of servers from MASTER_SITES.
 Fixed version is attached.
 
 Eugene Grosbein
 --------------6D4F3C3641FCE3CE8D9E913B
 Content-Type: application/x-shar;
  name="libudbc.shar"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="libudbc.shar"
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	libudbc
 #	libudbc/Makefile
 #	libudbc/pkg-descr
 #	libudbc/pkg-comment
 #	libudbc/pkg-plist
 #	libudbc/distinfo
 #	libudbc/files
 #	libudbc/files/patch-ab
 #	libudbc/files/patch-aa
 #	libudbc/pkg-message
 #
 echo c - libudbc
 mkdir -p libudbc > /dev/null 2>&1
 echo x - libudbc/Makefile
 sed 's/^X//' >libudbc/Makefile << 'END-of-libudbc/Makefile'
 X# New ports collection makefile for:	libubcd
 X# Date created:        28 October 2000
 X# Whom:                Eugene Grosbein <eugen@iname.com>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	libudbc
 XPORTVERSION=	1.5
 XCATEGORIES=	databases
 XMASTER_SITES=	ftp://ftp.openlinksw.co.uk/open32/ \
 X		http://ftp.svzserv.kemerovo.su/pub/FreeBSD/ports/distfiles/
 XDISTNAME=	f3kuzzzz
 XEXTRACT_SUFX=	.taz
 X
 XMAINTAINER=	eugen@iname.com
 X
 XNO_WRKSUBDIR=	yes
 XNO_BUILD=	yes
 XINSTALLS_SHLIB=	yes
 XNO_FILTER_SHLIBS=yes
 XONLY_FOR_ARCHS=	i386
 X
 Xdo-install:
 X	@${INSTALL_PROGRAM} ${WRKDIR}/udbcsdk/examples/udbctest ${PREFIX}/bin
 X	@${MKDIR} ${PREFIX}/include/udbc
 X	@${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/libudbc.h ${PREFIX}/include
 X	@${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcext.h ${PREFIX}/include/udbc
 X	@${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcimpl.h ${PREFIX}/include/udbc
 X	@${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcodbc.h ${PREFIX}/include/udbc
 X	@${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcprto.h ${PREFIX}/include/udbc
 X	@${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcsag.h ${PREFIX}/include/udbc
 X	@${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbctype.h ${PREFIX}/include/udbc
 X	@${INSTALL_DATA} ${WRKDIR}/udbcsdk/lib/libudbc.a ${PREFIX}/lib
 X	@${INSTALL} -c -o ${SHAREOWN} -g ${SHAREGRP} -m 755  ${WRKDIR}/udbcsdk/lib/libudbc.la ${PREFIX}/lib
 X	@${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP} -m 755 ${WRKDIR}/udbcsdk/lib/libudbc.so ${PREFIX}/lib
 X	@${LN} -f ${PREFIX}/lib/libudbc.so ${PREFIX}/lib/libudbc.so.1.5
 X.if !defined(NOPORTSDOC)
 X	@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
 X	@${INSTALL_DATA} ${WRKDIR}/udbcsdk/doc/udbc.doc ${PREFIX}/share/doc/${PORTNAME}
 X	@${INSTALL_DATA} ${WRKDIR}/udbcsdk/doc/udbc.ini ${PREFIX}/share/doc/${PORTNAME}/udbc.ini.sample
 X	@${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
 X	@${INSTALL_DATA} ${WRKDIR}/udbcsdk/examples/Makefile ${PREFIX}/share/examples/${PORTNAME}/Makefile
 X	@${PERL} -pi -e "s,../,${PREFIX}/," ${PREFIX}/share/examples/${PORTNAME}/Makefile
 X	@${INSTALL_DATA} ${WRKDIR}/udbcsdk/examples/udbctest.c ${PREFIX}/share/examples/${PORTNAME}
 X
 Xpost-install:
 X	@${CAT} pkg-message | ${SED} "s'PREFIX'${PREFIX}'"
 X.endif
 X
 X.include <bsd.port.pre.mk>
 X
 X.if ${OSVERSION} < 320000
 XBROKEN=		"Systems prior to 3.2-RELEASE are out of support"
 X.endif
 X
 X.include <bsd.port.post.mk>
 END-of-libudbc/Makefile
 echo x - libudbc/pkg-descr
 sed 's/^X//' >libudbc/pkg-descr << 'END-of-libudbc/pkg-descr'
 X From udbc.doc:
 X
 X    WHAT IS UDBC?
 X
 X    UDBC is OpenLink's acronym for Universal DataBase Connectivity.
 X
 X    In short, UDBC is the merge between the X/Open - SAG interface and
 X    the Microsoft ODBC interface for client database applications.
 X
 X    UDBC was developped to enable software engineers to rapidly develop
 X    database independent applications without being concerned about issues
 X    like portability, network programming and database specific interfacing
 X    problems.
 X
 XWWW: http://www.openlinksw.com/
 X
 X- Grosbein
 Xeugen@iname.com
 END-of-libudbc/pkg-descr
 echo x - libudbc/pkg-comment
 sed 's/^X//' >libudbc/pkg-comment << 'END-of-libudbc/pkg-comment'
 XOpenlink UDBC SDK
 END-of-libudbc/pkg-comment
 echo x - libudbc/pkg-plist
 sed 's/^X//' >libudbc/pkg-plist << 'END-of-libudbc/pkg-plist'
 Xbin/udbctest
 Xinclude/libudbc.h
 Xinclude/udbc/udbcext.h
 Xinclude/udbc/udbcimpl.h
 Xinclude/udbc/udbcodbc.h
 Xinclude/udbc/udbcprto.h
 Xinclude/udbc/udbcsag.h
 Xinclude/udbc/udbctype.h
 Xlib/libudbc.a
 Xlib/libudbc.la
 Xlib/libudbc.so
 X@exec ln %D/lib/libudbc.so %D/lib/libudbc.so.1.5
 X@unexec rm %D/lib/libudbc.so.1.5 
 Xshare/doc/libudbc/udbc.doc
 Xshare/doc/libudbc/udbc.ini.sample
 Xshare/examples/libudbc/Makefile
 Xshare/examples/libudbc/udbctest.c
 X@dirrm include/udbc
 X@dirrm share/doc/libudbc
 X@dirrm share/examples/libudbc
 END-of-libudbc/pkg-plist
 echo x - libudbc/distinfo
 sed 's/^X//' >libudbc/distinfo << 'END-of-libudbc/distinfo'
 XMD5 (f3kuzzzz.taz) = d43f1b40b6d7f45c3abb095b3d4f0f00
 END-of-libudbc/distinfo
 echo c - libudbc/files
 mkdir -p libudbc/files > /dev/null 2>&1
 echo x - libudbc/files/patch-ab
 sed 's/^X//' >libudbc/files/patch-ab << 'END-of-libudbc/files/patch-ab'
 X--- udbcsdk/examples/Makefile.orig	Sun Oct 29 01:12:20 2000
 X+++ udbcsdk/examples/Makefile	Sun Oct 29 01:13:21 2000
 X@@ -24,10 +24,10 @@
 X ######################################################################
 X 
 X ##   Generic	######################################################
 X-CFLAGS	= -O -I../include -pthread
 X+CFLAGS	+= -O -I../include -pthread
 X 
 X ##   HP/UX	######################################################
 X-#CFLAGS	= -O -Aa +ESlit -I../include
 X+#CFLAGS	+= -O -Aa +ESlit -I../include
 X 
 X 
 X ######################################################################
 X@@ -37,7 +37,7 @@
 X ######################################################################
 X 
 X ##   Generic	######################################################
 X-LIBS	= ../lib/libudbc.a #-lpthread
 X+LIBS	= ../lib/libudbc.a #-pthread
 X 
 X ##   SCO Unix	######################################################
 X #LIBS	= ../lib/libudbc.a -lsocket
 X@@ -95,7 +95,7 @@
 X #
 X ##   Shared 	######################################################
 X #       
 X-#LIBS	= -L../lib -ludbc -lpthread
 X+#LIBS	= -L../lib -ludbc -pthread
 X 
 X udbctest: udbctest.c
 X 	cc $(CFLAGS) -o udbctest udbctest.c $(LIBS)
 END-of-libudbc/files/patch-ab
 echo x - libudbc/files/patch-aa
 sed 's/^X//' >libudbc/files/patch-aa << 'END-of-libudbc/files/patch-aa'
 X--- udbcsdk/examples/udbctest.c.orig	Sun Oct 29 01:10:02 2000
 X+++ udbcsdk/examples/udbctest.c	Sun Oct 29 01:10:18 2000
 X@@ -19,7 +19,7 @@
 X 
 X #include <stdio.h>
 X #include <string.h>
 X-#include "libudbc.h"
 X+#include <libudbc.h>
 X 
 X #define MAXCOLS		32
 X 
 END-of-libudbc/files/patch-aa
 echo x - libudbc/pkg-message
 sed 's/^X//' >libudbc/pkg-message << 'END-of-libudbc/pkg-message'
 X
 X/**********************************************************
 XYou need install udbc.ini to /etc/udbc.ini or ~/.udbc.ini, 
 Xyou will find well commented sample installed as 
 XPREFIX/share/doc/libudbc/udbc.ini.sample.
 XA sample application using libudbc is also installed as
 XPREFIX/share/examples/libudbc/udbctest.c
 X***********************************************************/
 X
 END-of-libudbc/pkg-message
 exit
 
 
 --------------6D4F3C3641FCE3CE8D9E913B--
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010291120.DAA80136>