1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Add hooks for winbind

Submitted by:	jmurdock@itraktech.com
This commit is contained in:
David W. Chapman Jr. 2002-07-11 13:32:55 +00:00
parent 58e6d89001
commit 0e8580ecba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62813
4 changed files with 57 additions and 23 deletions

View File

@ -28,17 +28,6 @@ CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
.endif
.if defined(WITH_QUOTAS)
CONFIGURE_ARGS+= --with-quotas
.endif
.if defined(WITH_UTMP)
CONFIGURE_ARGS+= --with-utmp
.endif
.if defined(WITH_MSDFS)
CONFIGURE_ARGS+= --with-msdfs
.endif
# directories
VARDIR= /var
@ -61,6 +50,26 @@ CONFIGURE_ARGS= --libdir=${SAMBA_CONFDIR} \
.include <bsd.port.pre.mk>
.if defined(WITH_QUOTAS)
CONFIGURE_ARGS+= --with-quotas
.endif
.if defined(WITH_UTMP)
CONFIGURE_ARGS+= --with-utmp
.endif
.if defined(WITH_MSDFS)
CONFIGURE_ARGS+= --with-msdfs
.endif
.if defined(WITH_WINBIND)
CONFIGURE_ARGS+= --with-winbind
.endif
.if defined(WITH_WINBIND_AUTH_CHALLENGE)
CONFIGURE_ARGS+= --with-winbind-auth-challenge
.endif
.if defined(KRB5_HOME) && exists(${KRB5_HOME})
CONFIGURE_ARGS+= --with-krb5=${KRB5_HOME}
.else

View File

@ -105,6 +105,14 @@ CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
WITH_CUPS= yes
.endif
.if defined(WITH_WINBIND)
CONFIGURE_ARGS+= --with-winbind
.endif
.if defined(WITH_WINBIND_AUTH_CHALLENGE)
CONFIGURE_ARGS+= --with-winbind-auth-challenge
.endif
pre-fetch:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.samba

View File

@ -13,7 +13,7 @@ if [ "${BATCH}" ]; then
else
/usr/bin/dialog --title "configuration options" --clear \
--checklist "\n\
Please select desired options:" -1 -1 10 \
Please select desired options:" -1 -1 12 \
syslog "With syslog support" OFF \
ssl "With ssl support" OFF \
ldap "With LDAP2 support" OFF \
@ -24,6 +24,8 @@ msdfs "With MSDFS support" OFF \
quota "With Quota support" OFF \
recycle "With Recycle Bin" OFF \
audit "With Audit" OFF \
winbind "With Winbind" OFF \
wbauth "With Winbind Auth Challenge" OFF \
2> $tempfile
retval=$?
@ -79,6 +81,12 @@ while [ "$1" ]; do
\"audit\")
echo "WITH_AUDIT=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
;;
\"winbind\")
echo "WITH_WINBIND=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
;;
\"wbauth\")
echo "WITH_WINBIND_AUTH_CHALLENGE=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
;;
*)
echo "Invalid option: $1"
rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc

View File

@ -28,17 +28,6 @@ CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
.endif
.if defined(WITH_QUOTAS)
CONFIGURE_ARGS+= --with-quotas
.endif
.if defined(WITH_UTMP)
CONFIGURE_ARGS+= --with-utmp
.endif
.if defined(WITH_MSDFS)
CONFIGURE_ARGS+= --with-msdfs
.endif
# directories
VARDIR= /var
@ -61,6 +50,26 @@ CONFIGURE_ARGS= --libdir=${SAMBA_CONFDIR} \
.include <bsd.port.pre.mk>
.if defined(WITH_QUOTAS)
CONFIGURE_ARGS+= --with-quotas
.endif
.if defined(WITH_UTMP)
CONFIGURE_ARGS+= --with-utmp
.endif
.if defined(WITH_MSDFS)
CONFIGURE_ARGS+= --with-msdfs
.endif
.if defined(WITH_WINBIND)
CONFIGURE_ARGS+= --with-winbind
.endif
.if defined(WITH_WINBIND_AUTH_CHALLENGE)
CONFIGURE_ARGS+= --with-winbind-auth-challenge
.endif
.if defined(KRB5_HOME) && exists(${KRB5_HOME})
CONFIGURE_ARGS+= --with-krb5=${KRB5_HOME}
.else