Bug#279030: mldonkey-server: debconf configuration is entirely ignored

2005-09-05 Thread Peter Eisentraut
So what is going on now?  I see the new package progressing on alioth, but can 
we expect an upload sometime?


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



Bug#279030: mldonkey-server: debconf configuration is entirely ignored

2005-09-05 Thread Sylvain LE GALL
Hello,

On Mon, Sep 05, 2005 at 11:37:05AM +0200, Peter Eisentraut wrote:
 So what is going on now?  I see the new package progressing on alioth, but 
 can 
 we expect an upload sometime?
 

Well, as you should know, i am not a DD, so i need someone to upload my
package to debian. I have sent him the package on 15/08 and correction
last week. I am waiting for the upload also. I think i will drop him a
mail tonight to know when we could expect it.

Kind regard
Sylvain Le Gall


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



Bug#279030: mldonkey-server: debconf configuration is entirely ignored

2005-08-11 Thread Sylvain LE GALL
Hi,

On Fri, Aug 05, 2005 at 10:51:10PM +0200, Peter Eisentraut wrote:
 Sylvain LE GALL wrote:
  You should have contact me before working on this. I am preparing a
  release of 2.5.28.1 which should close this bug.
 
 Well, you had been talking about a new release for quite some time, so I 
 wanted to give you a little push.  If you can fix the RC bugs in the 
 next week or two, I can live with that, but please no further delays.
 
 
 

I am just back from holiday. Well, since you seems to be in a hurry to
have a new release, could you be my sponsor. I will contact you
tomorrow for the upload of mldonkey (if all dependency are installable).
If you can check and upload the package, i will be in time ;-)

Regard
Sylvain Le Gall


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



Bug#279030: mldonkey-server: debconf configuration is entirely ignored

2005-08-05 Thread Sylvain LE GALL
Hello,

On Fri, Aug 05, 2005 at 01:10:02AM +0200, Peter Eisentraut wrote:
 tags 279030 + patch
 stop
 
 I propose the attached patch to clear up the conflict between the 
 debconf settings and the conffile.  I believe this follows the 
 consensus of the discussion so far.  Unless there are overriding 
 concerns I plan to NMU this patch in the context of the bug-squashing 
 party over the weekend.

You should have contact me before working on this. I am preparing a
release of 2.5.28.1 which should close this bug. Right now, the release
is still standing in the svn of pkg-ocaml-maint but it is not buildable
since liblablgtk2-ocaml-dev is not instalable.

I am leaving for 1 week and am planning to do a release on 2005/08/15.

I know i take a lot of time but the release to come should close 30
bugs...

FYI, i have followed the consensus and i think the correction is near
your patch.

Please have a look at :
http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/mldonkey/trunk/debian/?rev=0sc=0

You should find all the debian files of the next release.

If you think i miss something in my correction, send my an email.

