From f1ae21428b34c8f44fd6ff37ba009a9cf00b111b Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 22 Aug 2007 17:32:07 +0000 Subject: Import new "yap2lc" package: Yet Another Passwd 2 LDIF Converter --- databases/yap2lc/DESCR | 4 ++++ databases/yap2lc/Makefile | 24 ++++++++++++++++++++++++ databases/yap2lc/PLIST | 7 +++++++ databases/yap2lc/distinfo | 6 ++++++ databases/yap2lc/patches/patch-aa | 22 ++++++++++++++++++++++ 5 files changed, 63 insertions(+) create mode 100644 databases/yap2lc/DESCR create mode 100644 databases/yap2lc/Makefile create mode 100644 databases/yap2lc/PLIST create mode 100644 databases/yap2lc/distinfo create mode 100644 databases/yap2lc/patches/patch-aa (limited to 'databases') diff --git a/databases/yap2lc/DESCR b/databases/yap2lc/DESCR new file mode 100644 index 00000000000..ec8b1ae212f --- /dev/null +++ b/databases/yap2lc/DESCR @@ -0,0 +1,4 @@ +Yap2lc (Yet Another Passwd 2 LDIF Converter) is an LDAP migration +tool, which extracts information from passwd, shadow/passwd, and +master.passwd formatted files, filters out unwanted/misshapen accounts +and writes an LDIF file for easy importing. diff --git a/databases/yap2lc/Makefile b/databases/yap2lc/Makefile new file mode 100644 index 00000000000..f49880f8166 --- /dev/null +++ b/databases/yap2lc/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/08/22 17:32:07 tron Exp $ + +DISTNAME= yap2lc-0.5.9 +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=yap2lc/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://sourceforge.net/projects/yap2lc/ +COMMENT= Yet Another Passwd 2 LDIF Converter + +GNU_CONFIGURE= YES + +INSTALLATION_DIRS= bin share/doc/yap2lc share/examples/yap2lc + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/yap2lc ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/yap2lc + ${INSTALL_DATA} ${WRKSRC}/samples/ldif.template \ + ${PREFIX}/share/examples/yap2lc + ${INSTALL_DATA} ${WRKSRC}/samples/yap2lc.conf \ + ${PREFIX}/share/examples/yap2lc + +.include "../../databases/db4/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/yap2lc/PLIST b/databases/yap2lc/PLIST new file mode 100644 index 00000000000..23a05f377ed --- /dev/null +++ b/databases/yap2lc/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/08/22 17:32:07 tron Exp $ +bin/yap2lc +share/doc/yap2lc/README +share/examples/yap2lc/ldif.template +share/examples/yap2lc/yap2lc.conf +@dirrm share/examples/yap2lc +@dirrm share/doc/yap2lc diff --git a/databases/yap2lc/distinfo b/databases/yap2lc/distinfo new file mode 100644 index 00000000000..49e1d4bff26 --- /dev/null +++ b/databases/yap2lc/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/08/22 17:32:07 tron Exp $ + +SHA1 (yap2lc-0.5.9.tar.gz) = c63b36ec5068793b53c0a84db207209fc30be277 +RMD160 (yap2lc-0.5.9.tar.gz) = c5538663917bd46dbda1e71834a8ccf145bbb4af +Size (yap2lc-0.5.9.tar.gz) = 58651 bytes +SHA1 (patch-aa) = a2abfd8dcd49f3119af143f30503a60d5ef5e2d2 diff --git a/databases/yap2lc/patches/patch-aa b/databases/yap2lc/patches/patch-aa new file mode 100644 index 00000000000..a0475e5ba7d --- /dev/null +++ b/databases/yap2lc/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/08/22 17:32:07 tron Exp $ + +--- configure.orig 2003-12-22 18:50:00.000000000 +0000 ++++ configure 2007-08-22 18:00:42.000000000 +0100 +@@ -3418,7 +3418,7 @@ + withval="$with_bdb" + CFLAGS="${CFLAGS} -DBDB" + else +- LDFLAGS="${LDFLAGS} -ldb" ++ LDFLAGS="${LDFLAGS} -ldb4" + fi; + + +@@ -3427,7 +3427,7 @@ + withval="$with_old_bdb" + CFLAGS="${CFLAGS} -DOLD_BDB" + else +- LDFLAGS="${LDFLAGS} -ldb" ++ LDFLAGS="${LDFLAGS} -ldb4" + fi; + + -- cgit v1.2.3