[Pkg-javascript-commits] [etherpad-lite] 07/17: commit status quo of packaging
Paolo Greppi
paolog-guest at moszumanska.debian.org
Wed Dec 14 21:56:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
paolog-guest pushed a commit to branch master
in repository etherpad-lite.
commit a3f4ecf0ee448f61b0e6cafb1ed429db35fcc767
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed May 8 22:37:27 2013 +0200
commit status quo of packaging
---
debian/bin/etherpad-lite | 3 +
debian/control | 59 ++++++-
debian/copyright | 309 ++++++++++++++++++++++++++++++++-
debian/etherpad-lite-doc.doc-base | 7 +
debian/etherpad-lite-doc.install | 1 +
debian/etherpad-lite.dirs | 1 +
debian/etherpad-lite.install | 3 +
debian/etherpad-lite.links | 5 +
debian/etherpad-lite.lintian-overrides | 2 +
debian/etherpad-lite.manpages | 1 +
debian/etherpad-lite.postinst | 68 ++++++++
debian/etherpad-lite.postrm | 46 +++++
debian/man/etherpad-lite.1 | 15 ++
debian/rules | 11 +-
14 files changed, 525 insertions(+), 6 deletions(-)
diff --git a/debian/bin/etherpad-lite b/debian/bin/etherpad-lite
new file mode 100644
index 0000000..df42c3d
--- /dev/null
+++ b/debian/bin/etherpad-lite
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+/usr/share/etherpad-lite/scripts/safeRun.sh /var/log/etherpad-lite/server.log
diff --git a/debian/control b/debian/control
index 6462af8..155cab1 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Build-Depends:
debhelper (>= 9),
libssl-dev,
pkg-config,
- nodejs-legacy,
+ nodejs (>= 0.6.19~dfsg-1-3~),
Standards-Version: 3.9.4
Vcs-Git: git://git.debian.org/debian-edu/etherpad-lite.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-edu/etherpad-lite.git;a=summary
@@ -22,6 +22,39 @@ Depends:
${shlibs:Depends},
${misc:Depends},
${cdbs:Depends},
+ adduser,
+ nodejs (>= 0.6.19~dfsg-1-3~),
+ libjs-excanvas,
+ libjs-jquery,
+ libjs-underscore,
+ npm,
+ node-yajsml (>= 1.1.6), TODO -> packaged
+ node-request (>= 2.9.100),
+ node-require-kernel (>= 1.0.5), TODO
+ node-resolve (>= 0.2.0),
+ node-socket.io (>= 0.9.0), TODO
+ node-ueberdb (>= 0.1.94), TODO
+ node-async (>= 0.1),
+ node-express (>= 3.x), TODO -> 2.5.9-1 in unstable
+ node-connect (>= 2.4.x), TODO -> 1.7.3-1 in unstable
+ node-clean-css (>= 0.3.2), TODO
+ node-uglify (>= 1.2.5),
+ node-formidable (>= 1.0.9),
+ node-log4js (>= 0.5), TODO
+ node-jsdom-nocontextifiy (>= 0.2.10),
+ node-async-stacktrace (>= 0.0.2), TODO
+ npm (>= 1.1),
+ npm-registry-client (>= 0.2.10), TODO
+ node-ejs (>= 0.6.1), TODO: #662121
+ node-graceful-fs (>= 1.1.5), TODO
+ node-slide (>= 1.1.3),
+ node-semver (>= 1.0.13),
+ node-security (>= 1.0.0), TODO
+ node-tinycon (>= 0.0.1), TODO
+ node-underscore (>= 1.3.1),
+ node-unorm (>= 1.0.0), TODO
+ node-languages4translatewiki (>= 0.1.3), TODO
+ node-swagger-node-express (>= 1.2.3), TODO
Recommends:
${cdbs:Recommends},
Description: Online editor providing collaborative editing in really real-time
@@ -36,3 +69,27 @@ Description: Online editor providing collaborative editing in really real-time
many major data exchange formats. The built-in plugin system makes extending
the core functionality a breeze, regardless of whether you're adding support
for inserting images or videos or allowing users to collaborate on tables.
+
+Package: etherpad-lite-doc
+Section: doc
+Architecture: all
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+ ${cdbs:Depends},
+Recommends:
+ ${cdbs:Recommends},
+Description: Online editor providing collaborative editing in really real-time
+ Etherpad lite allows you to edit documents collaboratively in real-time, much
+ like a live multi-player online editor, allowing you to write articles,
+ proposals, press releases and the like, together with your friends, your
+ fellow students or your colleagues, working on the same document at the same
+ time.
+ .
+ It even supports rich text editing! Additionally, Etherpad lite provides access
+ to all data through a well-documented HTTP API and supports import/export to
+ many major data exchange formats. The built-in plugin system makes extending
+ the core functionality a breeze, regardless of whether you're adding support
+ for inserting images or videos or allowing users to collaborate on tables.
+ .
+ This package contains the Etherpad Lite documentation.
\ No newline at end of file
diff --git a/debian/copyright b/debian/copyright
index f546d47..78f6608 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,6 +4,309 @@ Upstream-Contact: https://groups.google.com/forum/?fromgroups#!forum/etherpad-li
Upstream-Name: Etherpad lite
Source: http://www.etherpad.org/
-Files: *
-Copyright: TODO
-License: TODO
+Files:
+ src/node/easysync_tests.js
+ src/node/handler/PadMessageHandler.js
+ src/static/js/pad.js
+ src/static/js/chat.js
+ src/static/js/AttributePool.js
+ src/static/js/Changeset.js
+Copyright:
+ 2009 Google Inc.
+ 2011 Peter 'Pita' Martischka, Primary Technology Ltd. <petermartischka at googlemail.com>
+License: Apache-2.0
+
+Files:
+ src/node/server.js
+ src/node/handler/SocketIORouter.js
+ src/node/handler/ExportHandler.js
+ src/node/handler/APIHandler.js
+ src/node/db/PadManager.js
+ src/node/db/SessionManager.js
+ src/node/db/SecurityManager.js
+ src/node/db/GroupManager.js
+ src/node/db/API.js
+ src/node/db/ReadOnlyManager.js
+ src/node/db/DB.js
+ src/node/db/AuthorManager.js
+ src/node/utils/caching_middleware.js
+ src/node/utils/Minify.js
+ src/node/utils/ExportHelper.js
+ src/node/utils/Abiword.js
+ src/node/utils/Settings.js
+ src/package.json
+ src/static/js/pad_savedrevs.js
+ src/templates/index.html
+ src/templates/timeslider.html
+ src/templates/pad.html
+Copyright:
+ 2011-2012, Peter 'Pita' Martischka, Primary Technology Ltd
+License: Apache-2.0
+
+Files:
+ src/node/handler/ImportHandler.js
+Copyright:
+ 2011, Peter 'Pita' Martischka, Primary Technology Ltd. <petermartischka at googlemail.com>
+ 2012, Iván Eixarch
+License: Apache-2.0
+
+Files:
+ src/node/eejs/index.js
+Copyright:
+ 2011, RedHog (Egil Möller) <egil.moller at freecode.no>
+License: Apache-2.0
+
+Files:
+ src/node/utils/Cli.js
+Copyright:
+ 2012, Jordan Hollinger
+License: Apache-2.0
+
+Files:
+ src/node/utils/ExportDokuWiki.js
+Copyright:
+ 2011, Adrian Lang
+License: Apache-2.0
+
+Files:
+ src/node/utils/ExportHtml.js
+Copyright:
+ 2009, Google Inc.
+License: Apache-2.0
+
+Files:
+ src/node/utils/ExportTxt.js
+Copyright:
+ 2013, John McLear
+License: Apache-2.0
+
+Files:
+ src/node/utils/ImportHtml.js
+Copyright:
+ 2011, Yaco Sistemas S.L.
+License: Apache-2.0
+
+Files:
+ src/static/js/ace2_common.js
+ src/static/js/ace2_inner.js
+ src/static/js/ace.js
+ src/static/js/AttributePool.js
+ src/static/js/broadcast.js
+ src/static/js/broadcast_revisions.js
+ src/static/js/broadcast_slider.js
+ src/static/js/Changeset.js
+ src/static/js/changesettracker.js
+ src/static/js/ChangesetUtils.js
+ src/static/js/chat.js
+ src/static/js/collab_client.js
+ src/static/js/colorutils.js
+ src/static/js/contentcollector.js
+ src/static/js/cssmanager.js
+ src/static/js/domline.js
+ src/static/js/draggable.js
+ src/static/js/excanvas.js
+ src/static/js/jquery.js
+ src/static/js/linestylefilter.js
+ src/static/js/pad_connectionstatus.js
+ src/static/js/pad_cookie.js
+ src/static/js/pad_editbar.js
+ src/static/js/pad_editor.js
+ src/static/js/pad_impexp.js
+ src/static/js/pad.js
+ src/static/js/pad_modals.js
+ src/static/js/pad_userlist.js
+ src/static/js/pad_utils.js
+ src/static/js/security.js
+ src/static/js/skiplist.js
+ src/static/js/timeslider.js
+ src/static/js/undomodule.js
+ src/static/js/virtual_lines.js
+License: Apache-2.0
+
+Files:
+ src/hooks/*
+ src/node/db/Pad.js
+ src/node/db/SessionStore.js
+ src/node/eejs/examples/*
+ src/node/utils/customError.js
+ src/node/utils/padDiff.js
+ src/node/utils/randomstring.js
+ src/node/padaccess.js
+ src/static/css/*
+ src/static/custom/*
+Copyright:
+ UNKNOWN
+License: public-domain
+ No license is specified in file header. Presuming public domain status for
+ those files. However, most probably is that also Apache-2.0 applies to
+ those files.
+
+License: Apache-2.0
+ 1. Definitions.
+ .
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+ .
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+ .
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+ .
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+ .
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+ .
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+ .
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+ .
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+ .
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+ .
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+ .
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+ .
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+ .
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+ .
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+ .
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+ .
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+ .
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+ .
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+ .
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+ .
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+ .
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+ .
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+ .
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
\ No newline at end of file
diff --git a/debian/etherpad-lite-doc.doc-base b/debian/etherpad-lite-doc.doc-base
new file mode 100644
index 0000000..17790fc
--- /dev/null
+++ b/debian/etherpad-lite-doc.doc-base
@@ -0,0 +1,7 @@
+Document: etherpad-lite-doc
+Title: Etherpad Lite Documentation
+Section: Editors
+
+Format: HTML
+Index: /usr/share/doc/etherpad-lite-doc/html/index.html
+Files: /usr/share/doc/etherpad-lite-doc/html/*
diff --git a/debian/etherpad-lite-doc.install b/debian/etherpad-lite-doc.install
new file mode 100644
index 0000000..0c2aaca
--- /dev/null
+++ b/debian/etherpad-lite-doc.install
@@ -0,0 +1 @@
+out/doc/* usr/share/doc/etherpad-lite-doc/html/
\ No newline at end of file
diff --git a/debian/etherpad-lite.dirs b/debian/etherpad-lite.dirs
new file mode 100644
index 0000000..186067e
--- /dev/null
+++ b/debian/etherpad-lite.dirs
@@ -0,0 +1 @@
+/etc/etherpad-lite/
\ No newline at end of file
diff --git a/debian/etherpad-lite.install b/debian/etherpad-lite.install
new file mode 100644
index 0000000..0b3c431
--- /dev/null
+++ b/debian/etherpad-lite.install
@@ -0,0 +1,3 @@
+debian/bin/etherpad-lite /usr/bin/
+src/* usr/share/etherpad-lite/
+bin/* usr/share/etherpad-lite/scripts/
diff --git a/debian/etherpad-lite.links b/debian/etherpad-lite.links
new file mode 100644
index 0000000..b3a8b26
--- /dev/null
+++ b/debian/etherpad-lite.links
@@ -0,0 +1,5 @@
+# use some .js modules from libjs-* packages...
+usr/share/javascript/excanvas/excanvas.js usr/share/etherpad-lite/static/js/excanvas.js
+usr/share/javascript/jquery/jquery.js usr/share/etherpad-lite/static/js/jquery.js
+usr/share/javascript/underscore/underscore.js usr/share/etherpad-lite/static/js/underscore.js
+
diff --git a/debian/etherpad-lite.lintian-overrides b/debian/etherpad-lite.lintian-overrides
new file mode 100644
index 0000000..1bf7b5a
--- /dev/null
+++ b/debian/etherpad-lite.lintian-overrides
@@ -0,0 +1,2 @@
+# etherpad-lite uses /usr/bin/js (amongst others provided by nodejs) as interpreter
+etherpad-lite: unusual-interpreter usr/share/etherpad-lite/node/server.js #!js
\ No newline at end of file
diff --git a/debian/etherpad-lite.manpages b/debian/etherpad-lite.manpages
new file mode 100644
index 0000000..e3a039a
--- /dev/null
+++ b/debian/etherpad-lite.manpages
@@ -0,0 +1 @@
+debian/man/etherpad-lite.1
\ No newline at end of file
diff --git a/debian/etherpad-lite.postinst b/debian/etherpad-lite.postinst
new file mode 100755
index 0000000..f5c5561
--- /dev/null
+++ b/debian/etherpad-lite.postinst
@@ -0,0 +1,68 @@
+#!/bin/sh
+# postinst script for etherpad-lite
+#
+# see: dh_installdeb(1)
+
+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>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ configure)
+
+ # setup user/group etherpad-lite
+ if ! getent group etherpad-lite 1>/dev/null; then
+ echo "Creating etherpad-lite group." 1>&2
+ addgroup --system etherpad-lite
+ else
+ echo "Group etherpad-lite already exists." 1>&2
+ fi
+ if ! getent passwd etherpad-lite 1>/dev/null; then
+ echo "Creating etherpad-lite user." 1>&2
+ adduser --system \
+ --disabled-password --disabled-login \
+ --shell /usr/bin/js --group --home /var/lib/etherpad-lite etherpad-lite
+ else
+ echo "User etherpad-lite already exists." 1>&2
+
+ # make sure the home directory exists belongs to etherpad-lite:etherpad-lite
+ mkdir -p /var/lib/etherpad-lite
+ chown etherpad-lite:etherpad-lite /var/lib/etherpad-lite -f
+
+ fi
+
+ # the etherpad-lite requires write access to its log dir
+ mkdir -p /var/log/etherpad-lite
+ chown etherpad-lite:adm /var/log/etherpad-lite
+ chmod 0750 /var/log/etherpad-lite
+
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" 1>&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/etherpad-lite.postrm b/debian/etherpad-lite.postrm
new file mode 100755
index 0000000..f544727
--- /dev/null
+++ b/debian/etherpad-lite.postrm
@@ -0,0 +1,46 @@
+#! /bin/sh
+# postrm script for etherpad-lite
+#
+# see: dh_installdeb(1)
+# 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/
+
+set -e
+
+
+case "$1" in
+ purge)
+
+ # make the etherpad-lite log owned by root
+ chown -Rf root:admin /var/log/etherpad-lite
+
+ # remove user/group etherpad-lite from system
+ getent passwd etherpad-lite 1>/dev/null && deluser etherpad-lite
+ getent group etherpad-lite 1>/dev/null && delgroup etherpad-lite
+ getent group etherpad-lite 1>/dev/null && delgroup etherpad-lite
+ rm -Rf /var/lib/etherpad-lite
+ ;;
+
+ remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" 1>&2
+ exit 0
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
\ No newline at end of file
diff --git a/debian/man/etherpad-lite.1 b/debian/man/etherpad-lite.1
new file mode 100644
index 0000000..4cd4e92
--- /dev/null
+++ b/debian/man/etherpad-lite.1
@@ -0,0 +1,15 @@
+.TH etherpad-lite 1 "May-2013" "etherpad-lite"
+.SH NAME
+\fBetherpad-lite\fR \- Launch the Etherpad Lite server.
+.SH SYNOPSIS
+\fBetherpad-lite\fR
+.SH OVERVIEW
+
+\fBetherpad-lite\fR is a standalone http server providing the Etherpad Lite online editor.
+.PP
+\fBetherpad-lite\fR can be configured via /etc/etherpad-lite/settings.json.
+.SH SEE ALSO
+For more information about etherpad-lite, see /usr/share/doc/etherpad-lite.
+.SH COPYRIGHT
+This man page has been written by Mike Gabriel <mike.gabriel at das-netzwerkteam.de> for the Debian project and may be
+used by others.
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 5600075..83477aa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,13 +12,20 @@ MAIN_VERSION = $(shell dpkg-parsechangelog|sed -n '/^Version/{s/Version: \(.*\)/
BUILD_VERSION = $(shell echo $(MAIN_VERSION)|sed -n 's/\([0-9.]*\)[-+~].*/\1/p')
# this doesn't work, so commenting it out...
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_CFLAGS_MAINT_APPEND = -Wall
+DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DEB_CFLAGS_MAINT_APPEND = -Wall
+DEB_INSTALL_CHANGELOGS_ALL = CHANGELOG.md
+
include /usr/share/dpkg/buildflags.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
+binary-install/etherpad-lite::
+ rm -f $(CURDIR)/debian/etherpad-lite/usr/share/etherpad-lite/static/custom/.gitignore
+ chown 0755 $(CURDIR)/debian/etherpad-lite/usr/share/etherpad-lite/node/server.js
+ cp settings.json.template $(CURDIR)/debian/etherpad-lite/etc/etherpad-lite/settings.json
+
get-git-source:
dh_testdir
rm -rfv tmp ../etherpad-lite_$(BUILD_VERSION).orig.tar.bz2
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/etherpad-lite.git
More information about the Pkg-javascript-commits
mailing list