Re: A common Debian style for Debian Installer and the desktop

2007-06-17 Thread Frans Pop
On Wednesday 13 June 2007 21:25, André Luiz Rodrigues Ferreira wrote:
 Can we prepare an other GTK theme, using other gtk2 engine?

In theory, yes. But there are technical issues that need to be considered. 
For example, we partly ended up with the Clearlooks engine because it 
solved a bug with some display issues we were having.

Also, switching to a different engine means that we need to change the 
existing udeb or create a new one, so it is not trivial. Testing with a 
different engine should be possible without creating a udeb for it 
though.

Size, dependencies and memory usage of the engine are important too.

So any switch to a different engine will definitely need to be discussed 
with and approved by the D-I team.

Cheers,
FJP


pgps0tvxJVx2x.pgp
Description: PGP signature


Re: Bug#364526: debian-installer: Please implement a password-checking module

2007-06-17 Thread Geert Stappers
Op 16-06-2007 om 16:10 schreef Christian Perrier:
 snip/ 
 Template: user-setup/chkpasswd-bad
 Type: error
 _Description: Weak password
  The strength of the password you have chosen is low.
  .
  Weak passwords can compromize the system's security, so please
  choose another password.
   choose another password that does contain numbers, upper and lower
   case characters.


HtH
GSt


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



Bug#429295: Hebrew bidi output is incorrect in partitioning screens

2007-06-17 Thread Frans Pop
reassign 429295 partman-base
thanks

On Saturday 16 June 2007 22:26, Baruch Even wrote:
 Three screens in debian-installer have incorrect output of Hebrew, I'm
 attaching to this email the screenshots of the Hebrew and the English
 version of the screens.

Thank you for these clear examples.
As all these screens are about partman, I am reassigning the BR there.

My first impression is that these issues are all inside D-I itself, so not 
in bidi libraries and such. The cause is almost certainly the way strings 
are generated inside partman at run time.
This is something that should be improved and is something that is on the 
ToDo list for Lenny.


pgp7j4ARVc3kN.pgp
Description: PGP signature


Bug#429351: Hebrew problem in task selection during install

2007-06-17 Thread Baruch Even

Package: debian-installer

Version: 20070308

Severity: normal

X-Debbugs-CC: [EMAIL PROTECTED]


In the task selection the radio buttons are on the left of the Hebrew 
text, but they should be on the right. The text should also be right 
aligned rather than left aligned.



Attached are screenshots of the Hebrew and English screens.


Baruch

inline: task_english.pnginline: task_hebrew.png

Processed: Re: Bug#429295: Hebrew bidi output is incorrect in partitioning screens

2007-06-17 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 reassign 429295 partman-base
Bug#429295: Hebrew bidi output is incorrect in partitioning screens
Bug reassigned from package `debian-installer' to `partman-base'.

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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



Re: Bug#364526: debian-installer: Please implement a password-checking module

2007-06-17 Thread Masami Ichikawa
Hello.

Thanks for people who gave me comments:-)
I wrote a new patch which changed these.

* s/chkpasswd/checkpasswdstrength/
* fix indent.
* rewrote messages in user-setup-udeb.templates.
* default answer is true.
  The user has to choose a strong password now in default.

Cheers,
-- 
/*
 * Masami Ichikawa
 * mailto: [EMAIL PROTECTED]
 *   : [EMAIL PROTECTED]
 */
Index: functions.sh
===
--- functions.sh	(revision 47268)
+++ functions.sh	(working copy)
@@ -39,3 +39,53 @@
 
 	return 1
 }
+
+# Return a true value if password seems to be strong enough.
+chkpasswdstrength ()
+{
+	user=$1
+	passwd=$2
+
+	user_len=`echo $user | wc -c`
+	passwd_len=`echo $passwd | wc -c`
+
+	# password length should be bigger than four.
+	if test $passwd_len -lt 5; then
+		return 0
+	fi
+
+	# password shouldn't be a login account.
+	if test $user = $passwd; then
+		return 0
+	fi
+
+	# password shouldn't contain login account.
+	ret=`echo $passwd | grep -ci $user`
+	if test $ret = 1; then
+		if test $passwd_len -ge $user_len; then 
+			return 0
+		fi
+	fi
+
+	# The password should be this structure.
+	# 1) contain lower char and upper char
+	# 2) contain lower char and digit
+	# 3) contain upper char and digit
+	# 4) contain lower char and upper char and digit
+
+	ret=`echo $passwd | grep -c [a-z]`
+	num=$ret
+
+	ret=`echo $passwd | grep -c [A-Z]`
+	num=$(($num+$ret))
+
+	ret=`echo $passwd | grep -c [0-9]`
+	num=$(($num+$ret))
+
+	if test $num -lt 2; then
+		return 0
+	fi
+
+	return 1
+
+}
Index: debian/user-setup-udeb.templates
===
--- debian/user-setup-udeb.templates	(revision 47268)
+++ debian/user-setup-udeb.templates	(working copy)
@@ -43,6 +43,13 @@
  Please enter the same root password again to verify that you have typed it
  correctly.
 
