Add PKGBUILD

This commit is contained in:
Marko Korhonen 2024-05-09 11:15:42 +03:00
parent 4e13c76c55
commit 02fc6bb1c3
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
2 changed files with 47 additions and 0 deletions

17
ChangeLog Normal file
View file

@ -0,0 +1,17 @@
2015-08-11 Giancarlo Razzolini <grazzolini@gmail.com>
* 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 <grazzolini@gmail.com>
* 0.0.2 :
- Removed leftovers from the old dropbear_initrd_encrypt which where conflicting with mkinitcpio-utils.
2015-07-14 Giancarlo Razzolini <grazzolini@gmail.com>
* 0.0.1 :
- Initial release.
- Provide the same functionality as in dropbear_initrd_encrypt regarding dropbear.

30
PKGBUILD Normal file
View file

@ -0,0 +1,30 @@
# Maintainer: Marko Korhonen <marko@korhonen.cc>
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
}