add ebuilds
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2464 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
4
net-fs/cifs-utils/Manifest
Normal file
4
net-fs/cifs-utils/Manifest
Normal file
@@ -0,0 +1,4 @@
|
||||
DIST cifs-utils-4.5.tar.bz2 321737 RMD160 48dcffd41b7a23b388e17992ccaf59d4ab97d1bb SHA1 5f19dd848d330e01ece18889f6d6b93927059296 SHA256 8287996c59609d3042691ae412d289995d63e7eaf561117f0b9a1ba421ecf25b
|
||||
EBUILD cifs-utils-4.5.ebuild 1079 RMD160 50a3564f7876fce9f29d7bf8af66bf0d7a060485 SHA1 5b48629d04ce03c7925eac5d6bf3275fcd4a6187 SHA256 33a5247572ece8d2659f5a75abf4b49f977a80a78855c6649450d9087a0250ed
|
||||
EBUILD cifs-utils-9999.ebuild 1079 RMD160 50a3564f7876fce9f29d7bf8af66bf0d7a060485 SHA1 5b48629d04ce03c7925eac5d6bf3275fcd4a6187 SHA256 33a5247572ece8d2659f5a75abf4b49f977a80a78855c6649450d9087a0250ed
|
||||
MISC metadata.xml 789 RMD160 1e14745b4c08f0fa8d364170c2864151ae5e016a SHA1 3c978a97c021dc2aa896bebc4aa3432dbf6eb636 SHA256 fec8103fdaaa5f77bb4b644275a8e0e001573d8bc3fef56af4337c11b5c8a0b0
|
||||
51
net-fs/cifs-utils/cifs-utils-4.5.ebuild
Normal file
51
net-fs/cifs-utils/cifs-utils-4.5.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils confutils
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="git://git.samba.org/${PN}.git"
|
||||
inherit git autotools
|
||||
else
|
||||
SRC_URI="ftp://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems"
|
||||
HOMEPAGE="http://www.samba.org/linux-cifs/cifs-utils/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ads +caps caps-ng"
|
||||
|
||||
DEPEND="!net-fs/mount-cifs
|
||||
!net-fs/samba-client
|
||||
!<net-fs/samba-3.6
|
||||
ads? ( sys-libs/talloc virtual/krb5 sys-apps/keyutils )
|
||||
caps? ( sys-libs/libcap )
|
||||
caps-ng? ( sys-libs/libcap-ng )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
confutils_use_conflict caps caps-ng
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
eautoreconf || die "eautoreconf failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable ads cifsupcall) \
|
||||
$(use_with caps libcap) \
|
||||
$(use_with caps-ng libcap-ng)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "emake install failed"
|
||||
}
|
||||
51
net-fs/cifs-utils/cifs-utils-9999.ebuild
Normal file
51
net-fs/cifs-utils/cifs-utils-9999.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils confutils
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="git://git.samba.org/${PN}.git"
|
||||
inherit git autotools
|
||||
else
|
||||
SRC_URI="ftp://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems"
|
||||
HOMEPAGE="http://www.samba.org/linux-cifs/cifs-utils/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ads +caps caps-ng"
|
||||
|
||||
DEPEND="!net-fs/mount-cifs
|
||||
!net-fs/samba-client
|
||||
!<net-fs/samba-3.6
|
||||
ads? ( sys-libs/talloc virtual/krb5 sys-apps/keyutils )
|
||||
caps? ( sys-libs/libcap )
|
||||
caps-ng? ( sys-libs/libcap-ng )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
confutils_use_conflict caps caps-ng
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
eautoreconf || die "eautoreconf failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable ads cifsupcall) \
|
||||
$(use_with caps libcap) \
|
||||
$(use_with caps-ng libcap-ng)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "emake install failed"
|
||||
}
|
||||
20
net-fs/cifs-utils/metadata.xml
Normal file
20
net-fs/cifs-utils/metadata.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd></herd>
|
||||
<longdescription lang="en">
|
||||
The in-kernel CIFS filesystem is generally the preferred method for mounting
|
||||
SMB/CIFS shares on Linux. More information on Linux CIFS is available at the
|
||||
Linux CIFS VFS site.
|
||||
|
||||
Although not really part of Samba proper, these tools were originally part of
|
||||
the Samba package. For several reasons, shipping these tools as part of Samba
|
||||
was problematic and it was deemed better to split them off into their own
|
||||
package.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="ads">Enable Active Directory integration (cifs.upcall)</flag>
|
||||
<flag name="caps-ng">Use Linux capabilities-ng library to control privilege</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user