+Template: passwd/chkpasswdstrength
+Type: boolean
+Default: true
+_Description: : Reject weak passwords?
+ Please choose whether you want the entered passwords strength to be
+ checked and passwords found as 'weak' to be rejected. 
+
 Template: passwd/make-user
 Type: boolean
 Default: true
@@ -110,6 +117,12 @@
  You entered an empty password, which is not allowed.
  Please choose a non-empty password.
 
+Template: user-setup/chkpasswdstrength-bad
+Type: error
+_Description: Weak password
+ choose another password that does contain numbers, upper and lower 
+ case characters.
+
 Template: passwd/shadow
 Type: boolean
 Default: true
Index: user-setup-ask
===
--- user-setup-ask	(revision 47268)
+++ user-setup-ask	(working copy)
@@ -37,6 +37,8 @@
 		db_input low passwd/shadow || true
 		# Ask if root should be allowed to login.
 		db_input medium passwd/root-login || true
+		# Ask if user wants to check a password
+		db_input low passwd/chkpasswdstrength || true
 	;;
 	1)
 		db_get passwd/root-login
@@ -63,6 +65,9 @@
 			# root password will be locked
 			db_set passwd/root-password-again 
 		elif ! root_password; then
+		db_get passwd/chkpasswdstrength || true
+			PW_CHK=$RET
+
 			# First check whether the root password was preseeded crypted
 			db_get passwd/root-password-crypted || true
 			if ! test $RET ; then
@@ -78,6 +83,16 @@
 	STATE=0
 	continue
 fi
+if [ $PW_CHK = true ]; then
+	if `chkpasswdstrength root $ROOT_PW`; then
+		db_fset user-setup/chkpasswdstrength-bad seen false
+		db_input critical user-setup/chkpasswdstrength-bad
+		db_fset passwd/root-password seen false
+		db_fset passwd/root-password-again seen false
+		STATE=0
+		continue
+	fi		
+fi
 db_get passwd/root-password-again
 if [ $ROOT_PW != $RET ]; then
 	db_fset user-setup/password-mismatch seen false
@@ -192,6 +207,19 @@
 	STATE=6
 	continue
 fi
+if [ $PW_CHK = true ]; then
+	if `chkpasswdstrength $USER $USER_PW`; then
+		db_set passwd/user-password 
+		db_set passwd/user-password-again 
+		db_fset user-setup/chkpasswdstrength-bad seen false
+		db_input critical user-setup/chkpasswdstrength-bad
+		db_fset passwd/user-password seen false
+		db_fset passwd/user-password-again seen false
+		STATE=6
+		continue
+	fi		
+fi
+
 			fi
 		fi
 	;;


Processed: Re: Bug#429351: Hebrew problem in task selection during install

2007-06-17 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 reassign 429351 tasksel
Bug#429351: Hebrew problem in task selection during install
Bug reassigned from package `debian-installer' to `tasksel'.


End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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



Bug#364526: debian-installer: Please implement a password-checking module

2007-06-17 Thread Geert Stappers
Op 17-06-2007 om 21:21 schreef Masami Ichikawa:
 snip/
 + # password shouldn't contain login account.
 + ret=`echo $passwd | grep -ci $user`
 + if test $ret = 1; then
 + if test $passwd_len -ge $user_len; then 
 + return 0
 + fi
 + fi

If I understand the above code snippet correct,
then it does allow user='root' and password='root'
and does depend on further checks.

Please simply to source code into

 +  ret=`echo $passwd | grep -ci $user`
 +  if test $ret = 1; then
 +  return 0
 +  fi

It does better match 
 +  # password shouldn't contain login account.
and it will prevent user='R00tme' with pasword='R00tme'


 snip/
 --- debian/user-setup-udeb.templates  (revision 47268)
 +++ debian/user-setup-udeb.templates  (working copy)
 @@ -110,6 +117,12 @@
   You entered an empty password, which is not allowed.
   Please choose a non-empty password.
  
 +Template: user-setup/chkpasswdstrength-bad
 +Type: error
 +_Description: Weak password
 + choose another password that does contain numbers, upper and lower 
 + case characters.
 +

Nitpicking:

Start 'choose' with a capital.



Thanks for the patch
Some one who should find out,
if he could had apply the patch into versioning system.



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



Re: Bug#429062: installation failed report

2007-06-17 Thread Holger Wansing
Hi,

On Sun, 17 Jun 2007 18:09:26 +0200 Manfred wrote:
 Hallo zurück,
 zunächst erst einmal danke, für die doch recht zeitnahe und deutsche 
 Antwort!

Manfred:
Die deutschsprachige Antwort auf deinen Fehlerbericht war eine
Einzelaktion von mir, sie kam nicht vom Debian-Installer-Team
und keiner von denen kann deutsch.
Deshalb MUSS du demnächst wieder in Englisch schreiben, wenn du
Mails an den Fehlerbericht oder an die Mailingliste schickst.

All:
I told Manfred in private mail to give more information, best would
be to provide the logfiles. So here they are...



-- 
Kind regards
Holger

==
Created with Sylpheed 2.3.0
under THE NEW DEBIAN GNU/LINUX 4.0 »Etch«
http://counter.li.org/,  Registered LinuxUser #311290
Try out OpenGL 3D-Desktop Beryl! www.beryl-project.org
=


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



Re: CCISS patch test

2007-06-17 Thread Robert Millan
On Thu, May 24, 2007 at 06:05:09PM +0200, Robert Millan wrote:
 On Thu, May 24, 2007 at 04:09:41PM +0200, Frans Pop wrote:
  On Wednesday 23 May 2007 18:14, Robert Millan wrote:
   Would someone be so kind to test the attached patch on a machine with:
  
 - CCISS storage
 - GPT partition table layout in main partition
  
   and report if d-i properly switches to grub2 because of the gpt?
  
  +   /dev/cciss)
  +   disc_offered_devfs=$(find $prefix -follow ! -name \*p[0-9] 
  | head -n 1)
  +   ;;
  
  AFAIK /dev/cciss devices are real devices and not symlinks, so the code
  should be more like the case for /dev/[hs]d[a-z] than what you have in this
  patch.
 
 Ok.  Please have a look at this one, which still allows for extending the 
 check
 by simply adding more paths in the case/esac match.

Any news on this?   Any objection if I commit it?  Maybe someone will test
it on CCISS once it hits sid.

 Index: grub-installer
 ===
 --- grub-installer(revision 46926)
 +++ grub-installer(working copy)
 @@ -238,6 +238,9 @@
   /dev/[hs]d[a-z])
   disc_offered_devfs=$prefix
   ;;
 + /dev/cciss)
 + disc_offered_devfs=$(echo $bootfs | sed 's/p[0-9]\+$//')
 + ;;
   *)
   disc_offered_devfs=$(find $prefix -follow -name disc | head -n 
 1)
   ;;


-- 
Robert Millan

My spam trap is [EMAIL PROTECTED]  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.


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



[PATCH 0/4] live-installer support

2007-06-17 Thread Otavio Salvador
Hello,

I'm sending a set of patches that adds support for live-installer.

The idea is to provide a way to install Debian using the image
produced by live-helper utility. It currently has support for ext2,
ext3, squashfs and plain dirs.

Please, provide any useful feedback on these patches.

Thanks in advance,

-- 
Otavio Salvador  O.S. Systems
E-mail: [EMAIL PROTECTED]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br


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



[PATCH 1/4] Use 'installed-base' virtual package dependency instead of explicit 'base-installer' one

2007-06-17 Thread Otavio Salvador
From: Otavio Salvador [EMAIL PROTECTED]

To allow a better flexibility regarting the way of installer does the
system installation a new virtual package called
'installed-base'. base-installer package has been change to provide
this new virtual package and the other packages depending on it has
also been change.

The affected package are:

 - aboot-installer
 - apt-setup
 - colo-installer
 - elilo-installer
 - finish-install
 - flash-kernel
 - nobootloader
 - palo-installer
 - sibyl-installer
 - silo-installer
 - zipl-installer
---

 packages/apt-setup/debian/changelog|7 +++
 packages/apt-setup/debian/control  |2 +-
 .../arch/alpha/aboot-installer/debian/changelog|7 +++
 packages/arch/alpha/aboot-installer/debian/control |2 +-
 packages/arch/hppa/palo-installer/debian/changelog |7 +++
 packages/arch/hppa/palo-installer/debian/control   |2 +-
 .../arch/ia64/elilo-installer/debian/changelog |7 +++
 packages/arch/ia64/elilo-installer/debian/control  |2 +-
 .../arch/mips/sibyl-installer/debian/changelog |7 +++
 packages/arch/mips/sibyl-installer/debian/control  |2 +-
 .../arch/mipsel/colo-installer/debian/changelog|7 +++
 packages/arch/mipsel/colo-installer/debian/control |2 +-
 packages/arch/s390/zipl-installer/debian/changelog |7 +++
 packages/arch/s390/zipl-installer/debian/control   |2 +-
 .../arch/sparc/silo-installer/debian/changelog |7 +++
 packages/arch/sparc/silo-installer/debian/control  |2 +-
 packages/base-installer/debian/changelog   |7 +++
 packages/base-installer/debian/control |2 +-
 packages/finish-install/debian/changelog   |7 +++
 packages/finish-install/debian/control |2 +-
 packages/flash-kernel/debian/changelog |7 +++
 packages/flash-kernel/debian/control   |2 +-
 packages/nobootloader/debian/changelog |7 +++
 packages/nobootloader/debian/control   |2 +-
 24 files changed, 96 insertions(+), 12 deletions(-)

diff --git a/packages/apt-setup/debian/changelog 
b/packages/apt-setup/debian/changelog
index 0ffa0a8..ba6011d 100644
--- a/packages/apt-setup/debian/changelog
+++ b/packages/apt-setup/debian/changelog
@@ -1,3 +1,10 @@
+apt-setup (1:0.23) UNRELEASED; urgency=low
+
+  * Replace 'base-installer' dependency by 'installed-base' virtual
+package. Needs base-installer 1.81.
+
+ -- Otavio Salvador [EMAIL PROTECTED]  Sun, 17 Jun 2007 09:56:15 -0300
+
 apt-setup (1:0.22) unstable; urgency=low
 
   * 50mirror: default suite to codename, similar to what we already do for
