updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / dropbear_initrd_encrypt / PKGBUILD
blob66e14af34ea8b5f53cee99d45cfc5792240c3a67
1 pkgname=dropbear_initrd_encrypt
2 pkgver=0.8
3 pkgrel=13
4 pkgdesc="provides SSH access in initrd to enter root luks passphrase "
5 arch=(i686 x86_64)
6 url="https://mw.vc/2009/08/08/luks-pass-over-ssh-archlinux/"
7 license=('GPL')
8 depends=('dropbear' 'cryptsetup' 'mkinitcpio-nfs-utils' 'psmisc' 'iproute2')
9 install=$pkgname.install
10 source=(dropbear_hook dropbear_install encryptssh_hook encryptssh_install)
11 md5sums=('9499518c882d810c6c090e60ab9617b7'
12          'd996c571fd670a5baf5ffe26420d2dbd'
13          'd6215b016f4b73c0d3017d0c8230c99d'
14          '021ed02865e4043e5929737430242616')
16 build() {
17   install -Dm644 "$srcdir"/dropbear_hook "$pkgdir"/lib/initcpio/hooks/dropbear
18   install -Dm644 "$srcdir"/dropbear_install "$pkgdir"/lib/initcpio/install/dropbear
19   install -Dm644 "$srcdir"/encryptssh_hook "$pkgdir"/lib/initcpio/hooks/encryptssh
20   install -Dm644 "$srcdir"/encryptssh_install "$pkgdir"/lib/initcpio/install/encryptssh