wok rev 20063

Up xrdp (0.9.3.1), add xorgxrdp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 22 21:42:40 2017 +0200 (2017-09-22)
parents 0253b140a342
children b26680424a50
files xorgxrdp/receipt xrdp-dev/receipt xrdp/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorgxrdp/receipt	Fri Sep 22 21:42:40 2017 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorgxrdp"
     1.7 +VERSION="0.2.4"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Xorg drivers for xrdp."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.xrdp.org/"
    1.14 +WGET_URL="https://github.com/neutrinolabs/xorgxrdp/releases/download/v$VERSION/$TARBALL"
    1.15 +
    1.16 +BUILD_DEPENDS="autoconf automake libtool pkg-config nasm xorg-server-dev \
    1.17 +xrdp-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	./configure --prefix=/usr \
    1.23 +		--sysconfdir=/etc \
    1.24 +		$CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$DESTDIR install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $install/* $fs/
    1.33 +	find $fs/usr -name '*a' -exec rm -f {} \;
    1.34 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xrdp-dev/receipt	Fri Sep 22 21:42:40 2017 +0200
     2.3 @@ -0,0 +1,21 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="xrdp-dev"
     2.7 +VERSION="0.9.3.1"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="An open source remote desktop protocol(rdp) server, development files."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="http://www.xrdp.org/"
    2.13 +WANTED="xrdp"
    2.14 +
    2.15 +DEPENDS="xrdp pkg-config"
    2.16 +
    2.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 +genpkg_rules()
    2.19 +{
    2.20 +	mkdir -p $fs/usr/lib/xrdp
    2.21 +	cp -a $install/usr/lib/xrdp/*a $fs/usr/lib/xrdp/
    2.22 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib/
    2.23 +	cp -a $install/usr/include $fs/usr/
    2.24 +}
     3.1 --- a/xrdp/receipt	Fri Sep 22 15:56:58 2017 +0200
     3.2 +++ b/xrdp/receipt	Fri Sep 22 21:42:40 2017 +0200
     3.3 @@ -1,19 +1,19 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="xrdp"
     3.7 -VERSION="0.6.1"
     3.8 +VERSION="0.9.3.1"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="An open source remote desktop protocol(rdp) server."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12  LICENSE="GPL2"
    3.13 -TARBALL="$PACKAGE-v$VERSION.tar.gz"
    3.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.15  WEB_SITE="http://www.xrdp.org/"
    3.16 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.17 +WGET_URL="https://github.com/neutrinolabs/xrdp/releases/download/v$VERSION/$TARBALL"
    3.18  
    3.19  DEPENDS="libssl zlib xorg-libX11 xorg-libXfixes libxcb xorg-libXau \
    3.20 -xorg-libXdmcp pam tightvnc"
    3.21 +xorg-libXdmcp pam tightvnc util-linux-uuid"
    3.22  BUILD_DEPENDS="autoconf automake libtool pkg-config openssl-dev pam-dev \
    3.23 -xorg-dev"
    3.24 +xorg-dev util-linux-uuid-dev nasm"
    3.25  
    3.26  # Rules to configure and make the package.
    3.27  compile_rules()
    3.28 @@ -23,6 +23,7 @@
    3.29  		--sysconfdir=/etc \
    3.30  		--mandir=/usr/share/man \
    3.31  		--localstatedir=/var \
    3.32 +		--enable-ipv6 \
    3.33  		$CONFIGURE_ARGS &&
    3.34  	make &&
    3.35  	make DESTDIR=$DESTDIR install
    3.36 @@ -31,12 +32,18 @@
    3.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.38  genpkg_rules()
    3.39  {
    3.40 -	mkdir -p $fs/etc/init.d
    3.41 -	cp -a $install/* $fs/
    3.42 +	mkdir -p $fs/usr/lib/xrdp $fs/usr/share
    3.43 +	cp -a $install/etc $fs/
    3.44 +	cp -a $install/usr/lib/xrdp/*.so* $fs/usr/lib/xrdp/
    3.45 +	cp -a $install/usr/sbin $fs/usr/
    3.46 +	cp -a $install/usr/bin $fs/usr/
    3.47 +	cp -a $install/usr/share/xrdp $fs/usr/share/
    3.48  	mv $fs/etc/xrdp/xrdp.sh $fs/etc/init.d/xrdp
    3.49  	sed -i	-e 's|/usr/local|/usr|;s|xrdp\.sh|xrdp|' \
    3.50  		-e 's|--noheading -C||' \
    3.51  		-e 's,grep -q -i,grep /usr/sbin | &,' \
    3.52  		$fs/etc/init.d/xrdp
    3.53 -	sed -i 's|gnome|lxde-session &|' $fs/etc/xrdp/startwm.sh
    3.54 +	SESSION="/usr/bin/lxde-session"
    3.55 +	sed -i "s|xterm|[ -x $SESSION ] \\&\\& exec $SESSION\\n &|" \
    3.56 +		$fs/etc/xrdp/startwm.sh
    3.57  }