diff --git a/packages/apt-setup/debian/control 
b/packages/apt-setup/debian/control
index 2497fb1..ef938ec 100644
--- a/packages/apt-setup/debian/control
+++ b/packages/apt-setup/debian/control
@@ -11,7 +11,7 @@ XC-Package-Type: udeb
 Architecture: all
 Priority: standard
 XB-Installer-Menu-Item: 7000
-Depends: apt-mirror-setup, base-installer (= 1.49), ${misc:Depends}
+Depends: apt-mirror-setup, installed-base, ${misc:Depends}
 Description: Configure apt
 
 Package: apt-mirror-setup
diff --git a/packages/arch/alpha/aboot-installer/debian/changelog 
b/packages/arch/alpha/aboot-installer/debian/changelog
index 888f85a..ae67eab 100644
--- a/packages/arch/alpha/aboot-installer/debian/changelog
+++ b/packages/arch/alpha/aboot-installer/debian/changelog
@@ -1,3 +1,10 @@
+aboot-installer (0.0.27) UNRELEASED; urgency=low
+
+  * Replace 'base-installer' dependency by 'installed-base' virtual
+package. Needs base-installer 1.81.
+
+ -- Otavio Salvador [EMAIL PROTECTED]  Sun, 17 Jun 2007 09:56:32 -0300
+
 aboot-installer (0.0.26) unstable; urgency=low
 
   [ Joey Hess ]
diff --git a/packages/arch/alpha/aboot-installer/debian/control 
b/packages/arch/alpha/aboot-installer/debian/control
index 4dc2471..9fad17b 100644
--- a/packages/arch/alpha/aboot-installer/debian/control
+++ b/packages/arch/alpha/aboot-installer/debian/control
@@ -11,7 +11,7 @@ Package: aboot-installer
 XC-Package-Type: udeb
 Architecture: alpha
 Provides: bootable-system
-Depends: cdebconf-udeb, base-installer, chroot, partconf-find-partitions, 
di-utils-mapdevfs, parted-udeb
+Depends: cdebconf-udeb, installed-base, chroot, partconf-find-partitions, 
di-utils-mapdevfs, parted-udeb
 XB-Installer-Menu-Item: 7300
 Description: Install aboot on a hard disk
  This udeb will install aboot on the hard disk.
diff --git a/packages/arch/hppa/palo-installer/debian/changelog 
b/packages/arch/hppa/palo-installer/debian/changelog
index b88a9eb..27cf38b 100644
--- a/packages/arch/hppa/palo-installer/debian/changelog
+++ b/packages/arch/hppa/palo-installer/debian/changelog
@@ -1,3 +1,10 @@
+palo-installer (0.0.11) UNRELEASED; urgency=low
+
+  * Replace 'base-installer' dependency by 'installed-base' virtual
+package. Needs base-installer 1.81.
+
+ -- Otavio Salvador [EMAIL PROTECTED]  Sun, 17 Jun 

[PATCH 2/4] Add squashfs-modules package

2007-06-17 Thread Otavio Salvador
From: Otavio Salvador [EMAIL PROTECTED]

Affected packages:

 - linux-modules-di-alpha-2.6
 - linux-modules-di-amd64-2.6
 - linux-modules-di-arm-2.6
 - linux-modules-di-armel-2.6
 - linux-modules-di-hppa-2.6
 - linux-modules-di-i386-2.6
 - linux-modules-di-ia64-2.6
 - linux-modules-di-m68k-2.6
 - linux-modules-di-mips-2.6
 - linux-modules-di-mipsel-2.6
 - linux-modules-di-powerpc-2.6
 - linux-modules-di-s390-2.6
 - linux-modules-di-sparc-2.6
