Ticket #6475: krb5-persistent.patch

File krb5-persistent.patch, 912 bytes (added by W. Michael Petullo <mike@…>, 8 years ago)

Patch against krb5 Makefile to move persistent database to /etc

  • files/krb5kdc

     
    55 
    66start() { 
    77        mkdir -p /var/tmp 
    8         mkdir -p /var/krb5kdc 
     8        mkdir -p /etc/krb5kdc 
    99         
    10         [ -f /var/krb5kdc/principal ] || ( echo; echo ) | kdb5_util create -s 
     10        [ -f /etc/krb5kdc/principal ] || ( echo; echo ) | kdb5_util create -s 
    1111         
    1212        /usr/sbin/krb5kdc 
    1313} 
  • Makefile

     
    5959        tar xf "$(DL_DIR)/$(PKG_SOURCE)" -C "$(BUILD_DIR)" 
    6060        tar xzf "$(BUILD_DIR)/krb5-$(PKG_VERSION).tar.gz" -C "$(BUILD_DIR)" 
    6161        patch -p1 -d "$(PKG_BUILD_DIR)" < "$(PATCH_DIR)/001-uclibc-symbol-collision-fix.patch" 
     62        patch -p1 -d "$(PKG_BUILD_DIR)" < "$(PATCH_DIR)/002-krb5kdc-dir-to-etc.patch" 
    6263endef 
    6364 
    6465CONFIGURE_PATH = ./src