1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

New port yptransitd, an nss_ldap replacement.

An alternative to nss_ldap using an ldap based NIS/YP server.

PR:		ports/43394
Submitted by:	wolf <mjoyner@hq.dyns.cx>
This commit is contained in:
Edwin Groothuis 2003-08-28 11:41:55 +00:00
parent 765bfad454
commit a7aade67bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87892
8 changed files with 92 additions and 0 deletions

View File

@ -751,6 +751,7 @@
SUBDIR += yaz
SUBDIR += yaz++
SUBDIR += ymessenger
SUBDIR += yptransitd
SUBDIR += ysm
SUBDIR += ytalk
SUBDIR += zebra

26
net/yptransitd/Makefile Normal file
View File

@ -0,0 +1,26 @@
# New ports collection makefile for: yptransitd
# Date created: 26 September 2002
# Whom: Michael Joyner <mjoyner@hq.dyns.cx>
#
# $FreeBSD$
#
PORTNAME= yptransitd
PORTVERSION= 0.5
CATEGORIES= net
MASTER_SITES= http://unc.dl.sourceforge.net/sourceforge/yptransitd/
MAINTAINER= mjoyner@hq.dyns.cx
COMMENT= A replacement for nss_ldap
LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20-client
USE_BISON= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-ldap-prefix=${LOCALBASE}
post-install:
@ ${CAT} ${.CURDIR}/pkg-message
.include <bsd.port.mk>

1
net/yptransitd/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (yptransitd-0.5.tar.gz) = 4325ddb1b005471640c842635a34dcc1

View File

@ -0,0 +1,7 @@
--- src/confparse.y.orig Thu Aug 28 04:35:49 2003
+++ src/confparse.y Thu Aug 28 04:35:56 2003
@@ -88,3 +88,4 @@
;
modules_line: MODULES STRING_TOKEN { prefs.yp_modulelist = yp_modulelist_create($2); yylinecount++;
free($2); }
+;

View File

@ -0,0 +1,11 @@
--- src/log.c.orig Thu Aug 28 04:39:11 2003
+++ src/log.c Thu Aug 28 04:39:22 2003
@@ -62,7 +62,7 @@
else if (prefs.perr == 1)
vfprintf (stderr, fmt, args);
- va_end (ap);
+ va_end (args);
}
void fatal (const char *fmt, ...)

19
net/yptransitd/pkg-descr Normal file
View File

@ -0,0 +1,19 @@
An alternative to nss_ldap using an ldap based NIS/YP server.
This is a UNIX daemon providing NIS services with a modular
backend interface. The current focus is the development of
an LDAP module for the backend data source.
This daemon was (and is being written) in order to migrate a
large install base of UNIX systems utilizing NIS to an LDAP
based solution, eventually facilititing a migration of all
corporate services that rely on similar data to LDAP.
This (and future) LDAP related tools are being released under
the BSD License (with advertising clause).
Please understand that the project is, at best, a beta.
There is no documentation yet.
WWW: http://yptransitd.sourceforge.net/

View File

@ -0,0 +1,21 @@
************************************************************
NOTE!
a) Make sure the following is in your slapd.conf file.
#needed for yptransitd
include ${LOCALBASE}/openldap/schema/cosine.schema
include ${LOCALBASE}/openldap/schema/nis.schema
b) Make sure the following files have been localised.
${LOCALBASE}/openldap/ldap.conf
${LOCALBASE}/openldap/slapd.conf
${LOCALBASE}/yptransitd/ldap.conf
${LOCALBASE}/yptransitd/yptransitd.conf
c) The following URL should help in getting this beast running.
http://www.openldap.org/lists/openldap-software/200010/msg00097.html
************************************************************

6
net/yptransitd/pkg-plist Normal file
View File

@ -0,0 +1,6 @@
etc/yptransitd/yptransitd.conf
sbin/yptransitd
etc/yptransitd/modules/ldap.so
etc/yptransitd/ldap.conf
@dirrm etc/yptransitd/modules
@dirrm etc/yptransitd