[med-svn] [care2x] 01/13: Inject my very old inoffical Care2X packaging stuff to enable Gjergj Sheldija an easy start.
Andreas Tille
tille at debian.org
Mon Dec 25 07:53:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository care2x.
commit 8d3456e74fafa813d2d0c14e5e732f4585b20a63
Author: Andreas Tille <tille at debian.org>
Date: Mon Oct 27 16:11:58 2008 +0000
Inject my very old inoffical Care2X packaging stuff to enable Gjergj Sheldija an easy start.
---
debian/README.at | 156 +++++++++++++++++++++++++++++++++++++++++++++++
debian/README.debian | 169 +++++++++++++++++++++++++++++++++++++++++++++++++++
debian/changelog | 5 ++
debian/compat | 1 +
debian/control | 24 ++++++++
debian/copyright | 20 ++++++
debian/dirs | 5 ++
debian/docs | 8 +++
debian/install | 21 +++++++
debian/links | 8 +++
debian/postinst | 65 ++++++++++++++++++++
debian/postrm | 36 +++++++++++
debian/rules | 84 +++++++++++++++++++++++++
13 files changed, 602 insertions(+)
diff --git a/debian/README.at b/debian/README.at
new file mode 100644
index 0000000..af897a2
--- /dev/null
+++ b/debian/README.at
@@ -0,0 +1,156 @@
+******************************************************************************
+* Some remarks regarding the Packaging from Andreas Tille <tille at debian.org> *
+******************************************************************************
+
+Preparing the Debian source tarball:
+
+ The file debian/rules contains a target get-orig-source.
+ This is not really necessary but a handy description how to prepare
+ the upstream tarball source or rather - how *I* think this might
+ been done. Just try
+ make -f debian/rules get-orig-source
+
+
+Explicite Dependencies mentioned in installation manual:
+ apache (run php as cgi) ---> check for right configuration in debian/postinst
+ php4 ---> check debian.postinst scripts of other
+ Debian packages who use php4 !!!
+ mysql-server ---> replaces by "mysql-server | postgresql"
+ (see README.Debian for details)
+ php4-gd (Elpidio mentioned in private talk that php4-gd2 was not used)
+ IMAP (php4-imap ?????) ---> it is unclear what this dependency means
+ Calendar (php4-mcal ???) ---> it is unclear what this dependency means
+ TTF (????) ---> it is unclear what this dependency means
+
+
+Dependencies from existing Debian packages:
+
+ libphp-adodb
+ phpmyadmin
+
+ ---> realized in debian/control: Depends
+
+Dependencies from external (not yet packaged) packages:
+
+ barcode: LGPL
+ phpSniff: LGPL
+ phppdf: Public Domain
+ pie_chart: No License, No URL, modified
+ ---> Perhaps libphp-phplot can replace this !!!!
+ nocc: GPL
+ dicomviewer: GPL
+ ecombill: GPL
+
+ ---> Please read debian/README.Debian carefully!
+ There are more detailed information about this stuff which
+ is useful for filing wnpp - RFP [= Request For Packaging]
+ bugs using the reportbug tool.
+
+Single files from external packages
+
+ with modifications:
+
+ calendar: with Care2x specific modifications NO EXPLICITE LICENSE
+ (/classes/calendar_jl)
+
+ thumbnail: with Care2x specific modifications NO EXPLICITE LICENSE
+
+ no modifications mentioned:
+ classes/pear/crypt (PHP)
+ classes/datetimemanager (GPL)
+
+ without explicite license:
+ classes/ladezeit
+
+ ---> Please verify licenses or in some cases whether code might be
+ so trivial simple that no extra module / mentioning is necessary
+ and include it fully in Care2x.
+
+General packaging hints:
+ 1. All Debian related stuff resides in the debian subdirectory.
+ I did no patches to the original files so the *.diff.gz
+ contains no changes to the original Care2x code
+ 2. The file debian/rules contains no massive changes from
+ a default rules file. I just removed the calls to make from
+ the template provided by the debhelper package and added
+ the get-orig-source target.
+ 3. I regards the amount of external packages as problematic.
+ There are two ways to proceed:
+ 1) Remove all these packages from Care2x tarball. For people
+ who want to install Care2x manually without a package
+ management system like dpkg or rpm provide an extra
+ tarball which keeps those users happy.
+ Build separate Debian packages from each separate upstream
+ package and try to find *other* maintainers who care for
+ them (new upstream versions, security, etc.) Try to avoid
+ extra work with this stuff and put the workload on other
+ peoples shoulders to get more time for your real work.
+ 2) Leave it as it is. In this case You definitely have to
+ clarify all license issues which are raised in README.Debian.
+ Especially make sure that the Dicom applet is compiled with
+ free Java tools and remove precompiled *.class files from
+ the source (at least rebuild these in the rules file and
+ make sure that after building the clean target the
+ build directory equals to the source tarball. Else you will
+ end with build errors.)
+ Mention all licenses of each single external package
+ in debian/copyright.
+ I (tille at debian.org) would prefer 1).
+ 4. The files are moved to the packaging directory by the debhelper
+ tools dh_installdirs (debian/dirs), dh_installdocs (debian/docs),
+ dh_install (debian/install) and dh_link (debian/links).
+ Just read the manpages of these tools and have a look into
+ the files in the debian subdirectory. It should be easy to
+ understand what happens here.
+
+ The general idea is:
+ 1) Configuration stuff belongs to /etc.
+ So the configuration directory global_conf was moved to
+ /etc and a symlink (dh_links) makes sure that Care2x is
+ able to find this stuff where it is expected.
+ (I'm not sure about the userconfig dir ...)
+
+ 2) Variable files belong to /var (to enable a readonly mounted
+ /usr partition - FHS)
+ So I tried to find out which files and directories might
+ been a target for changes and moved them to /var/lib/care2x
+ (and /var/log/care2x). In the same way as above symbolic
+ links care for the right inclusion of the care2x tree to
+ leave Care2x code untouched.
+ On the other hand you might consider this as a general
+ rule and move all files which have to be changed from
+ /usr to /var in the manner it is done here. This might
+ be important even on other systems if it comes to the
+ question if Care2x is FHS compliant. This is a technical
+ issue on one hand (enable readonly /usr partition) and
+ a marketing issue on the other hand.
+
+ Because there are some empty directories which have
+ to be created in /var we have to work around the fact
+ that empty directories are removed from a Debian package.
+ to solve this they are created in the debian/postinst
+ script on the target machine.
+
+ I'm not sure about the role of the radiology dir. It
+ smells like some examples laying around in a writable dir ...
+
+ 5. You can build the package using the command
+ dpkg-buildpackage -rfakeroot -k<your at gpg.key.uid>
+ I personally prefer the wrapper script debuild. Just do
+ apt-get install devscripts
+ and you should have all necessary build tools installed.
+ The wrapper debuild has the advantage to call the package
+ syntax checker lintian (besides just debuild are less keys
+ to remember than dpkg-bui... ;-) ). Running lintian is
+ always a good idea to check a Debian package!
+ Currently the package is clean from lintian messages
+ with exception of two warnings about additional license
+ files. I did not care about them for the moment because
+ it is your decision who to proceed with the external
+ packages. In the end these warnings have to be dealt with
+ appending the licenses to debian/copyright or rather
+ removing the whole packages from the Care2x and providing
+ separate packages.
+
+Feel free to ask me for further hints or clarifications.
+Andreas Tille <tille at debian.org>
diff --git a/debian/README.debian b/debian/README.debian
new file mode 100644
index 0000000..9f1316e
--- /dev/null
+++ b/debian/README.debian
@@ -0,0 +1,169 @@
+care2x for Debian
+-----------------
+
+Comments regarding the Package.
+
+THIS IS NO OFFICIAL DEBIAN PACKAGE!
+
+Please regard this as a preview example how Care2x COULD
+be packaged.
+
+Several issues have to be sorted out at first.
+
+Changes to the source tarball:
+ External upstream packages have been removed from this
+ tarball if they where available in Debian. These are:
+ libphp-adodb
+ phpmyadmin
+
+Care2x should be able to work not only with mysql database server
+but also with PostgreSQL. This is reflected by the fact that
+a dependency from "mysql-server | postgresql" and
+"phpmyadmin | phppgadmin" is set in debian/control.
+In the final packaging the dependency from any database server
+should be removed completely because the database might be
+reasonably be located on a different machine. To make this
+clean and smooth a debconf question should be asked which asks
+the user for the URL of the database server and sets the relevant
+configuration stuff correctly.
+
+Consequently php*admin packages should be "Suggests" because they
+are not really needed on the machine running Care2x.
+
+Currently the choice of the Database is done in a configuration
+file. This requires a debconf question and a reasonable setup
+of debian/config and debian/postinst files. Feel free to ask
+for hints how to do that right once you are in the process of
+finalizing this packaging (tille at debian.org).
+
+Furthermore the source tarball contains some other separate
+packages. These are:
+ barcode
+ License: LGPL
+ URL: http://www.mribti.com/barcode/
+ E-mail: barcode at mribti.com
+ Description:
+ Barcode is a small implementation of a barcode
+ rendering class using the PHP language and GD graphics
+ library.
+
+ phpSniff
+ License: LGPL
+ URL: http://sourceforge.net/projects/phpsniff/
+ E-mail: epsilon7 at users.sourceforge.net
+ Description: PHP Client Sniffer
+ A PHP class file that allows one to quickly determine the
+ client's browser and system information based on the
+ HTTP_USER_AGENT string. The class can be used to generate
+ browser specific html markup and other client side scripting.
+
+ phppdf
+ License: Public Domain
+ URL: http://www.sourceforge.net/projects/pdf-php
+ http://www.ros.co.nz/pdf
+ E-mail: pdf at ros.co.nz
+ Description:
+ Create pdf documents using PHP, but without
+ installing any modules. Comprises a base
+ class which performs all the pdf creation,
+ and an extension class (ezPdf) to allow
+ simple document creation.
+
+ Note: Parts of the fonts provided with this package are provided in
+ the Debian package openoffice.org
+
+ pie_chart
+ License: none
+ URL: none
+ Remark: Please consider replacing it by the Debian package
+ libphp-phplot
+
+ nocc
+ License: GPL
+ URL: http://nocc.sourceforge.net/
+ E-mail: Nicolas Chalanset <nicocha 56 free.fr>
+ Description: webmail client written in PHP.
+ It provides webmail access to IMAP and POP3 accounts.
+
+ * Connection to IMAP and POP3 server with c-client library
+ * Sending mail with Sendmail or SMTP server
+ * Support MIME attachment messages (it passes the "MIME
+ Torture Test" that UW makes available)
+ * Multi-language support (22 languages so far)
+ * Themable (you can change all the colors and fonts easily)
+ * Renders pages in XHTML 1.0 for maximum compatibility with
+ any browser, works with text browsers
+ * No frames, cookies not required (can use URL-based
+ sessions)
+
+ dicomviewer
+ License: GPL
+ URL: http://mars.elcom.nitech.ac.jp/dicom/
+ E-mail: dicom at mars.elcom.nitech.ac.jp
+ Description:
+ DICOM Viewer allows DICOM images to be manipulated and displayed
+ efficiently by using the general-purpose WWW browser
+
+ Language: Java (Sun JDK 1.1.5)
+ -> Question: Does it work with free JVM???
+ Remark: Provide just the source and build Classes via Makefile (ant?)
+ Note: Debian includes the following Dicom related packages
+ ~> apt-cache search dicom
+ ctn - Runtime files for Central Test Node, a DICOM implementation
+ ctn-dev - Development files for Central Test Node, a DICOM implementation
+ ctn-doc - Documentation for Central Test Node, a DICOM implementation.
+ libmdc2 - Medical Image (DICOM, ECAT, ...) conversion tool
+ libmdc2-dev - Medical Image (DICOM, ECAT, ...) conversion tool
+ medcon - Medical Image (DICOM, ECAT, ...) conversion tool
+ xmedcon - Medical Image (DICOM, ECAT, ...) conversion tool
+ -> I'd suggest to replace the client side Java Applet by
+ server side manipulation of Dicom images and submitting
+ JPEGs to the client once the processing is finished.
+
+ ecombill
+ License: GPL
+ URL: http://www.ecomscience.com
+ [There was no silent hint to a download URL - please clarify!!!]
+ E-mail: Missing
+ Description: Billing system.
+
+ htmlArea
+ License: based on BSD license
+ URL: http://sf.net/projects/itools-htmlarea/
+ (parts SpellChecker and TableOperations might be separately
+ available at http://students.infoiasi.ro/~mishoo)
+ E-mail: Mihai Bazon <mishoo at infoiasi.ro>
+ Description: free customizable online editor
+ HTMLArea is a free, customizable online editor. It works inside your
+ browser. It uses a non-standard feature implemented in Internet
+ Explorer 5.5 or better for Windows and Mozilla 1.3 or better (any
+ platform), therefore it will only work in one of these browsers.
+
+ SpellChecker DEPENDENCY:
+ This part seems to depend from aspell.
+ Make sure that debian/control is edited
+ according to this and that all relevant language
+ packages are installed as well.
+
+ tigra_colorpicker
+ License: none !!! (Copyright 2003 SoftComplex Inc.)
+ URL: http://www.softcomplex.com/
+ E-mail: <support at softcomplex.com>
+ Description: JavaScript widget to select colors from a popup palete
+ Free JavaScript widget that makes it easy for your visitors
+ to fill out color value field(s) by selecting the color from
+ a popup palette.
+
+ AceHMTL
+ License: none !!!
+ URL: http://freeware.acehtml.com
+ Author: Lorilla Bong (and others ?)
+ Description: Several JavaScript tools
+
+ ----> check license and description !!!!
+
+All these included projects should be provided in separate Debian
+packages. That's why they are described here in detail to enable
+filing wnpp bugs easily.
+
+Andreas Tille <tille at debian.org>, Wed, 11 Feb 2004 16:06:17 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f36833d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+care2x (1.1-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Andreas Tille <tille at debian.org> Wed, 11 Feb 2004 16:06:17 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0f72aa1
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: care2x
+Section: misc
+Priority: optional
+Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Andreas Tille <tille at debian.org>,
+ Gjergj Sheldija <gjergj.sheldija at gmail.com>,
+ Elpidio Latorilla <latorilla at users.sourceforge.net>
+Standards-Version: 3.8.0
+Build-Depends: debhelper
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/care2x/trunk/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/care2x/trunk/
+Homepage: http://www.care2x.org
+
+Package: care2x
+Architecture: all
+Depends: mysql-server | postgresql, php4, php4-gd, libphp-adodb, phpmyadmin | phppgadmin
+Description: integrated hospital information system
+ Functions: surgery, nursing, outpatient, wards, labs, security, admission,
+ schedulers, repair, communication & more. Multilanguage, userconfig,
+ embedded AI & work bots. Modular & scalable.
+ .
+ This package contains the server software. For clients you will only
+ need a modern browser.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1a591a6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,20 @@
+This package was debianized by Andreas Tille tille at debian.org on
+Wed, 11 Feb 2004 16:06:17 +0100.
+
+It was downloaded from http://www.care2x.org
+
+Autor: (c) Elpidio Latorilla <elpidio at care2x.net>
+
+Copyright: GPL
+
+On Debian GNU/Linux systems you can find the GPL under
+ /usr/share/common-licenses.
+
+In this package are several external packages with different licenses
+included. I'd suggest to remove these packages and build separate
+Debian packages. If the final packager decides to keep all this
+external stuff the licenses have to be listed here in an apropriate
+form.
+
+Text of the original copyright file:
+
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..917b409
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,5 @@
+var/lib/care2x/cache/barcodes
+var/lib/care2x/counter/hits
+var/lib/care2x/med_depot/img
+var/lib/care2x/nocctemp
+var/lib/care2x/pharma/img
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..3032529
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,8 @@
+docs/en_configure_11.htm
+docs/en_howto_translate.htm
+docs/en_loading_dpcodes.htm
+docs/en_update_1009_11.htm
+docs/script_locking.txt
+docs/whats_new_1_1.htm
+development/dev_docs
+debian/README.at
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..1dec498
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,21 @@
+classes usr/share/care2x
+counter/*.php usr/share/care2x/counter
+counter/*.htm usr/share/care2x/counter
+counter/*.txt usr/share/care2x/counter
+css usr/share/care2x
+fotos usr/share/care2x
+global_conf/* etc/care2x
+gui usr/share/care2x
+include usr/share/care2x
+language usr/share/care2x
+logs/i* usr/share/care2x/logs
+[hj]* usr/share/care2x
+main usr/share/care2x
+modules usr/share/care2x
+med_depot/index* usr/share/care2x/med_depot
+pharma/index* usr/share/care2x/pharma
+radiology usr/share/care2x
+userconfig usr/share/care2x
+*.htm* usr/share/care2x
+*.php usr/share/care2x
+*.js usr/share/care2x
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..eb6f833
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,8 @@
+etc/care2x usr/share/care2x/global_conf
+var/lib/care2x/cache usr/share/care2x/cache
+var/lib/care2x/counter/hits usr/share/care2x/counter/hits
+var/log/care2x/access usr/share/care2x/logs/access
+var/log/care2x/access_fail usr/share/care2x/logs/access_fail
+var/lib/care2x/med_depot/img usr/share/care2x/med_depot/img
+var/lib/care2x/nocctemp usr/share/care2x/nocctemp
+var/lib/care2x/pharma/img usr/share/care2x/pharma/img
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..7a7ae95
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,65 @@
+#! /bin/sh
+#----------------------------------------------------------------
+# postinst script for care2x packages.
+# First coded by Andreas Tille <tille at debian.org>
+#----------------------------------------------------------------
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see /usr/doc/packaging-manual/
+#
+# quoting from the policy:
+# Any necessary prompting should almost always be confined to the
+# post-installation script, and should be protected with a conditional
+# so that unnecessary prompting doesn't happen if a package's
+# installation fails and the `postinst' is called with `abort-upgrade',
+# `abort-remove' or `abort-deconfigure'.
+
+DIRS2CREATE="/var/lib/care2x
+ /var/lib/care2x/cache/barcodes
+ /var/lib/care2x/counter/hits
+ /var/lib/care2x/med_depot/img
+ /var/lib/care2x/nocctemp
+ /var/lib/care2x/pharma/img
+ /var/log/care2x/access
+ /var/log/care2x/access/2002
+ /var/log/care2x/access/2003
+ /var/log/care2x/access/2004
+ /var/log/care2x/access/2005
+ /var/log/care2x/access/2006
+ /var/log/care2x/access_fail
+ /var/log/care2x/access_fail/2002
+ /var/log/care2x/access_fail/2003
+ /var/log/care2x/access_fail/2004
+ /var/log/care2x/access_fail/2005
+ /var/log/care2x/access_fail/2006"
+
+case "$1" in
+ configure)
+ for dir in ${DIRS2CREATE} ; do
+ # if [ ! -d ${dir} ] ; then
+ mkdir -p ${dir}
+ chown -R www-data.www-data ${dir}
+ # fi
+ done
+ ;;
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+#DEBHELPER#
+
+# That's all folks!
+exit 0
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..62d8b87
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,36 @@
+#! /bin/bash
+# postrm script for care2x
+#----------------------------------------------------------------
+# Simple `.postinst' script for care2x packages.
+# First coded by Andreas Tille <tille at debian.org>
+#----------------------------------------------------------------
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+ remove|purge)
+ # A clean implementation of packaging should ask the
+ # user whether he wants to remove stuff in /
+ ;;
+ upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..256aa6b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+# Sample debian/rules for Care2x.
+# Andreas Tille <tille at debian.org>, GPL.
+#
+# This version is for packages that are architecture independent.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+pkg = care2x
+version = 1.1
+srctar = $(pkg)d11_full.tar.gz
+srcurl = http://switch.dl.sourceforge.net/sourceforge/care2002/$(srctar)
+debavail = classes/adodb modules/phpmyadmin
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+# Build architecture-independent files here.
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ cat copy_notice.txt >> debian/$(pkg)/usr/share/doc/$(pkg)/copyright
+ dh_installexamples
+ dh_install
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installcron
+# dh_installman
+ dh_link
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+get-orig-source:
+ wget $(srcurl)
+ tar -xzf $(srctar)
+ mv `zcat $(srctar) | tar -t | sed "s?/.*??" | uniq` $(pkg)-$(version)
+ # Set writable flag for all files.
+ chmod -R u+w $(pkg)-$(version)
+ # This is not really necessary but usual.
+ # At least it enables the following both steps ...
+ #
+ # Remove packages which are included in Debian yet.
+ cd $(pkg)-$(version); rm -rf $(debavail)
+ # Make Perl-CGI scripts executable. This avoids a lintian
+ # warning later on and might be a good idea anyway
+ chmod a+x $(pkg)-$(version)/js/html_editor/test.cgi \
+ $(pkg)-$(version)/js/html_editor/plugins/SpellChecker/spell-check-logic.cgi \
+ $(pkg)-$(version)/modules/nocc/addcgipath.sh
+ # Finaly build the orig.tar.gz ...
+ GZIP=-9 tar -czf $(pkg)_$(version).orig.tar.gz $(pkg)-$(version)
+ # Remove temporary directory
+ rm -rf $(pkg)-$(version)
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/care2x.git
More information about the debian-med-commit
mailing list