wok view samba-pam/receipt @ rev 18083

Add mate-session-manager
author Yuri Pourre <yuripourre@gmail.com>
date Fri May 22 18:45:00 2015 -0300 (2015-05-22)
parents 02b1ad052225
children 9b7c1ea86466
line source
1 # SliTaz package receipt.
3 PACKAGE="samba-pam"
4 VERSION="3.6.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="File and print services with SMB/CIFS using PAM."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 SOURCE="samba"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://samba.org/"
12 WGET_URL="${WEB_SITE}$SOURCE/ftp/stable/$TARBALL"
13 TAZPANEL_DAEMON="man::samba|edit::/etc/samba/smb.conf|web::$WEB_SITE"
14 SUGGESTED="gamin"
15 CONFIG_FILES="/etc/samba"
16 PROVIDE="samba:pam"
17 BUGS="Open directory needs MIT kerberos support (krb5)"
19 BUILD_DEPENDS="libldap openldap openldap-dev cups cups-dev pam pam-dev krb5"
20 DEPENDS="libldap samba-common glibc-extra-samba ncursesw popt zlib cifs-utils acl pam perl cups krb5"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src/source3
26 ./configure --prefix=/usr --infodir=/usr/share/info \
27 --with-piddir=/var/run/samba --with-lockdir=/var/run/samba \
28 --with-winbind --with-ldap --with-fhs --enable-cups --enable-swat \
29 --enable-shared-libs --with-libtalloc --with-libtdb \
30 --with-libsmbsharemodes --with-libsmbclient \
31 --with-pam --with-pammodulesdir=/lib/security \
32 --sysconfdir=/etc --localstatedir=/var \
33 --mandir=/usr/share/man $CONFIGURE_ARGS &&
34 make $MAKEFLAGS &&
35 make DESTDIR=$DESTDIR install || return 1
36 #rm -f $DESTDIR/usr/*bin/*.old
37 #ln -s libwbclient.so $DESTDIR/usr/lib/libwbclient.so.0
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 cp -a $install/etc $fs
45 cp -a $install/var $fs
46 cp -a $install/lib $fs
47 cp -a $install/usr/lib $fs/usr
48 cp -a $install/usr/sbin $fs/usr
49 cp -a $install/usr/bin $fs/usr
50 cp -a $WOK/$SOURCE/stuff/etc $fs
51 cat $WOK/$SOURCE/stuff/*.files-list | while read file; do
52 rm -rf $fs$file
53 done
54 }
56 # Pre and post install commands for Tazpkg.
57 post_install()
58 {
59 cat <<EOF
60 ----
61 The main configuration file is /etc/samba/smb.conf
62 ----
63 To start $PACKAGE server you can run :
65 /etc/init.d/$PACKAGE start
67 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
68 ----
69 EOF
70 }