diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-28 19:41:55 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-28 19:41:55 +0800 |
commit | 436af3a0d0a0a85dd30ad83ab4973eaa468c2848 (patch) | |
tree | 7e90cda339b180535d8da136aedb106073cf497f /net | |
parent | b3761b785ac8b1c00ba7374a939c316f54953b81 (diff) | |
download | freebsd-ports-gnome-436af3a0d0a0a85dd30ad83ab4973eaa468c2848.tar.gz freebsd-ports-gnome-436af3a0d0a0a85dd30ad83ab4973eaa468c2848.tar.zst freebsd-ports-gnome-436af3a0d0a0a85dd30ad83ab4973eaa468c2848.zip |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/yptransitd/Makefile | 26 | ||||
-rw-r--r-- | net/yptransitd/distinfo | 1 | ||||
-rw-r--r-- | net/yptransitd/files/patch-src::confparse.y | 7 | ||||
-rw-r--r-- | net/yptransitd/files/patch-src::log.c | 11 | ||||
-rw-r--r-- | net/yptransitd/pkg-descr | 19 | ||||
-rw-r--r-- | net/yptransitd/pkg-message | 21 | ||||
-rw-r--r-- | net/yptransitd/pkg-plist | 6 |
8 files changed, 92 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index e96565657148..2613c3c6b99f 100644 --- a/net/Makefile +++ b/net/Makefile @@ -751,6 +751,7 @@ SUBDIR += yaz SUBDIR += yaz++ SUBDIR += ymessenger + SUBDIR += yptransitd SUBDIR += ysm SUBDIR += ytalk SUBDIR += zebra diff --git a/net/yptransitd/Makefile b/net/yptransitd/Makefile new file mode 100644 index 000000000000..6337b11d9428 --- /dev/null +++ b/net/yptransitd/Makefile @@ -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> diff --git a/net/yptransitd/distinfo b/net/yptransitd/distinfo new file mode 100644 index 000000000000..af2449cae1ba --- /dev/null +++ b/net/yptransitd/distinfo @@ -0,0 +1 @@ +MD5 (yptransitd-0.5.tar.gz) = 4325ddb1b005471640c842635a34dcc1 diff --git a/net/yptransitd/files/patch-src::confparse.y b/net/yptransitd/files/patch-src::confparse.y new file mode 100644 index 000000000000..295f15d1f967 --- /dev/null +++ b/net/yptransitd/files/patch-src::confparse.y @@ -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); } ++; diff --git a/net/yptransitd/files/patch-src::log.c b/net/yptransitd/files/patch-src::log.c new file mode 100644 index 000000000000..d670d2f8e8fc --- /dev/null +++ b/net/yptransitd/files/patch-src::log.c @@ -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, ...) diff --git a/net/yptransitd/pkg-descr b/net/yptransitd/pkg-descr new file mode 100644 index 000000000000..ee9ee1cbc071 --- /dev/null +++ b/net/yptransitd/pkg-descr @@ -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/ diff --git a/net/yptransitd/pkg-message b/net/yptransitd/pkg-message new file mode 100644 index 000000000000..45207715a501 --- /dev/null +++ b/net/yptransitd/pkg-message @@ -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 + +************************************************************ diff --git a/net/yptransitd/pkg-plist b/net/yptransitd/pkg-plist new file mode 100644 index 000000000000..cb0ebf6fff1f --- /dev/null +++ b/net/yptransitd/pkg-plist @@ -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 |