Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Aug 2009 18:34:38 -0700 (PDT)
From:      Douglas William Thrift <douglas@douglasthrift.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        melifaro@ipfw.ru
Subject:   ports/138086: Update port: net/nss_ldapd Fix rc.d script
Message-ID:  <200908230134.n7N1YWZc085239@slowhand.douglasthrift.net>
Resent-Message-ID: <200908230320.n7N3K39i023551@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         138086
>Category:       ports
>Synopsis:       Update port: net/nss_ldapd Fix rc.d script
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 23 03:20:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Douglas William Thrift
>Release:        FreeBSD 7.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD zweihander.ccs.ucsb.edu 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #12: Tue Aug 4 16:54:15 PDT 2009 root@zweihander.ccs.ucsb.edu:/usr/obj/usr/src/sys/DOPPELSOLDNER amd64
>Description:
The rc.d script for net/nss_ldapd had %{name} where it should have had ${name}.
>How-To-Repeat:
>Fix:
--- nss_ldapd.patch begins here ---
diff -Nrux .svn -x work /usr/ports/net/nss_ldapd/Makefile nss_ldapd/Makefile
--- /usr/ports/net/nss_ldapd/Makefile	2009-08-13 18:46:44.000000000 -0700
+++ nss_ldapd/Makefile	2009-08-22 18:06:00.636342612 -0700
@@ -7,6 +7,7 @@
 
 PORTNAME=		nss_ldapd
 PORTVERSION=		0.6.11
+PORTREVISION=		1
 CATEGORIES=		net
 MASTER_SITES=		http://arthurdejong.org/nss-ldapd/
 DISTNAME=		nss-ldapd-${PORTVERSION}
diff -Nrux .svn -x work /usr/ports/net/nss_ldapd/files/nslcd.in nss_ldapd/files/nslcd.in
--- /usr/ports/net/nss_ldapd/files/nslcd.in	2009-08-13 18:46:44.000000000 -0700
+++ nss_ldapd/files/nslcd.in	2009-08-22 17:49:53.548256383 -0700
@@ -17,7 +17,7 @@
 name=nslcd
 rcvar=$(set_rcvar)
 
-command="%%PREFIX%%/sbin/%{name}"
+command="%%PREFIX%%/sbin/${name}"
 pidfile="/var/run/${name}.pid"
 
 load_rc_config ${name}
--- nss_ldapd.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908230134.n7N1YWZc085239>