Subject: samba : utils/pdbedit
To: None <tech-pkg@netbsd.org>
From: Pascal Cabaud <Pascal.Cabaud@eila.jussieu.fr>
List: tech-pkg
Date: 04/07/2003 14:03:47
Hi,

why bin/pdbedit is not build with the others utilities ?
After testing, the configure script misses the binary so, the following
patch works for me (after configure'd) :

--- work/samba-2.2.8/source/Makefile.orig       Mon Apr  7 11:37:28 2003
+++ work/samba-2.2.8/source/Makefile
@@ -100,7 +100,7 @@ WINBIND_LPROGS = 
 
 SPROGS = bin/smbd bin/nmbd bin/swat
 PROGS1 = bin/smbclient bin/smbspool bin/testparm bin/testprns bin/smbstatus bin/smbcontrol bin/tdbbackup bin/make_printerdef  
-PROGS2 = bin/smbpasswd bin/make_smbcodepage bin/rpcclient bin/make_unicodemap bin/smbcacls      
+PROGS2 = bin/smbpasswd bin/make_smbcodepage bin/rpcclient bin/make_unicodemap bin/smbcacls bin/pdbedit
 MPROGS = 
 LPROGS = $(WINBIND_PAM_PROGS) $(WINBIND_LPROGS)
 PROGS = $(PROGS1) $(PROGS2) $(MPROGS) bin/nmblookup

A better solution is to hack autoconf/automake but I'm too lazy to do it ;-)
Don't forget PLIST after.

Regards,

pc

-- 
Pascal CABAUD -------------------- <http://sysadmin.eila.jussieu.fr>
UFR EILA - Universite Paris 7                        2 place Jussieu
Service Informatique, 23-24 411                 75251 Paris Cedex 05
tel. & fax : (33) 01-44-27-81-57                           case 7002