Added samba-3.5.6 build template.
This commit is contained in:
parent
c296f3a1c2
commit
718b0c69b8
|
@ -0,0 +1 @@
|
|||
samba
|
|
@ -0,0 +1 @@
|
|||
samba
|
|
@ -0,0 +1 @@
|
|||
samba
|
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'cifs-utils'.
|
||||
#
|
||||
short_desc="Common Internet File System utilities"
|
||||
long_desc="
|
||||
The SMB/CIFS protocol provides support for cross-platform file sharing with
|
||||
Microsoft Windows, OS X, and other Unix systems.
|
||||
|
||||
This package provides utilities for managing mounts of CIFS network file
|
||||
systems."
|
||||
|
||||
Add_dependency run glibc
|
||||
|
||||
do_install()
|
||||
{
|
||||
install -d ${DESTDIR}/usr/share/man/man8 ${DESTDIR}/usr/sbin
|
||||
mv ${SRCPKGDESTDIR}/usr/sbin/*cifs* ${DESTDIR}/usr/sbin
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man8/*cifs* \
|
||||
${DESTDIR}/usr/share/man/man8
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
abi_depends=">=3.5.6"
|
||||
api_depends="${abi_depends}"
|
|
@ -0,0 +1,23 @@
|
|||
# Template file for 'libsmbclient'.
|
||||
#
|
||||
short_desc="Shared libraries for communication with SMB/CIFS servers"
|
||||
long_desc="
|
||||
This package provides a shared library that enables client applications to
|
||||
talk to Microsoft Windows and Samba servers using the SMB/CIFS protocol."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run zlib
|
||||
Add_dependency run libtdb
|
||||
Add_dependency run libcap
|
||||
Add_dependency run mit-krb5-libs
|
||||
Add_dependency run e2fsprogs-libs
|
||||
Add_dependency run libldap
|
||||
|
||||
do_install()
|
||||
{
|
||||
install -d ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man/man7
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libwbclient.so* ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libsmbclient.so* ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man7/libsmbclient.7 \
|
||||
${DESTDIR}/usr/share/man/man7
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
# Template file for 'samba-devel'.
|
||||
#
|
||||
short_desc="${short_desc} - development files"
|
||||
long_desc="
|
||||
${long_desc}
|
||||
|
||||
This package provides development files: headers, static libraries, etc."
|
||||
|
||||
Add_dependency run libcap-devel
|
||||
Add_dependency run popt-devel
|
||||
Add_dependency run mit-krb5-devel
|
||||
Add_dependency run e2fsprogs-devel
|
||||
Add_dependency run libldap-devel
|
||||
Add_dependency run zlib-devel
|
||||
Add_dependency run pam-devel
|
||||
Add_dependency run acl-devel
|
||||
Add_dependency run attr-devel
|
||||
Add_dependency run avahi-libs-devel
|
||||
Add_dependency run gamin-devel
|
||||
Add_dependency run readline-devel
|
||||
Add_dependency run tdb-devel
|
||||
Add_dependency run libsmbclient
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'smbclient'.
|
||||
#
|
||||
short_desc="Command-line SMB/CIFS clients for Unix"
|
||||
long_desc="
|
||||
This package contains command-line utilities for accessing Microsoft
|
||||
Windows and Samba servers, including smbclient, smbtar, and smbspool.
|
||||
Utilities for mounting shares locally are found in the package cifs-utils."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run zlib
|
||||
Add_dependency run libcap
|
||||
Add_dependency run popt
|
||||
Add_dependency run libldap
|
||||
Add_dependency run libtdb
|
||||
Add_dependency run mit-krb5-libs
|
||||
Add_dependency run e2fsprogs-libs
|
||||
Add_dependency run readline
|
||||
Add_dependency run libsmbclient
|
||||
|
||||
do_install()
|
||||
{
|
||||
install -d ${DESTDIR}/usr/share/man
|
||||
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man1 ${DESTDIR}/usr/share/man
|
||||
}
|
|
@ -0,0 +1,66 @@
|
|||
# Template file for 'samba'
|
||||
pkgname=samba
|
||||
version=3.5.6
|
||||
build_wrksrc=source3
|
||||
distfiles="http://us1.samba.org/samba/ftp/stable/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--with-fhs --with-pthreads --localstatedir=/var
|
||||
--with-configdir=/etc/samba --with-lockdir=/var/lock/samba
|
||||
--with-piddir=/var/run/samba --with-pammodulesdir=/lib/security
|
||||
--with-syslog --enable-external-libtalloc --with-cifsumount
|
||||
--enable-external-libtdb"
|
||||
short_desc="SMB/CIFS file, print, and login server for Unix"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=466410868375d19a286ac3fc5d9f3c267ce359189f8e0d76e72ec10bd54247da
|
||||
long_desc="
|
||||
Samba is an implementation of the SMB/CIFS protocol for Unix systems,
|
||||
providing support for cross-platform file and printer sharing with Microsoft
|
||||
Windows, OS X, and other Unix systems. Samba can also function as an
|
||||
NT4-style domain controller, and can integrate with both NT4 domains and
|
||||
Active Directory realms as a member server."
|
||||
|
||||
# XXX: Prepare rc service, conf files, etc.
|
||||
subpackages="cifs-utils smbclient libsmbclient samba-devel"
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run zlib
|
||||
Add_dependency run libcap
|
||||
Add_dependency run popt
|
||||
Add_dependency run mit-krb5-libs
|
||||
Add_dependency run e2fsprogs-libs
|
||||
Add_dependency run libldap
|
||||
Add_dependency run pam
|
||||
Add_dependency run acl
|
||||
Add_dependency run attr
|
||||
Add_dependency run avahi-libs
|
||||
Add_dependency run gamin
|
||||
Add_dependency run readline
|
||||
Add_dependency run libtdb
|
||||
Add_dependency run libsmbclient
|
||||
Add_dependency run smbclient
|
||||
|
||||
Add_dependency build gettext
|
||||
Add_dependency build libcap-devel
|
||||
Add_dependency build popt-devel
|
||||
Add_dependency build mit-krb5-devel
|
||||
Add_dependency build e2fsprogs-devel
|
||||
Add_dependency build libldap-devel
|
||||
Add_dependency build zlib-devel
|
||||
Add_dependency build pam-devel
|
||||
Add_dependency build acl-devel
|
||||
Add_dependency build attr-devel
|
||||
Add_dependency build avahi-libs-devel
|
||||
Add_dependency build gamin-devel
|
||||
Add_dependency build readline-devel
|
||||
Add_dependency build tdb-devel
|
||||
|
||||
post_install()
|
||||
{
|
||||
# Remove tdb manpages!
|
||||
rm -f ${DESTDIR}/usr/share/man/man8/tdb*
|
||||
|
||||
# Remove swat (outdated, unsecure).
|
||||
rm -f ${DESTDIR}/usr/sbin/swat
|
||||
rm -f ${DESTDIR}/usr/share/man/man8/swat
|
||||
rm -rf ${DESTDIR}/usr/share/samba/swat
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
samba
|
|
@ -712,3 +712,5 @@ libgssdp-1.0.so gssdp gssdp-devel
|
|||
libgupnp-1.0.so gupnp gupnp-devel
|
||||
libsamplerate.so libsamplerate libsamplerate-devel
|
||||
libmms.so libmms libmms-devel
|
||||
libsmbclient.so libsmbclient samba-devel
|
||||
libwbclient.so libsmbclient samba-devel
|
||||
|
|
Loading…
Reference in New Issue