* Robert Millan <[EMAIL PROTECTED]> [2004-09-11 12:13]:
> I'm trying to setup an installation system for colocated or embedded boxes
> that generates a random password and uses it for remote sshd access.  I'm
> thinking on using pwgen to do that.
> 
> Please could you provide a udeb of this package?

Ted, it would be great if this could be done.  I have SSH support for
a MIPS sub-arch ready but I need pwgen to generate a password.  Below
is a simply patch that'll add a udeb.  Ideally, you'd compile pwgen
twice, once for the .deb and once for the .udeb; for the .udeb you
could use -Os and not compile in all features (e.g. SHA1, which is
quite large).  However, the simple udeb from below would do for now.
Thanks a lot.


diff -urN /home/tbm/pwgen-2.04/debian/changelog pwgen-2.04/debian/changelog
--- /home/tbm/pwgen-2.04/debian/changelog       2006-01-15 19:47:22.000000000 
+0000
+++ pwgen-2.04/debian/changelog 2006-01-15 19:54:28.000000000 +0000
@@ -1,3 +1,9 @@
+pwgen (2.04-2) unstable; urgency=low
+
+  * Add a udeb for debian-installer.  (Closes: #271115)
+
+ -- Martin Michlmayr <[EMAIL PROTECTED]>  Sun, 15 Jan 2006 19:51:08 +0000
+
 pwgen (2.04-1) unstable; urgency=low
 
   * New upstream version.
diff -urN /home/tbm/pwgen-2.04/debian/control pwgen-2.04/debian/control
--- /home/tbm/pwgen-2.04/debian/control 2006-01-15 19:47:22.000000000 +0000
+++ pwgen-2.04/debian/control   2006-01-15 19:50:59.000000000 +0000
@@ -15,3 +15,17 @@
  Uppercase letters and digits are placed in a way that eases
  remembering their position when memorizing only the word.
 
+Package: pwgen-udeb
+Architecture: any
+Depends: ${shlibs:Depends}
+Section: debian-installer
+XC-Package-Type: udeb
+Description: Automatic Password generation
+ pwgen generates random, meaningless but pronounceable passwords.
+ These passwords contain either only lowercase letters, or upper
+ and lower case mixed, or digits thrown in.
+ Uppercase letters and digits are placed in a way that eases
+ remembering their position when memorizing only the word.
+ .
+ pwgen-udeb is a minimal package used by debian-installer.
+
diff -urN /home/tbm/pwgen-2.04/debian/pwgen-udeb.dirs 
pwgen-2.04/debian/pwgen-udeb.dirs
--- /home/tbm/pwgen-2.04/debian/pwgen-udeb.dirs 1970-01-01 01:00:00.000000000 
+0100
+++ pwgen-2.04/debian/pwgen-udeb.dirs   2006-01-15 19:53:41.000000000 +0000
@@ -0,0 +1 @@
+usr/bin
diff -urN /home/tbm/pwgen-2.04/debian/rules pwgen-2.04/debian/rules
--- /home/tbm/pwgen-2.04/debian/rules   2006-01-15 19:47:22.000000000 +0000
+++ pwgen-2.04/debian/rules     2006-01-15 19:53:10.000000000 +0000
@@ -28,6 +28,7 @@
        dh_installdirs
 
        $(MAKE) install DESTDIR=`pwd`/debian/pwgen
+       dh_install -ppwgen-udeb pwgen /usr/bin
 
 binary-indep: build install
        dh_testdir

-- 
Martin Michlmayr
http://www.cyrius.com/


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

Reply via email to