redigest
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2897 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
15
net-fs/samba/ChangeLog
Normal file
15
net-fs/samba/ChangeLog
Normal file
@@ -0,0 +1,15 @@
|
||||
# ChangeLog for net-fs/samba
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
*samba-3.5.0_rc3 (20 Feb 2010)
|
||||
|
||||
20 Feb 2010; Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
|
||||
+files/3.5/lmhosts, +files/3.5/nsswitch.conf-winbind,
|
||||
+files/3.5/nsswitch.conf-wins, +files/3.5/samba.confd,
|
||||
+files/3.5/samba.initd, +files/3.5/samba.pam, +files/3.5/smb.conf.default,
|
||||
+files/3.5/smbusers, +files/3.5/swat.xinetd,
|
||||
+files/samba-3.4.2-lib.tevent.python.mk, +samba-3.5.0_rc3.ebuild,
|
||||
+files/3.5/system-auth-winbind.pam, metadata.xml:
|
||||
Added a merged samba 3.5 ebuild (files copied from the tree)
|
||||
|
||||
8
net-fs/samba/Manifest
Normal file
8
net-fs/samba/Manifest
Normal file
@@ -0,0 +1,8 @@
|
||||
AUX samba4.initd 540 RMD160 4ac822b4214ebcbf694ebca611e0c48baaeabe33 SHA1 75aad52258548f5593c34b7c363a0903e669655e SHA256 2fbd1e276bdf58060b5d74dfd03b3b934f788c10cff5a35e9cc857cd5a51ebf1
|
||||
DIST samba-4.0.0alpha13.tar.gz 8681348 RMD160 522e1754044f0fb1141246c1a37f28f08567d069 SHA1 c6ff1eafba5869e9ea74f046668cf147ce834da8 SHA256 3cf571d6d32e07537f2b315f3976eb5e5ee563af17a12e406d6d3671fc59cf6c
|
||||
DIST samba-4.0.0alpha14.tar.gz 9003353 RMD160 8e6d0f89139ad3251188dc74a9b9e93aa4f0a3a8 SHA1 76cec4e695336d8a9a5e428be9e7b53348b8b5a0 SHA256 6ad7954ad8da388d43444bbebcfeacd601904853cd88d4ee7dd42896b31375ca
|
||||
EBUILD samba-4.0.0_alpha13.ebuild 2381 RMD160 771da3aade50734264e68b96e5454e41d690135b SHA1 58e00beb8ae97b488deb4740ee73e064f4a295cb SHA256 9e1852cc2f838ec4a665e5472dd5540013ab911b804ce062b87d9834ca290d23
|
||||
EBUILD samba-4.0.0_alpha14.ebuild 2381 RMD160 771da3aade50734264e68b96e5454e41d690135b SHA1 58e00beb8ae97b488deb4740ee73e064f4a295cb SHA256 9e1852cc2f838ec4a665e5472dd5540013ab911b804ce062b87d9834ca290d23
|
||||
EBUILD samba-4.9999.ebuild 2381 RMD160 771da3aade50734264e68b96e5454e41d690135b SHA1 58e00beb8ae97b488deb4740ee73e064f4a295cb SHA256 9e1852cc2f838ec4a665e5472dd5540013ab911b804ce062b87d9834ca290d23
|
||||
MISC ChangeLog 638 RMD160 0c908047481a22b1e71fe53efbffaa440bac543a SHA1 3be25bb28f1a39e08ce8c7b8ebf72343b5c9c3f4 SHA256 756cc4d2783e0497f9e82dfc7349fd2b53c026994cea6b647684715a0603db9a
|
||||
MISC metadata.xml 607 RMD160 aeddb2c2dba872001c02f500e89dd494181d90fa SHA1 8b7bc7647d15b519e6e2f2a02058aa0dbe592f29 SHA256 5a7f46589354ab4e7a2c6ef61c0bede07f3567ea04899686fc94a4b083ab319e
|
||||
31
net-fs/samba/files/samba4.initd
Normal file
31
net-fs/samba/files/samba4.initd
Normal file
@@ -0,0 +1,31 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
opts="reload"
|
||||
|
||||
description="The samba daemon init script"
|
||||
description_reload="Reloads the samba daemon"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting samba"
|
||||
start-stop-daemon --start --exec /usr/sbin/samba
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping samba"
|
||||
start-stop-daemon --stop --pidfile /var/run/samba/samba.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading samba"
|
||||
killall -HUP samba
|
||||
eend $?
|
||||
}
|
||||
17
net-fs/samba/metadata.xml
Normal file
17
net-fs/samba/metadata.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd></herd>
|
||||
<maintainer>
|
||||
<email>gentoo@kohlvanwijngaarden.nl</email>
|
||||
<name>Ewoud Kohl van Wijngaarden</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Samba is an Open Source/Free Software suite that provides seamless file and
|
||||
print services to SMB/CIFS clients. Integration with various accounting and
|
||||
antivirus backends. License: GNU General Public License.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="fulltest">Enables the full test suite</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
110
net-fs/samba/samba-4.0.0_alpha13.ebuild
Normal file
110
net-fs/samba/samba-4.0.0_alpha13.ebuild
Normal file
@@ -0,0 +1,110 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit confutils python
|
||||
|
||||
MY_PV="${PV/_alpha/alpha}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
if [ "${PV}" = "4.9999" ]; then
|
||||
EGIT_REPO_URI="git://git.samba.org/samba.git"
|
||||
inherit git
|
||||
else
|
||||
SRC_URI="mirror://samba/samba4/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Samba Server component"
|
||||
HOMEPAGE="http://www.samba.org/"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gnutls fulltest"
|
||||
|
||||
DEPEND="!net-fs/samba-libs
|
||||
!net-fs/samba-server
|
||||
!net-fs/samba-client
|
||||
dev-libs/popt
|
||||
sys-libs/readline
|
||||
virtual/libiconv
|
||||
>=dev-lang/python-2.4.2
|
||||
gnutls? ( >=net-libs/gnutls-1.4.0 )
|
||||
!sys-libs/tdb" # Conflict because of tdb binaries
|
||||
#>=sys-libs/talloc-2.0.3 No 2.0.3 release
|
||||
#>=sys-libs/tdb-1.2.4 No 1.2.4 release
|
||||
#=sys-libs/tevent-0.9.9 System tevent wants system talloc
|
||||
#=sys-libs/ldb-0.9.11 No release yet
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/source4"
|
||||
|
||||
WAF="${WORKDIR}/${MY_P}/buildtools/bin/waf"
|
||||
|
||||
pkg_setup() {
|
||||
confutils_use_depend_all fulltest test
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [ "${PV}" = "4.9999" ]; then
|
||||
S="${WORKDIR}/${MY_P}" git_src_unpack
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# FIXME add --jobs
|
||||
# Mostly copied from debian
|
||||
FLAGS="$CFLAGS" $WAF configure -C \
|
||||
--enable-fhs \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--with-piddir=/var/run \
|
||||
--with-privatedir=/var/lib/samba/private \
|
||||
--disable-rpath \
|
||||
--disable-rpath-install \
|
||||
--bundled-libraries=ldb,tdb,talloc,tevent,NONE \
|
||||
--builtin-libraries=replace \
|
||||
--nopyc \
|
||||
--nopyo \
|
||||
$(use_enable gnutls) \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
$WAF build || die "build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" $WAF install || die "emake install failed"
|
||||
|
||||
newinitd "${FILESDIR}/samba4.initd" samba || die "newinitd failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use fulltest ; then
|
||||
$WAF test || die "test failed"
|
||||
else
|
||||
$WAF test --quick || die "Test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Optimize the python modules so they get properly removed
|
||||
python_mod_optimize "${PN}"
|
||||
|
||||
# Warn that it's an alpha
|
||||
ewarn "Samba 4 is an alpha and therefore not considered stable. It's only"
|
||||
ewarn "meant to test and experiment and definitely not for production"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Clean up the python modules
|
||||
python_mod_cleanup "${PN}"
|
||||
}
|
||||
110
net-fs/samba/samba-4.0.0_alpha14.ebuild
Normal file
110
net-fs/samba/samba-4.0.0_alpha14.ebuild
Normal file
@@ -0,0 +1,110 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit confutils python
|
||||
|
||||
MY_PV="${PV/_alpha/alpha}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
if [ "${PV}" = "4.9999" ]; then
|
||||
EGIT_REPO_URI="git://git.samba.org/samba.git"
|
||||
inherit git
|
||||
else
|
||||
SRC_URI="mirror://samba/samba4/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Samba Server component"
|
||||
HOMEPAGE="http://www.samba.org/"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gnutls fulltest"
|
||||
|
||||
DEPEND="!net-fs/samba-libs
|
||||
!net-fs/samba-server
|
||||
!net-fs/samba-client
|
||||
dev-libs/popt
|
||||
sys-libs/readline
|
||||
virtual/libiconv
|
||||
>=dev-lang/python-2.4.2
|
||||
gnutls? ( >=net-libs/gnutls-1.4.0 )
|
||||
!sys-libs/tdb" # Conflict because of tdb binaries
|
||||
#>=sys-libs/talloc-2.0.3 No 2.0.3 release
|
||||
#>=sys-libs/tdb-1.2.4 No 1.2.4 release
|
||||
#=sys-libs/tevent-0.9.9 System tevent wants system talloc
|
||||
#=sys-libs/ldb-0.9.11 No release yet
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/source4"
|
||||
|
||||
WAF="${WORKDIR}/${MY_P}/buildtools/bin/waf"
|
||||
|
||||
pkg_setup() {
|
||||
confutils_use_depend_all fulltest test
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [ "${PV}" = "4.9999" ]; then
|
||||
S="${WORKDIR}/${MY_P}" git_src_unpack
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# FIXME add --jobs
|
||||
# Mostly copied from debian
|
||||
FLAGS="$CFLAGS" $WAF configure -C \
|
||||
--enable-fhs \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--with-piddir=/var/run \
|
||||
--with-privatedir=/var/lib/samba/private \
|
||||
--disable-rpath \
|
||||
--disable-rpath-install \
|
||||
--bundled-libraries=ldb,tdb,talloc,tevent,NONE \
|
||||
--builtin-libraries=replace \
|
||||
--nopyc \
|
||||
--nopyo \
|
||||
$(use_enable gnutls) \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
$WAF build || die "build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" $WAF install || die "emake install failed"
|
||||
|
||||
newinitd "${FILESDIR}/samba4.initd" samba || die "newinitd failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use fulltest ; then
|
||||
$WAF test || die "test failed"
|
||||
else
|
||||
$WAF test --quick || die "Test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Optimize the python modules so they get properly removed
|
||||
python_mod_optimize "${PN}"
|
||||
|
||||
# Warn that it's an alpha
|
||||
ewarn "Samba 4 is an alpha and therefore not considered stable. It's only"
|
||||
ewarn "meant to test and experiment and definitely not for production"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Clean up the python modules
|
||||
python_mod_cleanup "${PN}"
|
||||
}
|
||||
110
net-fs/samba/samba-4.9999.ebuild
Normal file
110
net-fs/samba/samba-4.9999.ebuild
Normal file
@@ -0,0 +1,110 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit confutils python
|
||||
|
||||
MY_PV="${PV/_alpha/alpha}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
if [ "${PV}" = "4.9999" ]; then
|
||||
EGIT_REPO_URI="git://git.samba.org/samba.git"
|
||||
inherit git
|
||||
else
|
||||
SRC_URI="mirror://samba/samba4/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Samba Server component"
|
||||
HOMEPAGE="http://www.samba.org/"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gnutls fulltest"
|
||||
|
||||
DEPEND="!net-fs/samba-libs
|
||||
!net-fs/samba-server
|
||||
!net-fs/samba-client
|
||||
dev-libs/popt
|
||||
sys-libs/readline
|
||||
virtual/libiconv
|
||||
>=dev-lang/python-2.4.2
|
||||
gnutls? ( >=net-libs/gnutls-1.4.0 )
|
||||
!sys-libs/tdb" # Conflict because of tdb binaries
|
||||
#>=sys-libs/talloc-2.0.3 No 2.0.3 release
|
||||
#>=sys-libs/tdb-1.2.4 No 1.2.4 release
|
||||
#=sys-libs/tevent-0.9.9 System tevent wants system talloc
|
||||
#=sys-libs/ldb-0.9.11 No release yet
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/source4"
|
||||
|
||||
WAF="${WORKDIR}/${MY_P}/buildtools/bin/waf"
|
||||
|
||||
pkg_setup() {
|
||||
confutils_use_depend_all fulltest test
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [ "${PV}" = "4.9999" ]; then
|
||||
S="${WORKDIR}/${MY_P}" git_src_unpack
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# FIXME add --jobs
|
||||
# Mostly copied from debian
|
||||
FLAGS="$CFLAGS" $WAF configure -C \
|
||||
--enable-fhs \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--with-piddir=/var/run \
|
||||
--with-privatedir=/var/lib/samba/private \
|
||||
--disable-rpath \
|
||||
--disable-rpath-install \
|
||||
--bundled-libraries=ldb,tdb,talloc,tevent,NONE \
|
||||
--builtin-libraries=replace \
|
||||
--nopyc \
|
||||
--nopyo \
|
||||
$(use_enable gnutls) \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
$WAF build || die "build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" $WAF install || die "emake install failed"
|
||||
|
||||
newinitd "${FILESDIR}/samba4.initd" samba || die "newinitd failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use fulltest ; then
|
||||
$WAF test || die "test failed"
|
||||
else
|
||||
$WAF test --quick || die "Test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Optimize the python modules so they get properly removed
|
||||
python_mod_optimize "${PN}"
|
||||
|
||||
# Warn that it's an alpha
|
||||
ewarn "Samba 4 is an alpha and therefore not considered stable. It's only"
|
||||
ewarn "meant to test and experiment and definitely not for production"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Clean up the python modules
|
||||
python_mod_cleanup "${PN}"
|
||||
}
|
||||
Reference in New Issue
Block a user