Regard
Sylvain Le Gall

 diff -u mldonkey-2.5.28/debian/control mldonkey-2.5.28/debian/control
 --- mldonkey-2.5.28/debian/control
 +++ mldonkey-2.5.28/debian/control
 @@ -2,12 +2,12 @@
  Section: net
  Priority: optional
  Maintainer: Sylvain Le Gall [EMAIL PROTECTED] 
 -Build-Depends: ocaml-nox-3.08, debhelper (= 4.1.16), po-debconf, xsltproc, 
 zlib1g-dev, docbook-xsl, docbook-xml, chrpath, m4, dpatch (= 1.11), debconf 
 (= 0.2.26), liblablgtk2-ocaml-dev
 +Build-Depends: ocaml-nox, debhelper (= 4.1.16), po-debconf, xsltproc, 
 zlib1g-dev, docbook-xsl, docbook-xml, chrpath, m4, dpatch (= 1.11), debconf 
 (= 0.2.26), liblablgtk2-ocaml-dev
  Standards-Version: 3.6.1.0
  
  Package: mldonkey-server
  Architecture: any
 -Depends: ${shlibs:Depends}, ${misc:Depends}, ${interpreter:Depends}, 
 adduser, mime-support, debconf (= 0.2.26), ucf
 +Depends: ${shlibs:Depends}, ${misc:Depends}, ${interpreter:Depends}, 
 adduser, mime-support, debconf (= 0.2.26)
  Description: Door to the 'donkey' network
   MLDonkey is a door to the 'donkey' network, a decentralized network used to
   exchange big files on the Internet. It is written in a wonderful language,
 diff -u mldonkey-2.5.28/debian/changelog mldonkey-2.5.28/debian/changelog
 --- mldonkey-2.5.28/debian/changelog
 +++ mldonkey-2.5.28/debian/changelog
 @@ -1,3 +1,16 @@
 +mldonkey (2.5.28-2.1) unstable; urgency=low
 +
 +  * Non-maintainer upload
 +  * Change build dependency to ocaml-nox
 +  * Remove debconf questions that interfere with the conffile
 +/etc/default/mldonkey. User and group are now fixed at mldonkey,
 +directory is fixed at /var/lib/mldonkey. No longer using ucf.
 +(closes: #279030, #277353)
 +  * Fix typo in init script (closes: #273156, #296573)
 +  * Add commonDownloads.ml to clean target
 +
 + -- Peter Eisentraut [EMAIL PROTECTED]  Fri,  5 Aug 2005 00:43:22 +0200
 +
  mldonkey (2.5.28-2) unstable; urgency=medium
  
* Enhanced patch 18_utf8 ( should made mlgui works for people using UTF 8
 diff -u mldonkey-2.5.28/debian/rules mldonkey-2.5.28/debian/rules
 --- mldonkey-2.5.28/debian/rules
 +++ mldonkey-2.5.28/debian/rules
 @@ -97,6 +97,7 @@
   -$(RM) .depend
   -$(RM) packages/rpm/*.spec
   -$(RM) packages/windows/mlnet.nsi
 + -$(RM) src/daemon/common/commonDownloads.ml
   -$(RM) src/utils/lib/autoconf.ml
   -$(RM) src/utils/lib/gAutoconf.ml
   -$(RM) src/utils/lib/autoconf.ml.new
 diff -u mldonkey-2.5.28/debian/mldonkey-server.dirs 
 mldonkey-2.5.28/debian/mldonkey-server.dirs
 --- mldonkey-2.5.28/debian/mldonkey-server.dirs
 +++ mldonkey-2.5.28/debian/mldonkey-server.dirs
 @@ -1,2 +1,3 @@
 +var/lib/mldonkey
  var/run/mldonkey
  var/log/mldonkey
 diff -u mldonkey-2.5.28/debian/mldonkey-server.config 
 mldonkey-2.5.28/debian/mldonkey-server.config
 --- mldonkey-2.5.28/debian/mldonkey-server.config
 +++ mldonkey-2.5.28/debian/mldonkey-server.config
 @@ -7,125 +7,26 @@
  . /usr/share/debconf/confmodule
  
  
 -CONFIGFILE=/etc/default/mldonkey-server
 -if [ -e $CONFIGFILE ]
 -then
 -  MLDONKEY_DIR=
 -  MLDONKEY_GROUP=
 -  MLDONKEY_UMASK=
 -  MAX_ALIVE=
 -  LAUNCH_AT_STARTUP=
 -  MLDONKEY_NICENESS=
 -  . $CONFIGFILE || true
 -  
 -  if [ $MLDONKEY_DIR !=  ]; then 
 -db_set mldonkey-server/mldonkey_dir $MLDONKEY_DIR
 -  fi
 -  
 -  if [ $MLDONKEY_GROUP !=  ]; then 
 -db_set mldonkey-server/mldonkey_group $MLDONKEY_GROUP
 -  fi
 -  
 -  if [ $MLDONKEY_UMASK !=  ]; then 
 -db_set mldonkey-server/mldonkey_umask $MLDONKEY_UMASK 
 -  fi
 -  
 -  if [ $MAX_ALIVE !=  ]; then
 -db_set mldonkey-server/max_alive $MAX_ALIVE
 -  fi
 -  
 -  if [ $MLDONKEY_NICENESS !=  ]; then 
 -db_set mldonkey-server/mldonkey_niceness $MLDONKEY_NICENESS
 -  fi
 -  
 -  if [ $LAUNCH_AT_STARTUP !=  ]; then
 -if [ $LAUNCH_AT_STARTUP = true ]; then 
 -  db_set mldonkey-server/launch_at_startup true
 

Bug#279030: mldonkey-server: debconf configuration is entirely ignored

2005-08-05 Thread Peter Eisentraut
Sylvain LE GALL wrote:
 You should have contact me before working on this. I am preparing a
 release of 2.5.28.1 which should close this bug.

Well, you had been talking about a new release for quite some time, so I 
wanted to give you a little push.  If you can fix the RC bugs in the 
next week or two, I can live with that, but please no further delays.


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



Bug#279030: mldonkey-server: debconf configuration is entirely ignored

2005-08-04 Thread Peter Eisentraut
tags 279030 + patch
stop

I propose the attached patch to clear up the conflict between the 
debconf settings and the conffile.  I believe this follows the 
consensus of the discussion so far.  Unless there are overriding 
concerns I plan to NMU this patch in the context of the bug-squashing 
party over the weekend.
diff -u mldonkey-2.5.28/debian/control mldonkey-2.5.28/debian/control
--- mldonkey-2.5.28/debian/control
+++ mldonkey-2.5.28/debian/control
@@ -2,12 +2,12 @@
 Section: net
 Priority: optional
 Maintainer: Sylvain Le Gall [EMAIL PROTECTED] 
-Build-Depends: ocaml-nox-3.08, debhelper (= 4.1.16), po-debconf, xsltproc, zlib1g-dev, docbook-xsl, docbook-xml, chrpath, m4, dpatch (= 1.11), debconf (= 0.2.26), liblablgtk2-ocaml-dev
+Build-Depends: ocaml-nox, debhelper (= 4.1.16), po-debconf, xsltproc, zlib1g-dev, docbook-xsl, docbook-xml, chrpath, m4, dpatch (= 1.11), debconf (= 0.2.26), liblablgtk2-ocaml-dev
 Standards-Version: 3.6.1.0
 
 Package: mldonkey-server
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${interpreter:Depends}, adduser, mime-support, debconf (= 0.2.26), ucf
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${interpreter:Depends}, adduser, mime-support, debconf (= 0.2.26)
 Description: Door to the 'donkey' network
  MLDonkey is a door to the 'donkey' network, a decentralized network used to
  exchange big files on the Internet. It is written in a wonderful language,
diff -u mldonkey-2.5.28/debian/changelog mldonkey-2.5.28/debian/changelog
--- mldonkey-2.5.28/debian/changelog
+++ mldonkey-2.5.28/debian/changelog
@@ -1,3 +1,16 @@
+mldonkey (2.5.28-2.1) unstable; urgency=low
+
+  * Non-maintainer upload
+  * Change build dependency to ocaml-nox
+  * Remove debconf questions that interfere with the conffile
+/etc/default/mldonkey. User and group are now fixed at mldonkey,
+directory is fixed at /var/lib/mldonkey. No longer using ucf.
+(closes: #279030, #277353)
+  * Fix typo in init script (closes: #273156, #296573)
+  * Add commonDownloads.ml to clean target
+
+ -- Peter Eisentraut [EMAIL PROTECTED]  Fri,  5 Aug 2005 00:43:22 +0200
+
 mldonkey (2.5.28-2) unstable; urgency=medium
 
   * Enhanced patch 18_utf8 ( should made mlgui works for people using UTF 8
diff -u mldonkey-2.5.28/debian/rules mldonkey-2.5.28/debian/rules
--- mldonkey-2.5.28/debian/rules
+++ mldonkey-2.5.28/debian/rules
@@ -97,6 +97,7 @@
 	-$(RM) .depend
 	-$(RM) packages/rpm/*.spec
 	-$(RM) packages/windows/mlnet.nsi
+	-$(RM) src/daemon/common/commonDownloads.ml
 	-$(RM) src/utils/lib/autoconf.ml
 	-$(RM) src/utils/lib/gAutoconf.ml
 	-$(RM) src/utils/lib/autoconf.ml.new
diff -u mldonkey-2.5.28/debian/mldonkey-server.dirs mldonkey-2.5.28/debian/mldonkey-server.dirs
--- mldonkey-2.5.28/debian/mldonkey-server.dirs
+++ mldonkey-2.5.28/debian/mldonkey-server.dirs
@@ -1,2 +1,3 @@
+var/lib/mldonkey
 var/run/mldonkey
 var/log/mldonkey
diff -u mldonkey-2.5.28/debian/mldonkey-server.config mldonkey-2.5.28/debian/mldonkey-server.config
--- mldonkey-2.5.28/debian/mldonkey-server.config
+++ mldonkey-2.5.28/debian/mldonkey-server.config
@@ -7,125 +7,26 @@
 . /usr/share/debconf/confmodule
 
 
-CONFIGFILE=/etc/default/mldonkey-server
-if [ -e $CONFIGFILE ]
-then
-  MLDONKEY_DIR=
-  MLDONKEY_GROUP=
-  MLDONKEY_UMASK=
-  MAX_ALIVE=
-  LAUNCH_AT_STARTUP=
-  MLDONKEY_NICENESS=
-  . $CONFIGFILE || true
-  
-  if [ $MLDONKEY_DIR !=  ]; then 
-db_set mldonkey-server/mldonkey_dir $MLDONKEY_DIR
-  fi
-  
-  if [ $MLDONKEY_GROUP !=  ]; then 
-db_set mldonkey-server/mldonkey_group $MLDONKEY_GROUP
-  fi
-  
-  if [ $MLDONKEY_UMASK !=  ]; then 
-db_set mldonkey-server/mldonkey_umask $MLDONKEY_UMASK 
-  fi
-  
-  if [ $MAX_ALIVE !=  ]; then
-db_set mldonkey-server/max_alive $MAX_ALIVE
-  fi
-  
-  if [ $MLDONKEY_NICENESS !=  ]; then 
-db_set mldonkey-server/mldonkey_niceness $MLDONKEY_NICENESS
-  fi
-  
-  if [ $LAUNCH_AT_STARTUP !=  ]; then
-if [ $LAUNCH_AT_STARTUP = true ]; then 
-  db_set mldonkey-server/launch_at_startup true
-else 
-  db_set mldonkey-server/launch_at_startup false
-fi
-  fi
-fi
-
-if [ -x /usr/bin/mldonkey_options ]  [ -e $MLDONKEY_DIR/downloads.ini ]; then
-  db_set mldonkey-server/client_name `/usr/bin/mldonkey_options -f $MLDONKEY_DIR/downloads.ini -g client_name`
-  db_set mldonkey-server/max_hard_upload_rate   `/usr/bin/mldonkey_options -f $MLDONKEY_DIR/downloads.ini -g max_hard_upload_rate`
-  db_set mldonkey-server/max_hard_download_rate `/usr/bin/mldonkey_options -f $MLDONKEY_DIR/downloads.ini -g max_hard_download_rate`
+if [ -x /usr/bin/mldonkey_options ]  [ -e /var/lib/mldonkey/downloads.ini ]; then
+  db_set mldonkey-server/client_name `/usr/bin/mldonkey_options -f /var/lib/mldonkey/downloads.ini -g client_name`
+  db_set mldonkey-server/max_hard_upload_rate   `/usr/bin/mldonkey_options -f /var/lib/mldonkey/downloads.ini -g max_hard_upload_rate`
+  db_set mldonkey-server/max_hard_download_rate `/usr/bin/mldonkey_options -f