diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-07-17 09:52:23 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-07-17 09:52:23 +0000 |
commit | 41ee6b2d88e2f7f4b357e158afa20e7fcafc58eb (patch) | |
tree | 236ed607b825faa35ea4570ddad284e9e3597a91 /net-fs | |
parent | digest (diff) | |
download | gentoo-2-41ee6b2d88e2f7f4b357e158afa20e7fcafc58eb.tar.gz gentoo-2-41ee6b2d88e2f7f4b357e158afa20e7fcafc58eb.tar.bz2 gentoo-2-41ee6b2d88e2f7f4b357e158afa20e7fcafc58eb.zip |
repoman'd
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/autofs/autofs-3.1.7-r1.ebuild | 54 | ||||
-rw-r--r-- | net-fs/autofs/autofs-3.1.7-r2.ebuild | 43 | ||||
-rw-r--r-- | net-fs/autofs/autofs-3.1.7-r3.ebuild | 10 | ||||
-rw-r--r-- | net-fs/autofs/files/digest-autofs-3.1.7-r1 | 1 | ||||
-rw-r--r-- | net-fs/autofs/files/digest-autofs-3.1.7-r2 | 1 | ||||
-rw-r--r-- | net-fs/ftpfs/ftpfs-0.6.2-r2.ebuild | 37 | ||||
-rw-r--r-- | net-fs/ncpfs/ncpfs-2.2.0.19.ebuild | 19 | ||||
-rw-r--r-- | net-fs/netatalk/files/digest-netatalk-1.5.2 | 1 | ||||
-rw-r--r-- | net-fs/netatalk/netatalk-1.5.2.ebuild | 45 | ||||
-rw-r--r-- | net-fs/netatalk/netatalk-1.5.3.1.ebuild | 20 | ||||
-rw-r--r-- | net-fs/openafs/openafs-1.2.2-r7.ebuild | 6 | ||||
-rw-r--r-- | net-fs/samba/files/digest-samba-2.0.10-r6 | 1 | ||||
-rw-r--r-- | net-fs/samba/files/digest-samba-2.2.4 | 1 | ||||
-rw-r--r-- | net-fs/samba/files/digest-samba-2.2.4-r1 | 1 | ||||
-rw-r--r-- | net-fs/samba/samba-2.0.10-r6.ebuild | 117 | ||||
-rw-r--r-- | net-fs/samba/samba-2.2.4-r1.ebuild | 317 | ||||
-rw-r--r-- | net-fs/samba/samba-2.2.4.ebuild | 311 | ||||
-rw-r--r-- | net-fs/samba/samba-2.2.5.ebuild | 5 |
18 files changed, 50 insertions, 940 deletions
diff --git a/net-fs/autofs/autofs-3.1.7-r1.ebuild b/net-fs/autofs/autofs-3.1.7-r1.ebuild deleted file mode 100644 index 728eb8316da5..000000000000 --- a/net-fs/autofs/autofs-3.1.7-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-3.1.7-r1.ebuild,v 1.6 2002/07/11 06:30:46 drobbins Exp $ - -A=${P}.tar.bz2 -S=${WORKDIR}/${P} -DESCRIPTION="Automounter" -SRC_URI="ftp://ftp.kernel.org/pub/linux/daemons/autofs/${A} - ftp://ftp.de.kernel.org/pub/linux/daemons/autofs/${A} - ftp://ftp.uk.kernel.org/pub/linux/daemons/autofs/${A}" -LICENSE="GPL-2" - -DEPEND="virtual/glibc - ldap? ( ~net-nds/openldap-1.2 )" - -src_unpack() { - unpack ${A} - cd ${S}/include - patch -p0 < ${FILESDIR}/automount.diff -} - -src_compile() { - local myconf - if [ -z "`use ldap`" ] ; then - myconf="--without-openldap" - fi - try ./configure --host=${HOST} --prefix=/usr $myconf - try make -} - -src_install() { - - into /usr - dosbin daemon/automount - insinto /usr/lib/autofs - insopts -m 755 - doins modules/*.so - dodoc COPYING COPYRIGHT NEWS README* TODO - cd man - doman auto.master.5 autofs.5 autofs.8 automount.8 - cd ../samples - dodir /etc/autofs - cp ${O}/files/auto.master ${D}/etc/autofs - cp ${O}/files/auto.misc ${D}/etc/autofs - dodir /etc/rc.d/init.d - cp ${O}/files/autofs ${D}/etc/rc.d/init.d -} - -pkg_config() { - . ${ROOT}/etc/rc.d/config/functions - echo "Activating autofs..." - ${ROOT}/usr/sbin/rc-update add autofs -} - diff --git a/net-fs/autofs/autofs-3.1.7-r2.ebuild b/net-fs/autofs/autofs-3.1.7-r2.ebuild deleted file mode 100644 index 2624e7fdcd87..000000000000 --- a/net-fs/autofs/autofs-3.1.7-r2.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-3.1.7-r2.ebuild,v 1.4 2002/07/11 06:30:46 drobbins Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="Automounter" -SRC_URI="ftp://ftp.kernel.org/pub/linux/daemons/autofs/${P}.tar.bz2 - ftp://ftp.de.kernel.org/pub/linux/daemons/autofs/${P}.tar.bz2 - ftp://ftp.uk.kernel.org/pub/linux/daemons/autofs/${P}.tar.bz2" -DEPEND="virtual/glibc ldap? ( ~net-nds/openldap-1.2 )" -LICENSE="GPL-2" - -src_unpack() { - unpack ${A} ; cd ${S}/include - patch -p0 < ${FILESDIR}/automount.diff || die -} - -src_compile() { - local myconf - use ldap || myconf="--without-openldap" - ./configure --host=${HOST} --prefix=/usr ${myconf} || die - emake || die -} - -src_install() { - into /usr - dosbin daemon/automount - insinto /usr/lib/autofs - insopts -m 755 - doins modules/*.so - - dodoc COPYING COPYRIGHT NEWS README* TODO - cd man - doman auto.master.5 autofs.5 autofs.8 automount.8 - - cd ../samples - dodir /etc/autofs - cp ${FILESDIR}/auto.master ${D}/etc/autofs - cp ${FILESDIR}/auto.misc ${D}/etc/autofs - - exeinto /etc/init.d ; newexe ${FILESDIR}/autofs.rc6 autofs - insinto /etc/conf.d ; newins ${FILESDIR}/autofs.confd autofs -} diff --git a/net-fs/autofs/autofs-3.1.7-r3.ebuild b/net-fs/autofs/autofs-3.1.7-r3.ebuild index afe50e010a98..f1a2cb2624d8 100644 --- a/net-fs/autofs/autofs-3.1.7-r3.ebuild +++ b/net-fs/autofs/autofs-3.1.7-r3.ebuild @@ -1,15 +1,19 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-3.1.7-r3.ebuild,v 1.3 2002/07/11 06:30:46 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-3.1.7-r3.ebuild,v 1.4 2002/07/17 09:52:23 seemant Exp $ S=${WORKDIR}/${P} DESCRIPTION="Kernel based automounter" HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html" -LICENSE="GPL-2" SRC_URI="ftp://ftp.kernel.org/pub/linux/daemons/autofs/${P}.tar.bz2 ftp://ftp.de.kernel.org/pub/linux/daemons/autofs/${P}.tar.bz2 ftp://ftp.uk.kernel.org/pub/linux/daemons/autofs/${P}.tar.bz2" -DEPEND="virtual/glibc ldap? ( ~net-nds/openldap-1.2 )" + +DEPEND="ldap? ( ~net-nds/openldap-1.2 )" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86" src_unpack() { unpack ${A} ; cd ${S}/include diff --git a/net-fs/autofs/files/digest-autofs-3.1.7-r1 b/net-fs/autofs/files/digest-autofs-3.1.7-r1 deleted file mode 100644 index c8410dc43753..000000000000 --- a/net-fs/autofs/files/digest-autofs-3.1.7-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 4f602f82442b48ce9c2e0005d59c3408 autofs-3.1.7.tar.bz2 57000 diff --git a/net-fs/autofs/files/digest-autofs-3.1.7-r2 b/net-fs/autofs/files/digest-autofs-3.1.7-r2 deleted file mode 100644 index c8410dc43753..000000000000 --- a/net-fs/autofs/files/digest-autofs-3.1.7-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 4f602f82442b48ce9c2e0005d59c3408 autofs-3.1.7.tar.bz2 57000 diff --git a/net-fs/ftpfs/ftpfs-0.6.2-r2.ebuild b/net-fs/ftpfs/ftpfs-0.6.2-r2.ebuild index 6975a1c0498b..b4d0b5870d5a 100644 --- a/net-fs/ftpfs/ftpfs-0.6.2-r2.ebuild +++ b/net-fs/ftpfs/ftpfs-0.6.2-r2.ebuild @@ -1,38 +1,43 @@ # Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-fs/ftpfs/ftpfs-0.6.2-r2.ebuild,v 1.6 2002/07/11 06:30:46 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/ftpfs/ftpfs-0.6.2-r2.ebuild,v 1.7 2002/07/17 09:52:23 seemant Exp $ -A=${P}-k2.4.tar.gz -S=${WORKDIR}/${P}-k2.4 +MY_P=${P}-k2.4 +S=${WORKDIR}/${MY_P} DESCRIPTION="A filesystem for mounting FTP volumes" -SRC_URI="http://ftp1.sourceforge.net/ftpfs/${A}" +SRC_URI="http://ftp1.sourceforge.net/ftpfs/${MY_P}.tar.gz" HOMEPAGE="http://ftpfs.sourceforge.net" + +SLOT="0" LICENSE="GPL-2" +KEYWORDS="x86" -DEPEND="virtual/glibc - virtual/linux-sources - >=sys-apps/portage-1.9.10" +DEPEND="virtual/linux-sources + >=sys-apps/portage-1.9.10" src_compile() { check_KV cd ftpfs - try make + make || die cd ../ftpmount - try make CFLAGS="${CFLAGS}" + make CFLAGS="${CFLAGS}" || die } src_install() { mv ftpfs/Makefile ftpfs/Makefile.old - cat ftpfs/Makefile.old |sed s:"depmod -aq"::g > ftpfs/Makefile - try make MODULESDIR=${D}/lib/modules/${KV} FTPMOUNT=${D}/usr/bin/ftpmount install + sed s:"depmod -aq"::g \ + ftpfs/Makefile.old > ftpfs/Makefile + + make \ + MODULESDIR=${D}/lib/modules/${KV} \ + FTPMOUNT=${D}/usr/bin/ftpmount \ + install || die + dodoc CHANGELOG - docinto html - dodoc docs/*.html - docinto html/img - dodoc docs/img/* + dohtml -r docs } pkg_postinst() { echo "running depmod...." - try depmod -aq + depmod -aq || die } diff --git a/net-fs/ncpfs/ncpfs-2.2.0.19.ebuild b/net-fs/ncpfs/ncpfs-2.2.0.19.ebuild index fa66cb5e789f..337f5ee0c869 100644 --- a/net-fs/ncpfs/ncpfs-2.2.0.19.ebuild +++ b/net-fs/ncpfs/ncpfs-2.2.0.19.ebuild @@ -1,25 +1,21 @@ #Copyright 2002 Gentoo Technologies, Inc. #Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-fs/ncpfs/ncpfs-2.2.0.19.ebuild,v 1.1 2002/06/20 16:46:56 bass Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/ncpfs/ncpfs-2.2.0.19.ebuild,v 1.2 2002/07/17 09:52:23 seemant Exp $ S=${WORKDIR}/${P} DESCRIPTION="Provides Access to Netware services using the NCP protocol (Kernel support must be activated!)" SRC_URI="ftp://platan.vc.cvut.cz/pub/linux/ncpfs/latest/${P}.tar.gz" HOMEPAGE="ftp://platan.vc.cvut.cz/pub/linux/ncpfs/latest/" -LICENSE="GPL-2" + SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86" + DEPEND="" -RDEPEND="${DEPEND}" src_compile() { - ./configure \ - --prefix=/usr \ - --prefix=/usr \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - || die "./configure failed" + econf || die "./configure failed" emake || die } @@ -28,6 +24,3 @@ src_install () { dodir /lib/security make DESTDIR=${D} install || die } - - - diff --git a/net-fs/netatalk/files/digest-netatalk-1.5.2 b/net-fs/netatalk/files/digest-netatalk-1.5.2 deleted file mode 100644 index 67178895d86f..000000000000 --- a/net-fs/netatalk/files/digest-netatalk-1.5.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 9355653d6b2c18f10d1be02624db65f6 netatalk-1.5.2.tar.gz 789104 diff --git a/net-fs/netatalk/netatalk-1.5.2.ebuild b/net-fs/netatalk/netatalk-1.5.2.ebuild deleted file mode 100644 index a1355daebb59..000000000000 --- a/net-fs/netatalk/netatalk-1.5.2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/netatalk-1.5.2.ebuild,v 1.4 2002/07/08 08:13:59 aliz Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="kernel level implementation of the AppleTalk Protocol Suite" -SRC_URI="http://download.sourceforge.net/netatalk/${P}.tar.gz" -HOMEPAGE="http://netatalk.sourceforge.net" -LICENSE="GPL-2" - -DEPEND="virtual/glibc - pam? ( sys-libs/pam ) - tcpd? ( sys-apps/tcp-wrappers ) - ssl? ( dev-libs/openssl ) - sys-apps/shadow - >=sys-libs/db-3" - -src_compile() { - use pam && myconf="${myconf} --with-pam" - use tcpd && myconf="${myconf} --with-tcp-wrappers" - use ssl || myconf="${myconf} --disable-ssl" - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --mandir=/usr/share/man \ - --enable-fhs \ - --with-shadow \ - --with-db3 \ - ${myconf} || die "netatalk configure failed" - - emake || die "netatalk emake failed" -} - -src_install() { - make DESTDIR=${D} install || die "netatalk make install failed" - - # install docs - dodoc BUGS CHANGES CONTRIBUTORS COPYING COPYRIGHT ChangeLog - dodoc NEWS README TODO VERSION - - # install init script - mkdir -p ${D}/etc/init.d - cp ${FILESDIR}/atalk-rc6 ${D}/etc/init.d/atalk - chmod 755 ${D}/etc/init.d/atalk -} diff --git a/net-fs/netatalk/netatalk-1.5.3.1.ebuild b/net-fs/netatalk/netatalk-1.5.3.1.ebuild index ecec0f7c8622..c8dc183292a1 100644 --- a/net-fs/netatalk/netatalk-1.5.3.1.ebuild +++ b/net-fs/netatalk/netatalk-1.5.3.1.ebuild @@ -1,30 +1,28 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/netatalk-1.5.3.1.ebuild,v 1.1 2002/06/25 20:24:01 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/netatalk-1.5.3.1.ebuild,v 1.2 2002/07/17 09:52:23 seemant Exp $ S=${WORKDIR}/${P} DESCRIPTION="kernel level implementation of the AppleTalk Protocol Suite" -SRC_URI="http://download.sourceforge.net/netatalk/${P}.tar.gz" +SRC_URI="mirror://sourceforge/netatalk/${P}.tar.gz" HOMEPAGE="http://netatalk.sourceforge.net" -SLOT="" +SLOT="0" LICENSE="GPL-2" +KEYWORDS="x86" -DEPEND="virtual/glibc +DEPEND="sys-apps/shadow + >=sys-libs/db-3 pam? ( sys-libs/pam ) - tcpd? ( sys-apps/tcp-wrappers ) ssl? ( dev-libs/openssl ) - sys-apps/shadow - >=sys-libs/db-3" + tcpd? ( sys-apps/tcp-wrappers )" src_compile() { use pam && myconf="${myconf} --with-pam" use tcpd && myconf="${myconf} --with-tcp-wrappers" use ssl || myconf="${myconf} --disable-ssl" - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --mandir=/usr/share/man \ + + econf \ --enable-fhs \ --with-shadow \ --with-db3 \ diff --git a/net-fs/openafs/openafs-1.2.2-r7.ebuild b/net-fs/openafs/openafs-1.2.2-r7.ebuild index bbfa7c41b19f..d0ceb14a92da 100644 --- a/net-fs/openafs/openafs-1.2.2-r7.ebuild +++ b/net-fs/openafs/openafs-1.2.2-r7.ebuild @@ -14,10 +14,12 @@ extensive UNIX environment for accessing files easily and quickly." SRC_URI="http://www.openafs.org/dl/openafs/1.2.2/openafs-1.2.2-src.tar.bz2" HOMEPAGE="http://www.openafs.org/" + +SLOT="0" LICENSE="IPL-1" +KEYWORDS="x86 -ppc -sparc -sparc64" -DEPEND="virtual/glibc - >=sys-libs/ncurses-5.2 +DEPEND=">=sys-libs/ncurses-5.2 >=sys-libs/pam-0.75" ARCH=i386_linux24 diff --git a/net-fs/samba/files/digest-samba-2.0.10-r6 b/net-fs/samba/files/digest-samba-2.0.10-r6 deleted file mode 100644 index 1e56ffd9a901..000000000000 --- a/net-fs/samba/files/digest-samba-2.0.10-r6 +++ /dev/null @@ -1 +0,0 @@ -MD5 54870482fe036b7e69dd48c90661eec6 samba-2.0.10.tar.gz 3496800 diff --git a/net-fs/samba/files/digest-samba-2.2.4 b/net-fs/samba/files/digest-samba-2.2.4 deleted file mode 100644 index a3c4f59619f0..000000000000 --- a/net-fs/samba/files/digest-samba-2.2.4 +++ /dev/null @@ -1 +0,0 @@ -MD5 09cf651daf544bf7aa79669d46b86e1e samba-2.2.4.tar.gz 5205845 diff --git a/net-fs/samba/files/digest-samba-2.2.4-r1 b/net-fs/samba/files/digest-samba-2.2.4-r1 deleted file mode 100644 index a3c4f59619f0..000000000000 --- a/net-fs/samba/files/digest-samba-2.2.4-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 09cf651daf544bf7aa79669d46b86e1e samba-2.2.4.tar.gz 5205845 diff --git a/net-fs/samba/samba-2.0.10-r6.ebuild b/net-fs/samba/samba-2.0.10-r6.ebuild deleted file mode 100644 index 005daaac5234..000000000000 --- a/net-fs/samba/samba-2.0.10-r6.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-2.0.10-r6.ebuild,v 1.5 2002/07/11 06:30:46 drobbins Exp $ - -A=${P}.tar.gz -S=${WORKDIR}/${P} -DESCRIPTION="Samba" -SRC_URI="http://us1.samba.org/samba/ftp/${A}" -HOMEPAGE="http://www.samba.org" -LICENSE="GPL-2" - -DEPEND="virtual/glibc - >=sys-libs/pam-0.72" - #ssl support removed -- it doesn't work... - - -src_compile() { - - cd ${S}/source - ./configure --prefix=/usr --sysconfdir=/etc/smb --localstatedir=/var/log \ - --libdir=/etc/smb --sbindir=/usr/sbin --with-automount --with-utmp \ - --without-sambabook --with-netatalk --with-smbmount --with-profile \ - --with-pam --with-privatedir=/etc/smb/private --with-lockdir=/var/run/smb \ - --with-swatdir=/usr/share/swat - assert - make || die -} - - -src_install() { - - cd ${S}/source - dodir /usr - dodir /etc/smb - dodir /usr/share/swat - dodir /usr/doc/${P}/html/book - dodir /var/log - dodir /var/run/smb - - make install prefix=${D}/usr BASEDIR=${D}/usr LIBDIR=${D}/etc/smb VARDIR=${D}/var/log \ - PRIVATEDIR=${D}/etc/smb/private SWATDIR=${D}/usr/share/swat \ - LOCKDIR=${D}/var/lock SBINDIR=${D}/usr/sbin || die - - # we specified PRIVATEDIR=/etc/smb/private - rm -rf ${D}/usr/private - diropts -m0700 - dodir /etc/smb/private - - # move smbmount from /usr/sbin to /sbin, and rename it to mount.smbfs - # which allows it to work transparently with standard 'mount' command - dodir /sbin - mv ${D}/usr/bin/smbmount ${D}/sbin/mount.smbfs - - cd ${S}/source/script - exeinto /usr/sbin - doexe convert_smbpasswd mknissmbpasswd.sh mknissmbpwdtbl.sh mksmbpasswd.sh smbtar - - prepman - into /usr - cd ${S} - cp -a examples ${D}/usr/doc/${PF} - cp examples/smb.conf.default ${D}/etc/smb/smb.conf.example - dodoc COPYING Manifest README README-smbmount Roadmap WHATSNEW.txt - cd ${S}/docs - dodoc announce history NT4-Locking.reg NT4-Locking.txt NT4_PlainPassword.reg - dodoc samba.lsm THANKS Win* - docinto html - dodoc htmldocs/*.html - docinto html/book - dodoc htmldocs/using_samba/*.html - docinto html/book/gifs - dodoc htmldocs/using_samba/gifs/* - docinto html/book/figs - dodoc htmldocs/using_samba/figs/* - docinto faq - dodoc faq/*.txt - docinto html/faq - dodoc faq/*.html - docinto textdocs - dodoc textdocs/* - - exeinto /etc/init.d - newexe ${FILESDIR}/samba.rc6 samba -} - - -pkg_preinst() { - - if [ "$ROOT" = "/" ] && [ -e /etc/init.d/samba ] ; then - if [ -e /dev/shm/.init.d/started/samba ] ; then - /etc/init.d/samba stop - fi - fi - return # dont fail -} - - -pkg_postinst() { - - # we touch ${D}/etc/smb/smb.conf so that people installing samba just to mount smb shares - # don't get annoying warnings all the time. - if [ ! -e ${ROOT}etc/smb/smb.conf ] ; then - touch ${ROOT}etc/smb/smb.conf - fi - - echo " #" - echo " If you had samba running earlier, you'll need to start it again. Also, please note" - echo " that you must configure /etc/smb/smb.conf before samba (the server) will work properly." - echo " Mounting smb shares and the smbclient program should work immediately. To accomplish" - echo " this there is an empty /etc/smb/smb.conf file installed." - echo - echo " To mount smb shares, type something like this. You will need kernel SMB support first:" - echo " % mount -t smbfs -o username=drobbins,password=foo,ip=192.168.1.1 //mybox/drobbins /mnt/foo" - echo " If you wish to allow normal users to mount smb shares, type the following as root:" - echo " % chmod u+s /usr/bin/smbmnt" - echo " #" -} diff --git a/net-fs/samba/samba-2.2.4-r1.ebuild b/net-fs/samba/samba-2.2.4-r1.ebuild deleted file mode 100644 index aabbbb84491e..000000000000 --- a/net-fs/samba/samba-2.2.4-r1.ebuild +++ /dev/null @@ -1,317 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-2.2.4-r1.ebuild,v 1.1 2002/05/14 05:24:01 woodchip Exp $ - -DESCRIPTION="SAMBA is a suite of SMB and CIFS client/server programs for UNIX" -HOMEPAGE="http://www.samba.org" - -S=${WORKDIR}/${P} -SRC_URI="http://us2.samba.org/samba/ftp/${P}.tar.gz" - -RDEPEND="virtual/glibc - >=sys-libs/pam-0.72 - acl? ( sys-apps/acl ) - cups? ( net-print/cups ) - ldap? ( =net-nds/openldap-2* ) - ssl? ( >=dev-libs/openssl-0.9.6 )" - -DEPEND="${RDEPEND} - sys-devel/autoconf - tcpd? ( >=sys-apps/tcp-wrappers-7.6 )" - -LICENSE="GPL-2" -SLOT="0" - -src_unpack() { - unpack ${A} ; cd ${S} - - # makes cups not absolutely required.. - if [ ! "`use cups`" ] ; then - cd ${S}/source - cp configure.in configure.in.orig - sed -e "s:AC_CHECK_LIB(cups,httpConnect)::" configure.in.orig > configure.in - fi - - # fix kerberos include file collision.. - cd ${S}/source/include - mv profile.h smbprofile.h - sed -e "s:profile\.h:smbprofile.h:" includes.h > includes.h.new - mv includes.h.new includes.h - - cd ${S}/source - autoconf || die -} - -src_compile() { - local myconf - use acl && myconf="${myconf} --with-acl-support" - use ssl && myconf="${myconf} --with-ssl" - use ldap && myconf="${myconf} --with-ldapsam" - - cd ${S}/source - ./configure \ - --prefix=/usr \ - --bindir=/usr/sbin \ - --libdir=/etc/samba \ - --sbindir=/usr/sbin \ - --sysconfdir=/etc/samba \ - --localstatedir=/var/log \ - --with-configdir=/etc/samba \ - --with-mandir=/usr/share/man \ - --with-piddir=/var/run/samba \ - --with-lockdir=/var/run/samba \ - --with-swatdir=/usr/share/swat \ - --with-privatedir=/etc/samba/private \ - --with-codepagedir=/var/lib/samba/codepages \ - --with-pam --with-pam_smbpass \ - --without-sambabook \ - --without-automount \ - --without-spinlocks \ - --with-libsmbclient \ - --with-smbwrapper \ - --with-netatalk \ - --with-smbmount \ - --with-profile \ - --with-quotas \ - --with-syslog \ - --with-msdfs \ - --with-utmp \ - --with-vfs \ - --host=${CHOST} ${myconf} || die "bad ./configure" - - make all smbfilter smbwrapper smbcacls pam_smbpass \ - nsswitch nsswitch/libnss_wins.so debug2html - assert "compile problem" -} - -src_install() { - local i - - # we may as well do this all manually since it was starting - # to get out of control and samba _does_ have some rather - # silly installation quirks ;) much of this was adapted - # from mandrake's .spec file.. - # - # // woodchip - 5 May 2002 - - - # install standard binary files.. - for i in nmblookup smbclient smbpasswd smbstatus testparm testprns \ - make_smbcodepage make_unicodemap make_printerdef rpcclient \ - smbspool smbcacls smbclient smbmount smbumount smbsh wbinfo - do - exeinto /usr/bin - doexe source/bin/${i} - done - # make users lives easier.. - fperms 4755 /usr/bin/smbumount - - - # libraries.. - exeinto /usr/lib - doexe source/bin/smbwrapper.so - doexe source/bin/libsmbclient.so - insinto /usr/lib - doins source/bin/libsmbclient.a - exeinto /lib/security - doexe source/bin/pam_smbpass.so - doexe source/nsswitch/pam_winbind.so - - - # some utility scripts.. - for i in mksmbpasswd.sh smbtar convert_smbpasswd - do - exeinto /usr/bin - doexe source/script/${i} - done - - - # install secure binary files.. - for i in smbd nmbd swat smbfilter debug2html smbmnt smbcontrol winbindd - do - exeinto /usr/sbin - doexe source/bin/${i} - done - # make users lives easier.. - fperms 4755 /usr/sbin/smbmnt - - - # install man pages.. - doman docs/manpages/* - - - # install codepage source files - for i in 437 737 775 850 852 857 861 862 866 932 936 949 950 1125 1251 - do - insinto /var/lib/samba/codepages/src - doins source/codepages/codepage_def.${i} - done - - - for i in 437 737 775 850 852 857 861 862 866 932 936 949 950 1125 1251 \ - ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 \ - ISO8859-9 ISO8859-13 ISO8859-15 KOI8-R KOI8-U - do - insinto /var/lib/samba/codepages/src - doins source/codepages/CP${i}.TXT - done - - - # build codepage load files.. - for i in 437 737 775 850 852 857 861 862 866 932 936 949 950 1125 1251 - do - ${D}/usr/bin/make_smbcodepage c ${i} \ - ${D}/var/lib/samba/codepages/src/codepage_def.${i} \ - ${D}/var/lib/samba/codepages/codepage.${i} - done - - - # build unicode load files.. - for i in 437 737 775 850 852 857 861 862 866 932 936 949 950 1125 1251 \ - ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 \ - ISO8859-9 ISO8859-13 ISO8859-15 KOI8-R KOI8-U - do - ${D}/usr/bin/make_unicodemap ${i} \ - ${D}/var/lib/samba/codepages/src/CP${i}.TXT \ - ${D}/var/lib/samba/codepages/unicode_map.${i} - done - rm -rf ${D}/var/lib/samba/codepages/src - - - # install the nsswitch library extension files.. - for i in wins winbind - do - exeinto /lib - doexe source/nsswitch/libnss_${i}.so - done - # make link for wins and winbind resolvers.. - ( cd ${D}/lib ; ln -s libnss_wins.so libnss_wins.so.2 ) - ( cd ${D}/lib ; ln -s libnss_winbind.so libnss_winbind.so.2 ) - - - # install SWAT helper files.. - for i in swat/help/*.html docs/htmldocs/*.html - do - insinto /usr/share/swat/help - doins ${i} - done - for i in swat/images/*.gif - do - insinto /usr/share/swat/images - doins ${i} - done - for i in swat/include/*.html - do - insinto /usr/share/swat/include - doins ${i} - done - - - # install the O'Reilly "Using Samba" book.. - for i in docs/htmldocs/using_samba/*.html - do - insinto /usr/share/swat/using_samba - doins ${i} - done - for i in docs/htmldocs/using_samba/gifs/*.gif - do - insinto /usr/share/swat/using_samba/gifs - doins ${i} - done - for i in docs/htmldocs/using_samba/figs/*.gif - do - insinto /usr/share/swat/using_samba/figs - doins ${i} - done - - - # too many docs to sort through; install them all! :) - dodoc COPYING Manifest README Roadmap WHATSNEW.txt - docinto full_docs - cp -a docs/* ${D}/usr/share/doc/${PF}/full_docs - # but we don't want two copies of the book! - rm -rf ${D}/usr/share/doc/${PF}/full_docs/htmldocs/using_samba - docinto examples - cp -a examples/* ${D}/usr/share/doc/${PF}/examples - prepalldocs - # keep this next line *after* prepalldocs! - dosym /usr/share/swat/using_samba /usr/share/doc/${PF}/using_samba - # and we should unzip the html docs.. - gunzip ${D}/usr/share/doc/${PF}/full_docs/faq/* - gunzip ${D}/usr/share/doc/${PF}/full_docs/htmldocs/* - - - # link /usr/bin/smbmount to /sbin/mount.smbfs which allows it - # to work transparently with the standard 'mount' command.. - dodir /sbin - dosym /usr/bin/smbmount /sbin/mount.smbfs - - - # make the smb backend symlink for cups printing support.. - if [ -n "`use cups`" ] ; then - dodir /usr/lib/cups/backend - dosym /usr/bin/smbspool /usr/lib/cups/backend/smb - fi - - - # make a symlink on /usr/lib/smbwrapper.so in /usr/bin - # to fix smbsh problem (another way to do that, anyone???) - dosym /usr/lib/smbwrapper.so /usr/bin/smbwrapper.so - - - # now the config files.. - insinto /etc - doins ${FILESDIR}/nsswitch.conf-winbind - doins ${FILESDIR}/nsswitch.conf-wins - - insinto /etc/samba - doins ${FILESDIR}/smbusers - doins ${FILESDIR}/smb.conf.example - doins ${FILESDIR}/lmhosts - - insinto /etc/pam.d - newins ${FILESDIR}/samba.pam samba - doins ${FILESDIR}/system-auth-winbind - - exeinto /etc/init.d - newexe ${FILESDIR}/samba-init samba - newexe ${FILESDIR}/winbind-init winbind - - insinto /etc/xinetd.d - newins ${FILESDIR}/swat.xinetd swat -} - -pkg_postinst() { - # touch /etc/samba/smb.conf so that people installing samba just - # to mount smb shares don't get annoying warnings all the time.. - if [ ! -e ${ROOT}/etc/samba/smb.conf ] ; then - touch ${ROOT}/etc/samba/smb.conf - fi - - - # empty dirs.. - install -m0700 -o root -g root -d ${ROOT}/etc/samba/private - install -m1777 -o root -g root -d ${ROOT}/var/spool/samba - install -m0755 -o root -g root -d ${ROOT}/var/log/samba - install -m0755 -o root -g root -d ${ROOT}/var/run/samba - install -m0755 -o root -g root -d ${ROOT}/var/lib/samba/{netlogon,profiles} - install -m0755 -o root -g root -d \ - ${ROOT}/var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC} - - - # /etc/smb is changed to /etc/samba, /var/run/smb to /var/run/samba - ewarn "******************************************************************" - ewarn "* NOTE: If you upgraded from an earlier version of samba you *" - ewarn "* must move your /etc/smb files to the more aptly suited *" - ewarn "* /etc/samba directory. Also, please move the files in *" - ewarn "* /var/run/smb to /var/run/samba. Lastly, if you have *" - ewarn "* the string "/etc/smb" in your smb.conf file, please *" - ewarn "* change that to "/etc/samba". The old /etc/smb/codepages *" - ewarn "* directory doesn't need to be moved into /etc/samba *" - ewarn "* because those files are now kept in the *" - ewarn "* /var/lib/samba/codepages directory. *" - ewarn "* *" - ewarn "* If you need help with upgrading, email me: *" - ewarn "* woodchip@gentoo.org and I'll assist you. *" - ewarn "******************************************************************" -} diff --git a/net-fs/samba/samba-2.2.4.ebuild b/net-fs/samba/samba-2.2.4.ebuild deleted file mode 100644 index db6c4a7fdb02..000000000000 --- a/net-fs/samba/samba-2.2.4.ebuild +++ /dev/null @@ -1,311 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-2.2.4.ebuild,v 1.2 2002/05/07 00:13:45 blocke Exp $ - -DESCRIPTION="SAMBA is a suite of SMB and CIFS client/server programs for UNIX" -HOMEPAGE="http://www.samba.org" - -S=${WORKDIR}/${P} -SRC_URI="http://us2.samba.org/samba/ftp/${P}.tar.gz" - -RDEPEND="virtual/glibc - >=sys-libs/pam-0.72 - acl? ( sys-apps/acl ) - cups? ( net-print/cups ) - ldap? ( =net-nds/openldap-2* ) - ssl? ( >=dev-libs/openssl-0.9.6 )" - -DEPEND="${RDEPEND} - sys-devel/autoconf - tcpd? ( >=sys-apps/tcp-wrappers-7.6 )" - -LICENSE="GPL-2" -SLOT="0" - -src_unpack() { - unpack ${A} ; cd ${S} - patch -p0 < ${FILESDIR}/samba-2.2.2-smbmount.diff || die - - # makes cups not absolutely required.. - if [ ! "`use cups`" ] ; then - cd ${S}/source - cp configure.in configure.in.orig - sed -e "s:AC_CHECK_LIB(cups,httpConnect)::" configure.in.orig > configure.in - fi - - # fix kerberos include file collision.. - cd ${S}/source/include - mv profile.h smbprofile.h - sed -e "s:profile\.h:smbprofile.h:" includes.h > includes.h.new - mv includes.h.new includes.h - - cd ${S}/source - autoconf || die -} - -src_compile() { - local myconf - use acl && myconf="${myconf} --with-acl-support" - use ssl && myconf="${myconf} --with-ssl" - use ldap && myconf="${myconf} --with-ldapsam" - - cd ${S}/source - ./configure \ - --prefix=/usr \ - --libdir=/etc/samba \ - --sbindir=/usr/sbin \ - --sysconfdir=/etc/samba \ - --localstatedir=/var/log \ - --with-configdir=/etc/samba \ - --with-mandir=/usr/share/man \ - --with-piddir=/var/run/samba \ - --with-lockdir=/var/run/samba \ - --with-swatdir=/usr/share/swat \ - --with-privatedir=/etc/samba/private \ - --with-codepagedir=/var/lib/samba/codepages \ - --with-pam --with-pam_smbpass \ - --without-sambabook \ - --without-automount \ - --without-spinlocks \ - --with-libsmbclient \ - --with-smbwrapper \ - --with-netatalk \ - --with-smbmount \ - --with-profile \ - --with-quotas \ - --with-syslog \ - --with-msdfs \ - --with-utmp \ - --with-vfs \ - --host=${CHOST} ${myconf} || die "bad ./configure" - - make all smbfilter smbwrapper smbcacls pam_smbpass \ - nsswitch nsswitch/libnss_wins.so debug2html - assert "compile problem" -} - -src_install() { - local i mp mpl - - # we may as well do this all manually since it was starting - # to get out of control and samba _does_ have some rather - # silly installation quirks ;) much of this was adapted - # from mandrake's .spec file.. - # - # // woodchip - 5 May 2002 - - - # install standard binary files.. - for i in nmblookup smbclient smbpasswd smbstatus testparm testprns \ - make_smbcodepage make_unicodemap make_printerdef rpcclient \ - smbspool smbcacls smbclient smbmount smbumount smbsh wbinfo - do - exeinto /usr/bin - doexe source/bin/${i} - done - - - # libraries.. - exeinto /usr/lib - doexe source/bin/smbwrapper.so - doexe source/bin/libsmbclient.so - insinto /usr/lib - doins source/bin/libsmbclient.a - exeinto /lib/security - doexe source/bin/pam_smbpass.so - doexe source/nsswitch/pam_winbind.so - - - # some utility scripts.. - for i in mksmbpasswd.sh smbtar convert_smbpasswd - do - exeinto /usr/bin - doexe source/script/${i} - done - - - # install secure binary files.. - for i in smbd nmbd swat smbfilter debug2html smbmnt smbcontrol winbindd - do - exeinto /usr/sbin - doexe source/bin/${i} - done - - - # install man pages.. - doman docs/manpages/* - - - # install codepage source files - for i in 437 737 775 850 852 857 861 866 932 936 949 950 1251 - do - insinto /var/lib/samba/codepages/src - doins source/codepages/codepage_def.${i} - done - for i in 437 737 775 850 852 857 861 866 932 936 949 950 \ - ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 \ - ISO8859-9 ISO8859-13 ISO8859-15 KOI8-R - do - insinto /var/lib/samba/codepages/src - doins source/codepages/CP${i}.TXT - done - - - # build codepage load files.. - for i in 437 737 775 850 852 857 861 866 932 936 949 950 1251 - do - ${D}/usr/bin/make_smbcodepage c ${i} \ - ${D}/var/lib/samba/codepages/src/codepage_def.${i} \ - ${D}/var/lib/samba/codepages/codepage.${i} - done - - - # build unicode load files.. - for i in 437 737 775 850 852 857 861 866 932 936 949 950 \ - ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 \ - ISO8859-9 ISO8859-13 ISO8859-15 KOI8-R - do - ${D}/usr/bin/make_unicodemap ${i} \ - ${D}/var/lib/samba/codepages/src/CP${i}.TXT \ - ${D}/var/lib/samba/codepages/unicode_map.${i} - done - rm -rf ${D}/var/lib/samba/codepages/src - - - # install the nsswitch library extension files.. - for i in wins winbind - do - exeinto /lib - doexe source/nsswitch/libnss_${i}.so - done - # make link for wins and winbind resolvers.. - ( cd ${D}/lib ; ln -s libnss_wins.so libnss_wins.so.2 ) - ( cd ${D}/lib ; ln -s libnss_winbind.so libnss_winbind.so.2 ) - - - # install SWAT helper files.. - for i in swat/help/*.html docs/htmldocs/*.html - do - insinto /usr/share/swat/help - doins ${i} - done - for i in swat/images/*.gif - do - insinto /usr/share/swat/images - doins ${i} - done - for i in swat/include/*.html - do - insinto /usr/share/swat/include - doins ${i} - done - - - # install the O'Reilly "Using Samba" book.. - for i in docs/htmldocs/using_samba/*.html - do - insinto /usr/share/swat/using_samba - doins ${i} - done - for i in docs/htmldocs/using_samba/gifs/*.gif - do - insinto /usr/share/swat/using_samba/gifs - doins ${i} - done - for i in docs/htmldocs/using_samba/figs/*.gif - do - insinto /usr/share/swat/using_samba/figs - doins ${i} - done - - - # too many docs to sort through; install them all! :) - dodoc COPYING Manifest README Roadmap WHATSNEW.txt - docinto full_docs - cp -a docs/* ${D}/usr/share/doc/${PF}/full_docs - # but we don't want two copies of the book! - rm -rf ${D}/usr/share/doc/${PF}/full_docs/htmldocs/using_samba - docinto examples - cp -a examples/* ${D}/usr/share/doc/${PF}/examples - prepalldocs - # keep this next line *after* prepalldocs! - dosym /usr/share/swat/using_samba /usr/share/doc/${PF}/using_samba - # and we should unzip the html docs.. - gunzip ${D}/usr/share/doc/${PF}/full_docs/faq/* - gunzip ${D}/usr/share/doc/${PF}/full_docs/htmldocs/* - - - # link /usr/bin/smbmount to /sbin/mount.smbfs which allows it - # to work transparently with the standard 'mount' command.. - dodir /sbin - dosym /usr/bin/smbmount /sbin/mount.smbfs - - - # make the smb backend symlink for cups printing support.. - if [ -n "`use cups`" ] ; then - dodir /usr/lib/cups/backend - dosym /usr/bin/smbspool /usr/lib/cups/backend/smb - fi - - - # make a symlink on /usr/lib/smbwrapper.so in /usr/bin - # to fix smbsh problem (another way to do that, anyone???) - dosym /usr/lib/smbwrapper.so /usr/bin/smbwrapper.so - - - # now the config files.. - insinto /etc - doins ${FILESDIR}/nsswitch.conf-winbind - doins ${FILESDIR}/nsswitch.conf-wins - - insinto /etc/samba - doins ${FILESDIR}/smbusers - doins ${FILESDIR}/smb.conf.example - doins ${FILESDIR}/lmhosts - - insinto /etc/pam.d - newins ${FILESDIR}/samba.pam samba - doins ${FILESDIR}/system-auth-winbind - - exeinto /etc/init.d - newexe ${FILESDIR}/samba-init samba - newexe ${FILESDIR}/winbind-init winbind - - insinto /etc/xinetd.d - newins ${FILESDIR}/swat.xinetd swat -} - -pkg_postinst() { - # touch /etc/samba/smb.conf so that people installing samba just - # to mount smb shares don't get annoying warnings all the time.. - if [ ! -e ${ROOT}/etc/samba/smb.conf ] ; then - touch ${ROOT}/etc/samba/smb.conf - fi - - - # empty dirs.. - install -m0700 -o root -g root -d ${ROOT}/etc/samba/private - install -m1777 -o root -g root -d ${ROOT}/var/spool/samba - install -m0755 -o root -g root -d ${ROOT}/var/log/samba - install -m0755 -o root -g root -d ${ROOT}/var/run/samba - install -m0755 -o root -g root -d ${ROOT}/var/lib/samba/{netlogon,profiles} - install -m0755 -o root -g root -d \ - ${ROOT}/var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC} - - - # /etc/smb is changed to /etc/samba, /var/run/smb to /var/run/samba - ewarn "******************************************************************" - ewarn "* NOTE: If you upgraded from an earlier version of samba you *" - ewarn "* must move your /etc/smb files to the more aptly suited *" - ewarn "* /etc/samba directory. Also, please move the files in *" - ewarn "* /var/run/smb to /var/run/samba. Lastly, if you have *" - ewarn "* the string "/etc/smb" in your smb.conf file, please *" - ewarn "* change that to "/etc/samba". The old /etc/smb/codepages *" - ewarn "* directory doesn't need to be moved into /etc/samba *" - ewarn "* because those files are now kept in the *" - ewarn "* /var/lib/samba/codepages directory. *" - ewarn "* *" - ewarn "* If you need help with upgrading, email me: *" - ewarn "* woodchip@gentoo.org and I'll assist you. *" - ewarn "******************************************************************" -} diff --git a/net-fs/samba/samba-2.2.5.ebuild b/net-fs/samba/samba-2.2.5.ebuild index e08a4f978a7e..918fed8b34da 100644 --- a/net-fs/samba/samba-2.2.5.ebuild +++ b/net-fs/samba/samba-2.2.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-2.2.5.ebuild,v 1.1 2002/06/23 20:56:52 woodchip Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-2.2.5.ebuild,v 1.2 2002/07/17 09:52:23 seemant Exp $ DESCRIPTION="SAMBA is a suite of SMB and CIFS client/server programs for UNIX" HOMEPAGE="http://www.samba.org" @@ -19,8 +19,9 @@ DEPEND="${RDEPEND} sys-devel/autoconf tcpd? ( >=sys-apps/tcp-wrappers-7.6 )" -LICENSE="GPL-2" SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86" src_unpack() { unpack ${A} ; cd ${S} |