diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..e31eeee --- /dev/null +++ b/ChangeLog @@ -0,0 +1,17 @@ +2015-08-11 Giancarlo Razzolini + + * 0.0.3 : + - Correction of the hook help text. + - Changed the root user home directory to /root. + - Some other cleanups, specially regarding TMPDIR files juggling. + +2015-07-28 Giancarlo Razzolini + + * 0.0.2 : + - Removed leftovers from the old dropbear_initrd_encrypt which where conflicting with mkinitcpio-utils. + +2015-07-14 Giancarlo Razzolini + + * 0.0.1 : + - Initial release. + - Provide the same functionality as in dropbear_initrd_encrypt regarding dropbear. diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..955580f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Marko Korhonen + +pkgname=mkinitcpio-dropbear +pkgver=0.0.4 +pkgrel=1 +pkgdesc='hook to install and enable the dropbear daemon in early userspace' +arch=(any) +url="https://github.com/grazzolini/$pkgname" +license=(GPL3) +depends=(dropbear psmisc) +optdepends=( + 'mkinitcpio-netconf: Network interface configuration' + 'mkinitcpio-ppp: PPP interface configuration' + 'openssh: Allows the use of the same host keys used for normal access' +) +source=( + "dropbear_hook" + "dropbear_install" + "LICENSE" +) +changelog=ChangeLog +sha256sums=('6c529408125bd0c446162f8d4a16d7262d6b39896d8e6f87d364f7b299203315' + '51f44735be81a4488acd9b2b7713a3e61beddd9b167773db0e345adc3b8d693f' + 'ac69d63ecc672c698582b0fc260dbfe42d71adcdab707f807c8e1113be11abd8') + +package() { + install -Dm0644 dropbear_hook "$pkgdir/usr/lib/initcpio/hooks/dropbear" + install -Dm0644 dropbear_install "$pkgdir/usr/lib/initcpio/install/dropbear" + install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE +}