wok-6.x annotate xrdp/receipt @ rev 19458
linux: CVE-2016-5195
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 21 17:33:56 2016 +0200 (2016-10-21) |
parents | 6e45d904579b |
children | d3852d2a7903 |
rev | line source |
---|---|
pascal@17689 | 1 # SliTaz package receipt. |
pascal@17689 | 2 |
pascal@17689 | 3 PACKAGE="xrdp" |
pascal@17689 | 4 VERSION="0.6.1" |
pascal@17689 | 5 CATEGORY="network" |
pascal@17689 | 6 SHORT_DESC="An open source remote desktop protocol(rdp) server." |
pascal@17689 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17689 | 8 LICENSE="GPL2" |
pascal@17689 | 9 TARBALL="$PACKAGE-v$VERSION.tar.gz" |
pascal@17689 | 10 WEB_SITE="http://www.xrdp.org/" |
pascal@17689 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@17689 | 12 |
pascal@17689 | 13 DEPENDS="libssl zlib xorg-libX11 xorg-libXfixes libxcb xorg-libXau \ |
pascal@17691 | 14 xorg-libXdmcp pam tightvnc" |
pascal@17689 | 15 BUILD_DEPENDS="autoconf automake libtool pkg-config openssl-dev pam-dev \ |
pascal@17689 | 16 xorg-dev" |
pascal@17689 | 17 |
pascal@17689 | 18 # Rules to configure and make the package. |
pascal@17689 | 19 compile_rules() |
pascal@17689 | 20 { |
pascal@17689 | 21 ./bootstrap && |
pascal@17689 | 22 ./configure --prefix=/usr \ |
pascal@17689 | 23 --sysconfdir=/etc \ |
pascal@17689 | 24 --mandir=/usr/share/man \ |
pascal@17690 | 25 --localstatedir=/var \ |
pascal@17689 | 26 $CONFIGURE_ARGS && |
pascal@17689 | 27 make && |
pascal@17689 | 28 make DESTDIR=$DESTDIR install |
pascal@17689 | 29 } |
pascal@17689 | 30 |
pascal@17689 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17689 | 32 genpkg_rules() |
pascal@17689 | 33 { |
pascal@17690 | 34 mkdir -p $fs/etc/init.d |
pascal@17689 | 35 cp -a $install/* $fs/ |
pascal@17690 | 36 mv $fs/etc/xrdp/xrdp.sh $fs/etc/init.d/xrdp |
pascal@17691 | 37 sed -i -e 's|/usr/local|/usr|;s|xrdp\.sh|xrdp|' \ |
pascal@17691 | 38 -e 's|--noheading -C||' \ |
pascal@17692 | 39 -e 's,grep -q -i,grep /usr/sbin | &,' \ |
pascal@17691 | 40 $fs/etc/init.d/xrdp |
pascal@17691 | 41 sed -i 's|gnome|lxde-session &|' $fs/etc/xrdp/startwm.sh |
pascal@17689 | 42 } |