summaryrefslogtreecommitdiff
path: root/repo/krb5/krb5-server.xibuild
diff options
context:
space:
mode:
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
+}