Bug#856961: nsf: can't find package xotcl::serializer

2017-03-06 Thread Hector Romojaro
Package: nsf
Version: 2.1.0-3
Severity: important

package require xotcl::serializer can't resolve the xotcl::serializer package:

# tclsh
% package req xotcl::serializer
can't find package xotcl::serializer
% package req nsf
2.1.0
% package req nx::serializer
2.1
% package req xotcl::serializer
can't find package xotcl::serializer

There seems to be some duplicity also in /usr/share/tcltk, not sure if related:

..
├── nsf-lib
├── nsf-nx
├── nsf-serialize <- ok!
├── nsf-xotcl2
│   ├── comm
│   ├── lib
│   ├── nsf-serialize <  !ok
│   └── serialize


Kind regards,
Héctor



-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.17.1-dp-mst (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



Bug#744319: [dotlrn] [DFSG] missing source

2014-04-16 Thread Hector Romojaro
El mié, 16-04-2014 a las 18:39 +0200, Bastien ROUCARIES escribió:

> For the xinha may be it is time to package it for debian?

Agree :)

There is an RFP[1], and i remember some discussion about it years
ago[2], but i think nothing is being done at the moment...

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479708
[2] https://lists.debian.org/debian-mentors/2008/11/msg00236.html


signature.asc
Description: This is a digitally signed message part


Bug#744319: [dotlrn] [DFSG] missing source

