wok-current view samba-pam/receipt @ rev 23561

updated python-simplejson (2.1.1 -> 3.17.0)
author Hans-G?nter Theisgen
date Tue Apr 07 07:51:57 2020 +0100 (2020-04-07)
parents 49b17cd62229
children 934055de50e2
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 libcups 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 }