[PATCH 2/2] Replace old, non-functional Debian packaging with a ne=

Lars Wirzenius lars at catalyst.net.nz
Fri Apr 16 05:35:50 CEST 2010


w one.
Content-Type: text/plain; charset=3D"utf-8"

---
 debian/build-git-snapshot       |   59 +++++++++++++++++++
 debian/changelog                |   24 +-------
 debian/compat                   |    2 +-
 debian/control                  |   35 ++++++++----
 debian/copyright                |   28 +--------
 debian/koha.README.Debian       |   29 ++++++++++
 debian/koha.apache-ports        |    1 +
 debian/koha.config              |   13 ++++
 debian/koha.dirs                |    3 +
 debian/koha.install             |    1 +
 debian/koha.postinst            |   15 +++++
 debian/koha.postrm              |   21 +++++++
 debian/koha.prerm               |    9 +++
 debian/patches/cronjob-hashbang |   14 +++++
 debian/patches/series           |    1 +
 debian/rules                    |  118 +++++++++++++----------------------=
----
 debian/source/format            |    1 +
 17 files changed, 237 insertions(+), 137 deletions(-)
 create mode 100755 debian/build-git-snapshot
 create mode 100644 debian/koha.README.Debian
 create mode 100644 debian/koha.apache-ports
 create mode 100644 debian/koha.config
 create mode 100644 debian/koha.dirs
 create mode 100644 debian/koha.install
 create mode 100644 debian/koha.postinst
 create mode 100644 debian/koha.postrm
 create mode 100644 debian/koha.prerm
 create mode 100644 debian/patches/cronjob-hashbang
 create mode 100644 debian/patches/series
 create mode 100644 debian/source/format

diff --git a/debian/build-git-snapshot b/debian/build-git-snapshot
new file mode 100755
index 0000000..41f9d85
--- /dev/null
+++ b/debian/build-git-snapshot
@@ -0,0 +1,59 @@
+#!/bin/sh
+#
+# This script will build a .deb from a git snapshot of koha.
+# Don't use it for building actual versions for uploading to Debian.
+#
+# To use:
+# - commit any changes into git
+# - run this script
+
+set -e
+
+die()
+{
+    echo "$@"
+    exit 1
+}
+
+everything_is_commited()
+{
+    if git status --short | grep -q '^'
+    then
+        return 1
+    else
+        return 0
+    fi
+}
+
+latest_sha1() {
+    git rev-parse --short=3D8 HEAD
+}
+
+newversion() {
+    printf '3.2.git%s.%s' $(date +%Y%m%d%H%M%S) $(latest_sha1)
+}
+
+adjust_debian_changelog() {
+    dch -v "$1-1" "Building git snapshot."
+    dch -r "Building git snapshot."
+}
+
+reset_debian_changelog() {
+    git checkout -- debian/changelog
+}
+
+build_package() {
+    git archive --format=3Dtar --prefix=3D"koha-$1/" HEAD |=20
+        gzip -9 > "../koha_$1.orig.tar.gz"
+    debuild -us -uc
+}
+
+if ! everything_is_commited
+then
+    die "cannot build: uncommited changes"
+fi
+
+version=3D"$(newversion)"
+adjust_debian_changelog "$version"
+build_package "$version"
+reset_debian_changelog
diff --git a/debian/changelog b/debian/changelog
index 31b50d6..e59e8d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,23 +1,5 @@
-libkoha-perl (3.0.0-04) testing; urgency=3Dlow
+koha (3.01.00.128-1~) squeeze; urgency=3Dlow
=20
-  * More bugfixing, close to stable release soon
+  * Initial release.
=20
- -- Chris Cormack <chris at bigballofwax.co.nz>  Sun, 10 Aug 2008 11:13:16 +1=
200
-
-libkoha-perl (3.0.0-03) unstable; urgency=3Dlow
-
-  * Fixes 2743, 2451, 2411
-
- -- Chris Cormack <chris at bigballofwax.co.nz>  Wed, 06 Aug 2008 09:02:31 +1=
200
-
-libkoha-perl (3.0.0-02) unstable; urgency=3Dlow
-
-  * Fixes bugs, 2549,2457,2456,2437,2417,1679,2451, and new help files
-
- -- Chris Cormack <chris at bigballofwax.co.nz>  Tue, 05 Aug 2008 10:21:10 +1=
200
-
-libkoha-perl (3.0.0-01) unstable; urgency=3Dlow
-
-  * Initial Release.
-
- -- Chris Cormack <chris at bigballofwax.co.nz>  Sun, 03 Aug 2008 21:22:32 +1=
200
+ -- Lars Wirzenius <lars at catalyst.net.nz>  Mon, 12 Apr 2010 12:55:38 +1200
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..7f8f011 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+7
diff --git a/debian/control b/debian/control
index 775bcc5..567ae57 100644
--- a/debian/control
+++ b/debian/control
@@ -1,14 +1,27 @@
-Source: libkoha-perl
-Section: perl
+Source: koha
+Maintainer: Lars Wirzenius <lars at catalyst.net.nz>
+Section: web
 Priority: optional
-Maintainer: chris at bigballofwax.co.nz
-Build-Depends: debhelper (>=3D 5.0.0)
-Build-Depends-Indep: perl (>=3D 5.8.8-12)
+Standards-Version: 3.8.4
+Build-Depends: koha-dev-env, debhelper (>=3D 7.0.50), gettext
=20
-
-Package: libkoha-perl
+Package: koha
 Architecture: all
-Depends: libalgorithm-checkdigits-perl (>=3D 0.50) | cpan-libalgorithm-che=
ckdigits-perl (>=3D 0.50), libansicolor-perl (>=3D 1.10) | cpan-libansicolo=
r-perl (>=3D 1.10), libbiblio-endnotestyle-perl (>=3D 0.05) | cpan-libbibli=
o-endnotestyle-perl (>=3D 0.05), libcgi-perl (>=3D 3.15) | cpan-libcgi-perl=
 (>=3D 3.15), libcgi-session-perl (>=3D 4.20) | cpan-libcgi-session-perl (>=
=3D 4.20), libclass-accessor-perl (>=3D 0.31) | cpan-libclass-accessor-perl=
 (>=3D 0.31), libclass-factory-util-perl (>=3D 1.7) | cpan-libclass-factory=