---

 .../linux-modules-di-alpha-2.6/debian/changelog|6 ++
 .../linux-modules-di-alpha-2.6/kernel-versions |2 +-
 .../modules/alpha/squashfs-modules |1 +
 .../linux-modules-di-amd64-2.6/debian/changelog|6 ++
 .../linux-modules-di-amd64-2.6/kernel-versions |2 +-
 .../modules/amd64/squashfs-modules |1 +
 .../linux-modules-di-arm-2.6/debian/changelog  |6 ++
 .../linux-modules-di-arm-2.6/kernel-versions   |6 +++---
 .../modules/arm/squashfs-modules   |1 +
 .../linux-modules-di-armel-2.6/debian/changelog|6 +-
 .../linux-modules-di-armel-2.6/kernel-versions |4 ++--
 .../modules/armel/squashfs-modules |1 +
 .../linux-modules-di-hppa-2.6/debian/changelog |6 ++
 .../linux-modules-di-hppa-2.6/kernel-versions  |4 ++--
 .../modules/hppa/squashfs-modules  |1 +
 .../linux-modules-di-i386-2.6/debian/changelog |6 ++
 .../linux-modules-di-i386-2.6/kernel-versions  |2 +-
 .../modules/i386/squashfs-modules  |1 +
 .../linux-modules-di-ia64-2.6/debian/changelog |6 ++
 .../linux-modules-di-ia64-2.6/kernel-versions  |2 +-
 .../modules/ia64/squashfs-modules  |1 +
 .../linux-modules-di-m68k-2.6/debian/changelog |6 +-
 .../linux-modules-di-m68k-2.6/kernel-versions  |   18 +-
 .../modules/m68k/squashfs-modules  |1 +
 .../linux-modules-di-mips-2.6/debian/changelog |6 ++
 .../linux-modules-di-mips-2.6/kernel-versions  |   10 +-
 .../modules/mips/squashfs-modules  |1 +
 .../linux-modules-di-mipsel-2.6/debian/changelog   |6 ++
 .../linux-modules-di-mipsel-2.6/kernel-versions|8 
 .../modules/mipsel/squashfs-modules|1 +
 .../linux-modules-di-powerpc-2.6/debian/changelog  |6 ++
 .../linux-modules-di-powerpc-2.6/kernel-versions   |8 
 .../modules/powerpc/squashfs-modules   |1 +
 .../linux-modules-di-s390-2.6/debian/changelog |6 ++
 .../linux-modules-di-s390-2.6/kernel-versions  |2 +-
 .../modules/s390/squashfs-modules  |1 +
 .../linux-modules-di-sparc-2.6/debian/changelog|6 ++
 .../linux-modules-di-sparc-2.6/kernel-versions |4 ++--
 .../modules/sparc/squashfs-modules |1 +
 39 files changed, 125 insertions(+), 38 deletions(-)

diff --git a/packages/kernel/linux-modules-di-alpha-2.6/debian/changelog 
b/packages/kernel/linux-modules-di-alpha-2.6/debian/changelog
index 7f3292a..7262955 100644
--- a/packages/kernel/linux-modules-di-alpha-2.6/debian/changelog
+++ b/packages/kernel/linux-modules-di-alpha-2.6/debian/changelog
@@ -1,3 +1,9 @@
+linux-modules-di-alpha-2.6 (1.05) UNRELEASED; urgency=low
+
+  * Add squashfs module.
+
+ -- Otavio Salvador [EMAIL PROTECTED]  Sun, 17 Jun 2007 15:23:59 -0300
+
 linux-modules-di-alpha-2.6 (1.04) unstable; urgency=low
 
   * Built against loop-aes version 3.2a-2 (kernel 2.6.21-1)
diff --git a/packages/kernel/linux-modules-di-alpha-2.6/kernel-versions 
b/packages/kernel/linux-modules-di-alpha-2.6/kernel-versions
index 8ccfe1a..8386e9b 100644
--- a/packages/kernel/linux-modules-di-alpha-2.6/kernel-versions
+++ b/packages/kernel/linux-modules-di-alpha-2.6/kernel-versions
@@ -1,2 +1,2 @@
 # arch   version  flavour  installedname   suffix  build-depends
-alpha2.6.21-1 alpha-generic2.6.21-1-alpha-generic  -   
loop-aes-modules-2.6.21-1-alpha-generic
+alpha2.6.21-1 alpha-generic2.6.21-1-alpha-generic  -   
loop-aes-modules-2.6.21-1-alpha-generic, squashfs-modules-2.6.21-1-alpha-generic
diff --git 
a/packages/kernel/linux-modules-di-alpha-2.6/modules/alpha/squashfs-modules 
b/packages/kernel/linux-modules-di-alpha-2.6/modules/alpha/squashfs-modules
new file mode 100644
index 000..7c1157f
--- /dev/null
+++ b/packages/kernel/linux-modules-di-alpha-2.6/modules/alpha/squashfs-modules
@@ -0,0 +1 @@
+squashfs
diff --git a/packages/kernel/linux-modules-di-amd64-2.6/debian/changelog 
b/packages/kernel/linux-modules-di-amd64-2.6/debian/changelog
index 998c5a2..3f0ca8c 100644
--- a/packages/kernel/linux-modules-di-amd64-2.6/debian/changelog
+++ b/packages/kernel/linux-modules-di-amd64-2.6/debian/changelog
@@ -1,3 +1,9 @@
+linux-modules-di-amd64-2.6 (1.06) UNRELEASED; urgency=low
+
+  * Add squashfs module.
+
+ -- 

[PATCH 4/4] Add isinstallable files on base-installer and pkgsel packages

2007-06-17 Thread Otavio Salvador
From: Otavio Salvador [EMAIL PROTECTED]

When using live-installer we ought not run base-installer and pkgsel
modules and then we provide isinstallable files that when
live-installer/enable is true it disable these modules.
---

 .../debian/base-installer.isinstallable|4 
 packages/base-installer/debian/changelog   |1 +
 packages/base-installer/debian/rules   |1 +
 packages/pkgsel/debian/changelog   |6 ++
 packages/pkgsel/debian/pkgsel.isinstallable|2 ++
 5 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/packages/base-installer/debian/base-installer.isinstallable 
