On 2009/07/01 16:43, andrew fresh wrote: > And, another try as a subpackage was recommended instead of a flavor. > > Still building on my end, but how wrong could I be? > > Probably at least wrong in that I didn't bump PKGNAME-main?
I think it's probably ok just as in your diff, but I only skimmed the source to see if enabling it changes anything in the main binaries so I may have missed something (bump is cheaper than reading carefully anyway :-) Looks to me like this would be useful to add to the port. Obviously post unlock of course. > > l8rZ, > -- > andrew - ICQ# 253198 - Jabber: [email protected] > > BOFH excuse of the day: fractal radiation jamming the backbone > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/net/samba/Makefile,v > retrieving revision 1.105 > diff -u -p -r1.105 Makefile > --- Makefile 30 Jun 2009 21:38:38 -0000 1.105 > +++ Makefile 1 Jul 2009 23:38:09 -0000 > @@ -2,6 +2,7 @@ > > COMMENT-main= SMB and CIFS client and server for UNIX > COMMENT-docs= additional documentation and examples for Samba > +COMMENT-winbind=winbind support for Samba > > DISTNAME= samba-3.0.34 > PKGNAME-main= ${DISTNAME}p1 > @@ -56,14 +57,15 @@ CONFIGURE_ARGS= --disable-fam \ > --with-sslinc="/usr/include/ssl" \ > --with-ssllib="/usr/lib" \ > --with-syslog \ > - --with-utmp > + --with-utmp \ > + --with-winbind > CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ > LDFLAGS="-L${LOCALBASE}/lib -Wl,--export-dynamic" > > FLAVORS= cups ldap ads > FLAVOR?= > > -MULTI_PACKAGES= -main -docs > +MULTI_PACKAGES= -main -docs -winbind > > .if ${FLAVOR:L:Mcups} > LIB_DEPENDS+= cups::print/cups > @@ -99,6 +101,7 @@ PKG_ARCH-docs= * > LIB_DEPENDS-docs= > WANTLIB-docs= > RUN_DEPENDS-docs= > +RUN_DEPENDS-winbind= ::net/samba,-main > > NO_REGRESS= Yes > > cvs server: Diffing files > cvs server: Diffing patches > cvs server: Diffing pkg > Index: pkg/DESCR-winbind > =================================================================== > RCS file: pkg/DESCR-winbind > diff -N pkg/DESCR-winbind > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ pkg/DESCR-winbind 1 Jul 2009 23:38:09 -0000 > @@ -0,0 +1,4 @@ > +Winbind on OpenBSD does not support local user logins. > + > +Winbind support is included for external systems like Dovecot or > +Squid that are able to use it to authenticate users. > Index: pkg/PLIST-winbind > =================================================================== > RCS file: pkg/PLIST-winbind > diff -N pkg/PLIST-winbind > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ pkg/PLIST-winbind 1 Jul 2009 23:38:09 -0000 > @@ -0,0 +1,3 @@ > +...@comment $OpenBSD$ > +bin/wbinfo > +libexec/winbindd >
