Subject: [alpine-devel] [PATCH] main/syslinux: update instructions on creating password

From: Dubiousjim <[email-masked]>
Date: Sun, 30 Jun 2013 08:04:54 -0400

---
 main/syslinux/APKBUILD             | 8 ++++----
 main/syslinux/update-extlinux.conf | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/main/syslinux/APKBUILD b/main/syslinux/APKBUILD
index aefc79b..837c848 100644
--- a/main/syslinux/APKBUILD
+++ b/main/syslinux/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=syslinux
 pkgver=5.10
-pkgrel=2
+pkgrel=3
 _ver=${pkgver/_/-}
 pkgdesc="Boot loader for the Linux operating system"
 url="http://syslinux.org"
@@ -48,11 +48,11 @@ package() {
 }
 
 md5sums="67c8a85ca275d13b4f7f6139dd47d999  syslinux-5.10.tar.xz
-ca2b5435e838b5938064f93edb2cd897  update-extlinux.conf
+580470ed58df7da9f4f60ae9bf4ffa9f  update-extlinux.conf
 a7fc8fa30d7ae47e27ef15923ab3d05a  update-extlinux"
 sha256sums="4b52d7647d5584c69764c06a836e0d524e5246bf2e94f68cf86342c415508422  syslinux-5.10.tar.xz
-b72ac21426bbd52a55b130d5e4ca13f685780fd6719ee12235cd6bf3df30e32c  update-extlinux.conf
+eb20496114cb96e4e67678e8952bbbac189c65718842eee399113a5486ab733f  update-extlinux.conf
 b54eb30280875e101623e362921b89cfe641648c14502aa1f5e04f9a52c492d4  update-extlinux"
 sha512sums="56422e14b4aa53ca1a5811da0582dbbb349aa52b9e78868bbedc24c67ef2420c4d0ac63fd68c7f0adc2c22606196276265d503b5b6f9d3d796d9ce42845bbdb5  syslinux-5.10.tar.xz
-372bea3eb7e91207af6e227b1ffad1cb877b1f97292004fc7c05820250b8c42ab76775e086e57ea90bbdc80b8efb9e1f3b5cbe2ec1e95be69506ebddf26a89ae  update-extlinux.conf
+b6cc5f51291dfdde42021aa062d92fa9302b7af29af7c09e0f669b192496e1496796598b82956ab442bbd7e4d3998205bf8e028680f69f5a6d59e90802b07599  update-extlinux.conf
 4e929064fee5b76384608e426d689d536f705304a3998b0044882d03d79f8cc1f4a7be1a1e9b3690a1d2a3cba1ef5dca2989bb6d0223402770741be6de7bbce0  update-extlinux"
diff --git a/main/syslinux/update-extlinux.conf b/main/syslinux/update-extlinux.conf
index 947dfde..16ea8db 100644
--- a/main/syslinux/update-extlinux.conf
+++ b/main/syslinux/update-extlinux.conf
@@ -50,10 +50,10 @@ xen_opts=dom0_mem=256M
 # if you download and install /boot/memtest, then if HDT is present it will use it, else a separate
 # menu entry will be auto-generated for memtest
 
-# optional passwd
+# optional password
 # you can generate a MD5 password using: mkpasswd --salt=yy --method=md5
-# you can generate a SHA1 password using: printf '$4$%s$%s$\n' xxxxxx $(printf xxxxxxpass | openssl sha1 -binary | base64 | sed 's/=$//')
-# where yy are two "salt" characters from the set [./a-zA-Z0-9], and xxxxxx can be a longer "salt" from the same set
+# where yy are two "salt" characters from the set [./a-zA-Z0-9]
+# you can also use --method=sha256 or sha512, with a longer salt (will be truncated to 16 chars)
 # if you assign a password, you should make this file world-unreadable
 # if a password is assigned, the menu entries can't be edited at boot time, and HDT if present is password-protected
 # you can also include "MENU PASSWD" in any custom entries you have in /etc/update-extlinux.d/
-- 
1.8.3.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---