[debian-edu-commits] debian-edu/pkg-team/ 01/159: add debian directory

Dominik George natureshadow-guest at moszumanska.debian.org
Tue Feb 23 10:04:18 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 7835c72c0b82abe44a9218498edd0903952ea522
Author: jsorg71 <jsorg71>
Date:   Sat Mar 4 00:34:12 2006 +0000

    add debian directory
---
 changelog |  9 ++++++
 compat    |  1 +
 control   | 13 +++++++++
 copyright | 25 ++++++++++++++++
 dirs      |  2 ++
 docs      |  0
 postinst  |  2 ++
 postrm    |  2 ++
 preinst   |  4 +++
 prerm     |  4 +++
 rules     | 98 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 11 files changed, 160 insertions(+)

diff --git a/changelog b/changelog
new file mode 100644
index 0000000..9c8c90a
--- /dev/null
+++ b/changelog
@@ -0,0 +1,9 @@
+xrdp (0.2) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Jay Sorg <jay.sorg at gmail.com>  Sat, 18 Feb 2006 13:58:29 -0600
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/compat b/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+4
diff --git a/control b/control
new file mode 100644
index 0000000..37d70ac
--- /dev/null
+++ b/control
@@ -0,0 +1,13 @@
+Source: xrdp
+Section: net
+Priority: optional
+Maintainer: Jay Sorg <jay.sorg at gmail.com>
+Build-Depends: debhelper (>= 4.0.0)
+Standards-Version: 3.6.0
+
+Package: xrdp
+Architecture: i386
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: <An open source remote desktop protocol(rdp) server.>
+ Based on the work of rdesktop, xrdp uses the remote desktop
+ protocol to present a GUI to the user.
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..9add4f0
--- /dev/null
+++ b/copyright
@@ -0,0 +1,25 @@
+This is xrdp, written and maintained by Jay Sorg <jay.sorg at gmail.com>
+on Sat, 18 Feb 2006 13:58:29 -0600.
+
+The original source can always be found at:
+	ftp://ftp.debian.org/dists/unstable/main/source/
+
+Copyright (C) 2003  Jay Sorg
+
+  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 2 of the License, or
+  (at your option) any later version.
+
+  This program 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 package; if not, write to the Free Software
+  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+  02111-1307, USA.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
diff --git a/dirs b/dirs
new file mode 100644
index 0000000..d91aa8e
--- /dev/null
+++ b/dirs
@@ -0,0 +1,2 @@
+usr/xrdp
+etc/xrdp
diff --git a/docs b/docs
new file mode 100644
index 0000000..e69de29
diff --git a/postinst b/postinst
new file mode 100644
index 0000000..7a4a5b7
--- /dev/null
+++ b/postinst
@@ -0,0 +1,2 @@
+#!/bin/sh
+update-rc.d xrdp_control.sh defaults > /dev/null
diff --git a/postrm b/postrm
new file mode 100644
index 0000000..deca14b
--- /dev/null
+++ b/postrm
@@ -0,0 +1,2 @@
+#!/bin/sh
+update-rc.d -f xrdp_control.sh remove > /dev/null
diff --git a/preinst b/preinst
new file mode 100644
index 0000000..75d17b1
--- /dev/null
+++ b/preinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+if [ -e /usr/xrdp/xrdp ]; then
+  /etc/init.d/xrdp_control.sh stop
+fi
diff --git a/prerm b/prerm
new file mode 100644
index 0000000..75d17b1
--- /dev/null
+++ b/prerm
@@ -0,0 +1,4 @@
+#!/bin/sh
+if [ -e /usr/xrdp/xrdp ]; then
+  /etc/init.d/xrdp_control.sh stop
+fi
diff --git a/rules b/rules
new file mode 100644
index 0000000..3f1e32a
--- /dev/null
+++ b/rules
@@ -0,0 +1,98 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#/usr/bin/docbook-to-man debian/xrdp.sgml > xrdp.1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/xrdp.
+	$(MAKE) installdeb DESTDIRDEB=$(CURDIR)/debian/xrdp
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure

-- 
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