-util-perl (>=3D 1.7), libdata-dumper-perl (>=3D 2.121) | cpan-libdata-dump=
er-perl (>=3D 2.121), libdata-ical-perl (>=3D 0.13) | cpan-libdata-ical-per=
l (>=3D 0.13), libdate-calc-perl (>=3D 5.4) | cpan-libdate-calc-perl (>=3D =
5.4), libdate-ical-perl (>=3D 1.72) | cpan-libdate-ical-perl (>=3D 1.72), l=
ibdate-manip-perl (>=3D 5.48) | cpan-libdate-manip-perl (>=3D 5.48), libdbd=
-mysql-perl (>=3D 4.005) | cpan-libdbd-mysql-perl (>=3D 4.005), libdbi-perl=
 (>=3D 1.601) | cpan-libdbi-perl (>=3D 1.601), libdigest-md5-perl (>=3D 2.3=
6) | cpan-libdigest-md5-perl (>=3D 2.36), libgd-barcode-perl (>=3D 1.15) | =
cpan-libgd-barcode-perl (>=3D 1.15), libgetopt-long-perl (>=3D 2.35) | cpan=
-libgetopt-long-perl (>=3D 2.35), libhtml-scrubber-perl (>=3D 0.08) | cpan-=
libhtml-scrubber-perl (>=3D 0.08), libhtml-template-pro-perl (>=3D 0.68) | =
cpan-libhtml-template-pro-perl (>=3D 0.68), liblingua-stem-perl (>=3D 0.82)=
 | cpan-liblingua-stem-perl (>=3D 0.82), liblist-moreutils-perl (>=3D 0.21)=
 | cpan-liblist-moreutils-perl (>=3D 0.21), liblocale-codes-perl (>=3D 2.07=
) | cpan-liblocale-codes-perl (>=3D 2.07), libmail-sendmail-perl (>=3D 0.79=
) | cpan-libmail-sendmail-perl (>=3D 0.79), libmarc-charset-perl (>=3D 0.98=
) | cpan-libmarc-charset-perl (>=3D 0.98), libmarc-crosswalk-dublincore-per=
l (>=3D 0.02) | cpan-libmarc-crosswalk-dublincore-perl (>=3D 0.02), libmarc=
-record-perl (>=3D 2.0.0) | cpan-libmarc-record-perl (>=3D 2.0.0), libmarc-=
xml-perl (>=3D 0.88) | cpan-libmarc-xml-perl (>=3D 0.88), libmime-base64-pe=
rl (>=3D 3.07) | cpan-libmime-base64-perl (>=3D 3.07), libnet-z3950-zoom-pe=
rl (>=3D 1.21) | cpan-libnet-z3950-zoom-perl (>=3D 1.21), libpdf-api2-perl =
(>=3D 0.69) | cpan-libpdf-api2-perl (>=3D 0.69), libpdf-reuse-barcode-perl =
(>=3D 0.05) | cpan-libpdf-reuse-barcode-perl (>=3D 0.05), libpdf-reuse-perl=
 (>=3D 0.33) | cpan-libpdf-reuse-perl (>=3D 0.33), libperl-ldap-perl (>=3D =
0.34) | cpan-libperl-ldap-perl (>=3D 0.34), libpoe-perl (>=3D 0.9999) | cpa=
n-libpoe-perl (>=3D 0.9999), libscalar-list-utils-perl (>=3D 1.18) | cpan-l=
ibscalar-list-utils-perl (>=3D 1.18), libschedule-at-perl (>=3D 1.06) | cpa=
n-libschedule-at-perl (>=3D 1.06), libsms-send-perl (>=3D 0.05) | cpan-libs=
ms-send-perl (>=3D 0.05), libtest-harness-perl (>=3D 3.03) | cpan-libtest-h=
arness-perl (>=3D 3.03), libtest-perl (>=3D 1.25) | cpan-libtest-perl (>=3D=
 1.25), libtest-simple-perl (>=3D 0.74) | cpan-libtest-simple-perl (>=3D 0.=
74), libtext-csv-perl (>=3D 1.06) | cpan-libtext-csv-perl (>=3D 1.06), libt=
ext-csv-xs-perl (>=3D 0.32) | cpan-libtext-csv-xs-perl (>=3D 0.32), libtext=
-iconv-perl (>=3D 1.4) | cpan-libtext-iconv-perl (>=3D 1.4), libtext-tabs-w=
rap-perl (>=3D 2005.082401) | cpan-libtext-tabs-wrap-perl (>=3D 2005.082401=
), libtime-hires-perl (>=3D 1.86) | cpan-libtime-hires-perl (>=3D 1.86), li=
bunicode-normalize-perl (>=3D 0.32) | cpan-libunicode-normalize-perl (>=3D =
0.32), libwww-perl (>=3D 1.39) | cpan-libwww-perl (>=3D 1.39), libxml-dumpe=
r-perl (>=3D 0.81) | cpan-libxml-dumper-perl (>=3D 0.81), libxml-libxml-per=
l (>=3D 1.66) | cpan-libxml-libxml-perl (>=3D 1.66), libxml-libxslt-perl (>=
=3D 1.62) | cpan-libxml-libxslt-perl (>=3D 1.62), libxml-rss-perl (>=3D 1.3=
2) | cpan-libxml-rss-perl (>=3D 1.32), libxml-sax-perl (>=3D 0.16) | cpan-l=
ibxml-sax-perl (>=3D 0.16), libxml-simple-perl (>=3D 2.18) | cpan-libxml-si=
mple-perl (>=3D 2.18), libyaml-syck-perl (>=3D 1.00) | cpan-libyaml-syck-pe=
rl (>=3D 1.00), perl (>=3D 5.8.8)
-Provides: libkoha-perl
-Description: Koha ILS
-  Koha Integrated Library System
+Depends: ${shlib:Depends}, ${misc:Depends},
+ dbconfig-common,
+ koha-dev-env,
+ apache2,
+ mysql-server,
+ daemon,
+ at,
+ idzebra-2.0,
+ yaz,
+ libjs-jquery,
+ tinymce2,=20
+ libjs-yui
+Recommends: mysql-client
+Homepage: http://koha-community.org/
+Description: integrated (physical) library management system
+ Koha is an Integrated Library Managment system for real-world libraries
+ (the kinds with books).
+
diff --git a/debian/copyright b/debian/copyright
index 954c23d..c1be5fd 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,29 +1,9 @@
-This is the debian package for Koha Integrated Library System.
-It was created by Chris Cormack <chris at bigballofwax.co.nz> using dh-make-p=
erl.
+This will be filled in later.
=20
-The upstream author is:=20
+Copyright by various people.
=20
-Koha Developement team <info at koha.org>.
+Debian packaging copyright:
=20
-Copyright is owned by a number of people, too many to list here easily.
+Copyright 2010 Catalyst IT Ltd
=20
-The copyright license is:
=20
-    Koha 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 Softw=
are
-    Foundation; either version 2 of the License, or (at your option) any l=
ater
-    version.
-
-    Koha is distributed in the hope that it will be useful, but WITHOUT AN=
Y
-    WARRANTY; without even the implied warranty of MERCHANTABILITY or FITN=
ESS FOR
-    A PARTICULAR PURPOSE.  See the GNU General Public License for more det=
ails.
-
-    You should have received a copy of the GNU General Public License alon=
g with
-    Koha; if not, write to the Free Software Foundation, Inc., 59 Temple P=
lace,
-    Suite 330, Boston, MA  02111-1307 USA
-
-The Debian packaging is (C) 2008, Chris Cormack <chris at bigballofwax.co.nz>=
 and
