[debian-edu-commits] debian-edu/pkg-team/ 07/159: debian packaging related files (initial commit)
Dominik George
natureshadow-guest at moszumanska.debian.org
Tue Feb 23 10:04:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
natureshadow-guest pushed a commit to branch master
in repository xrdp.
commit d3ffa0236f3d2995061a18ed4fcec73b29240c44
Author: Gustavo Homem <gustavo at angulosolido.pt>
Date: Wed Mar 20 16:39:22 2013 +0000
debian packaging related files (initial commit)
---
changelog | 11 +++++++++++
copyright | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
postinst | 21 +++++++++++++++++++++
rules | 18 ++++++++++++++++++
4 files changed, 100 insertions(+)
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..ccfdc5e
--- /dev/null
+++ b/changelog
@@ -0,0 +1,11 @@
+xrdp (0.7.0-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Angulo Solido <packaging at 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 at angulosolido.pt> Mon, 22 Aug 2011 19:46:06 +0100
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..723d345
--- /dev/null
+++ b/copyright
@@ -0,0 +1,50 @@
+This work was packaged for Debian by:
+
+ Angulo Solido <packaging at 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 at 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 at 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.
diff --git a/postinst b/postinst
new file mode 100644
index 0000000..c27cd65
--- /dev/null
+++ b/postinst
@@ -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#
diff --git a/rules b/rules
new file mode 100644
index 0000000..2c29beb
--- /dev/null
+++ b/rules
@@ -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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/xrdp.git
More information about the debian-edu-commits
mailing list