Date: Tue, 10 Dec 2002 20:11:19 +0900 (JST) From: NAKAJI Hiroyuki <nakaji@jp.freebsd.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/46161: [japanese/samba] FreeBSD 5-current is detected as SYSV Message-ID: <200212101111.gBABBJZG030915@boggy.acest.tutrp.tut.ac.jp>
next in thread | raw e-mail | index | archive | help
>Number: 46161 >Category: ports >Synopsis: [japanese/samba] FreeBSD 5-current is detected as SYSV >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Dec 10 03:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: NAKAJI Hiroyuki >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD boggy.acest.tutrp.tut.ac.jp 5.0-CURRENT FreeBSD 5.0-CURRENT #22: Mon Nov 11 14:42:14 JST 2002 root@boggy.acest.tutrp.tut.ac.jp:/usr/obj/usr/src/sys/NAKAJI i386 >Description: Recent FreeBSD 5-CURRENT has statvfs() function and it causes samba to misunderstand that FreeBSD 5-CURRENT is a SYSV system in include/includes.h. >How-To-Repeat: cd /usr/ports/japanese/samba make install testparm /dev/null You can see, printing = sysv print command = lp -c -d%p %s; rm %s lpq command = lpstat -o%p lprm command = cancel %p-%j lppause command = lp -i %p-%j -H hold lpresume command = lp -i %p-%j -H resume queuepause command = disable %p queueresume command = enable %p >Fix: Following tiny diff or net/samba/files/patch-sysv is necessary. --- include/includes.h.orig Tue Dec 10 19:50:18 2002 +++ include/includes.h Tue Dec 10 19:52:33 2002 @@ -808,8 +808,10 @@ #endif /* this guess needs to be improved (tridge) */ +#ifndef __FreeBSD__ #if (defined(STAT_STATVFS) || defined(STAT_STATVFS64)) && !defined(SYSV) #define SYSV 1 +#endif #endif #ifndef DEFAULT_PRINTING >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212101111.gBABBJZG030915>