-is licensed under the same terms as the software itself (see above).
-
-On a Debian system, you can find a copy of the license in
-/usr/share/common-licenses/GPL-2 .
diff --git a/debian/koha.README.Debian b/debian/koha.README.Debian
new file mode 100644
index 0000000..ce271ba
--- /dev/null
+++ b/debian/koha.README.Debian
@@ -0,0 +1,29 @@
+koha packaged for Debian
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+
+When you install the koha.deb package, it does not quite work out of the
+box. Due to various limitations imposed by sanity and the Debian packaging
+policies, it is not yet possible to make it so without excessive work.
+The work will happen later. For now, you get a checklist.
+
+To enable Koha on your machine, after installing this package, do the
+following:
+
+* Make XML::LibXML::SAX:Parser the default parser for Perl's XML SAX
+  implementation.
+  - edit /etc/perl/XML/SAX/ParserDetails.ini to
+    move XML::LibXML::SAX:Parser section last in the file
+* Enable the rewrite module for Apache.
+  - sudo a2enmod rewrite
+* Restart Apache.
+  - sudo service apache2 restart
+
+Then access the following URL:
+
+    http://localhost:8080/
+
+Alternatively, any other name, IP address, and interface will work, too.
+
+This should bring up the Koha intranet administration screen, which will
+let you log in. The username is koha, the password is in the
+/etc/koha/koha-config.xml file (search for "pass").
diff --git a/debian/koha.apache-ports b/debian/koha.apache-ports
new file mode 100644
index 0000000..3cc6764
--- /dev/null
+++ b/debian/koha.apache-ports
@@ -0,0 +1 @@
+Listen 8080
diff --git a/debian/koha.config b/debian/koha.config
new file mode 100644
index 0000000..dbadd0a
--- /dev/null
+++ b/debian/koha.config
@@ -0,0 +1,13 @@
+#!/bin/sh
+# config maintainer script for koha.
+
+set -e
+
+# source debconf stuff
+. /usr/share/debconf/confmodule
+# source dbconfig-common shell library, and call the hook function
+if [ -f /usr/share/dbconfig-common/dpkg/config.mysql ]; then
+	. /usr/share/dbconfig-common/dpkg/config.mysql=20
+	dbc_go koha $@
+fi
+
diff --git a/debian/koha.dirs b/debian/koha.dirs
new file mode 100644
index 0000000..07e83ab
--- /dev/null
+++ b/debian/koha.dirs
@@ -0,0 +1,3 @@
+etc/apache2/sites-available
+etc/apache2/sites-enabled
+etc/apache2/conf.d
diff --git a/debian/koha.install b/debian/koha.install
new file mode 100644
index 0000000..2f036b4
--- /dev/null
+++ b/debian/koha.install
@@ -0,0 +1 @@
+misc/release_notes/release_notes_3*.txt usr/share/doc/koha=20
diff --git a/debian/koha.postinst b/debian/koha.postinst
new file mode 100644
index 0000000..3a67cc9
--- /dev/null
+++ b/debian/koha.postinst
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+dbc_generate_include=3D"template:/etc/koha/koha-conf.xml"
+dbc_generate_include_args=3D"
+    -o template_infile=3D/usr/share/koha/koha-conf.xml.in
+    -O root:www-data -m 0640
+"
+
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/postinst.mysql=20
+dbc_go koha $@
+
+#DEBHELPER#
diff --git a/debian/koha.postrm b/debian/koha.postrm
new file mode 100644
index 0000000..60ba704
--- /dev/null
+++ b/debian/koha.postrm
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -e
+
+if [ -f /usr/share/debconf/confmodule ]; then
+    . /usr/share/debconf/confmodule
+fi
+if [ -f /usr/share/dbconfig-common/dpkg/postrm.mysql ]; then
+    . /usr/share/dbconfig-common/dpkg/postrm.mysql
+    dbc_go koha $@
+fi
+
+#if [ "$1" =3D "purge" ]; then
+#	rm -f /etc/db-test-mysql/debian-db.php
+#	if which ucf >/dev/null 2>&1; then
+#		ucf --purge /etc/db-test-mysql/debian-db.php
+#		ucfr --purge db-test-mysql /etc/db-test-mysql/debian-db.php
+#	fi
+#fi
+
+#DEBHELPER#
diff --git a/debian/koha.prerm b/debian/koha.prerm
new file mode 100644
index 0000000..61e7b4f
--- /dev/null
+++ b/debian/koha.prerm
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/prerm.mysql=20
+dbc_go koha $@
+
+#DEBHELPER#
diff --git a/debian/patches/cronjob-hashbang b/debian/patches/cronjob-hashb=
ang
new file mode 100644
index 0000000..7ca8849
--- /dev/null
+++ b/debian/patches/cronjob-hashbang
@@ -0,0 +1,14 @@
+Description: fix #! for cronjob
+Origin: vendor
+Forwarded: no
+Author: Lars Wirzenius <lars at catalyst.net.nz>
+Last-Update: 2010-04-12
+
+--- a/misc/cronjobs/printoverdues.sh
++++ b/misc/cronjobs/printoverdues.sh
+@@ -1,4 +1,4 @@
+-#!/usr/bin/bash
++#!/bin/bash
+=20
+ print_usage(){
+     echo "$0 : generates PDF files from html files in directorys and prin=
ts them";
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e34a824
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+cronjob-hashbang
diff --git a/debian/rules b/debian/rules
index c2bc3ab..da16972 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,86 +1,44 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
=20
-# Uncomment this to turn on verbose mode.
-export DH_VERBOSE=3D1
+PACKAGE =3D $(shell dh_listpackages)
+TMP     =3D $(CURDIR)/debian/$(PACKAGE)
=20
-VERSION=3D$(shell dpkg-parsechangelog | grep ^Vers | cut -d\  -f2)
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
+# Make "perl Makefile.PL" be non-interactive.
 export PERL_MM_USE_DEFAULT=3D1
=20
-#PACKAGE=3Dlibkoha-perl
-
-ifndef PERL
-PERL =3D /usr/bin/perl
-endif
-
-TMP     =3D$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	# As this is a architecture independent package, we are not
-	# supposed to install stuff to /usr/lib. MakeMaker creates
-	# the dirs, we prevent this by setting the INSTALLVENDORARCH
-	# and VENDORARCHEXP environment variables.
-
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=3Dvendor \
-		INSTALLVENDORARCH=3D/usr/share/perl5/ \
-		VENDORARCHEXP=3D/usr/share/perl5/
-	$(MAKE)
-#	$(MAKE) test
-
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	dh_clean build-stamp install-stamp
-
-	# Add commands to clean up after the build process here
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	# Add commands to install the package into debian/$PACKAGE_NAME here
-	$(MAKE) install DESTDIR=3D$(TMP) PREFIX=3D/usr
-
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-#	dh_installexamples
-	dh_installdocs README etc/README.txt koha-tmpl/opac-tmpl/prog/famfamfam/r=
eadme.txt koha-tmpl/opac-tmpl/prog/famfamfam/mini/readme.txt koha-tmpl/opac=
-tmpl/prog/famfamfam/silk/newspaper_delete.png koha-tmpl/opac-tmpl/prog/fam=
famfam/silk/newspaper.png koha-tmpl/opac-tmpl/prog/famfamfam/silk/newspaper=
_go.png koha-tmpl/opac-tmpl/prog/famfamfam/silk/newspaper_add.png koha-tmpl=
/opac-tmpl/prog/famfamfam/silk/newspaper_link.png koha-tmpl/opac-tmpl/prog/=
itemtypeimg/liblime-kids/newspaper-icon.gif koha-tmpl/intranet-tmpl/prog/hu=
-HU/js/tinymce/readme koha-tmpl/intranet-tmpl/prog/hu-HU/js/tinymce/jscript=
s/tiny_mce/plugins/readme.txt koha-tmpl/intranet-tmpl/prog/hu-HU/js/tinymce=
/jscripts/tiny_mce/plugins/table/readme.txt koha-tmpl/intranet-tmpl/prog/hu=
-HU/js/tinymce/jscripts/tiny_mce/plugins/flash/readme.txt koha-tmpl/intrane=
t-tmpl/prog/hu-HU/js/tinymce/jscripts/tiny_mce/plugins/searchreplace/readme=
.txt koha-tmpl/intranet-tmpl/prog/hu-HU/js/tinymce/jscripts/tiny_mce/plugin=
s/save/readme.txt koha-tmpl/intranet-tmpl/prog/hu-HU/js/tinymce/jscripts/ti=
ny_mce/plugins/emotions/readme.txt koha-tmpl/intranet-tmpl/prog/hu-HU/js/ti=
nymce/jscripts/tiny_mce/plugins/emotions/images/readme.txt koha-tmpl/intran=
et-tmpl/prog/hu-HU/js/tinymce/jscripts/tiny_mce/plugins/advlink/readme.txt =
koha-tmpl/intranet-tmpl/prog/hu-HU/js/tinymce/jscripts/tiny_mce/plugins/adv=
hr/readme.txt koha-tmpl/intranet-tmpl/prog/hu-HU/js/tinymce/jscripts/tiny_m=
ce/plugins/insertdatetime/readme.txt koha-tmpl/intranet-tmpl/prog/hu-HU/js/=
tinymce/jscripts/tiny_mce/plugins/autosave/readme.txt koha-tmpl/intranet-tm=
pl/prog/hu-HU/js/tinymce/jscripts/tiny_mce/plugins/layer/readme.txt koha-tm=
pl/intranet-tmpl/prog/hu-HU/js/tinymce/jscripts/tiny_mce/plugins/fullscreen=
/readme.txt koha-tmpl/intranet-tmpl/prog/hu-HU/js/tinymce/jscripts/tiny_mce=
/plugins/contextmenu/readme.txt koha-tmpl/intranet-tmpl/prog/hu-HU/js/tinym=
ce/jscripts/tiny_mce/plugins/advimage/readme.txt koha-tmpl/intranet-tmpl/pr=
og/hu-HU/js/tinymce/jscripts/tiny_mce/plugins/inlinepopups/readme.txt koha-=
tmpl/intranet-tmpl/prog/hu-HU/js/tinymce/jscripts/tiny_mce/plugins/iespell/=
readme.txt koha-tmpl/intranet-tmpl/prog/hu-HU/js/tinymce/jscripts/tiny_mce/=
plugins/directionality/readme.txt koha-tmpl/intranet-tmpl/prog/hu-HU/js/tin=
ymce/jscripts/tiny_mce/plugins/style/readme.txt koha-tmpl/intranet-tmpl/pro=
g/hu-HU/js/tinymce/jscripts/tiny_mce/plugins/preview/readme.txt koha-tmpl/i=
ntranet-tmpl/prog/hu-HU/js/tinymce/jscripts/tiny_mce/plugins/paste/readme.t=
xt koha-tmpl/intranet-tmpl/prog/hu-HU/js/tinymce/jscripts/tiny_mce/plugins/=
zoom/readme.txt koha-tmpl/intranet-tmpl/prog/hu-HU/js/tinymce/jscripts/tiny=
_mce/plugins/print/readme.txt koha-tmpl/intranet-tmpl/prog/hu-HU/js/tinymce=
/jscripts/tiny_mce/plugins/cleanup/readme.txt koha-tmpl/intranet-tmpl/prog/=
hu-HU/js/tinymce/jscripts/tiny_mce/plugins/noneditable/readme.txt koha-tmpl=
/intranet-tmpl/prog/hu-HU/js/tinymce/jscripts/tiny_mce/langs/readme.txt koh=
a-tmpl/intranet-tmpl/prog/fr-FR/js/tinymce/readme koha-tmpl/intranet-tmpl/p=
rog/fr-FR/js/tinymce/jscripts/tiny_mce/plugins/readme.txt koha-tmpl/intrane=
t-tmpl/prog/fr-FR/js/tinymce/jscripts/tiny_mce/plugins/table/readme.txt koh=
a-tmpl/intranet-tmpl/prog/fr-FR/js/tinymce/jscripts/tiny_mce/plugins/flash/=
readme.txt koha-tmpl/intranet-tmpl/prog/fr-FR/js/tinymce/jscripts/tiny_mce/=
plugins/searchreplace/readme.txt koha-tmpl/intranet-tmpl/prog/fr-FR/js/tiny=
mce/jscripts/tiny_mce/plugins/save/readme.txt koha-tmpl/intranet-tmpl/prog/=
fr-FR/js/tinymce/jscripts/tiny_mce/plugins/emotions/readme.txt koha-tmpl/in=
tranet-tmpl/prog/fr-FR/js/tinymce/jscripts/tiny_mce/plugins/emotions/images=
/readme.txt koha-tmpl/intranet-tmpl/prog/fr-FR/js/tinymce/jscripts/tiny_mce=
/plugins/advlink/readme.txt koha-tmpl/intranet-tmpl/prog/fr-FR/js/tinymce/j=
scripts/tiny_mce/plugins/advhr/readme.txt koha-tmpl/intranet-tmpl/prog/fr-F=
R/js/tinymce/jscripts/tiny_mce/plugins/insertdatetime/readme.txt koha-tmpl/=
intranet-tmpl/prog/fr-FR/js/tinymce/jscripts/tiny_mce/plugins/autosave/read=
me.txt koha-tmpl/intranet-tmpl/prog/fr-FR/js/tinymce/jscripts/tiny_mce/plug=
ins/layer/readme.txt koha-tmpl/intranet-tmpl/prog/fr-FR/js/tinymce/jscripts=
/tiny_mce/plugins/fullscreen/readme.txt koha-tmpl/intranet-tmpl/prog/fr-FR/=
js/tinymce/jscripts/tiny_mce/plugins/contextmenu/readme.txt koha-tmpl/intra=
net-tmpl/prog/fr-FR/js/tinymce/jscripts/tiny_mce/plugins/advimage/readme.tx=
t koha-tmpl/intranet-tmpl/prog/fr-FR/js/tinymce/jscripts/tiny_mce/plugins/i=
nlinepopups/readme.txt koha-tmpl/intranet-tmpl/prog/fr-FR/js/tinymce/jscrip=
ts/tiny_mce/plugins/iespell/readme.txt koha-tmpl/intranet-tmpl/prog/fr-FR/j=
s/tinymce/jscripts/tiny_mce/plugins/directionality/readme.txt koha-tmpl/int=
ranet-tmpl/prog/fr-FR/js/tinymce/jscripts/tiny_mce/plugins/style/readme.txt=
 koha-tmpl/intranet-tmpl/prog/fr-FR/js/tinymce/jscripts/tiny_mce/plugins/pr=
eview/readme.txt koha-tmpl/intranet-tmpl/prog/fr-FR/js/tinymce/jscripts/tin=
y_mce/plugins/paste/readme.txt koha-tmpl/intranet-tmpl/prog/fr-FR/js/tinymc=
e/jscripts/tiny_mce/plugins/zoom/readme.txt koha-tmpl/intranet-tmpl/prog/fr=
-FR/js/tinymce/jscripts/tiny_mce/plugins/print/readme.txt koha-tmpl/intrane=
t-tmpl/prog/fr-FR/js/tinymce/jscripts/tiny_mce/plugins/cleanup/readme.txt k=
oha-tmpl/intranet-tmpl/prog/fr-FR/js/tinymce/jscripts/tiny_mce/plugins/none=
ditable/readme.txt koha-tmpl/intranet-tmpl/prog/fr-FR/js/tinymce/jscripts/t=
iny_mce/langs/readme.txt koha-tmpl/intranet-tmpl/prog/img/itemtypeimg/libli=
me-kids/newspaper-icon.gif koha-tmpl/intranet-tmpl/prog/nb-NO/js/tinymce/re=
adme koha-tmpl/intranet-tmpl/prog/nb-NO/js/tinymce/jscripts/tiny_mce/plugin=
s/readme.txt koha-tmpl/intranet-tmpl/prog/nb-NO/js/tinymce/jscripts/tiny_mc=
e/plugins/table/readme.txt koha-tmpl/intranet-tmpl/prog/nb-NO/js/tinymce/js=
cripts/tiny_mce/plugins/flash/readme.txt koha-tmpl/intranet-tmpl/prog/nb-NO=
/js/tinymce/jscripts/tiny_mce/plugins/searchreplace/readme.txt koha-tmpl/in=
tranet-tmpl/prog/nb-NO/js/tinymce/jscripts/tiny_mce/plugins/save/readme.txt=
 koha-tmpl/intranet-tmpl/prog/nb-NO/js/tinymce/jscripts/tiny_mce/plugins/em=
otions/readme.txt koha-tmpl/intranet-tmpl/prog/nb-NO/js/tinymce/jscripts/ti=
ny_mce/plugins/emotions/images/readme.txt koha-tmpl/intranet-tmpl/prog/nb-N=
O/js/tinymce/jscripts/tiny_mce/plugins/advlink/readme.txt koha-tmpl/intrane=
t-tmpl/prog/nb-NO/js/tinymce/jscripts/tiny_mce/plugins/advhr/readme.txt koh=
a-tmpl/intranet-tmpl/prog/nb-NO/js/tinymce/jscripts/tiny_mce/plugins/insert=
datetime/readme.txt koha-tmpl/intranet-tmpl/prog/nb-NO/js/tinymce/jscripts/=
tiny_mce/plugins/autosave/readme.txt koha-tmpl/intranet-tmpl/prog/nb-NO/js/=
tinymce/jscripts/tiny_mce/plugins/layer/readme.txt koha-tmpl/intranet-tmpl/=
prog/nb-NO/js/tinymce/jscripts/tiny_mce/plugins/fullscreen/readme.txt koha-=
tmpl/intranet-tmpl/prog/nb-NO/js/tinymce/jscripts/tiny_mce/plugins/contextm=
enu/readme.txt koha-tmpl/intranet-tmpl/prog/nb-NO/js/tinymce/jscripts/tiny_=
mce/plugins/advimage/readme.txt koha-tmpl/intranet-tmpl/prog/nb-NO/js/tinym=
ce/jscripts/tiny_mce/plugins/inlinepopups/readme.txt koha-tmpl/intranet-tmp=
l/prog/nb-NO/js/tinymce/jscripts/tiny_mce/plugins/iespell/readme.txt koha-t=
mpl/intranet-tmpl/prog/nb-NO/js/tinymce/jscripts/tiny_mce/plugins/direction=
ality/readme.txt koha-tmpl/intranet-tmpl/prog/nb-NO/js/tinymce/jscripts/tin=
y_mce/plugins/style/readme.txt koha-tmpl/intranet-tmpl/prog/nb-NO/js/tinymc=
e/jscripts/tiny_mce/plugins/preview/readme.txt koha-tmpl/intranet-tmpl/prog=
/nb-NO/js/tinymce/jscripts/tiny_mce/plugins/paste/readme.txt koha-tmpl/intr=
anet-tmpl/prog/nb-NO/js/tinymce/jscripts/tiny_mce/plugins/zoom/readme.txt k=
oha-tmpl/intranet-tmpl/prog/nb-NO/js/tinymce/jscripts/tiny_mce/plugins/prin=
t/readme.txt koha-tmpl/intranet-tmpl/prog/nb-NO/js/tinymce/jscripts/tiny_mc=
e/plugins/cleanup/readme.txt koha-tmpl/intranet-tmpl/prog/nb-NO/js/tinymce/=
jscripts/tiny_mce/plugins/noneditable/readme.txt koha-tmpl/intranet-tmpl/pr=
og/nb-NO/js/tinymce/jscripts/tiny_mce/langs/readme.txt koha-tmpl/intranet-t=
mpl/prog/kn-Knda/js/tinymce/readme koha-tmpl/intranet-tmpl/prog/kn-Knda/js/=
tinymce/jscripts/tiny_mce/plugins/readme.txt koha-tmpl/intranet-tmpl/prog/k=
n-Knda/js/tinymce/jscripts/tiny_mce/plugins/table/readme.txt koha-tmpl/intr=
anet-tmpl/prog/kn-Knda/js/tinymce/jscripts/tiny_mce/plugins/flash/readme.tx=
t koha-tmpl/intranet-tmpl/prog/kn-Knda/js/tinymce/jscripts/tiny_mce/plugins=
/searchreplace/readme.txt koha-tmpl/intranet-tmpl/prog/kn-Knda/js/tinymce/j=
scripts/tiny_mce/plugins/save/readme.txt koha-tmpl/intranet-tmpl/prog/kn-Kn=
da/js/tinymce/jscripts/tiny_mce/plugins/emotions/readme.txt koha-tmpl/intra=
net-tmpl/prog/kn-Knda/js/tinymce/jscripts/tiny_mce/plugins/emotions/images/=
readme.txt koha-tmpl/intranet-tmpl/prog/kn-Knda/js/tinymce/jscripts/tiny_mc=
e/plugins/advlink/readme.txt koha-tmpl/intranet-tmpl/prog/kn-Knda/js/tinymc=
e/jscripts/tiny_mce/plugins/advhr/readme.txt koha-tmpl/intranet-tmpl/prog/k=
n-Knda/js/tinymce/jscripts/tiny_mce/plugins/insertdatetime/readme.txt koha-=
tmpl/intranet-tmpl/prog/kn-Knda/js/tinymce/jscripts/tiny_mce/plugins/autosa=
ve/readme.txt koha-tmpl/intranet-tmpl/prog/kn-Knda/js/tinymce/jscripts/tiny=
_mce/plugins/layer/readme.txt koha-tmpl/intranet-tmpl/prog/kn-Knda/js/tinym=
ce/jscripts/tiny_mce/plugins/fullscreen/readme.txt koha-tmpl/intranet-tmpl/=
prog/kn-Knda/js/tinymce/jscripts/tiny_mce/plugins/contextmenu/readme.txt ko=
ha-tmpl/intranet-tmpl/prog/kn-Knda/js/tinymce/jscripts/tiny_mce/plugins/adv=
image/readme.txt koha-tmpl/intranet-tmpl/prog/kn-Knda/js/tinymce/jscripts/t=
iny_mce/plugins/inlinepopups/readme.txt koha-tmpl/intranet-tmpl/prog/kn-Knd=
a/js/tinymce/jscripts/tiny_mce/plugins/iespell/readme.txt koha-tmpl/intrane=
t-tmpl/prog/kn-Knda/js/tinymce/jscripts/tiny_mce/plugins/directionality/rea=
dme.txt koha-tmpl/intranet-tmpl/prog/kn-Knda/js/tinymce/jscripts/tiny_mce/p=
lugins/style/readme.txt koha-tmpl/intranet-tmpl/prog/kn-Knda/js/tinymce/jsc=
ripts/tiny_mce/plugins/preview/readme.txt koha-tmpl/intranet-tmpl/prog/kn-K=
nda/js/tinymce/jscripts/tiny_mce/plugins/paste/readme.txt koha-tmpl/intrane=
t-tmpl/prog/kn-Knda/js/tinymce/jscripts/tiny_mce/plugins/zoom/readme.txt ko=
ha-tmpl/intranet-tmpl/prog/kn-Knda/js/tinymce/jscripts/tiny_mce/plugins/pri=
nt/readme.txt koha-tmpl/intranet-tmpl/prog/kn-Knda/js/tinymce/jscripts/tiny=
_mce/plugins/cleanup/readme.txt koha-tmpl/intranet-tmpl/prog/kn-Knda/js/tin=
ymce/jscripts/tiny_mce/plugins/noneditable/readme.txt koha-tmpl/intranet-tm=
pl/prog/kn-Knda/js/tinymce/jscripts/tiny_mce/langs/readme.txt koha-tmpl/int=
ranet-tmpl/prog/en/js/tinymce/readme koha-tmpl/intranet-tmpl/prog/en/js/tin=
ymce/jscripts/tiny_mce/plugins/readme.txt koha-tmpl/intranet-tmpl/prog/en/j=
s/tinymce/jscripts/tiny_mce/plugins/table/readme.txt koha-tmpl/intranet-tmp=
l/prog/en/js/tinymce/jscripts/tiny_mce/plugins/flash/readme.txt koha-tmpl/i=
ntranet-tmpl/prog/en/js/tinymce/jscripts/tiny_mce/plugins/searchreplace/rea=
dme.txt koha-tmpl/intranet-tmpl/prog/en/js/tinymce/jscripts/tiny_mce/plugin=
s/save/readme.txt koha-tmpl/intranet-tmpl/prog/en/js/tinymce/jscripts/tiny_=
mce/plugins/emotions/readme.txt koha-tmpl/intranet-tmpl/prog/en/js/tinymce/=
jscripts/tiny_mce/plugins/emotions/images/readme.txt koha-tmpl/intranet-tmp=
l/prog/en/js/tinymce/jscripts/tiny_mce/plugins/advlink/readme.txt koha-tmpl=
/intranet-tmpl/prog/en/js/tinymce/jscripts/tiny_mce/plugins/advhr/readme.tx=
t koha-tmpl/intranet-tmpl/prog/en/js/tinymce/jscripts/tiny_mce/plugins/inse=
rtdatetime/readme.txt koha-tmpl/intranet-tmpl/prog/en/js/tinymce/jscripts/t=
iny_mce/plugins/autosave/readme.txt koha-tmpl/intranet-tmpl/prog/en/js/tiny=
mce/jscripts/tiny_mce/plugins/layer/readme.txt koha-tmpl/intranet-tmpl/prog=
/en/js/tinymce/jscripts/tiny_mce/plugins/fullscreen/readme.txt koha-tmpl/in=
tranet-tmpl/prog/en/js/tinymce/jscripts/tiny_mce/plugins/contextmenu/readme=
.txt koha-tmpl/intranet-tmpl/prog/en/js/tinymce/jscripts/tiny_mce/plugins/a=
dvimage/readme.txt koha-tmpl/intranet-tmpl/prog/en/js/tinymce/jscripts/tiny=
_mce/plugins/inlinepopups/readme.txt koha-tmpl/intranet-tmpl/prog/en/js/tin=
ymce/jscripts/tiny_mce/plugins/iespell/readme.txt koha-tmpl/intranet-tmpl/p=
rog/en/js/tinymce/jscripts/tiny_mce/plugins/directionality/readme.txt koha-=
tmpl/intranet-tmpl/prog/en/js/tinymce/jscripts/tiny_mce/plugins/style/readm=
e.txt koha-tmpl/intranet-tmpl/prog/en/js/tinymce/jscripts/tiny_mce/plugins/=
preview/readme.txt koha-tmpl/intranet-tmpl/prog/en/js/tinymce/jscripts/tiny=
_mce/plugins/paste/readme.txt koha-tmpl/intranet-tmpl/prog/en/js/tinymce/js=
cripts/tiny_mce/plugins/zoom/readme.txt koha-tmpl/intranet-tmpl/prog/en/js/=
tinymce/jscripts/tiny_mce/plugins/print/readme.txt koha-tmpl/intranet-tmpl/=
prog/en/js/tinymce/jscripts/tiny_mce/plugins/cleanup/readme.txt koha-tmpl/i=
ntranet-tmpl/prog/en/js/tinymce/jscripts/tiny_mce/plugins/noneditable/readm=
e.txt koha-tmpl/intranet-tmpl/prog/en/js/tinymce/jscripts/tiny_mce/langs/re=
adme.txt koha-tmpl/intranet-tmpl/prog/lo-Laoo/js/tinymce/readme koha-tmpl/i=
ntranet-tmpl/prog/lo-Laoo/js/tinymce/jscripts/tiny_mce/plugins/readme.txt k=
oha-tmpl/intranet-tmpl/prog/lo-Laoo/js/tinymce/jscripts/tiny_mce/plugins/ta=
ble/readme.txt koha-tmpl/intranet-tmpl/prog/lo-Laoo/js/tinymce/jscripts/tin=
y_mce/plugins/flash/readme.txt koha-tmpl/intranet-tmpl/prog/lo-Laoo/js/tiny=
mce/jscripts/tiny_mce/plugins/searchreplace/readme.txt koha-tmpl/intranet-t=
mpl/prog/lo-Laoo/js/tinymce/jscripts/tiny_mce/plugins/save/readme.txt koha-=
tmpl/intranet-tmpl/prog/lo-Laoo/js/tinymce/jscripts/tiny_mce/plugins/emotio=
ns/readme.txt koha-tmpl/intranet-tmpl/prog/lo-Laoo/js/tinymce/jscripts/tiny=
_mce/plugins/emotions/images/readme.txt koha-tmpl/intranet-tmpl/prog/lo-Lao=
o/js/tinymce/jscripts/tiny_mce/plugins/advlink/readme.txt koha-tmpl/intrane=
t-tmpl/prog/lo-Laoo/js/tinymce/jscripts/tiny_mce/plugins/advhr/readme.txt k=
oha-tmpl/intranet-tmpl/prog/lo-Laoo/js/tinymce/jscripts/tiny_mce/plugins/in=
sertdatetime/readme.txt koha-tmpl/intranet-tmpl/prog/lo-Laoo/js/tinymce/jsc=
ripts/tiny_mce/plugins/autosave/readme.txt koha-tmpl/intranet-tmpl/prog/lo-=
Laoo/js/tinymce/jscripts/tiny_mce/plugins/layer/readme.txt koha-tmpl/intran=
et-tmpl/prog/lo-Laoo/js/tinymce/jscripts/tiny_mce/plugins/fullscreen/readme=
.txt koha-tmpl/intranet-tmpl/prog/lo-Laoo/js/tinymce/jscripts/tiny_mce/plug=
ins/contextmenu/readme.txt koha-tmpl/intranet-tmpl/prog/lo-Laoo/js/tinymce/=
jscripts/tiny_mce/plugins/advimage/readme.txt koha-tmpl/intranet-tmpl/prog/=
lo-Laoo/js/tinymce/jscripts/tiny_mce/plugins/inlinepopups/readme.txt koha-t=
mpl/intranet-tmpl/prog/lo-Laoo/js/tinymce/jscripts/tiny_mce/plugins/iespell=
/readme.txt koha-tmpl/intranet-tmpl/prog/lo-Laoo/js/tinymce/jscripts/tiny_m=
ce/plugins/directionality/readme.txt koha-tmpl/intranet-tmpl/prog/lo-Laoo/j=
s/tinymce/jscripts/tiny_mce/plugins/style/readme.txt koha-tmpl/intranet-tmp=
l/prog/lo-Laoo/js/tinymce/jscripts/tiny_mce/plugins/preview/readme.txt koha=
-tmpl/intranet-tmpl/prog/lo-Laoo/js/tinymce/jscripts/tiny_mce/plugins/paste=
/readme.txt koha-tmpl/intranet-tmpl/prog/lo-Laoo/js/tinymce/jscripts/tiny_m=
ce/plugins/zoom/readme.txt koha-tmpl/intranet-tmpl/prog/lo-Laoo/js/tinymce/=
jscripts/tiny_mce/plugins/print/readme.txt koha-tmpl/intranet-tmpl/prog/lo-=
Laoo/js/tinymce/jscripts/tiny_mce/plugins/cleanup/readme.txt koha-tmpl/intr=
anet-tmpl/prog/lo-Laoo/js/tinymce/jscripts/tiny_mce/plugins/noneditable/rea=
dme.txt koha-tmpl/intranet-tmpl/prog/lo-Laoo/js/tinymce/jscripts/tiny_mce/l=
angs/readme.txt skel/README skel/var/lib/koha/zebradb/authorities/key/READM=
E skel/var/lib/koha/zebradb/authorities/register/README skel/var/lib/koha/z=
ebradb/authorities/shadow/README skel/var/lib/koha/zebradb/authorities/tmp/=
README skel/var/lib/koha/zebradb/biblios/key/README skel/var/lib/koha/zebra=
db/biblios/register/README skel/var/lib/koha/zebradb/biblios/shadow/README =
skel/var/lib/koha/zebradb/biblios/tmp/README skel/var/lock/koha/zebradb/aut=
horities/README skel/var/lock/koha/zebradb/biblios/README skel/var/run/koha=
/zebradb/README skel/var/log/koha/README t/lib/KohaTest/NewsChannels.pm C4/=
NewsChannels.pm C4/SIP/README C4/SIP/t/README rss/README misc/release_notes=
/README.txt install_misc/README.fr.install_koha_on_fresh_debian install_mis=
c/README.install_koha_on_fresh_debian tmp/modified_authorities/README.txt
-	dh_installchangelogs .git/refs/tags/ChangeLog
-	dh_installdebconf
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-#	dh_gencontrol -u-plibkoha-perl -u-pv$(VERSION)
-	dh_gencontrol=20
-	dh_md5sums
-	dh_builddeb
-
-source diff:
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+%:
+	dh $@
+=09
+override_dh_auto_install:
+	dh_auto_install
+	rm -r $(TMP)/var/run
+	rm -r $(TMP)/var/lock
+	rm $(TMP)/var/log/koha/README
+	rm $(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/lib/jquery=
/jquery.js
+	ln -s /usr/share/javascript/jquery/jquery.js \
+	   $(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/lib/jquery=
/jquery.js
+	rm $(TMP)/usr/share/koha/opac/htdocs/opac-tmpl/prog/en/lib/jquery/jquery.=
js
+	ln -s /usr/share/javascript/jquery \
+	   $(TMP)/usr/share/koha/opac/htdocs/opac-tmpl/prog/en/lib/jquery/jquery.=
js
+	rm -r \
+		$(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/js/tinymce
+	ln -s /usr/share/tinymce2/www \
+		$(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/js/tinymce
+	rm -r \
+		$(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/lib/yui
+	ln -s /usr/share/javascript/yui \
+		$(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/lib/yui
+	rm -r \
+		$(TMP)/usr/share/koha/opac/htdocs/opac-tmpl/prog/en/lib/yui
+	ln -s /usr/share/javascript/yui \
+		$(TMP)/usr/share/koha/opac/htdocs/opac-tmpl/prog/en/lib/yui
+	ln -s ../../koha/koha-httpd.conf $(TMP)/etc/apache2/sites-available/koha
+	ln -s ../sites-available/koha $(TMP)/etc/apache2/sites-enabled/koha
+	install -m 0644 debian/koha.apache-ports $(TMP)/etc/apache2/conf.d/koha
+	sed -i '/^<VirtualHost 127.0.1.1:/s//<VirtualHost *:/' \
+		$(TMP)/etc/koha/koha-httpd.conf
+	mv $(TMP)/etc/koha/koha-conf.xml $(TMP)/usr/share/koha/koha-conf.xml.in
+	sed -i $(TMP)/usr/share/koha/koha-conf.xml.in \
+		-e '/^ <user>/s/>.*</>_DBC_DBUSER_</' \
+		-e '/^ <pass>/s/>.*</>_DBC_DBPASS_</' \
=20
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
--=20
1.7.0


--=-38aR3E3jiYBYw4bwXPPq--



More information about the Koha-patches mailing list