2014-04-16 Thread Hector Romojaro
About the tinymce files
(packages/acs-templating/www/resources/tinymce/*), all of them have
their sources in a separate *_src.js file. For example:

* .../tinymce/jscripts/tiny_mce/plugins/fullscreen/editor_plugin.js
* .../tinymce/jscripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js

...so these are all false positives.

However, there is an exception: tiny_mce_popup.js is generated from the
classes/Popup.js file, which is not included in the original tarball.

These file and others from xinha
(packages/acs-templating/www/resources/xinha-nightly/) will be included
in a "missing-sources" directory in the next upload.

Regards,

Héctor


signature.asc
Description: This is a digitally signed message part


Bug#744319: [dotlrn] [DFSG] missing source

2014-04-13 Thread Hector Romojaro
Hi Bastien,

Thanks for your bug report. This issue is being addressed with upstream
right now, and will be fixed in the next upload.

>From the files previously mentioned, source for both
packages/lorsm/www/delivery-scorm/tigra/compressed/tree.js and
packages/lorsm/www/delivery/tigra/compressed/tree.js is already included
in the original tarball, specifically in
packages/lorsm/www/delivery/tigra/tree.js.

Also, packages/theme-zen/www/resources/js/styleswitcher.js is not
minified/prebuilt, it seems to have been created in a non-unix box by
upstream and appears as a single long line due to (probably windows)
newline convention.

Cheers, 

Héctor

El sáb, 12-04-2014 a las 23:23 +, bastien ROUCARIES escribió:
> Package: dotlrn
> Severity: serious
> version: 2.5.0+dfsg-10
> user: debian...@lists.debian.org
> usertags: source-is-missing
> severity: serious
> X-Debbugs-CC:  ftpmas...@debian.org
> 
> Hi,
> 
> Your package seems to include some files that lack sources
> in prefered forms of modification:
> 
>  * xinha library (need to be packaged)
>  * tinymce (use packaged one)
>  
> List here:
> packages/acs-templating/www/resources/xinha-nightly/XinhaCore.js
> packages/acs-templating/www/resources/xinha-nightly/XinhaLoader.js
> packages/theme-zen/www/resources/js/styleswitcher.js
> packages/acs-templating/www/resources/xinha-nightly/examples/XinhaConfig.js
> packages/acs-templating/www/resources/xinha-nightly/popups/popup.js
> packages/lorsm/www/delivery-scorm/tigra/compressed/tree.js
> packages/lorsm/www/delivery/tigra/compressed/tree.js
> packages/acs-templating/www/resources/tinymce/jscripts/tiny_mce/tiny_mce.js
> packages/acs-templating/www/resources/tinymce/jscripts/tiny_mce/tiny_mce_popup.js
> packages/acs-templating/www/resources/xinha-nightly/modules/AboutBox/AboutBox.js
> packages/acs-templating/www/resources/xinha-nightly/modules/ColorPicker/ColorPicker.js
> packages/acs-templating/www/resources/xinha-nightly/modules/CreateLink/link.js
> packages/acs-templating/www/resources/xinha-nightly/modules/CreateLink/pluginMethods.js
> packages/acs-templating/www/resources/xinha-nightly/modules/Dialogs/XinhaDialog.js
> packages/acs-templating/www/resources/xinha-nightly/modules/Dialogs/dialog.js
> packages/acs-templating/www/resources/xinha-nightly/modules/Dialogs/popupwin.js
> packages/acs-templating/www/resources/xinha-nightly/modules/FullScreen/full-screen.js
> packages/acs-templating/www/resources/xinha-nightly/modules/Gecko/Gecko.js
> packages/acs-templating/www/resources/xinha-nightly/modules/Gecko/paraHandlerBest.js
> packages/acs-templating/www/resources/xinha-nightly/modules/GetHtml/DOMwalk.js
> packages/acs-templating/www/resources/xinha-nightly/modules/GetHtml/TransformInnerHTML.js
> packages/acs-templating/www/resources/xinha-nightly/modules/InlineStyler/InlineStyler.js
> packages/acs-templating/www/resources/xinha-nightly/modules/InsertImage/insert_image.js
> packages/acs-templating/www/resources/xinha-nightly/modules/InsertImage/pluginMethods.js
> packages/acs-templating/www/resources/xinha-nightly/modules/InsertTable/insert_table.js
> packages/acs-templating/www/resources/xinha-nightly/modules/InsertTable/pluginMethods.js
> packages/acs-templating/www/resources/xinha-nightly/modules/InternetExplorer/InternetExplorer.js
> packages/acs-templating/www/resources/xinha-nightly/modules/Opera/Opera.js
> packages/acs-templating/www/resources/xinha-nightly/modules/WebKit/WebKit.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/Abbreviation/Abbreviation.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/CSS/CSS.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/CharCounter/CharCounter.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/CharacterMap/CharacterMap.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/ContextMenu/ContextMenu.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/DynamicCSS/DynamicCSS.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/Equation/ASCIIMathML.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/Equation/Equation.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/ExtendedFileManager/ExtendedFileManager.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/FindReplace/fr_engine.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/FormOperations/FormOperations.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/Forms/Forms.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/FullPage/FullPage.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/HorizontalRule/HorizontalRule.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/ImageManager/ImageManager.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/ImageManager/image-picker.js
> packages/acs-templating/www/resources/xinha-nightly/plugins/InsertAnchor/InsertAnchor.js
> packages/acs-templating/www/resources/xinha-

Bug#733236: [debian-maintainers] Please add Hector Romojaro as a Debian Maintainer

2013-12-27 Thread Hector Romojaro
Package: debian-maintainers
Severity: normal

Dear DM team,

Could you please add my key to the debian maintainers keyring? 

The relevant jetring changeset is attached.

Thank you,
Héctor Romojaro


Comment: Please add Hector Romojaro  as a Debian 
Maintainer
Date: Fri, 27 Dec 2013 16:29:50 +0100
Action: import
Recommended-By: 
  Manuel A. Fernandez Montecelo 
Agreement: 
  http://lists.debian.org/debian-newmaint/2013/11/msg00012.html
Advocates: 
  http://lists.debian.org/debian-newmaint/2013/11/msg00015.html
Data: 
  -BEGIN PGP PUBLIC KEY BLOCK-
  Version: GnuPG v1.4.12 (GNU/Linux)
  
  mQINBFJVx+QBEADkaPlNRuz9EqXoLeF9nVR0+6hAkB5iS4x8T/ClIpvAD8Wuo091
  lEOs9z4ks92DEwOwqK7p0+XpH+ClCy9m2sTVVecvmzXf4rKaU9TXLEmjqUpHZjuv
  VN99oQJKRbky6bRQfyhhmlcXNfSJ7aYpXV5N9WAoW8e4pj2MvhfUTRzXTn16vKBj
  K7Dd3sJ/jrsqbnrwoizCGu19tzf8EUUqSddsfsFehmLnJ6V5eW6sjNFFi2wabL1e
  DPUFfzONZmUnt29dXvCwy8KjRVwUmFu4VIrmjTuTAtD1XnpfYWHDFqNL3DqpPv4P
  /7R1vsecRtkxWlKzLuuXSobGxjU5/eJki397jlRuS/LgdJ9SiqOVJBGwyvgdT+4+
  VDwC2bdV3W8cbvoB/XXWG4V8B0IP4fTv679efXOrrY18TFrsbouD9w4Njx+iwlMp
  g/CCj2sVWKPRlMLTmbv6hN5fOnXNMx9zHLH5zAXXMqGbbkMxt0nQTxdZZiNXTMm8
  7ta9vevJ3b2GP0JQo9sZOTcKzVbD017tKMSLm3uqpFkvtdv/LxtFbDc5In1/H/0G
  K6h+70IxYXaEBhDF0wphSt41LUU/zDeY1fBlIfMCIvnk8Hi9zTEl5XjCS+o730TD
  Oravv4EtsqCuwxG2rNI9ZZrFS+6Ny0n8gR5ns5I0LfRdVgrz12VjLvO/oQARAQAB
  tDNIw6ljdG9yIFJvbW9qYXJvIEfDs21leiA8aGVjdG9yLnJvbW9qYXJvQGdtYWls
  LmNvbT6JAjcEEwEIACEFAlJVx+QCGwMFCwkIBwMFFQoJCAsFFgIDAQACHgECF4AA
  CgkQ7cjIJA9ojmgQog//QR7BcVk+DduPzwLx1HQ+NbJhr+1PQouIEmsYQb72M2sA
  00V1A2eOXbKxsKMCJTePPVPWwybKxx6VQQfg2VQLvepUWHSyfLZHe4J1q5EHRv3D
  BqBImV7w0TPhAE9aGDd5NfmD4u9zZ42C5rUnYxPSEXMJ4CH3iMIX3M6ohCRq8oyW
  +8xOqOKXs3LAdLhou8Zo0S2IqaXRp+7iVWGxJI5sx/cAdcz0rX+3ivWQssKBQkPM
  1Eyivqn3qO8IzvrKdda2gkNIPOcVbe8RBZA1ifguiab8HknlQ+wFE+AbCwrgP8Yl
  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

Bug#732495: Please update Suggests: for postgresql

2013-12-18 Thread Hector Romojaro
Hello Christoph,

Thanks for pointing out this issue.

I have uploaded a new version of the package containing a fix for this
to svn, and asked for upload to my sponsor[1].

[1] 
http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/2013-December/002510.html

Kind regards,
Héctor

El mié, 18-12-2013 a las 12:50 +0100, Christoph Berg escribió:
> Package: dotlrn
> Version: 2.5.0+dfsg-9
> Severity: normal
> User: pkg-postgresql-pub...@lists.alioth.debian.org
> Usertags: migration-93
> 
> Package: dotlrn
> Suggests: postgresql-8.4, daemontools, daemontools-run
> 
> 8.4 is long gone in sid, can you update that for the current
> PostgreSQL version 9.3? Ideally you would just "Suggests: postgresql",
> so you don't have to update the field again in the future.
> 
> Christoph


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#725258: openacs: diff for NMU version 5.7.0+dfsg-2.1

2013-11-08 Thread Hector Romojaro
Thanks Colin,

I was planning to introduce the dependency change in openacs 5.8.0, but
it is on hold[1] at the moment, so please feel free to upload the NMU.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725521

Thanks again,

Héctor

El vie, 08-11-2013 a las 12:09 +, Colin Watson escribió:
> Control: tag 725258 patch pending
> 
> Dear maintainer,
> 
> I've prepared an NMU for openacs (versioned as 5.7.0+dfsg-2.1) and
> uploaded it to DELAYED/2.  Please feel free to tell me if I should delay
> it longer.
> 
> Regards,
> 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#725521: [aolserver4-nspostgres] Please update nspostgres for postgresql 9.1

2013-10-06 Thread Hector Romojaro
Package: aolserver4-nspostgres
Version: 4.5-3+b1
Severity: important

--- Please enter the report below this line. ---

Dear Frankie,

I'm currently packaging openacs 5.8, which requires a new
version of nspostgres to properly work with postgres >= 9.1 (please see
Gustaf Neumann's last modifications:
http://aolserver.cvs.sourceforge.net/viewvc/aolserver/nspostgres/ChangeLog?view=markup
 ).

Could you please update the nspostgres package with these changes?

Kind regards,

Héctor

--- System information. ---
Architecture: amd64
Kernel:   Linux 3.10-0.bpo.3-amd64

Debian Release: 7.1
  500 wheezy-backports mozilla.debian.net 
  500 testing apt.ulrichard.ch 
  500 stable-updates  ftp.debian.org 
  500 stable  security.debian.org 
  500 stable  ftp.uk.debian.org 
  500 quantal ppa.launchpad.net 
  500 karmic  ppa.launchpad.net 
  100 wheezy-backports ftp.debian.org 

--- Package information. ---
Depends(Version) | Installed
-+-=
libc6   (>= 2.7) | 2.17-5
libgcc1 (>= 1:4.1.1) | 1:4.7.2-5
libpq5 (>= 8.4~) | 9.1.9-1
tcl8.5(>= 8.5.0) | 8.5.11-2
aolserver4-daemon| 4.5.1-15.1
aolserver4-core-4.5.1-1  | 


Package's Recommends field is empty.

Suggests(Version) | Installed
=-+-===
aolserver4-doc (>= 4.0.1) | 4.5.1-15.1


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#718487: dotlrn: contains embedded copy of openacs

2013-08-08 Thread Hector Romojaro
Control: severity -1 wishlist

Thanks, Helmut, i guess the best solution is leaving this bug open, as
you suggest, and downgrade it to "wishlist", implying that it is a bug
with a very difficult fix due to major design considerations, but hoping
it could be done in the future :)

Thanks again!

Héctor


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#718487: dotlrn: contains embedded copy of openacs

2013-08-07 Thread Hector Romojaro
Hello Helmut,

First of all, thanks for pointing out this issue.

>  * Investigate whether you can replace the embedded copy with a
>dependency on openacs. I.e. remove the embedded copy. This may be a
>fair amount of work, if possible at all.

This was my first thought when i first packaged dotlrn and openacs, but
upstream authors highly discouraged me about doing it. AFAIK, dotlrn
uses a heavily modified version of the openacs core, being stuck with an
old version (5.5.1, while openacs 5.7.0 is in wheezy), so i guess at
this point it is not reasonable at all.

However, i have heard they are trying to solve it in future versions of
dotlrn, so chances are that it could be done then.

>  * Ask the security team to add dotlrn -> openacs as an embedded copy in
>the security tracker. I can do that.

I'm afraid that could be the best option for now, i would be grateful if
you could do that, thanks!

Héctor


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#681022: unblock: openacs/5.7.0+dfsg-2

2013-01-30 Thread Hector Romojaro
Previously mentioned debdiff attached.
diff -u openacs-5.5.1+dfsg/debian/control openacs-5.5.1+dfsg/debian/control
--- openacs-5.5.1+dfsg/debian/control
+++ openacs-5.5.1+dfsg/debian/control
@@ -13,7 +13,7 @@
 Package: openacs
 Architecture: all
 Depends: ${misc:Depends}, aolserver4-daemon (>= 4.5.1-11), aolserver4-nspostgres, aolserver4-nssha1, postgresql-client, adduser, tclthread (>= 1:2.6.5-3), tcllib,
- tcl (>= 8.4), wwwconfig-common, debconf, xotcl, aolserver4-xotcl, imagemagick, zip, unzip, tdom (>= 0.8.3~20080525)
+ tcl (>= 8.4), wwwconfig-common, debconf, xotcl, aolserver4-xotcl, imagemagick, zip, unzip, tdom (>= 0.8.3~20080525), ucf
 Suggests: postgresql, daemontools, daemontools-run
 Description: toolkit for building community-oriented web applications
  OpenACS (Open Architecture Community System) is a toolkit for building
diff -u openacs-5.5.1+dfsg/debian/changelog openacs-5.5.1+dfsg/debian/changelog
--- openacs-5.5.1+dfsg/debian/changelog
+++ openacs-5.5.1+dfsg/debian/changelog
@@ -1,3 +1,17 @@
+openacs (5.5.1+dfsg-2+wheezy1) testing-proposed-updates; urgency=low
+
+  * Fixed local config management. Closes: #688566
+- Updated README.Debian
+- Autogenerated config.local file with database
+  local settings.
+- Added openacs.preinst file with a fix for old
+  postinst modified config.tcl.
+- Importing old config.tcl or config.local database settings.
+- Fixed config.local permissions in postinst.
+  * Fixed aolserver restart call in postrm.
+
+ -- Hector Romojaro   Sat, 29 Sep 2012 01:10:34 +0200
+
 openacs (5.5.1+dfsg-2) unstable; urgency=high
 
   * Fixed severe vulnerability in the api-browser: it was possible to pass 
diff -u openacs-5.5.1+dfsg/debian/postinst openacs-5.5.1+dfsg/debian/postinst
--- openacs-5.5.1+dfsg/debian/postinst
+++ openacs-5.5.1+dfsg/debian/postinst
@@ -60,8 +60,6 @@
 
 	# Read debconf and edit the config file accordingly
 	get_config
-	db_stop
-	exec 0<&1
 	
 	 # Care about the repository
 repository=/var/lib/openacs
@@ -93,7 +91,7 @@
 	dbadmpass=$dba_password
 	dbuser=$dbu_name
 dbpass=$dbu_password
-	
+
 	# is the database server available? Then create the user.
 . /usr/share/wwwconfig-common/pgsql-createuser.sh > /dev/null
 if [ "$status" = "error" ]
@@ -147,10 +145,31 @@
 			fi
 		fi
 
-		# Modify config.tcl with debconf values
-		dbuser=$dbu_name
-	dbpass=$dbu_password	
-		sed -i "/^set db_host/,/^set db_user/d;s/## Debconf changes (DO NOT EDIT BYHAND) ##/&\nset db_host   $dbserver\nset db_password   \"$dbpass\"\nset db_port   \"5432\"\nset db_user   $dbuser/" /etc/openacs/config.tcl
+# Create /etc/openacs/config.local file with debconf
+# values, and manage with ucf.
+# Create file
+localconfigtmp=$(mktemp)
+localconfig="/etc/openacs/config.local"
+cat > $localconfigtmp < $sqlfile
 	. /usr/share/wwwconfig-common/pgsql-exec.sh
 		rm -f $sqlfile
-
+
 		# Restart aolserver
 		invoke-rc.d aolserver4 restart
 
@@ -201,6 +220,8 @@
 
 #DEBHELPER#
 
+db_stop
+
 exit 0
 
 
diff -u openacs-5.5.1+dfsg/debian/config openacs-5.5.1+dfsg/debian/config
--- openacs-5.5.1+dfsg/debian/config
+++ openacs-5.5.1+dfsg/debian/config
@@ -6,6 +6,31 @@
 db_version 2.0
 db_capb backup
 
+# Manage old configuration.
+if [ -f /etc/openacs/config.tcl.old_version ] || [ -f /etc/openacs/config.local ]; then
+
+# Previous or equal to 5.5.1+dfsg-2 
+if [ -f /etc/openacs/config.tcl.old_version ]; then
+old_configfile=$(mktemp)
+# Retrieve old values
+sed -n '/## Debconf changes/,/## End Debconf/p;' /etc/openacs/config.tcl.old_version | sed 's/^[ \t]*set\ //;/^\#/d;s/db_host/db_host=/;s/db_password/db_password=/;s/db_user/db_user=/;s/=[ \t]*/=/;' > $old_configfile
+fi
+
+# After 5.5.1+dfsg-2
+if [ -f /etc/openacs/config.local ]; then
+old_configfile=/etc/openacs/config.local
+fi
+
+# Feed debconf with them
+db_set openacs/db_host $(grep "^db_host" $old_configfile | sed s/^db_host=//)
+db_set openacs/dbu_name $(grep "^db_user" $old_configfile | sed s/^db_user=//)
+db_set openacs/dbu_password "$(grep "^db_password" $old_configfile | sed 's/^db_password=//;s/\"//g')"
+db_set openacs/dbu_confirm "$(grep "^db_password" $old_configfile | sed 's/^db_password=//;s/\"//g')"
+
+# Delete old files if needed
+if [ -f /etc/openacs/config.tcl.old_version ]; then rm -f /etc/openacs/config.tcl.old_version $old_configfile; fi
+fi
+
 # Reset passwords if reconfigure
 if [ "$1" = "reconfigure" ] ; then
 	db_reset openacs/dba_password
@@ -119 +143,0 @@
-
diff -u openacs-5.5.1+dfsg/debian/README.Debian openacs-5

Bug#681022: unblock: openacs/5.7.0+dfsg-2

2013-01-24 Thread Hector Romojaro
Hi!

I guess the previous mail could had fallen into oblivion due to the
archive of the bug, therefore unarchiving and reopening :)

El sáb, 05-01-2013 a las 10:51 +0100, Hector Romojaro escribió:
> 
> Hi!
> 
> I have uploaded a new version of the openacs package containing the fix
> for the RC bug (#688566) to svn, and asked for upload to t-p-u to my
> sponsor[1]. The new version is 5.5.1+dfsg-2+wheezy1, debdiff with the
> changes is attached.
> 
> About the bug and fix, is almost the same issue as with dotlrn package
> (please see #681016[2]), and so it is the proposed fix. I would like to
> ask for it to be included into wheezy.
> 
> Thanks in advance, and sorry for any inconvenience.
> 
> [1] 
> http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/2013-January/002153.html
> [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681016
> 
> Kind regards,
> Héctor
> 


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#681016: [release.debian.org] unblock: dotlrn/2.5.0+dfsg-8

2013-01-04 Thread Hector Romojaro
Control: reopen -1

Hi!

Andreas Beackmann reported an issue with the old config management fix
when the package is in "config files remaining" state (please see
#688435 for details), and provided a small fix for it.

I have applied the fix (please find debdiff between wheezy3 and wheezy4
attached) and would like to ask for it to be uploaded to wheezy.

@Frankie: new version is already in svn, could you please upload to
t-p-u if the changes are accepted?

Thanks in advance!

Kind regards,
Héctor
diff -u dotlrn-2.5.0+dfsg/debian/changelog dotlrn-2.5.0+dfsg/debian/changelog
--- dotlrn-2.5.0+dfsg/debian/changelog
+++ dotlrn-2.5.0+dfsg/debian/changelog
@@ -1,3 +1,11 @@
+dotlrn (2.5.0+dfsg-6+wheezy4) testing-proposed-updates; urgency=low
+
+  * Fixed old config management in preinst when the package is in 
+"config files remaining" state (thanks to Andreas Beckmann for 
+reporting this and providing the fix). Closes: #688435
+
+ -- Hector Romojaro   Fri, 04 Jan 2013 14:31:49 +0100
+
 dotlrn (2.5.0+dfsg-6+wheezy3) testing-proposed-updates; urgency=low
 
   * Fixed aolserver restart call in postrm.
diff -u dotlrn-2.5.0+dfsg/debian/dotlrn.preinst dotlrn-2.5.0+dfsg/debian/dotlrn.preinst
--- dotlrn-2.5.0+dfsg/debian/dotlrn.preinst
+++ dotlrn-2.5.0+dfsg/debian/dotlrn.preinst
@@ -4,10 +4,7 @@
 
 case "$1" in
 
-install)
-;;
-
-upgrade)
+install|upgrade)
 # If we're upgrading from 2.5.0+dfsg-6+wheezy1 or earlier, we have to
 # deal with config.tcl which was marked as a conffile and 
 # modified by postinst script.
@@ -18,7 +15,7 @@
 #
 # See Bug #688435
 #  
-if dpkg --compare-versions "$2" le "2.5.0+dfsg-6+wheezy1"
+if dpkg --compare-versions "$2" le-nl "2.5.0+dfsg-6+wheezy1"
 then
 # First, make a copy so we can get the old config values
 cp /etc/dotlrn/config.tcl /etc/dotlrn/config.tcl.old_version


Bug#681016: [release.debian.org] unblock: dotlrn/2.5.0+dfsg-8

2012-12-16 Thread Hector Romojaro
El dom, 09-12-2012 a las 16:52 +, Adam D. Barratt escribió:
> Apologies for the long delay in getting back to you about this; it
> managed to slip under the radar somehow.  Please go ahead with the
> upload; thanks.

It is Ok, thanks for taking a look at this and accepting the changes.

I have already asked my sponsor Frankie for upload, and I will apply
those changes to the openacs package as well, and also to both openacs
and dotlrn packages in unstable.

Regards,
Héctor


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#681016: [release.debian.org] unblock: dotlrn/2.5.0+dfsg-8

2012-10-27 Thread Hector Romojaro
Hi,

I have fixed the postinst permission issue, the postrm aolserver call
and now the local config modifications are authoritative and debconf
values are overwritten with them at the beginning of the config script.

debdiff between testing version (2.5.0+dfsg6) and this new one (2.5.0
+dfsg-6+wheezy3) is attached. I have chosen to send the debdiff before
asking for upload to t-p-u this time, so I don't have to bother my
sponsor. I guess it's better for all, but please let me know if I am
wrong. Once the changes are accepted, i will ask him for upload to t-p-u
and notify here afterwards. 

Thanks again for your time and sorry for any inconvenience.

Kind regards,
Héctor
diff -u dotlrn-2.5.0+dfsg/debian/control dotlrn-2.5.0+dfsg/debian/control
--- dotlrn-2.5.0+dfsg/debian/control
+++ dotlrn-2.5.0+dfsg/debian/control
@@ -14,7 +14,7 @@
 Architecture: all
 Depends: ${misc:Depends}, aolserver4-daemon (>= 4.5.1-11), aolserver4-nspostgres, aolserver4-nssha1, postgresql-client, 
  adduser, tclthread (>= 1:2.6.5-3), tcllib, tcl (>= 8.4), wwwconfig-common, debconf, xotcl, 
- aolserver4-xotcl, imagemagick, zip, unzip, tdom (>= 0.8.3~20080525) 
+ aolserver4-xotcl, imagemagick, zip, unzip, tdom (>= 0.8.3~20080525), ucf 
 Suggests: postgresql, daemontools, daemontools-run
 Description: e-learning portal system based on OpenACS
  dotLRN is a complete Learning Management System that integrates course
diff -u dotlrn-2.5.0+dfsg/debian/changelog dotlrn-2.5.0+dfsg/debian/changelog
--- dotlrn-2.5.0+dfsg/debian/changelog
+++ dotlrn-2.5.0+dfsg/debian/changelog
@@ -1,3 +1,29 @@
+dotlrn (2.5.0+dfsg-6+wheezy3) testing-proposed-updates; urgency=low
+
+  * Fixed aolserver restart call in postrm.
+  * Fixed config.local permissions in postinst.
+  * Importing old config.tcl or config.local database settings. 
+
+ -- Hector Romojaro   Thu, 25 Oct 2012 14:07:09 +0200
+
+dotlrn (2.5.0+dfsg-6+wheezy2) testing-proposed-updates; urgency=low
+
+  * Fixed local config management. Closes: #688435
+- Updated README.Debian
+- Autogenerated config.local file with database
+  local settings.
+- Added dotlrn.preinst file with a fix for old
+  postinst modified config.tcl.
+
+ -- Hector Romojaro   Sat, 29 Sep 2012 01:12:07 +0200
+
+dotlrn (2.5.0+dfsg-6+wheezy1) testing-proposed-updates; urgency=low
+
+  * Fixed call to ucf on postrm. (#677060). For details about why this
+is fixed at testing-proposed-updates, please see #681016.
+
+ -- Hector Romojaro   Wed, 22 Aug 2012 13:45:03 +0200
+
 dotlrn (2.5.0+dfsg-6) unstable; urgency=low
 
   * Updated Dutch translation. Closes: #660229 
diff -u dotlrn-2.5.0+dfsg/debian/postinst dotlrn-2.5.0+dfsg/debian/postinst
--- dotlrn-2.5.0+dfsg/debian/postinst
+++ dotlrn-2.5.0+dfsg/debian/postinst
@@ -60,8 +60,6 @@
 
 	# Read debconf and edit the config file accordingly
 	get_config
-	db_stop
-	exec 0<&1
 	
 	 # Care about the repository
 repository=/var/lib/dotlrn
@@ -151,10 +149,32 @@
 /etc/init.d/postgresql reload
 			fi
 		fi
-		# Modify config.tcl with debconf values
-		dbuser=$dbu_name
-	dbpass=$dbu_password	
-		sed -i "/^set db_host/,/^set db_user/d;s/## Debconf changes (DO NOT EDIT BYHAND) ##/&\nset db_host   $dbserver\nset db_password   \"$dbpass\"\nset db_port   \"5432\"\nset db_user   $dbuser/" /etc/dotlrn/config.tcl
+
+# Create /etc/dotlrn/config.local file with debconf
+# values, and manage with ucf.
+# Create file
+localconfigtmp=$(mktemp)
+localconfig="/etc/dotlrn/config.local"
+cat > $localconfigtmp < $old_configfile
+fi
+
+# After 2.5.0+dfsg-6+wheezy1
+if [ -f /etc/dotlrn/config.local ]; then
+old_configfile=/etc/dotlrn/config.local
+fi
+
+# Feed debconf with them
+db_set dotlrn/db_host $(grep "^db_host" $old_configfile | sed s/^db_host=//)
+db_set dotlrn/dbu_name $(grep "^db_user" $old_configfile | sed s/^db_user=//)
+db_set dotlrn/dbu_password "$(grep "^db_password" $old_configfile | sed 's/^db_password=//;s/\"//g')"
+db_set dotlrn/dbu_confirm "$(grep "^db_password" $old_configfile | sed 's/^db_password=//;s/\"//g')"
+
+# Delete old files if needed
+if [ -f /etc/dotlrn/config.tcl.old_version ]; then rm -f /etc/dotlrn/config.tcl.old_version $old_configfile; fi
+fi
+
 # Reset passwords if reconfigure
 if [ "$1" = "reconfigure" ] ; then
 	db_reset dotlrn/dba_password
diff -u dotlrn-2.5.0+dfsg/debian/README.Debian dotlrn-2.5.0+dfsg/debian/README.Debian
--- dotlrn-2.5.0+dfsg/debian/README.Debian
+++ dotlrn-2.5.0+dfsg/debian/README.Debian
@@ -29,6 +29,8 @@
 The address and port that dotLRN will listen on can be configured
 in /etc/aolserver4/conf.d/dotlrn.sh.
 
+Local database settings can be found in /etc

Bug#681016: [release.debian.org] unblock: dotlrn/2.5.0+dfsg-8

2012-10-19 Thread Hector Romojaro
> Ping?

Been trying to make some time to do the modifications so the config file
is taken as the authoritative source (instead of debconf), and upload a
new version of the package.

Will do it in the next few days.

Regards, 
Héctor


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#681016: [release.debian.org] unblock: dotlrn/2.5.0+dfsg-8

2012-10-02 Thread Hector Romojaro
> Thanks.  btw, I'm assuming these issues also apply to the package in
> unstable? If so then they should really be fixed there too.

Yes, once the solution is "definitive" i'll apply the changes to
unstable, otherwise it will break on the upgrade. Openacs package has
the same issues so it will be updated too.

> +ucf --debconf-ok $localconfigtmp $localconfig || cp -f 
> $localconfigtmp $localconfig
> 
> Under what circumstances might ucf fail in a way that would necessitate
> the forced copying?

None in particular, just thought it could be more robust that way. In
case local ucf is broken somehow, dotlrn could install anyway.

> +chmod 640 $localconfig
> +chown www-data:www-data $localconfig
> 
> This looks like it would overwrite any local changes made to the
> permissions?

Yes, should i check if the file already exists and respect the existing
permissions?

> +rm -f /etc/aolserver4/conf.d/dotlrn.tcl 
> /etc/aolserver4/conf.d/dotlrn.sh
> +# Start aolserver after removal
> +[ -f /etc/init.d/aolserver4 ] && invoke-rc.d aolserver4 start
> 
> What's the logic here? If the intention is to make aolserver4 notice
> that the configuration files have gone away then "restart" would
> probably be more appropriate? There is a potential issue here though if
> the service wasn't actually running before dotlrn was removed.

I see, so could this be an acceptable replacement?

[ -f /etc/init.d/aolserver4 ] && [ -f /var/run/aolserver4/dotlrn.pid ]
&& invoke-rc.d aolserver4 restart

...or this one, assuming /etc/init.d/aolserver4 exists if there is
a /var/run/aolserver4/dotlrn.pid file:

[ -f /var/run/aolserver4/dotlrn.pid ] && invoke-rc.d aolserver4 restart

> +# If the file was not modified by the user, then we can restore
> +# it to its initial state (before running postinst and modify it
> +# with debconf values) by deleting the modified lines.
> +#
> +# See Bug #688435
> +#  
> +if dpkg --compare-versions "$2" le "2.5.0+dfsg-6+wheezy1"
> +then
> +# Reset config.tcl to its primordial state
> +sed -i '/set db_host/,/set db_user/d' /etc/dotlrn/config.tcl
> +fi
> 
> If the file had been modified by the user, you've just overwritten their
> changes? I guess that would already have happened with the forced
> debconf overwrite. :-(

Only the changes between the lines "## Debconf changes (DO NOT EDIT
BYHAND) ##" and "## End Debconf Changes ###" are
overwritten.

The idea behind this was:
- If the file wasn't modified by the user, then the upgrade is performed
smoothly and the new config.local file is generated with the old debconf
values.
- If the "debconf block" was modified by hand by the user, then
overwrite the changes with the debconf ones in config.local. It should
be ok, because there was a warning about not doing that.
- If another block of the file was modified by the user, then prompt him
about the changes, as with any other config file.

Now, i realise that i'm assuming that the user should only use debconf
to modify these changes (database settings, via package reconfigure),
should i give the user the chance to edit this settings by hand,
checking them on preinst and replacing the current debconf values with
the modified ones?

Thanks again!

Kind regards, 
Héctor


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#681016: [release.debian.org] unblock: dotlrn/2.5.0+dfsg-8

2012-10-01 Thread Hector Romojaro
Hi,

I have uploaded the new version containing the fix for the new RC bug
previously mentioned to svn, and asked for upload to t-p-u to my
sponsor[1].

About the bug and the fix, the problem was that /etc/dotlrn/config.tcl
was being modified by debconf on the install and, as it's marked as a
conffile, on the upgrade is detected as modified by the user (even if
that's not the case).

The fix consists in using another file (/etc/dotlrn/config.local)
containing the local config values, managed bu ucf and modified by
debconf on the install, and import these values from the original
config.tcl file. Also, the preinst script tries to revert the config.tcl
to its primordial state so it's not detected as modified on the upgrade.

Please let me know if you need more information or there is a problem.
Attached debdiff between 2.5.0+dfsg6 (version in testing) and 2.5.0
+dfsg-6+wheezy2 (the new version) for
your convenience.

Thank you very much for your time, and sorry for any inconvenience.

[1]
http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/2012-October/002102.html

Kind regards,
Héctor
diff -u dotlrn-2.5.0+dfsg/debian/control dotlrn-2.5.0+dfsg/debian/control
--- dotlrn-2.5.0+dfsg/debian/control
+++ dotlrn-2.5.0+dfsg/debian/control
@@ -14,7 +14,7 @@
 Architecture: all
 Depends: ${misc:Depends}, aolserver4-daemon (>= 4.5.1-11), aolserver4-nspostgres, aolserver4-nssha1, postgresql-client, 
  adduser, tclthread (>= 1:2.6.5-3), tcllib, tcl (>= 8.4), wwwconfig-common, debconf, xotcl, 
- aolserver4-xotcl, imagemagick, zip, unzip, tdom (>= 0.8.3~20080525) 
+ aolserver4-xotcl, imagemagick, zip, unzip, tdom (>= 0.8.3~20080525), ucf 
 Suggests: postgresql, daemontools, daemontools-run
 Description: e-learning portal system based on OpenACS
  dotLRN is a complete Learning Management System that integrates course
diff -u dotlrn-2.5.0+dfsg/debian/changelog dotlrn-2.5.0+dfsg/debian/changelog
--- dotlrn-2.5.0+dfsg/debian/changelog
+++ dotlrn-2.5.0+dfsg/debian/changelog
@@ -1,3 +1,21 @@
+dotlrn (2.5.0+dfsg-6+wheezy2) testing-proposed-updates; urgency=low
+
+  * Fixed local config management. Closes: #688435
+- Updated README.Debian
+- Autogenerated config.local file with database
+  local settings.
+- Added dotlrn.preinst file with a fix for old
+  postinst modified config.tcl.
+
+ -- Hector Romojaro   Sat, 29 Sep 2012 01:12:07 +0200
+
+dotlrn (2.5.0+dfsg-6+wheezy1) testing-proposed-updates; urgency=low
+
+  * Fixed call to ucf on postrm. (#677060). For details about why this
+is fixed at testing-proposed-updates, please see #681016.
+
+ -- Hector Romojaro   Wed, 22 Aug 2012 13:45:03 +0200
+
 dotlrn (2.5.0+dfsg-6) unstable; urgency=low
 
   * Updated Dutch translation. Closes: #660229 
diff -u dotlrn-2.5.0+dfsg/debian/postinst dotlrn-2.5.0+dfsg/debian/postinst
--- dotlrn-2.5.0+dfsg/debian/postinst
+++ dotlrn-2.5.0+dfsg/debian/postinst
@@ -60,8 +60,6 @@
 
 	# Read debconf and edit the config file accordingly
 	get_config
-	db_stop
-	exec 0<&1
 	
 	 # Care about the repository
 repository=/var/lib/dotlrn
@@ -151,10 +149,27 @@
 /etc/init.d/postgresql reload
 			fi
 		fi
-		# Modify config.tcl with debconf values
-		dbuser=$dbu_name
-	dbpass=$dbu_password	
-		sed -i "/^set db_host/,/^set db_user/d;s/## Debconf changes (DO NOT EDIT BYHAND) ##/&\nset db_host   $dbserver\nset db_password   \"$dbpass\"\nset db_port   \"5432\"\nset db_user   $dbuser/" /etc/dotlrn/config.tcl
+
+# Create /etc/dotlrn/config.local file with debconf
+# values, and manage with ucf.
+# Create file
+localconfigtmp=$(mktemp)
+localconfig="/etc/dotlrn/config.local"
+cat > $localconfigtmp </dev/null; then
+ucf --purge /etc/dotlrn/config.local
+fi
+if which ucfr >/dev/null; then
+ucfr --purge dotlrn /etc/dotlrn/config.local
+fi
+rm -f /etc/aolserver4/conf.d/dotlrn.tcl /etc/aolserver4/conf.d/dotlrn.sh
+# Start aolserver after removal
+[ -f /etc/init.d/aolserver4 ] && invoke-rc.d aolserver4 start
 	;;
 
 	remove)
@@ -30,6 +33,8 @@
 		db_version 2.0
 
 		rm -rf /usr/share/dotlrn
+# Start aolserver after removal
+[ -f /etc/init.d/aolserver4 ] && invoke-rc.d aolserver4 start
 	;;
 
	upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
diff -u dotlrn-2.5.0+dfsg/debian/patches/config.dpatch dotlrn-2.5.0+dfsg/debian/patches/config.dpatch
--- dotlrn-2.5.0+dfsg/debian/patches/config.dpatch
+++ dotlrn-2.5.0+dfsg/debian/patches/config.dpatch
@@ -5,9 +5,9 @@
 ## DP: Adaptation of config.tcl and daemontools/run to debian install.
 
 @DPATCH@
-diff -urNad trunk~/etc/config.tcl trunk/etc/config.tcl
 trunk~/etc/config.tcl	2009-03-31 19:14:52.0 +0200
-+++ trunk/etc/config.tcl	2009-10-16 20:36:07.0

Bug#681016: [release.debian.org] unblock: dotlrn/2.5.0+dfsg-8

2012-09-30 Thread Hector Romojaro
> The package does not appear to ever use ucf to manage its configuration
> files, nor is there any suggestion in the changelog that it ever did so.
> If that's the case, why are the calls to ucf{,r} in the postrm to begin
> with?

The ucf calls in postrm seem to be remnants of the moodle package code
that inspired the first version of the package (moodle package was used
as a template of web application with database access due to its
similarities with dotlrn (and openacs) packages). They have been there
almost unaltered since the first version, and nobody noticed they were
useless until now... which is weird.

I honestly didn't even consider if they were necessary in the first
place when i fixed the bug, just assumed they were there for any good
reason.

So, the proposed update doesn't seem adequate, to say the least. Also, a
RC bug has been filed against dotlrn this week which involves config
management[1] and, ironically, the solution involves using ucf to manage
a debconf generated config file, so i was thinking on fixing the two
issues at the same time, if that's fine. I'm working on it right now,
and plan to commit to svn and ask for upload to t-p-u before tomorrow.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688435

Kind regards,
Héctor


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#681016: [release.debian.org] unblock: dotlrn/2.5.0+dfsg-8

2012-08-31 Thread Hector Romojaro
> Is there an ETA for the t-p-u upload being ready for review?

The package is ready and i have made the upload request to my sponsor at
the pkg-tcltk-devel list:
http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/2012-August/002078.html

Regards,
Héctor


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#681016: [release.debian.org] unblock: dotlrn/2.5.0+dfsg-8

2012-08-22 Thread Hector Romojaro
Just waiting to see if anyone else has something to say about it, but it
doesn't seem the case.

Ok, i'll prepare the fix for #677060 and ask for upload to
testing-proposed-updates.

Thanks for having a look at this.

Regards, Héctor


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#681016: [release.debian.org] unblock: dotlrn/2.5.0+dfsg-8

2012-07-09 Thread Hector Romojaro
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: freeze-exception

--- Please enter the report below this line. ---

Hi Relase Team!

Please unblock package dotlrn. It fixes an important bug (#677060) and a minor 
patch issue. 

Unfortunately, and I apologize for that, the previous version (2.5.0+dfsg-7) 
also included the migration of the package format to the new 3.0 one (#661038), 
but didn't reach testing on time before the freeze, so the version now in 
unstable (2.5.0+dfsg-8) also differs from the testing one (2.5.0+dfsg-6) in the 
package format issue.

Please find in attachment the debdiff between testing and unstable versions.

Kind regards,

Héctor Romojaro

unblock: dotlrn/2.5.0+dfsg-8

--- System information. ---
Architecture: amd64
Kernel:   Linux 3.2.0-3-amd64

Debian Release: wheezy/sid
  500 unstablewww.debian-multimedia.org 
  500 unstableftp.uk.debian.org 
  500 stable  dl.google.com 
  500 maverickppa.launchpad.net 
  500 karmic  ppa.launchpad.net 
1 experimentalftp.uk.debian.org 

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.




diff -Nru dotlrn-2.5.0+dfsg/debian/changelog dotlrn-2.5.0+dfsg/debian/changelog
--- dotlrn-2.5.0+dfsg/debian/changelog	2012-07-09 23:12:52.0 +0200
+++ dotlrn-2.5.0+dfsg/debian/changelog	2012-07-09 15:22:51.0 +0200
@@ -1,3 +1,17 @@
+dotlrn (2.5.0+dfsg-8) unstable; urgency=low
+
+  * Fixed call to ucf on postrm. Closes: #677060
+  * Fixed interpreters-path.patch
+  * Policy bumped to 3.9.3 without changes.
+
+ -- Hector Romojaro   Thu, 28 Jun 2012 16:32:23 +0200
+
+dotlrn (2.5.0+dfsg-7) unstable; urgency=low
+
+  * Updated to 3.0 packaging format. Closes: #661038
+
+ -- Hector Romojaro   Sat, 03 Mar 2012 12:54:39 +0100
+
 dotlrn (2.5.0+dfsg-6) unstable; urgency=low
 
   * Updated Dutch translation. Closes: #660229 
diff -Nru dotlrn-2.5.0+dfsg/debian/control dotlrn-2.5.0+dfsg/debian/control
--- dotlrn-2.5.0+dfsg/debian/control	2012-07-09 23:12:52.0 +0200
+++ dotlrn-2.5.0+dfsg/debian/control	2012-07-09 15:22:51.0 +0200
@@ -4,8 +4,8 @@
 Maintainer: Hector Romojaro 
 Uploaders: Francesco Paolo Lovergine 
 Build-Depends-Indep: po-debconf
-Build-Depends: debhelper (>= 7), dpatch
-Standards-Version: 3.9.2
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.9.3
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-tcltk/dotlrn/trunk
 Vcs-Svn: svn://svn.debian.org/svn/pkg-tcltk/dotlrn/trunk
 Homepage: http://www.dotlrn.org/
@@ -15,7 +15,7 @@
 Depends: ${misc:Depends}, aolserver4-daemon (>= 4.5.1-11), aolserver4-nspostgres, aolserver4-nssha1, postgresql-client, 
  adduser, tclthread (>= 1:2.6.5-3), tcllib, tcl (>= 8.4), wwwconfig-common, debconf, xotcl, 
  aolserver4-xotcl, imagemagick, zip, unzip, tdom (>= 0.8.3~20080525) 
-Suggests: postgresql, daemontools, daemontools-run
+Suggests: postgresql-8.4, daemontools, daemontools-run
 Description: e-learning portal system based on OpenACS
  dotLRN is a complete Learning Management System that integrates course
  and content administration tools and collaborative tools into a
diff -Nru dotlrn-2.5.0+dfsg/debian/docs dotlrn-2.5.0+dfsg/debian/docs
--- dotlrn-2.5.0+dfsg/debian/docs	2012-07-09 23:12:52.0 +0200
+++ dotlrn-2.5.0+dfsg/debian/docs	2012-07-09 15:22:51.0 +0200
@@ -1,2 +1 @@
-debian/README.source
 debian/README.daemontools
diff -Nru dotlrn-2.5.0+dfsg/debian/patches/00list dotlrn-2.5.0+dfsg/debian/patches/00list
--- dotlrn-2.5.0+dfsg/debian/patches/00list	2012-07-09 23:12:52.0 +0200
+++ dotlrn-2.5.0+dfsg/debian/patches/00list	1970-01-01 01:00:00.0 +0100
@@ -1,6 +0,0 @@
-config.dpatch
-interpreters-path.dpatch
-interpreters-bashisms.dpatch
-install.dpatch
-xinha-iconset.dpatch
-securityfix.dpatch
diff -Nru dotlrn-2.5.0+dfsg/debian/patches/config.dpatch dotlrn-2.5.0+dfsg/debian/patches/config.dpatch
--- dotlrn-2.5.0+dfsg/debian/patches/config.dpatch	2012-07-09 23:12:52.0 +0200
+++ dotlrn-2.5.0+dfsg/debian/patches/config.dpatch	1970-01-01 01:00:00.0 +0100
@@ -1,147 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## config.dpatch by  
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Adaptation of config.tcl and daemontools/run to debian install.
-
-@DPATCH@
-diff -urNad trunk~/etc/config.tcl trunk/etc/config.tcl
 trunk~/etc/config.tcl	2009-03-31 19:14:52.0 +0200
-+++ trunk/etc/config.tcl	2009-10-16 20:36:07.0 +0200
-@@ -9,8 +9,10 @@
- ## 
- 
- #-
--# change to 80 and 443 for production use
--set httpport  8000
-+# Defined in /etc/aolserver4/conf.d/openacs.sh
-+set httpport  [exec grep "^AO

Bug#667859: [Pkg-tcltk-devel] Bug#667859: [NMU] tdom: Helping to update to packaging format 3.0

2012-05-11 Thread Hector Romojaro
Hi Jari,

There is a patch waiting in SVN[1] for review and upload by the tcltk
devels, including 3.0 migration and debhelper 7 rules file.

[1] http://svn.debian.org/viewsvn/pkg-tcltk/tdom/




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#611661: Bundled plugins using Xinha allow malicious file uploads

2011-03-08 Thread Hector Romojaro
Hi,

About openacs and dotlrn packages, I don't think they are affected by
any of the Xinha vulnerabilities [1][2][3]. The summary says:

"Xinha ships with several plugins that utilize PHP scripting for special
usage, like the ImageManager or ExtendedFileManager. A 0-day security
exploit has been reported available as of today that exploits the
functionality of these plugins to upload malicious files to your
webspace, to execute foreign code." [4]

It seems a PHP problem, and the proposed fix is just to remove a bunch
of php files, so I guess the packages are safe because they don't use
PHP at all, as well as the aolserver package. There is no way to execute
that PHP code on openacs or dotlrn.

[1] http://security-tracker.debian.org/tracker/CVE-2011-1133
[2] http://security-tracker.debian.org/tracker/CVE-2011-1134
[3] http://security-tracker.debian.org/tracker/CVE-2011-1135
[4]
http://blog.s9y.org/archives/224-Important-Security-Update-Serendipity-1.5.5-released.html

Cheers, Héctor




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595499: fails to install

2010-09-05 Thread Hector Romojaro
Hi,

> yeah, something like this. No need for ascii-art though, and you also 
> shouldnt 
> expect that the text is actually read :-) (So better provide information in a 
> README file than in the failure text.)

Ok then, i'll leave it like this:

[...]
Setting up dotlrn (2.5.0+dfsg-6) ...
* Error trying to connect to Postgresql server.
(TIP: is the postgresql package installed?)

... and add some info about postgresql dependency on the README.Debian
file.

Thanks!

Cheers, Héctor






-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595499: fails to install

2010-09-05 Thread Hector Romojaro
> > So, is it really a bug? Should I add a postgresql strict dependency, and
> > forgot about installing with a remote database?
> 
> No, that's the wrong solution. The right solution is to deal gracefully if no 
> postgresql is (locally) available.

mm... something like this?


Reading package lists... Done
Building dependency tree   
Reading state information... Done
Selecting previously deselected package dotlrn.
(Reading database ... 156188 files and directories currently installed.)
Unpacking dotlrn (from dotlrn_2.5.0+dfsg-5_all.deb) ...
Setting up dotlrn (2.5.0+dfsg-5) ...
* Error trying to connect to Postgresql server.
* TIP: is the postgresql package installed?
-
I've tried my best to create the dotLRN user and database
but an error has occurred
-
You will have to set up the dotLRN user and database yourself
-


... and then exit without errors?

Cheers, Héctor




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#595499: fails to install

2010-09-04 Thread Hector Romojaro
Hi Holger,

>   Setting up dotlrn (2.5.0-4) ...
>   psql: could not connect to server: No such file or directory
>   Is the server running locally and accepting
>   connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
>   dpkg: error processing dotlrn (--configure):
>subprocess installed post-installation script returned error exit status 2
>   Errors were encountered while processing:
>dotlrn
>   E: Sub-process /usr/bin/dpkg returned an error code (1)

It looks like the problem is that there is no available postgresql
server. Postgresql package is "suggested" by dotlrn on the control file,
but it's not a dependency because it's possible to install dotlrn with
an external postgresql database. The installer asks about the database
location, and creates the database wherever it is.

So, is it really a bug? Should I add a postgresql strict dependency, and
forgot about installing with a remote database?

Cheers, Héctor




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#479708: [Pkg-javascript-devel] Bug#479708: ITP: xinha -- powerfulWYSIWYG HTML editor

2010-03-04 Thread Hector Romojaro
El mar, 02-03-2010 a las 09:33 +0100, Francesco P. Lovergine escribió:
> On Tue, Mar 02, 2010 at 07:53:23AM +0100, Hector Romojaro wrote:
> > Hi Marcelo,
> > 
> > Sorry for the delay, I've been talking with the upstream authors of both
> > dotlrn and openacs about using the xinha debian package instead of
> > providing their own one. They are using at least two own xinha plugins,
> > and may have modified others as well. 
> > 
> > Should i join pkg-javascript to talk about it in its proper place :-)?
> > 
> 
> Well, better being informed about its maintainance and probably
> partecipate to packaging when needed, so yes IMHO. 

Requested! (geox-guest) :-)

Cheers, Héctor




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#479708: [Pkg-javascript-devel] Bug#479708: ITP: xinha -- powerful WYSIWYG HTML editor

2010-03-01 Thread Hector Romojaro
Hi Marcelo,

Sorry for the delay, I've been talking with the upstream authors of both
dotlrn and openacs about using the xinha debian package instead of
providing their own one. They are using at least two own xinha plugins,
and may have modified others as well. 

Should i join pkg-javascript to talk about it in its proper place :-)?

Cheers, Héctor

El jue, 11-02-2010 a las 18:52 -0200, Marcelo Jorge Vieira (metal)
escribió:
> Hi Mathieu,
> 
> > Currently, it is on SVN
> > (http://svn.debian.org/wsvn/collab-maint/ext-maint/xinha/#_ext-maint_xinha_).
> > I can migrate to git. Are there some guidelines?
> 
> Here http://wiki.debian.org/Alioth/Git#ConvertaSVNAliothrepositorytoGit
> 
> 
> > I have requested to join pkg-javascript on alioth (login=sathieu).
> 
> I accepted the request... Welcome to the team =D
> 
> 
> Cheers,
> 





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#564128: [INTL:sv] Swedish strings for dotlrn debconf

2010-01-11 Thread Hector Romojaro
> Indeed. Sorry, I reused the strings from OpenACS but wasn't careful
> enough. Will you do the honors or shall I send a new file?

No problem, I'll fix it.

Thanks again,
Héctor





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#564128: [INTL:sv] Swedish strings for dotlrn debconf

2010-01-11 Thread Hector Romojaro
Hi Martin,

Thanks for the translation, only one issue with it:

#. Type: string
#. Description
#: ../templates:1001
#| msgid "Host running the ${dbvendor} server for ${pkg}:"
msgid "Host running the PostgreSQL server for dotLRN:"
msgstr "Värd som kör PostgreSQL-servern för OpenACS:"

Shouldn't it be "Värd som kör PostgreSQL-servern för dotLRN:"? (this is
the dotLRN package, not the OpenACS one).

Regards, Héctor




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#564492: dotlrn: [INTL:fi] Updated Finnish translation of the debconf templates

2010-01-10 Thread Hector Romojaro
El sáb, 09-01-2010 a las 22:13 +0200, Esko Arajärvi escribió:
> #. Type: boolean
> #. Description
> #: ../templates:8001
> msgid ""
> "Please specify whether /etc/postgresql/.../pg_hba.conf should  allow the "
> "dotLRN user to access the database."
> msgstr ""
> 
> This string has a double space before the word "allow".

Thanks, I'll fix it and unfuzzy the translations as you suggested.

> Additionally I would suggest that you spell out the whole default path of the 
> file pg_hba.conf. This allows users to access it more easily if they want to
> take a look at it before deciding what to answer to this question.

The hidden part of the path includes the postgres version number
(i.e: /etc/postgresql/8.4/main/pg_hba.conf). I did it this way to make
the templates file version-independent and avoid updating it each time
the version changes...

Cheers, Héctor




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#562936: dotlrn: Debconf abuse

2009-12-29 Thread Hector Romojaro
Thanks for reporting all these issues. 

I've fixed all of them in svn and will ask for a review of the templates
in debian-l10-english before uploading a new version of the package to
unstable and closing this bug.

Cheers, Héctor




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#500541: Fatal: log: failed to open server log'/var/log/aolserver4/aolserver4.log': 'Permission denied'

2008-09-29 Thread Hector Romojaro
Hi,

> I would ask you to --purge and reinstall, it could be some transient local 
> error.

After purge and reinstall the problem is gone, it must be a transient
error as you said, thanks!

Cheers, Héctor




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#500550: [aolserver4-nsopenssl] libnsopenssl.so: cannot open shared object file: No such file or directory

2008-09-29 Thread Hector Romojaro
Package: aolserver4-nsopenssl
Severity: important

--- Please enter the report below this line. ---

Hi,

Aolserver gives the following error when trying to load nsopenssl.so:

[29/Sep/2008:11:25:11][26356.3083773616][-main-] Notice: modload: loading 
'/usr/lib/aolserver4/bin/nsopenssl.so'
[29/Sep/2008:11:25:11][26356.3083773616][-main-] Warning: modload: could not 
load /usr/lib/aolserver4/bin/nsopenssl.so: libnsopenssl.so: cannot open shared 
object file: No such file or directory
[29/Sep/2008:11:25:11][26356.3083773616][-main-] Fatal: modload: failed to load 
module '/usr/lib/aolserver4/bin/nsopenssl.so'

The file libnsopenssl.so exists, but it's not on the shared libraries list of 
the nsopenssl.so file. A simple ldconfig fixes it:

 (/usr/lib/aolserver4/bin) # ldd nsopenssl.so 
linux-gate.so.1 =>  (0xe000)
libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7f3c000)
libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7de9000)
libnsopenssl.so => not found
libnsd.so => /usr/lib/aolserver4/lib/libnsd.so (0xb7d84000)
libnsthread.so => /usr/lib/aolserver4/lib/libnsthread.so (0xb7d7b000)
libtcl8.4.so.0 => /usr/lib/libtcl8.4.so.0 (0xb7cc6000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7cc2000)
libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7ca8000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7c82000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7c75000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7b1a000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7b05000)
/lib/ld-linux.so.2 (0x8000)
 (/usr/lib/aolserver4/bin) # ldconfig
 (/usr/lib/aolserver4/bin) # ldd nsopenssl.so 
linux-gate.so.1 =>  (0xe000)
libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7f15000)
libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7dc2000)
libnsopenssl.so => /usr/lib/aolserver4/lib/libnsopenssl.so (0xb7db3000)
libnsd.so => /usr/lib/aolserver4/lib/libnsd.so (0xb7d4f000)
libnsthread.so => /usr/lib/aolserver4/lib/libnsthread.so (0xb7d46000)
libtcl8.4.so.0 => /usr/lib/libtcl8.4.so.0 (0xb7c91000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7c8d000)
libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7c73000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7c4d000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7c4)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7ae5000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7ad)
/lib/ld-linux.so.2 (0x8000)

