wok annotate stunnel/receipt @ rev 25672

Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 26 14:07:44 2024 +0000 (2 months ago)
parents b81ceff0b056
children
rev   line source
pascal@20711 1 # SliTaz package receipt.
pascal@20711 2
pascal@20711 3 PACKAGE="stunnel"
pascal@25672 4 VERSION="5.72"
pascal@20711 5 CATEGORY="network"
Hans-G?nter@21979 6 SHORT_DESC="A proxy designed to add TLS encryption functionality to existing clients and servers."
pascal@20711 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20711 8 LICENSE="GPL2"
Hans-G?nter@21979 9 WEB_SITE="https://www.stunnel.org/"
Hans-G?nter@21979 10
pascal@20711 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25583 12 WGET_URL="https://www.stunnel.org/downloads/archive/${VERSION%%.*}.x/$TARBALL"
pascal@20711 13
pascal@20711 14 DEPENDS="libssl"
Hans-G?nter@21979 15 BUILD_DEPENDS="libwrap-dev openssl-dev"
Hans-G?nter@21979 16
Hans-G?nter@21979 17 CONFIG_FILES="/etc/stunnel/stunnel.conf"
pascal@20711 18
pascal@24427 19 # What is the latest version available today?
pascal@24427 20 current_version()
pascal@24427 21 {
pascal@25608 22 wget -O - https://www.stunnel.org/downloads.html 2>/dev/null | \
pascal@25608 23 sed '/stunnel-/!d;/tar/!d;/latest/d;s|.*stunnel-||;s|.tar.*||;q'
pascal@24427 24 }
pascal@24427 25
pascal@20711 26 # Rules to configure and make the package.
pascal@20711 27 compile_rules()
pascal@20711 28 {
Hans-G?nter@21979 29 ./configure \
Hans-G?nter@21979 30 --prefix=/usr \
Hans-G?nter@21979 31 --sysconfdir=/etc \
Hans-G?nter@21979 32 --localstatedir=/var \
Hans-G?nter@21979 33 --mandir=/usr/share/man \
pascal@20711 34 $CONFIGURE_ARGS &&
pascal@20711 35 make &&
pascal@20711 36 make DESTDIR=$DESTDIR install
pascal@20711 37 }
pascal@20711 38
pascal@20711 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20711 40 genpkg_rules()
pascal@20711 41 {
Hans-G?nter@21979 42 mkdir -p $fs/usr
Hans-G?nter@21979 43 mkdir -p $fs/etc/stunnel
Hans-G?nter@21979 44
Hans-G?nter@21979 45 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21979 46 cp -a $install/usr/lib $fs/usr
Hans-G?nter@21979 47 cp -a $install/var $fs
Hans-G?nter@21979 48 cp -a $install/etc/stunnel/stunnel.conf-sample $fs/etc/stunnel/stunnel.conf
pascal@20711 49 }