wok view samba-pam/receipt @ rev 22950
updated inotify-tools again (3.14 -> 3.20.2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 28 14:33:03 2020 +0100 (2020-02-28) |
parents | 9b7c1ea86466 |
children | c13c64d88162 |
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-base ncursesw popt zlib cifs-utils acl pam \
21 perl cups krb5"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 patch -p0 < $WOK/$SOURCE/stuff/CVE-2017-7494.u
27 cd $src/source3
28 ./configure --prefix=/usr --infodir=/usr/share/info \
29 --with-piddir=/var/run/samba --with-lockdir=/var/run/samba \
30 --with-winbind --with-ldap --with-fhs --enable-cups --enable-swat \
31 --enable-shared-libs --with-libtalloc --with-libtdb \
32 --with-libsmbsharemodes --with-libsmbclient \
33 --with-pam --with-pammodulesdir=/lib/security \
34 --sysconfdir=/etc --localstatedir=/var \
35 --mandir=/usr/share/man $CONFIGURE_ARGS &&
36 make $MAKEFLAGS &&
37 make DESTDIR=$DESTDIR install || return 1
38 #rm -f $DESTDIR/usr/*bin/*.old
39 #ln -s libwbclient.so $DESTDIR/usr/lib/libwbclient.so.0
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
46 cp -a $install/etc $fs
47 cp -a $install/var $fs
48 cp -a $install/lib $fs
49 cp -a $install/usr/lib $fs/usr
50 cp -a $install/usr/sbin $fs/usr
51 cp -a $install/usr/bin $fs/usr
52 cp -a $WOK/$SOURCE/stuff/etc $fs
53 cat $WOK/$SOURCE/stuff/*.files-list | while read file; do
54 rm -rf $fs$file
55 done
56 }
58 # Pre and post install commands for Tazpkg.
59 post_install()
60 {
61 cat <<EOF
62 ----
63 The main configuration file is /etc/samba/smb.conf
64 ----
65 To start $PACKAGE server you can run :
67 /etc/init.d/$PACKAGE start
69 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
70 ----
71 EOF
72 }