Cheers, Héctor

--- System information. ---
Architecture: i386
Kernel:   Linux 2.6.12.6

Debian Release: lenny/sid
  500 unstableftp.fr.debian.org 
  500 unstabledebian.adenu.ia.uned.es 
  500 stable  www.debian-multimedia.org 

--- Package information. ---
Depends (Version) | Installed
=-+-==
aolserver4 (>= 4.0-1) | 4.5.0-16
libc6  (>= 2.7-1) | 2.7-13
libgcc1   | 1:4.3.2-1
libssl0.9.8 (>= 0.9.8f-1) | 0.9.8g-13
openssl(>= 0.9.6) | 0.9.8g-13
tcl8.4(>= 8.4.16) | 8.4.19-2






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#500541: Fatal: log: failed to open server log '/var/log/aolserver4/aolserver4.log': 'Permission denied'

2008-09-29 Thread Hector Romojaro
Package: aolserver4
Version: 4.5.0-16
Severity: normal

*** Please type your report below this line ***

Hi,

The package gives the error just when it's installed and tries to start
the daemon. When restarting the daemon again it works, so it seems to be
a problem of starting the daemon on the install before giving the
adequate permissions to the /var/log/aolserver4 dir.

The full error:

-
 (/usr/lib/aolserver4/bin) # apt-get install aolserver4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  aolserver4-core
