Move Samba 2.2.x into the stable dir. Make room for an eventual port of
the developement branch (3.0).
This commit is contained in:
parent
4824f7c9f1
commit
12a9947df9
@ -1,92 +1,6 @@
|
||||
# $OpenBSD: Makefile,v 1.46 2001/12/04 00:41:46 dhartmei Exp $
|
||||
# $OpenBSD: Makefile,v 1.47 2001/12/26 19:15:09 brad Exp $
|
||||
|
||||
COMMENT= "SMB and CIFS client and server for UNIX"
|
||||
# SUBDIR+= devel
|
||||
SUBDIR+= stable
|
||||
|
||||
DISTNAME= samba-2.2.2
|
||||
CATEGORIES= net
|
||||
NEED_VERSION= 1.481
|
||||
|
||||
HOMEPAGE= http://www.samba.org/
|
||||
|
||||
MAINTAINER= Daniel Hartmeier <daniel@benzedrine.cx>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ftp://ftp.samba.org/pub/samba/ \
|
||||
http://us1.samba.org/samba/ftp/ \
|
||||
ftp://ca.samba.org/pub/samba/ \
|
||||
ftp://ftp.uni-trier.de/pub/unix/network/samba/ \
|
||||
ftp://ring.asahi-net.or.jp/pub/net/samba/ \
|
||||
ftp://ftp.funet.fi/pub/mirrors/ftp.samba.org/pub/samba/old-versions/
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
FAKE_FLAGS+= prefix="${WRKINST}${PREFIX}" \
|
||||
BASEDIR="${WRKINST}${PREFIX}" \
|
||||
LIBDIR="${WRKINST}${PREFIX}/lib/samba" \
|
||||
SWATDIR="${WRKINST}${PREFIX}/share/swat" \
|
||||
SBINDIR="${WRKINST}${PREFIX}/libexec"
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
CONFIGURE_STYLE= autoconf
|
||||
CONFIGURE_ARGS= --libdir="${PREFIX}/lib/samba" \
|
||||
--localstatedir="/var" \
|
||||
--sbindir="${PREFIX}/libexec" \
|
||||
--with-configdir="${SYSCONFDIR}/samba" \
|
||||
--with-lockdir="/var/spool/samba" \
|
||||
--with-privatedir="${SYSCONFDIR}/samba" \
|
||||
--with-swatdir="${PREFIX}/share/swat" \
|
||||
--with-ssl \
|
||||
--with-sslinc=/usr/include/ssl \
|
||||
--with-ssllib=/usr/lib
|
||||
|
||||
# Warning: these aditional options have not been tested.
|
||||
#CONFIGURE_ARGS+= --with-afs
|
||||
#CONFIGURE_ARGS+= --with-dfs
|
||||
#CONFIGURE_ARGS+= --with-krb4=/etc/kerberosIV
|
||||
#CONFIGURE_ARGS+= --with-krb5=base-dir
|
||||
|
||||
MAKE_FLAGS= PASSWD_PROGRAM="/usr/bin/passwd"
|
||||
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME}/source
|
||||
|
||||
SAMBA_SPOOL= /var/spool/samba
|
||||
SAMBA_LOGDIR= /var/log
|
||||
|
||||
SAMBA_DOCS=${WRKSRC}/../README \
|
||||
${WRKSRC}/../docs/THANKS \
|
||||
${WRKSRC}/../docs/history \
|
||||
${WRKSRC}/../docs/announce \
|
||||
${WRKSRC}/../docs/Registry/*.reg
|
||||
SAMPLE_CONFIG= ${PREFIX}/share/examples/samba/smb.conf.default
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/samba/faq
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/samba/textdocs
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/samba
|
||||
@cp -r ${WRKSRC}/../examples/* ${PREFIX}/share/examples/samba
|
||||
@chown -R root.bin ${PREFIX}/share/examples/samba
|
||||
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD ${PREFIX}/share/doc/samba
|
||||
@for i in ${SAMBA_DOCS}; do \
|
||||
${INSTALL_DATA} $$i ${PREFIX}/share/doc/samba ; \
|
||||
done
|
||||
@for i in ${WRKSRC}/../docs/faq/* ; do \
|
||||
${INSTALL_DATA} $$i ${PREFIX}/share/doc/samba/faq ; \
|
||||
done
|
||||
@for i in ${WRKSRC}/../docs/textdocs/* ; do \
|
||||
if [ -f $$i ]; then \
|
||||
${INSTALL_DATA} $$i ${PREFIX}/share/doc/samba/textdocs ;\
|
||||
fi \
|
||||
done
|
||||
@sed -e 's:/usr/spool/samba:${SAMBA_SPOOL}:g' \
|
||||
-e 's:/usr/local/samba/var/log:${SAMBA_LOGDIR}/smbd:g' \
|
||||
${WRKSRC}/../examples/smb.conf.default > ${SAMPLE_CONFIG}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/script/mksmbpasswd.sh ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/script/convert_smbpasswd ${PREFIX}/bin
|
||||
@chown root.bin ${PREFIX}/bin/smbpasswd
|
||||
@chmod 111 ${PREFIX}/bin/smbpasswd
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.subdir.mk>
|
||||
|
90
net/samba/stable/Makefile
Normal file
90
net/samba/stable/Makefile
Normal file
@ -0,0 +1,90 @@
|
||||
# $OpenBSD: Makefile,v 1.1 2001/12/26 19:15:09 brad Exp $
|
||||
|
||||
COMMENT= "SMB and CIFS client and server for UNIX"
|
||||
|
||||
DISTNAME= samba-2.2.2
|
||||
CATEGORIES= net
|
||||
NEED_VERSION= 1.500
|
||||
MASTER_SITES= ftp://ftp.samba.org/pub/samba/ \
|
||||
http://us1.samba.org/samba/ftp/ \
|
||||
ftp://ca.samba.org/pub/samba/ \
|
||||
ftp://ftp.uni-trier.de/pub/unix/network/samba/ \
|
||||
ftp://ring.asahi-net.or.jp/pub/net/samba/ \
|
||||
ftp://ftp.funet.fi/pub/mirrors/ftp.samba.org/pub/samba/old-versions/
|
||||
|
||||
HOMEPAGE= http://www.samba.org/
|
||||
|
||||
MAINTAINER= Daniel Hartmeier <daniel@benzedrine.cx>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MAKE_FLAGS= PASSWD_PROGRAM="/usr/bin/passwd"
|
||||
FAKE_FLAGS= prefix="${WRKINST}${PREFIX}" \
|
||||
BASEDIR="${WRKINST}${PREFIX}" \
|
||||
LIBDIR="${WRKINST}${PREFIX}/lib/samba" \
|
||||
SWATDIR="${WRKINST}${PREFIX}/share/swat" \
|
||||
SBINDIR="${WRKINST}${PREFIX}/libexec"
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
CONFIGURE_STYLE= autoconf
|
||||
CONFIGURE_ARGS= --libdir="${PREFIX}/lib/samba" \
|
||||
--localstatedir="/var" \
|
||||
--sbindir="${PREFIX}/libexec" \
|
||||
--with-configdir="${SYSCONFDIR}/samba" \
|
||||
--with-lockdir="/var/spool/samba" \
|
||||
--with-privatedir="${SYSCONFDIR}/samba" \
|
||||
--with-swatdir="${PREFIX}/share/swat" \
|
||||
--with-ssl \
|
||||
--with-sslinc="/usr/include/ssl" \
|
||||
--with-ssllib="/usr/lib"
|
||||
|
||||
# Warning: these aditional options have not been tested.
|
||||
#CONFIGURE_ARGS+= --with-afs
|
||||
#CONFIGURE_ARGS+= --with-dfs
|
||||
#CONFIGURE_ARGS+= --with-krb4=/etc/kerberosIV
|
||||
#CONFIGURE_ARGS+= --with-krb5=base-dir
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME}/source
|
||||
|
||||
SAMBA_SPOOL= /var/spool/samba
|
||||
SAMBA_LOGDIR= /var/log
|
||||
|
||||
SAMBA_DOCS=${WRKSRC}/../README \
|
||||
${WRKSRC}/../docs/THANKS \
|
||||
${WRKSRC}/../docs/history \
|
||||
${WRKSRC}/../docs/announce \
|
||||
${WRKSRC}/../docs/Registry/*.reg
|
||||
SAMPLE_CONFIG= ${PREFIX}/share/examples/samba/smb.conf.default
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/samba/faq
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/samba/textdocs
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/samba
|
||||
@cp -r ${WRKSRC}/../examples/* ${PREFIX}/share/examples/samba
|
||||
@chown -R root.bin ${PREFIX}/share/examples/samba
|
||||
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD ${PREFIX}/share/doc/samba
|
||||
@for i in ${SAMBA_DOCS}; do \
|
||||
${INSTALL_DATA} $$i ${PREFIX}/share/doc/samba ; \
|
||||
done
|
||||
@for i in ${WRKSRC}/../docs/faq/* ; do \
|
||||
${INSTALL_DATA} $$i ${PREFIX}/share/doc/samba/faq ; \
|
||||
done
|
||||
@for i in ${WRKSRC}/../docs/textdocs/* ; do \
|
||||
if [ -f $$i ]; then \
|
||||
${INSTALL_DATA} $$i ${PREFIX}/share/doc/samba/textdocs ;\
|
||||
fi \
|
||||
done
|
||||
@sed -e 's:/usr/spool/samba:${SAMBA_SPOOL}:g' \
|
||||
-e 's:/usr/local/samba/var/log:${SAMBA_LOGDIR}/smbd:g' \
|
||||
${WRKSRC}/../examples/smb.conf.default > ${SAMPLE_CONFIG}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/script/mksmbpasswd.sh ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/script/convert_smbpasswd ${PREFIX}/bin
|
||||
@chown root.bin ${PREFIX}/bin/smbpasswd
|
||||
@chmod 111 ${PREFIX}/bin/smbpasswd
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.3 2001/04/10 11:33:47 brad Exp $
|
||||
# $OpenBSD: DEINSTALL,v 1.1 2001/12/26 19:15:09 brad Exp $
|
||||
#
|
||||
# samba de-installation
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.5 2001/12/04 00:41:46 dhartmei Exp $
|
||||
# $OpenBSD: INSTALL,v 1.1 2001/12/26 19:15:09 brad Exp $
|
||||
#
|
||||
# Pre/post-installation setup of samba
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.17 2001/10/24 15:33:57 dhartmei Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.1 2001/12/26 19:15:09 brad Exp $
|
||||
bin/convert_smbpasswd
|
||||
bin/make_printerdef
|
||||
bin/make_smbcodepage
|
Loading…
Reference in New Issue
Block a user