b/packages/base-installer/debian/base-installer.isinstallable
new file mode 100644
index 000..d813011
--- /dev/null
+++ b/packages/base-installer/debian/base-installer.isinstallable
@@ -0,0 +1,4 @@
+#!/bin/sh
+. /usr/share/debconf/confmodule
+db_get live-installer/enable  [ $RET = true ]  exit 1
+exit 0
diff --git a/packages/base-installer/debian/changelog 
b/packages/base-installer/debian/changelog
index 021d403..f4233a4 100644
--- a/packages/base-installer/debian/changelog
+++ b/packages/base-installer/debian/changelog
@@ -2,6 +2,7 @@ base-installer (1.81) UNRELEASED; urgency=low
 
   * Provides installed-base. This is need to be able to use alternative
 ways of installing Debian.
+  * Avoid running if live-installer/enable is true.
 
  -- Otavio Salvador [EMAIL PROTECTED]  Sun, 17 Jun 2007 10:02:39 -0300
 
diff --git a/packages/base-installer/debian/rules 
b/packages/base-installer/debian/rules
index 0b1e7c7..6e1f2a3 100755
--- a/packages/base-installer/debian/rules
+++ b/packages/base-installer/debian/rules
@@ -50,6 +50,7 @@ binary-arch: install
dh_testroot
dh_installdebconf -n
(echo ; cat debian/templates)  debian/base-installer/DEBIAN/templates
+   cp debian/base-installer.isinstallable 
debian/pkgsel/DEBIAN/isinstallable
dh_strip
dh_compress
dh_fixperms
diff --git a/packages/pkgsel/debian/changelog b/packages/pkgsel/debian/changelog
index 281e8b8..4523753 100644
--- a/packages/pkgsel/debian/changelog
+++ b/packages/pkgsel/debian/changelog
@@ -1,3 +1,9 @@
+pkgsel (0.14) UNRELEASED; urgency=low
+
+  * Avoid tunning in case live-installer is being use.
+
+ -- Otavio Salvador [EMAIL PROTECTED]  Sat, 16 Jun 2007 12:56:12 -0300
+
 pkgsel (0.13) unstable; urgency=low
 
   * Multiply menu-item-numbers by 100
diff --git a/packages/pkgsel/debian/pkgsel.isinstallable 
b/packages/pkgsel/debian/pkgsel.isinstallable
index fb0c748..93c4b13 100755
--- a/packages/pkgsel/debian/pkgsel.isinstallable
+++ b/packages/pkgsel/debian/pkgsel.isinstallable
@@ -7,4 +7,6 @@ if db_get mirror/codename  [ $RET ]; then
exit 1
fi
 fi
+db_get live-installer/enable  [ $RET = true ]  exit 1
+
 exit 0


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



[PATCH 3/4] Import live-installer udeb source

2007-06-17 Thread Otavio Salvador
From: Otavio Salvador [EMAIL PROTECTED]


---

 packages/live-installer/Makefile.am|1 
 packages/live-installer/bootstrap  |7 ++
 packages/live-installer/configure.ac   |   26 ++
 packages/live-installer/debian/changelog   |5 +
 packages/live-installer/debian/compat  |1 
 packages/live-installer/debian/control |   13 +++
 packages/live-installer/debian/copyright   |   24 ++
 packages/live-installer/debian/install |1 
 packages/live-installer/debian/po/POTFILES.in  |1 
 packages/live-installer/debian/po/templates.pot|   35 +
 packages/live-installer/debian/postinst|   82 
 packages/live-installer/debian/rules   |7 ++
 .../live-installer/debian/source.lintian-overrides |2 +
 packages/live-installer/debian/templates   |   17 
 packages/live-installer/include/config.h.in|   22 +
 packages/live-installer/live-installer.d/network   |5 +
 .../live-installer.d/remove-packages   |5 +
 .../live-installer/live-installer.d/xserver-xorg   |6 ++
 packages/live-installer/src/Makefile.am|4 +
 packages/live-installer/src/print-inodes.c |   40 ++
 packages/live-installer/support/dir|   12 +++
 packages/live-installer/support/ext2   |   20 +
 packages/live-installer/support/ext3   |   20 +
 packages/live-installer/support/squashfs   |   20 +
 24 files changed, 376 insertions(+), 0 deletions(-)

