wok diff xrdp/receipt @ rev 22863

updated gnupg (2.2.8 -> 2.2.19)
author Hans-G?nter Theisgen
date Fri Feb 21 07:27:36 2020 +0100 (2020-02-21)
parents 05ed2662f295
children 1fcb238d2a13
line diff
     1.1 --- a/xrdp/receipt	Sat Sep 23 13:11:28 2017 +0200
     1.2 +++ b/xrdp/receipt	Fri Feb 21 07:27:36 2020 +0100
     1.3 @@ -1,29 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xrdp"
     1.7 -VERSION="0.9.3.1"
     1.8 +VERSION="0.9.11"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="An open source remote desktop protocol(rdp) server."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="Apache"
    1.13 +WEB_SITE="http://www.xrdp.org/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.xrdp.org/"
    1.17 -WGET_URL="https://github.com/neutrinolabs/xrdp/releases/download/v$VERSION/$TARBALL"
    1.18 +WGET_URL="https://github.com/neutrinolabs/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    1.19  
    1.20 -DEPENDS="libssl zlib xorg-libX11 xorg-libXfixes xorg-libSM xorg-libICE \
    1.21 -xorg-libXrandr xorg-libXext pam util-linux-uuid xorgxrdp"
    1.22 -BUILD_DEPENDS="autoconf automake libtool pkg-config openssl-dev pam-dev \
    1.23 -xorg-dev util-linux-uuid-dev nasm"
    1.24 +DEPENDS="libssl pam util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 
    1.25 +	xorg-libXext xorg-libXfixes xorg-libXrandr xorgxrdp zlib"
    1.26 +BUILD_DEPENDS="autoconf automake libtool nasm openssl-dev pam-dev 
    1.27 +	pkg-config util-linux-uuid-dev xorg-dev"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32  	./bootstrap &&
    1.33 -	./configure --prefix=/usr \
    1.34 -		--sysconfdir=/etc \
    1.35 -		--mandir=/usr/share/man \
    1.36 -		--localstatedir=/var \
    1.37 -		--enable-ipv6 \
    1.38 +	./configure			\
    1.39 +		--prefix=/usr		\
    1.40 +		--sysconfdir=/etc	\
    1.41 +		--mandir=/usr/share/man	\
    1.42 +		--localstatedir=/var	\
    1.43 +		--enable-ipv6		\
    1.44  		$CONFIGURE_ARGS &&
    1.45  	make &&
    1.46  	make DESTDIR=$DESTDIR install
    1.47 @@ -32,18 +34,25 @@
    1.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.49  genpkg_rules()
    1.50  {
    1.51 -	mkdir -p $fs/usr/lib/xrdp $fs/usr/share $install/usr/share/doc
    1.52 -	cp -a $src/*.txt $src/*.md $src/COPYING $install/usr/share/doc
    1.53 -	cp -a $install/etc $fs/
    1.54 -	cp -a $install/usr/lib/xrdp/*.so* $fs/usr/lib/xrdp/
    1.55 -	cp -a $install/usr/sbin $fs/usr/
    1.56 -	cp -a $install/usr/bin $fs/usr/
    1.57 -	cp -a $install/usr/share/xrdp $fs/usr/share/
    1.58 -	mv $fs/etc/xrdp/xrdp.sh $fs/etc/init.d/xrdp
    1.59 +	mkdir -p $fs/usr/lib/xrdp
    1.60 +	mkdir -p $fs/usr/share
    1.61 +	mkdir -p $install/usr/share/doc
    1.62 +
    1.63 +	cp -a $src/*.txt			$install/usr/share/doc
    1.64 +	cp -a $src/*.md				$install/usr/share/doc
    1.65 +	cp -a $src/COPYING			$install/usr/share/doc
    1.66 +	cp -a $install/etc			$fs/
    1.67 +	cp -a $install/usr/lib/xrdp/*.so*	$fs/usr/lib/xrdp/
    1.68 +	cp -a $install/usr/sbin			$fs/usr/
    1.69 +	cp -a $install/usr/bin			$fs/usr/
    1.70 +	cp -a $install/usr/share/xrdp		$fs/usr/share/
    1.71 +	mv $fs/etc/xrdp/xrdp.sh			$fs/etc/init.d/xrdp
    1.72 +
    1.73  	sed -i	-e 's|/usr/local|/usr|;s|xrdp\.sh|xrdp|' \
    1.74  		-e 's|--noheading -C||' \
    1.75  		-e 's,grep -q -i,grep /usr/sbin | &,' \
    1.76  		$fs/etc/init.d/xrdp
    1.77 +
    1.78  	SESSION="/usr/bin/lxde-session"
    1.79  	sed -i "s|xterm|[ -x $SESSION ] \\&\\& exec $SESSION\\n &|" \
    1.80  		$fs/etc/xrdp/startwm.sh