summaryrefslogtreecommitdiff
path: root/repo/krb5/krb5-server.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/krb5/krb5-server.xibuild
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'repo/krb5/krb5-server.xibuild')
-rw-r--r--repo/krb5/krb5-server.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/krb5/krb5-server.xibuild b/repo/krb5/krb5-server.xibuild
new file mode 100644
index 0000000..e8edb99
--- /dev/null
+++ b/repo/krb5/krb5-server.xibuild
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+DESC="The KDC and related programs for Kerberos 5"
+
+package() {
+ mkdir -p "$PKG_DEST"/usr/share \
+ "$PKG_DEST"/usr/bin
+ install -d "$PKG_DEST"/var/lib/krb5kdc
+ mv "$PKG_DEST"/../krb5/usr/sbin "$subpkgdir"/usr/
+
+ add_from_main usr/bin/sclient
+
+ for i in $BUILD_ROOT/*.initd; do
+ install -Dm755 $i \
+ "$PKG_DEST"/etc/init.d/${i%.initd}
+ done
+}