diff --git a/packages/live-installer/Makefile.am 
b/packages/live-installer/Makefile.am
new file mode 100644
index 000..af437a6
--- /dev/null
+++ b/packages/live-installer/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = src
diff --git a/packages/live-installer/bootstrap 
b/packages/live-installer/bootstrap
new file mode 100755
index 000..396c2a5
--- /dev/null
+++ b/packages/live-installer/bootstrap
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+aclocal --force
+autoheader --force
+autoconf --force
+automake --foreign --add-missing --copy --force-missing
+
diff --git a/packages/live-installer/configure.ac 
b/packages/live-installer/configure.ac
new file mode 100644
index 000..660195a
--- /dev/null
+++ b/packages/live-installer/configure.ac
@@ -0,0 +1,26 @@
+dnl Copyright (C) 2007 O.S. Systems
+dnl Copyright (C) 2007 Otavio Salvador [EMAIL PROTECTED]
+
+dnl This program is free software; you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 2 of the License, or
+dnl (at your option) any later version.
+
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl GNU General Public License for more details.
+
+dnl You should have received a copy of the GNU General Public License along
+dnl with this program; if not, write to the Free Software Foundation, Inc.,
+dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+AC_INIT([squashfs-installer], [0])
+AC_CONFIG_HEADER(include/config.h:include/config.h.in)
+AM_INIT_AUTOMAKE([1.8])
+
+dnl Checks for programs we'd need for building
+AC_PROG_MAKE_SET
+AC_PROG_CC
+
+AC_OUTPUT(Makefile src/Makefile)
diff --git a/packages/live-installer/debian/changelog 
b/packages/live-installer/debian/changelog
new file mode 100644
index 000..4a61769
--- /dev/null
+++ b/packages/live-installer/debian/changelog
@@ -0,0 +1,5 @@
+live-installer (0) UNRELEASED; urgency=low
+
+  * Initial release.
+
+ -- Otavio Salvador [EMAIL PROTECTED]  Tue, 13 Mar 2007 00:09:27 -0300
diff --git a/packages/live-installer/debian/compat 
b/packages/live-installer/debian/compat
new file mode 100644
index 000..7ed6ff8
--- /dev/null
+++ b/packages/live-installer/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/packages/live-installer/debian/control 
b/packages/live-installer/debian/control
new file mode 100644
index 000..2408fc5
--- /dev/null
+++ b/packages/live-installer/debian/control
@@ -0,0 +1,13 @@
+Source: live-installer
+Section: debian-installer
+Priority: optional
+Maintainer: Otavio Salvador [EMAIL PROTECTED]
+Build-Depends: cdbs (= 0.4.35), debhelper (= 5.0), po-debconf
+
+Package: live-installer
+XC-Package-Type: udeb
+Architecture: any
+Depends: ${shlibs:Depends}, mounted-partitions, squashfs-modules
+Provides: kernel-installer, created-fstab, base-installer
+XB-Installer-Menu-Item: 6500
+Description: Install the system
diff --git a/packages/live-installer/debian/copyright 
b/packages/live-installer/debian/copyright
new file mode 100644
index 000..8f5e5b4
--- /dev/null
+++ b/packages/live-installer/debian/copyright
@@ -0,0 +1,24 @@
+This package was debianized by Otavio Salvador [EMAIL PROTECTED] on
+Sex, 15 Jun 2007 00:00:00 -0300.

Re: r47274 - in trunk/packages/arch/i386/grub-installer: . debian

2007-06-17 Thread Frans Pop
On Sunday 17 June 2007 20:49, Robert Millan wrote:
  if [ -s $tmpfile ] ; then
   case $grub_version in
 - grub)   grub_write_divider ;;
 - grub2)  : ;;
 + grub)
 + grub_write_divider
 + cat $tmpfile  $ROOT/boot/grub/$menu_file
 + ;;
 + grub2)
 + grub_write_divider
 + cat  $ROOT/etc/grub.d/30_otheros  EOF
 +#!/bin/sh
 +exec tail -n +3 \$0
 +EOF
 + cat $tmpfile  $ROOT/etc/grub.d/30_otheros
 + chmod +x $ROOT/etc/grub.d/30_otheros
 + update-grub # propagate 30_otheros to grub.cfg
 + ;;
   esac
 - cat $tmpfile  $ROOT/boot/grub/$menu_file
   rm -f $tmpfile
  fi

Doesn't it make sense to move 'grub_write_divider' to before the case 
statement as it is identical for both?


pgp03SgYTTgro.pgp
Description: PGP signature


Processed: tagging 426737

2007-06-17 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 # Automatically generated email from bts, devscripts version 2.9.26
 tags 426737 pending
Bug#426737: lilo-installer fails on HP SmartArray controllers (/dev/ida)
There were no tags set.
Tags added: pending


End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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



Bug#364526: debian-installer: Please implement a password-checking module

2007-06-17 Thread Christian Perrier
 +Template: passwd/chkpasswdstrength
 +Type: boolean
 +Default: true
 +_Description: : Reject weak passwords?

Should be:

_Description: Reject weak passwords?


 + Please choose whether you want the entered passwords strength to be
 + checked and passwords found as 'weak' to be rejected. 
 +

 +Template: user-setup/chkpasswdstrength-bad
 +Type: error
 +_Description: Weak password
 + choose another password that does contain numbers, upper and lower 
 + case characters.
 +

s/choose/Please choose

I suggest removing 'another':

 Please choose a password that

  Template: passwd/shadow
  Type: boolean
  Default: true
 Index: user-setup-ask
 ===
 --- user-setup-ask(revision 47268)
 +++ user-setup-ask(working copy)
 @@ -37,6 +37,8 @@



signature.asc
Description: Digital signature


Bug#412922: please generate win32-loader.ini manifest file

