wok-current view netatalk-pam/receipt @ rev 24954
*/stuff/bootloader.S: add CHK_DOS_INT19
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 23 15:28:40 2022 +0000 (2022-04-23) |
parents | 9e01bc6321ea |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="netatalk-pam"
4 VERSION="2.2.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="The AppleTalk Protocol Suite using PAM."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="netatalk"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://netatalk.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
13 CONFIG_FILES="/etc/netatalk/AppleVolumes.* /etc/netatalk/*.conf"
14 PROVIDE="netatalk:pam"
16 DEPENDS="perl libdb libcrypto cups gnutls libgcrypt libgpg-error \
17 libwrap zlib pam libcomerr3"
18 BUILD_DEPENDS="db-dev libcrypto-dev pam pam-dev file"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://sourceforge.net/projects/netatalk/files/netatalk/ 2>/dev/null | \
24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
25 sed '/scope="row/!d;s|.*/netatalk/||;s|/.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 cd $src
32 ./configure --with-pam --prefix=/usr --sysconfdir=/etc \
33 --libexecdir=/usr/lib/netatalk \
34 --mandir=/usr/share/man $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share $fs/usr/lib
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/sbin $fs/usr
45 #cp -a $install/usr/lib/netatalk $fs/usr/lib
46 cp -a $install/etc $fs
47 cp -a $stuff/etc $fs
48 rm -f $fs/etc/netatalk/uams/*a
49 }
51 # Pre and post install commands for Tazpkg.
52 post_install()
53 {
54 cat <<EOF
55 ----
56 To start $PACKAGE server you can run :
58 /etc/init.d/$PACKAGE start
60 Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf
61 ----
62 EOF
63 }
65 # Overlap busybox
66 pre_install()
67 {
68 rm -f "$1/usr/bin/timeout"
69 }
71 post_remove()
72 {
73 ln -s /bin/busybox "$1/usr/bin/timeout"
74 }