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