2007-06-17 Thread Robert Millan
On Mon, Jun 04, 2007 at 11:44:10AM +0200, Robert Millan wrote:
  if the CD is 
  inserted, _increases_ our responsibility if the user should fail to 
  read (or probably more importantly: understand) any of the warnings 
  about erasing your harddisk and losing existing data.
  
  The fact that actually starting an install stills involve a reboot, is not 
  a real safeguard as installing almost anything interesting on Windows 
  requires a reboot anyway.
  
  The fact that currently the installer needs to be booted completely 
  separately, at least makes absolutely clear to even the most clueless 
  Windows user that Debian is not some Windows proggie that can just be 
  tried (as running random Windows proggies is of course always safe, 
  right?).
  
  I could probably be convinced to include this on CD images if the patch 
  would not start your loader, but would open a modified README.html that 
  has an extensive explanation of what Debian is and only contains a link 
  to the loader itself.
  This would however increase the need for translation of the README.html 
  (which is a worthwhile goal for debian-cd anyway).
  
  The same would go for USB keystick, but I am not sure if this should be 
  included in other installation methods.
 
 I agree that these concerns are important.  Perhaps a good solution would be
 to add enormous warnings (maybe even interactive warnings similar to the
 well-known Yes, do as I say!).
 
 Anyway, at the moment I'm not yet proposing to put this in the default CD,
 just to make it easy for users to build their custom CDs with win32-loader
 (which is currently awkward since you have to know win32-loader.ini format
 spec).  I think for the kind of user who builds her own CD, it's safe to
 assume when this CD is used in a Windows box, someone who is not completely
 clueless about what an OS is will be around.

So, is win32-loader.ini generation (alone, without generating autorun.inf!)
ok at this point ?

We can talk about autorun.inf later if you like.

-- 
Robert Millan

My spam trap is [EMAIL PROTECTED]  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.


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



Processed: reassign 423393 to grub-installer

2007-06-17 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 # Automatically generated email from bts, devscripts version 2.9.26
 reassign 423393 grub-installer
Bug#423393: update-grub doesn't import other installed OSes entries.
Bug reassigned from package `grub-pc' to `grub-installer'.


End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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



Bug#364526: debian-installer: Please implement a password-checking module

2007-06-17 Thread Masami Ichikawa

on 06/18/07 01:04, Geert Stappers wrote:

Op 17-06-2007 om 21:21 schreef Masami Ichikawa:
 snip/

+   # password shouldn't contain login account.
+   ret=`echo $passwd | grep -ci $user`
+   if test $ret = 1; then
+		if test $passwd_len -ge $user_len; then 
+			return 0

+   fi
+   fi


If I understand the above code snippet correct,
then it does allow user='root' and password='root'
and does depend on further checks.


Yes. That's right.


Please simply to source code into

 +  ret=`echo $passwd | grep -ci $user`
 +  if test $ret = 1; then
 +  return 0
 +  fi

It does better match 
 +	# password shouldn't contain login account.

and it will prevent user='R00tme' with pasword='R00tme'



when I tested like that user=foo password=food123, I thought this case may 
be allowed.
because, this case grep returns 1.
so, I added if test $passwd_len -ge $user_len; then line.
I couldn't find another solution:-(


 snip/

--- debian/user-setup-udeb.templates(revision 47268)
+++ debian/user-setup-udeb.templates(working copy)
@@ -110,6 +117,12 @@
  You entered an empty password, which is not allowed.
  Please choose a non-empty password.
 
+Template: user-setup/chkpasswdstrength-bad

+Type: error
+_Description: Weak password
+ choose another password that does contain numbers, upper and lower 
+ case characters.

+


Nitpicking:

Start 'choose' with a capital.



Yes.



Thanks for the patch
Some one who should find out,
if he could had apply the patch into versioning system.




Cheers,
--
/*
 * Masami Ichikawa
 * mailto: [EMAIL PROTECTED]
 *   : [EMAIL PROTECTED]
 */


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



Bug#364526: debian-installer: Please implement a password-checking module

2007-06-17 Thread Masami Ichikawa
on 06/18/07 03:02, Christian Perrier wrote:
 +Template: passwd/chkpasswdstrength
 +Type: boolean
 +Default: true
 +_Description: : Reject weak passwords?
 
 Should be:
 
 _Description: Reject weak passwords?
 

Yes. should be.

 
 + Please choose whether you want the entered passwords strength to be
 + checked and passwords found as 'weak' to be rejected. 
 +
 
 +Template: user-setup/chkpasswdstrength-bad
 +Type: error
 +_Description: Weak password
 + choose another password that does contain numbers, upper and lower 
 + case characters.
 +
 
 s/choose/Please choose
 
 I suggest removing 'another':
 
  Please choose a password that
 

Yes.

  Template: passwd/shadow
  Type: boolean
  Default: true
 Index: user-setup-ask
 ===
 --- user-setup-ask   (revision 47268)
 +++ user-setup-ask   (working copy)
 @@ -37,6 +37,8 @@
 

Cheers,
-- 
/*
 * Masami Ichikawa
 * mailto: [EMAIL PROTECTED]
 *   : [EMAIL PROTECTED]
 */


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