[Pkg-voip-commits] r7801 - in /op-panel/trunk/debian: README.source changelog control dirs op-panel.init postinst rules

alerios at alioth.debian.org alerios at alioth.debian.org
Sat Nov 14 00:06:43 UTC 2009


Author: alerios
Date: Sat Nov 14 00:06:28 2009
New Revision: 7801

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7801
Log:
  * Remove scriptaculous.js and symlink to libjs-scriptaculous
    to make lintian happy.
  * Bump standards version to 3.8.3:
     * Create /var/run/op-panel on init script.
     * Added debian/README.source to describe dpatch usage.

Added:
    op-panel/trunk/debian/README.source
Modified:
    op-panel/trunk/debian/changelog
    op-panel/trunk/debian/control
    op-panel/trunk/debian/dirs
    op-panel/trunk/debian/op-panel.init
    op-panel/trunk/debian/postinst
    op-panel/trunk/debian/rules

Added: op-panel/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-voip/op-panel/trunk/debian/README.source?rev=7801&op=file
==============================================================================
--- op-panel/trunk/debian/README.source (added)
+++ op-panel/trunk/debian/README.source Sat Nov 14 00:06:28 2009
@@ -1,0 +1,8 @@
+This package uses dpatch to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.  Please see:
+
+	/usr/share/doc/dpatch/README.source
+
+for more information on how to apply the patches, modify patches, or
+remove a patch.

Modified: op-panel/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/op-panel/trunk/debian/changelog?rev=7801&op=diff
==============================================================================
--- op-panel/trunk/debian/changelog (original)
+++ op-panel/trunk/debian/changelog Sat Nov 14 00:06:28 2009
@@ -18,10 +18,15 @@
     Thanks lintian.
 
   [ Alejandro Rios P. ]
