add debian directory

This commit is contained in:
jsorg71 2006-03-04 00:34:12 +00:00
parent d7e7beae5e
commit 42a6b2bdd0
11 changed files with 160 additions and 0 deletions

9
debian/changelog vendored Normal file
View File

@ -0,0 +1,9 @@
xrdp (0.2) unstable; urgency=low
* Initial Release.
-- Jay Sorg <jay.sorg@gmail.com> Sat, 18 Feb 2006 13:58:29 -0600
Local variables:
mode: debian-changelog
End:

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
4

13
debian/control vendored Normal file
View File

@ -0,0 +1,13 @@
Source: xrdp
Section: net
Priority: optional
Maintainer: Jay Sorg <jay.sorg@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.

25
debian/copyright vendored Normal file
View File

@ -0,0 +1,25 @@
This is xrdp, written and maintained by Jay Sorg <jay.sorg@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'.

2
debian/dirs vendored Normal file
View File

@ -0,0 +1,2 @@
usr/xrdp
etc/xrdp

0
debian/docs vendored Normal file
View File

2
debian/postinst vendored Normal file
View File

@ -0,0 +1,2 @@
#!/bin/sh
update-rc.d xrdp_control.sh defaults > /dev/null

2
debian/postrm vendored Normal file
View File

@ -0,0 +1,2 @@
#!/bin/sh
update-rc.d -f xrdp_control.sh remove > /dev/null

4
debian/preinst vendored Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
if [ -e /usr/xrdp/xrdp ]; then
/etc/init.d/xrdp_control.sh stop
fi

4
debian/prerm vendored Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
if [ -e /usr/xrdp/xrdp ]; then
/etc/init.d/xrdp_control.sh stop
fi

98
debian/rules vendored Normal file
View File

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