Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
Perl-AddressBook is a collection of perl library modules which provide a
unified interface for accessing addressbook entries stored in various
types of databases, e.g. LDAP, LDIF, PalmDB, DBI, text, HTML.

View File

@@ -0,0 +1,35 @@
# $NetBSD: Makefile,v 1.23 2013/05/31 12:39:48 wiz Exp $
DISTNAME= AddressBook-0.16
PKGNAME= p5-${DISTNAME}
PKGREVISION= 10
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=AddressBook/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/AddressBook/
COMMENT= Perl5 module for unified access to addressbook databases
LICENSE= artistic
DEPENDS+= p5-DBI>=1.14:../../databases/p5-DBI
DEPENDS+= p5-Date-Manip>=5.39:../../devel/p5-Date-Manip
DEPENDS+= p5-XML-DOM>=1.25:../../textproc/p5-XML-DOM
DEPENDS+= p5-perl-ldap>=0.20:../../databases/p5-perl-ldap
DEPENDS+= p5-pilot-link-[0-9]*:../../comms/p5-pilot-link
PERL5_PACKLIST= auto/AddressBook/.packlist
REPLACE_PERL= examples/SyncAbook.pm
REPLACE_PERL+= examples/abook.palm
REPLACE_PERL+= examples/phonelist.cgi
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
INSTALLATION_DIRS= ${EGDIR}
post-install:
for file in ${REPLACE_PERL} examples/ldap-abook.conf; do \
${INSTALL_DATA} ${WRKSRC}/$${file} ${DESTDIR}${EGDIR}; \
done
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,5 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:43:20 joerg Exp $
share/examples/p5-AddressBook/SyncAbook.pm
share/examples/p5-AddressBook/abook.palm
share/examples/p5-AddressBook/ldap-abook.conf
share/examples/p5-AddressBook/phonelist.cgi

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.2 2005/02/23 16:33:07 agc Exp $
SHA1 (AddressBook-0.16.tar.gz) = 953746d71b64771aab25475366c35e6778dd313c
RMD160 (AddressBook-0.16.tar.gz) = e75d9ac4d7c0ec274f332cc4c9ce4d4ced4f2638
Size (AddressBook-0.16.tar.gz) = 32634 bytes
SHA1 (patch-aa) = d5e38c7c9519de7663eee597e1584406ec613a39

View File

@@ -0,0 +1,44 @@
$NetBSD: patch-aa,v 1.1.1.1 2002/01/28 02:22:59 jlam Exp $
--- Makefile.PL.orig Fri Feb 2 16:59:42 2001
+++ Makefile.PL
@@ -66,39 +66,6 @@
exit unless $reqs_found;
-$r = prompt("For testing the LDAP backend, I need to know some things about
-your LDAP server. Continue? [y/n]","y");
-
-if ($r =~ /^y$/i) {
- $hostname = prompt("What is your LDAP server hostname","localhost");
- $base = prompt("What is a valid LDAP base that I can use for searching?
-(eg. \"ou=abook,dc=<your_domain>\")");
- $objectclass = prompt("What is a valid LDAP objectclass that I can search for?",
-"organizationalUnit");
- print "The LDAP test script will attempt to bind anonymously to \"$hostname\"
-and search for \"objectclass=$objectclass\"
-using the base: $base\n";
- open F, ">t/t.ldap.conf";
- print F << "EDQ";
-<AddressBook_config>
- <fields>
- <field name="objectclass">
- <db type="LDAP" name="objectclass" />
- </field>
- </fields>
- <databases>
- <LDAP
- hostname = "$hostname"
- base = "$base"
- anonymous = "1"
- objectclass = "$objectclass"
- />
- </databases>
-</AddressBook_config>
-EDQ
- close F;
-}
-
WriteMakefile(
'NAME' => 'AddressBook',
'VERSION_FROM' => 'lib/AddressBook.pm',