pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc Initial import of p5-sybperl-2.16 into the NetBSD ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/026faeb9737e
branches:  trunk
changeset: 471592:026faeb9737e
user:      grant <grant%pkgsrc.org@localhost>
date:      Mon Mar 29 10:01:33 2004 +0000

description:
Initial import of p5-sybperl-2.16 into the NetBSD packages collection.

sybperl includes four modules: Sybase::DBlib, Sybase::CTlib,
Sybase::BCP and Sybase::Sybperl. The first two implement a thin
wrapper around the Sybase DB-Library and Client Library APIs,
respectively. Sybase::BCP is a specialty module aimed at doing
Bulk-Copy operations, and Sybase::Sybperl is a compatibility module
with sybperl 1.xx (i.e. with the perl 4.x version).

The sybperl modules are thin wrappers around the Sybase APIs. This is
both good and bad. It's good because you have greater control, and
because the API is (obviously) close to the way the server and the
protocol work. It's bad in that it's a proprietary API, and that it is
somewhat verbose.

diffstat:

 databases/p5-sybperl/DESCR            |  12 +++++++++++
 databases/p5-sybperl/Makefile         |  38 +++++++++++++++++++++++++++++++++++
 databases/p5-sybperl/PLIST            |   1 +
 databases/p5-sybperl/distinfo         |   5 ++++
 databases/p5-sybperl/patches/patch-aa |  13 +++++++++++
 doc/CHANGES                           |   3 +-
 6 files changed, 71 insertions(+), 1 deletions(-)

diffs (103 lines):

diff -r 66096d2bf9a1 -r 026faeb9737e databases/p5-sybperl/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-sybperl/DESCR        Mon Mar 29 10:01:33 2004 +0000
@@ -0,0 +1,12 @@
+sybperl includes four modules: Sybase::DBlib, Sybase::CTlib,
+Sybase::BCP and Sybase::Sybperl. The first two implement a thin
+wrapper around the Sybase DB-Library and Client Library APIs,
+respectively. Sybase::BCP is a specialty module aimed at doing
+Bulk-Copy operations, and Sybase::Sybperl is a compatibility module
+with sybperl 1.xx (i.e. with the perl 4.x version).
+
+The sybperl modules are thin wrappers around the Sybase APIs. This is
+both good and bad. It's good because you have greater control, and
+because the API is (obviously) close to the way the server and the
+protocol work. It's bad in that it's a proprietary API, and that it is
+somewhat verbose.
diff -r 66096d2bf9a1 -r 026faeb9737e databases/p5-sybperl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-sybperl/Makefile     Mon Mar 29 10:01:33 2004 +0000
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/03/29 10:01:33 grant Exp $
+#
+
+DISTNAME=      sybperl-2.16
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    databases perl5
+MASTER_SITES=  http://www.peppler.org/downloads/
+
+MAINTAINER=    grant%NetBSD.org@localhost
+HOMEPAGE=      http://www.mbay.net/~mpeppler/
+COMMENT=       Perl modules for using Sybase/MS-SQL databases
+
+USE_BUILDLINK2=                YES
+PERL5_PACKLIST=                ${PERL5_SITEARCH}/auto/Sybase/.packlist
+
+BUILD_DEFS+=           USE_SYBASE_OPENCLIENT
+BUILD_DEFS+=           SYBASE
+
+.if defined(USE_SYBASE_OPENCLIENT) && empty(USE_SYBASE_OPENCLIENT:M[Nn][Oo])
+.  if defined(SYBASE) || exists(${SYBASE}/lib/libct.so)
+BUILDLINK_PASSTHRU_DIRS=${SYBASE}
+_SYBASE=               ${SYBASE}
+.  else
+PKG_FAIL_REASON+=      "You must define SYBASE to the base directory of your Open Client."
+.  endif
+.else
+_SYBASE=               ${BUILDLINK_PREFIX.freetds}/freetds
+.endif
+
+PERL5_LDFLAGS+=                -Wl,${RPATH_FLAG}${_SYBASE}/lib
+MAKE_ENV+=             SYBASE=${_SYBASE}
+
+.if !defined(USE_SYBASE_OPENCLIENT)
+.  include "../../databases/freetds/buildlink2.mk"
+.endif
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 66096d2bf9a1 -r 026faeb9737e databases/p5-sybperl/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-sybperl/PLIST        Mon Mar 29 10:01:33 2004 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/29 10:01:33 grant Exp $
diff -r 66096d2bf9a1 -r 026faeb9737e databases/p5-sybperl/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-sybperl/distinfo     Mon Mar 29 10:01:33 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/03/29 10:01:33 grant Exp $
+
+SHA1 (sybperl-2.16.tar.gz) = 1908abd8101e6ecd27bcda0873128fb36f37c81a
+Size (sybperl-2.16.tar.gz) = 214646 bytes
+SHA1 (patch-aa) = c3c07aa96f26d04d687d31349b8fb9ef0bbb204e
diff -r 66096d2bf9a1 -r 026faeb9737e databases/p5-sybperl/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-sybperl/patches/patch-aa     Mon Mar 29 10:01:33 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/03/29 10:01:33 grant Exp $
+
+--- Makefile.PL.orig   2004-01-01 03:47:07.000000000 +1100
++++ Makefile.PL
+@@ -11,7 +11,7 @@ require './util/config.pl';
+ my $sattr = &config();
+ my $written_pwd_file = 'PWD';
+ 
+-configPwd();
++# configPwd();
+ 
+ my $linktype = defined($$sattr{LINKTYPE}) ? $$sattr{LINKTYPE} : 'dynamic';
+ 
diff -r 66096d2bf9a1 -r 026faeb9737e doc/CHANGES
--- a/doc/CHANGES       Mon Mar 29 09:58:28 2004 +0000
+++ b/doc/CHANGES       Mon Mar 29 10:01:33 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.5352 2004/03/29 09:54:58 grant Exp $
+$NetBSD: CHANGES,v 1.5353 2004/03/29 10:03:02 grant Exp $
 
 Changes to the packages collection and infrastructure in 2004:
 
@@ -1580,3 +1580,4 @@
        Updated qt3-libs to 3.2.3nb1 [recht 2004-03-29]
        Updated Gauche to 0.7.4.2 [kei 2004-03-29]
        Added sqsh-x11-2.1 [grant 2004-03-29]
+       Added p5-sybperl-2.16 [grant 2004-03-29]



Home | Main Index | Thread Index | Old Index