wok-6.x annotate davfs2/receipt @ rev 25064
openvas-libraries, openvas-client: update gnutls calls
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 08 16:46:37 2022 +0000 (2022-06-08) |
parents | 17091bc7c301 |
children |
rev | line source |
---|---|
pascal@3968 | 1 # SliTaz package receipt. |
pascal@3968 | 2 |
pascal@3968 | 3 PACKAGE="davfs2" |
Hans-G?nter@24469 | 4 VERSION="1.6.1" |
pascal@3968 | 5 CATEGORY="network" |
pascal@3968 | 6 SHORT_DESC="Remote collaborative authoring of Web resources." |
pascal@3968 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
Hans-G?nter@22631 | 9 WEB_SITE="https://savannah.nongnu.org/projects/$PACKAGE" |
Hans-G?nter@22631 | 10 |
pascal@3968 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22631 | 12 WGET_URL="https://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL" |
Hans-G?nter@22631 | 13 |
Hans-G?nter@22631 | 14 DEPENDS="expat krb5 libcomerr3 libkrb5 neon openssl zlib" |
Hans-G?nter@22631 | 15 BUILD_DEPENDS="expat-dev krb5 krb5-dev neon-dev openssl-dev" |
Hans-G?nter@22631 | 16 |
pascal@14999 | 17 CONFIG_FILES="/etc/davfs2" |
pascal@14999 | 18 |
pascal@24415 | 19 # What is the latest version available today? |
pascal@24415 | 20 current_version() |
pascal@24415 | 21 { |
pascal@24415 | 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24415 | 23 sed '/davfs2-/!d;/bin/d;s|.*davfs2-||;s|.tar.*||' | sort -Vr | sed q |
pascal@24415 | 24 } |
pascal@24415 | 25 |
pascal@3968 | 26 # Rules to configure and make the package. |
pascal@3968 | 27 compile_rules() |
pascal@3968 | 28 { |
Hans-G?nter@22631 | 29 sed -i 's|-fstack-protector-strong ||' \ |
Hans-G?nter@22631 | 30 src/Makefile.* |
Hans-G?nter@22631 | 31 |
Hans-G?nter@22631 | 32 ./configure \ |
Hans-G?nter@22631 | 33 --prefix=/usr \ |
Hans-G?nter@22631 | 34 --infodir=/usr/share/info \ |
Hans-G?nter@22631 | 35 --sysconfdir=/etc \ |
Hans-G?nter@22631 | 36 --mandir=/usr/share/man \ |
Hans-G?nter@22631 | 37 $CONFIGURE_ARGS && |
pascal@3968 | 38 make && |
Hans-G?nter@24469 | 39 make install DESTDIR=$DESTDIR |
pascal@3968 | 40 } |
pascal@3968 | 41 |
pascal@3968 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3968 | 43 genpkg_rules() |
pascal@3968 | 44 { |
pascal@3968 | 45 mkdir -p $fs/usr |
Hans-G?nter@22631 | 46 |
Hans-G?nter@22631 | 47 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@22631 | 48 cp -a $install/etc $fs |
Hans-G?nter@22631 | 49 |
Hans-G?nter@24469 | 50 sed -i -e 's|# dav_user|dav_user|' \ |
Hans-G?nter@24469 | 51 -e 's|# dav_group|dav_group|' \ |
Hans-G?nter@24469 | 52 -e 's| davfs2 | www |' \ |
pascal@3968 | 53 $fs/etc/davfs2/davfs2.conf |
pascal@3968 | 54 } |