debian packaging related files (initial commit)

ulab-next
Gustavo Homem 11 years ago
parent 276675a235
commit a05987334a

11
debian/changelog vendored

@ -0,0 +1,11 @@
xrdp (0.7.0-1) unstable; urgency=low
* Initial release
-- Angulo Solido <packaging@angulosolido.pt> Wed, 20 Mar 2013 19:46:06 +0100
xrdp (0.6.0-1) unstable; urgency=low
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- Angulo Solido <packaging@angulosolido.pt> Mon, 22 Aug 2011 19:46:06 +0100

50
debian/copyright vendored

@ -0,0 +1,50 @@
This work was packaged for Debian by:
Angulo Solido <packaging@angulosolido.pt> on Mon, 22 Aug 2011 19:46:06 +0100
It was downloaded from:
<git://github/FreeRDP/xrdp.git>
Upstream Author(s):
<Angulo Solido packaging@angulosolido.pt>
<likewise for another author>
Copyright:
<Copyright (C) 2011 Angulo Solido>
<likewise for another author>
License:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
The Debian packaging is:
Copyright (C) 2011 Angulo Solido <packaging@angulosolido.pt>
# Please chose a license for your packaging work. If the program you package
# uses a mainstream license, using the same license is the safest choice.
# Please avoid to pick license terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.
# If you just want it to be GPL version 3, leave the following line in.
and is licensed under the GPL version 3, see above.
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.

21
debian/postinst vendored

@ -0,0 +1,21 @@
#!/bin/sh -e
if ! ([ "$1" = "configure" ] || [ "$1" = "reconfigure" ]); then
exit 0
fi
XRDP="xrdp"
CHOWN="/bin/chown"
ADDUSER="/usr/sbin/adduser"
[ -d /var/run/xrdp ] || mkdir -p /var/run/xrdp
$ADDUSER --system --disabled-password --disabled-login --home /var/run/xrdp \
--no-create-home --quiet --group $XRDP
$CHOWN -R $XRDP:$XRDP /etc/xrdp
touch /var/log/sesman.log
$CHOWN -R $XRDP:$XRDP /var/log/sesman.log
#DEBHELPER#

18
debian/rules vendored

@ -0,0 +1,18 @@
#!/usr/bin/make -f
# -*- makefile -*-
%:
dh $@
LDFLAGS = -lpthread
override_dh_auto_configure:
./bootstrap
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
find -name Makefile | while read i; do sed -e 's#\(XRDP_PID_PATH.*/run\)#\1/xrdp#g' -i "$$i"; done
override_dh_installdeb:
# Move rsakeys to documentation
mv debian/xrdp/etc/xrdp/rsakeys.ini debian/xrdp/usr/share/doc/xrdp
dh_installdeb -a
Loading…
Cancel
Save