d187a314c4
- Update to samba-2.2.11-ja-1.0; essential changes are already applied to previous package. - Apply changes between samba 2.2.10 and 2.2.11; fixed the security problem reported as CAN-2004-0815.
61 lines
2 KiB
Text
61 lines
2 KiB
Text
# $NetBSD: Makefile.common,v 1.7 2004/10/03 16:16:39 taca Exp $
|
|
|
|
DISTNAME= samba-${SAMBA_BASE_VERS}-ja-${SAMBA_JA_VERS}
|
|
SAMBA_BASE_VERS= 2.2.11
|
|
SAMBA_JA_VERS= 1.0
|
|
WRKSRC?= ${WRKDIR}/${DISTNAME}/source
|
|
CATEGORIES?= net
|
|
MASTER_SITES= ftp://ftp.samba.gr.jp/pub/samba-jp/samba-${SAMBA_BASE_VERS}-ja/ \
|
|
ftp://ftp.ring.gr.jp/pub/net/samba-jp/samba-${SAMBA_BASE_VERS}-ja/ \
|
|
ftp://ftp.mex.ad.jp/pub/samba-jp/pub/net/samba-jp/samba-${SAMBA_BASE_VERS}-ja/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
DISTINFO_FILE?= ${.CURDIR}/../../net/ja-samba/distinfo
|
|
PATCHDIR?= ${.CURDIR}/../../net/ja-samba/patches
|
|
|
|
GNU_CONFIGURE= # defined
|
|
USE_LIBTOOL= # defined
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
PKG_SYSCONFSUBDIR?= samba
|
|
|
|
VARDIR?= /var
|
|
SAMBA_ETCDIR?= ${PKG_SYSCONFDIR}
|
|
SAMBA_DATADIR= ${PREFIX}/share
|
|
SAMBA_LOCKDIR?= ${VARDIR}/db/samba
|
|
SAMBA_LOGDIR?= ${VARDIR}/log
|
|
SAMBA_PIDDIR?= ${VARDIR}/run
|
|
SAMBA_PRIVATE?= ${SAMBA_ETCDIR}/private
|
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARDIR}
|
|
CONFIGURE_ARGS+= --sbindir=${PREFIX}/sbin
|
|
CONFIGURE_ARGS+= --with-configdir=${SAMBA_ETCDIR}
|
|
CONFIGURE_ARGS+= --with-codepagedir=${SAMBA_DATADIR}/samba/codepages
|
|
CONFIGURE_ARGS+= --with-datadir=${SAMBA_DATADIR}
|
|
CONFIGURE_ARGS+= --with-lockdir=${SAMBA_LOCKDIR}
|
|
CONFIGURE_ARGS+= --with-logfilebase=${SAMBA_LOGDIR}
|
|
CONFIGURE_ARGS+= --with-piddir=${SAMBA_PIDDIR}
|
|
CONFIGURE_ARGS+= --with-privatedir=${SAMBA_PRIVATE}
|
|
CONFIGURE_ARGS+= --with-swatdir=${SAMBA_DATADIR}/samba/swat
|
|
|
|
CONFIGURE_ARGS+= --without-readline
|
|
CONFIGURE_ARGS+= --without-ssl
|
|
|
|
CONFIGURE_ENV+= ac_cv_lib_curses_tgetent=no
|
|
|
|
CONFIGURE_ARGS+= --disable-cups
|
|
CONFIGURE_ARGS+= --without-pam
|
|
CONFIGURE_ARGS+= --without-winbind
|
|
|
|
CONFIGURE_ARGS+= --with-i18n-swat
|
|
|
|
# The following are Linux-only options.
|
|
CONFIGURE_ARGS+= --without-smbwrapper
|
|
CONFIGURE_ARGS+= --without-smbmount
|
|
|
|
FILES_SUBST= SAMBA_PRIVATE=${SAMBA_PRIVATE}
|
|
FILES_SUBST+= SAMBA_LOCKDIR=${SAMBA_LOCKDIR}
|
|
FILES_SUBST+= SAMBA_LOGDIR=${SAMBA_LOGDIR}
|
|
FILES_SUBST+= SAMBA_ETCDIR=${SAMBA_ETCDIR}
|