<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/dropbear, branch 2015.11</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2015.11</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2015.11'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2015-11-26T15:29:55+00:00</updated>
<entry>
<title>dropbear: bump version to 2015.70</title>
<updated>2015-11-26T15:29:55+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>peter@korsgaard.com</email>
</author>
<published>2015-11-26T15:29:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=1069d0fc8cbdca7cb04d1d4ff0c58b46e23299b1'/>
<id>urn:sha1:1069d0fc8cbdca7cb04d1d4ff0c58b46e23299b1</id>
<content type='text'>
Bugfix release, fixes password auth support detection.

Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>dropbear: bump to version 2015.69</title>
<updated>2015-11-25T22:24:09+00:00</updated>
<author>
<name>Gustavo Zacarias</name>
<email>gustavo@zacarias.com.ar</email>
</author>
<published>2015-11-25T22:05:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=37ec6ceaa8cedd40524686d46f39638a9876af6c'/>
<id>urn:sha1:37ec6ceaa8cedd40524686d46f39638a9876af6c</id>
<content type='text'>
Fixes a port-forwarding regression in 2015.68

Signed-off-by: Gustavo Zacarias &lt;gustavo@zacarias.com.ar&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>dropbear: dropbear.service: /etc/default/dropbear is optional</title>
<updated>2015-11-09T22:11:52+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>peter@korsgaard.com</email>
</author>
<published>2015-11-09T22:11:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=04e401e20a8ef8db895f01238bd8d41bb2830cf6'/>
<id>urn:sha1:04e401e20a8ef8db895f01238bd8d41bb2830cf6</id>
<content type='text'>
The environment file is for optional customization, so don't error out if it
isn't present.

Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/dropbear: Respect user specific configurations</title>
<updated>2015-11-02T21:43:06+00:00</updated>
<author>
<name>Cyril Bur</name>
<email>cyrilbur@gmail.com</email>
</author>
<published>2015-10-29T06:11:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=60016a6818d57f376a3fe28e85f0064673bc1210'/>
<id>urn:sha1:60016a6818d57f376a3fe28e85f0064673bc1210</id>
<content type='text'>
systemd .service file should respect /etc/default/dropbear

Signed-off-by: Cyril Bur &lt;cyrilbur@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>dropbear: bump to 2015.68</title>
<updated>2015-10-15T20:22:12+00:00</updated>
<author>
<name>Luca Ceresoli</name>
<email>luca@lucaceresoli.net</email>
</author>
<published>2015-10-15T12:49:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=5e3da92d7e95c88c088384ed1422f6f257106d90'/>
<id>urn:sha1:5e3da92d7e95c88c088384ed1422f6f257106d90</id>
<content type='text'>
Signed-off-by: Luca Ceresoli &lt;luca@lucaceresoli.net&gt;
Reviewed-by: Vicente Olivert Riera &lt;Vincent.Riera@imgtec.com&gt;
Tested-by: Vicente Olivert Riera &lt;Vincent.Riera@imgtec.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package: Replace 'echo -n' by 'printf'</title>
<updated>2015-10-03T22:56:41+00:00</updated>
<author>
<name>Maxime Hadjinlian</name>
<email>maxime.hadjinlian@gmail.com</email>
</author>
<published>2015-10-03T21:29:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=0f75b2635ee564fbbdb9ea631cf39fa8731d6d6c'/>
<id>urn:sha1:0f75b2635ee564fbbdb9ea631cf39fa8731d6d6c</id>
<content type='text'>
'echo -n' is not a POSIX construct (no flag support), we shoud use
'printf', especially in init script.

This patch was generated by the following command line:
git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/'

Signed-off-by: Maxime Hadjinlian &lt;maxime.hadjinlian@gmail.com&gt;
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) &lt;arnout@mind.be&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/dropbear: add warning about volatile keys</title>
<updated>2015-08-30T20:05:29+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2015-08-25T21:43:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=8012250b86dc5c7fa9a882c82ae5364a6ede3512'/>
<id>urn:sha1:8012250b86dc5c7fa9a882c82ae5364a6ede3512</id>
<content type='text'>
When the rootfs is read-only, keys will be generated in a volatile
location, which is inherently bad as host keys will change on each boot,
rendering them virtually useless.

Add a warning so the user is at least aware of the issue.

Hide the rm output to avoid noisy output, now that we have a proper warning.

Move the starting message after the symlink-block, to avoid messages
collision. Move the umask as well, since /etc/dropbear/ may be world
readable; just the private host keys should be ?00 (and dropbear handles
that by itself).

[Peter: minor tweaks to commit message]
Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Cc: Peter Korsgaard &lt;jacmet@uclibc.org&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/dropbear: fix when readlink is from busybox</title>
<updated>2015-08-24T15:06:06+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2015-08-18T19:25:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=29a0f0557984ccb299426712b71fee5abaaa2ca9'/>
<id>urn:sha1:29a0f0557984ccb299426712b71fee5abaaa2ca9</id>
<content type='text'>
Busybox "readlink -f" does not canonicalise paths when the target is
missing, while coreutils do.

Fix that by:
  - making an absolute symlink
  - dropping "-f" when calling readlink

Fixes #8276.

Reported-by: Jason Tang &lt;tang@jtang.org&gt;
Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Cc: Paul Cercueil &lt;paul@crapouillou.net&gt;
Cc: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
Tested-by: Jason Tang &lt;tang@jtang.org&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/dropbear: Fix symlink only if pointing to the right directory</title>
<updated>2015-07-30T21:36:02+00:00</updated>
<author>
<name>Paul Cercueil</name>
<email>paul@crapouillou.net</email>
</author>
<published>2015-07-28T08:21:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=6dc5c7ffea3c309e3402e6c1e4cab42b8b44f421'/>
<id>urn:sha1:6dc5c7ffea3c309e3402e6c1e4cab42b8b44f421</id>
<content type='text'>
This commit ensures that the /etc/dropbear symlink won't be removed if
it points elsewhere than /var/run/dropbear.

[Thomas:
 - fix indentation / too long lines as suggested by Yann E. Morin.]

Signed-off-by: Paul Cercueil &lt;paul@crapouillou.net&gt;
Reviewed-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/dropbear: fix generating keys on RO file systems</title>
<updated>2015-07-13T23:24:26+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2015-07-13T22:44:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=e7d04dd2df8bb935c61f7c814ee88eba7e75b5e4'/>
<id>urn:sha1:e7d04dd2df8bb935c61f7c814ee88eba7e75b5e4</id>
<content type='text'>
dropbear generates its keys at the first connection, and wants to save
them in /etc/dropbear (not configurable).

Currently, our /etc/dropbear is a directory.

When the filesystem is read-only, dropbear can't save its keys, so
refuses all connections.

Fix that with:

  - at build time, create /etc/dropbear as a symlink to
    /var/run/dropbear

  - at runtime, if the filesystem is RW (we can rm /etc/dropbear),
    we replace the symlink with an actual directory; otherwise,
    when the filesystem is RO (we can't rm /etc/dropbear), we create
    /var/run/dropbear so the symlink points to an existing directory

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Cc: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Cc: Arnout Vandecappelle &lt;arnout@mind.be&gt;
Cc: Maxime Hadjinlian &lt;maxime.hadjinlian@gmail.com&gt;
Acked-by: "Maxime Hadjinlian" &lt;maxime.hadjinlian@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
</feed>