Suggested packages:
  aolserver4-nscache aolserver4-nsencrypt
The following NEW packages will be installed:
  aolserver4 aolserver4-core
0 upgraded, 2 newly installed, 0 to remove and 42 not upgraded.
Need to get 0B/1032kB of archives.
After this operation, 2064kB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...

Selecting previously deselected package aolserver4-core.
(Reading database ... 285829 files and directories currently installed.)
Unpacking aolserver4-core
(from .../aolserver4-core_4.5.0-16_i386.deb) ...
Selecting previously deselected package aolserver4.
Unpacking aolserver4 (from .../aolserver4_4.5.0-16_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Setting up aolserver4-core (4.5.0-16) ...
Setting up aolserver4 (4.5.0-16) ...
Starting web server:
aolserver4[26/Sep/2008:13:01:04][17027.3083781808][-main-] Notice:
prebind: bound: 127.0.0.1:80
[26/Sep/2008:13:01:04][17028.3083781808][-main-] Error: log: failed to
re-open log file '/var/log/aolserver4/aolserver4.log': 'Permission
denied'
[26/Sep/2008:13:01:04][17028.3083781808][-main-] Fatal: log: failed to
open server log '/var/log/aolserver4/aolserver4.log': 'Permission
denied'
-

Cheers, Héctor

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.12.6
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) (ignored:
LC_ALL set to es_ES.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aolserver4 depends on:
ii  adduser   3.110  add and remove users and
groups
ii  aolserver4-core   4.5.0-16   AOL Web Server 4 (Core
libraries)
hi  debconf [debconf-2.0] 1.5.23 Debian configuration
management sy
ii  libc6 2.7-13 GNU C Library: Shared
libraries
ii  libgcc1   1:4.3.2-1  GCC support library
ii  logrotate 3.7.1-3Log rotation utility
ii  mime-support  3.44-1 MIME files 'mime.types' &
'mailcap
ii  tcl8.48.4.19-2   Tcl (the Tool Command
Language) v8
ii  ucf   3.0010 Update Configuration File:
preserv

Versions of packages aolserver4 recommends:
ii  aolserver4-doc4.5.0-16   AOL Web Server 4
(Documentation)

Versions of packages aolserver4 suggests:
pn  aolserver4-nscache (no description available)
pn  aolserver4-nsencrypt   (no description available)

-- debconf information:
* aolserver4/introduction:
* aolserver4/port: 80
* aolserver4/address: 127.0.0.1
* aolserver4/hostname: localhost




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]