-  * Remove embeded prototype.js and symlink to libjs-prototype (Closes: #475294).
+  * Remove prototype.js and symlink to libjs-prototype (Closes: #475294).
+  * Remove scriptaculous.js and symlink to libjs-scriptaculous
+    to make lintian happy.
   * Depend on libjs-prototype >= 1.6.0.2 (Closes: #555234).
+  * Bump standards version to 3.8.3:
+     * Create /var/run/op-panel on init script.
+     * Added debian/README.source to describe dpatch usage.
 
- -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Mon, 11 May 2009 13:25:21 +0300
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Mon, 13 Nov 2009 13:25:21 +0300
 
 op-panel (0.27.dfsg-2) unstable; urgency=low
 

Modified: op-panel/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/op-panel/trunk/debian/control?rev=7801&op=diff
==============================================================================
--- op-panel/trunk/debian/control (original)
+++ op-panel/trunk/debian/control Sat Nov 14 00:06:28 2009
@@ -5,14 +5,14 @@
 Uploaders: Alejandro Rios P. <alerios at debian.org>, Kilian Krause <kilian at debian.org>, Tzafrir Cohen <tzafrir.cohen at xorcom.com>
 Build-Depends: debhelper (>= 5.0.0), dpatch
 Build-Depends-Indep: perl (>= 5), libswf-perl (>= 0.3.0-8), ming-fonts-dejavu (>= 0.3.0-8)
-Standards-Version: 3.8.0
+Standards-Version: 3.8.3
 Homepage: http://www.asternic.org/
 Vcs-Svn: svn://svn.debian.org/pkg-voip/op-panel/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/op-panel/?op=log
 
 Package: op-panel
 Architecture: all
-Depends: perl (>= 5), adduser, libjs-prototype (>= 1.6.0.2)
+Depends: perl (>= 5), adduser, libjs-prototype (>= 1.6.0.2), libjs-scriptaculous (>= 1.8.1)
 Recommends: asterisk
 Enhances: destar
 Description: switchboard type application for the Asterisk PBX

Modified: op-panel/trunk/debian/dirs
URL: http://svn.debian.org/wsvn/pkg-voip/op-panel/trunk/debian/dirs?rev=7801&op=diff
==============================================================================
--- op-panel/trunk/debian/dirs (original)
+++ op-panel/trunk/debian/dirs Sat Nov 14 00:06:28 2009
@@ -1,8 +1,8 @@
 var/lib/op-panel/
 var/log/op-panel/
-var/run/op-panel/
 usr/share/op-panel/flash/
 usr/share/op-panel/dhtml/
+usr/share/op-panel/dhtml/js
 var/www/
 usr/sbin/
 etc/op-panel/asternic/

Modified: op-panel/trunk/debian/op-panel.init
URL: http://svn.debian.org/wsvn/pkg-voip/op-panel/trunk/debian/op-panel.init?rev=7801&op=diff
==============================================================================
--- op-panel/trunk/debian/op-panel.init (original)
+++ op-panel/trunk/debian/op-panel.init Sat Nov 14 00:06:28 2009
@@ -26,8 +26,11 @@
 NAME=op-panel
 DESC="Flash Operator Panel"
 
-PIDFILE=/var/run/$NAME/$NAME.pid
+PIDDIR=/var/run/$NAME
+PIDFILE=$PIDDIR/$NAME.pid
 SCRIPTNAME=/etc/init.d/$NAME
+USER=asterisk
+GROUP=asterisk
 
 LOGDIR=/var/log/$NAME
 CONFDIR=/etc/$NAME
@@ -37,6 +40,11 @@
 # Gracefully exit if the package has been removed.
 test -x $DAEMON || exit 0
 
+if [ ! -d $PIDDIR ]; then
+        mkdir $PIDDIR
+        chown -R $USER.$GROUP $PIDDIR
+        chmod -R g+rw $PIDDIR
+fi
 
 case "$1" in
   start)

Modified: op-panel/trunk/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-voip/op-panel/trunk/debian/postinst?rev=7801&op=diff
==============================================================================
--- op-panel/trunk/debian/postinst (original)
+++ op-panel/trunk/debian/postinst Sat Nov 14 00:06:28 2009
@@ -35,8 +35,6 @@
         chmod -R g+rw           /etc/op-panel/asternic/
         chown -R $USER.$GROUP   /var/log/op-panel/
         chmod -R g+rw           /var/log/op-panel/
-        chown -R $USER.$GROUP	/var/run/op-panel/
-        chmod -R g+rw		/var/run/op-panel/
         chown -R $USER.$GROUP   /usr/share/op-panel/
         chmod -R g+rw           /usr/share/op-panel/
 												

Modified: op-panel/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/op-panel/trunk/debian/rules?rev=7801&op=diff
==============================================================================
--- op-panel/trunk/debian/rules (original)
+++ op-panel/trunk/debian/rules Sat Nov 14 00:06:28 2009
@@ -61,12 +61,13 @@
 	# Add here commands to install the package into debian/op-panel.
 	cp -a op_server.pl debian/op-panel/usr/sbin/op_server
 	cp -a operator_panel.swf		debian/op-panel/usr/share/op-panel/flash/
-	cp -ra dhtml/* comunicator.swf			debian/op-panel/usr/share/op-panel/dhtml/
+	cp -a comunicator.swf			debian/op-panel/usr/share/op-panel/dhtml/
 	ln -s /usr/share/op-panel/flash         debian/op-panel/var/www/op-panel-flash
 	ln -s /usr/share/op-panel/dhtml         debian/op-panel/var/www/op-panel-dhtml
 	ln -sf /var/lib/op-panel/variables.txt  debian/op-panel/usr/share/op-panel/flash
 	ln -sf /var/lib/op-panel/variables.txt  debian/op-panel/usr/share/op-panel/dhtml
 	ln -sf ../../../javascript/prototype/prototype.js debian/op-panel/usr/share/op-panel/dhtml/js/ 
+	ln -sf ../../../javascript/scriptaculous/scriptaculous.js debian/op-panel/usr/share/op-panel/dhtml/js/ 
 
 # Build architecture-dependent files here.
 binary-arch: build install
@@ -99,6 +100,7 @@
 	tar xfz ../$(UPFILENAME)
 	@@find ../tarballs/op_panel-$(UPVERSION).tmp -type f -name '*.swf'|xargs -r rm
 	@@find ../tarballs/op_panel-$(UPVERSION).tmp -type f -name 'prototype.js'|xargs -r rm
+	@@find ../tarballs/op_panel-$(UPVERSION).tmp -type f -name 'scriptaculous.js'|xargs -r rm
 	@@cd ../tarballs/op_panel-$(UPVERSION).tmp ; \
 	tar cfz ../$(FILENAME) *
 	@@echo Cleaning up...




More information about the Pkg-voip-commits mailing list