wok-current annotate manserver/receipt @ rev 25725
Patch openssh CVE-2024-6387
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jul 01 15:09:44 2024 +0000 (8 weeks ago) |
parents | eeba7ab1dffe |
children |
rev | line source |
---|---|
al@17260 | 1 # SliTaz package receipt. |
al@17260 | 2 |
al@17260 | 3 PACKAGE="manserver" |
al@17260 | 4 VERSION="1.08" |
al@17260 | 5 CATEGORY="development" |
al@17260 | 6 SHORT_DESC="Man to HTML converter which can act as an HTTP server on port 8888" |
al@17260 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@17260 | 8 LICENSE="custom" |
pascal@20674 | 9 WEB_SITE="https://web.archive.org/web/20160326063337/http://www.squarebox.co.uk/users/rolf/download/manServer.shtml" |
al@17260 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@17260 | 11 WGET_URL="http://www.squarebox.co.uk/download/$TARBALL" |
al@17260 | 12 |
al@17260 | 13 DEPENDS="perl" #also can use busybox to extract gz, bz2 or xz man pages |
al@17260 | 14 |
pascal@24924 | 15 # What is the latest version available today? |
pascal@24924 | 16 current_version() |
pascal@24924 | 17 { |
pascal@24924 | 18 wget -O - https://raw.githubusercontent.com/silviuvulcan/manServer/master/manServer.txt 2>/dev/null | \ |
pascal@24924 | 19 sed '/([0-9]*\.[0-9]*)/!d;s|.*(||;s|).*||;q' |
pascal@24924 | 20 } |
pascal@24924 | 21 |
al@17260 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@17260 | 23 genpkg_rules() |
al@17260 | 24 { |
al@17260 | 25 mkdir -p $fs/usr/bin $fs/usr/share/licenses $fs/usr/share/man/man1 $fs/etc/init.d |
al@17260 | 26 cd $src; patch -p0 -i $stuff/manserver-1.08-add-xz.patch |
al@17260 | 27 install -Dm755 $src/manServer.pl $fs/usr/bin/manServer |
al@17260 | 28 install -Dm755 $stuff/manserver $fs/usr/bin/manserver |
al@17260 | 29 install -Dm644 $src/LICENSE $fs/usr/share/licenses/manserver.txt |
al@17260 | 30 install -Dm644 $src/manServer.1 $fs/usr/share/man/man1 |
al@17260 | 31 install -Dm644 $stuff/manpath.config $fs/etc/manpath.config |
al@17260 | 32 ln -s daemon $fs/etc/init.d/manserver |
al@17260 | 33 } |