diff --git a/package/netatalk/S50netatalk b/package/netatalk/S50netatalk index 94bb161aea..f109174961 100755 --- a/package/netatalk/S50netatalk +++ b/package/netatalk/S50netatalk @@ -1,40 +1,30 @@ -#!/bin/sh -# -# Start netatalk daemon (aftpd && cnid_metad) +#!/bin/sh +# +# Start netatalk # -AFPD_UAMLIST="-U uams_dhx2.so,uams_clrtxt.so" - start() { - echo -n "Starting Netatalk services (this will take a while): " - echo "Starting afpd" - echo -n " afpd" - start-stop-daemon -S -q -p /var/run/afpd.pid --exec /usr/sbin/afpd -- $AFPD_UAMLIST -g nobody -c 50 - echo -n " cnid_metad" - start-stop-daemon -S -q -p /var/run/cnid_metad.pid --exec /usr/sbin/cnid_metad -- -l log_note - echo "." + echo "Starting Netatalk" + start-stop-daemon -S -q -p /var/run/netatalk.pid --exec /usr/sbin/netatalk } stop(){ - echo -n "Stopping Netatalk Daemons:" - echo -n " afpd" - start-stop-daemon -K -q -p /var/run/afpd.pid - echo -n " cnid_metad" - start-stop-daemon -K -q -p /var/run/cnid_metad.pid + echo "Stopping Netatalk" + start-stop-daemon -K -q -p /var/run/netatalk.pid } case "$1" in start) start - ;; + ;; stop) stop - ;; + ;; restart) start stop - ;; - *) + ;; + *) echo $"Usage: $0 {start|stop|restart}" exit 1 esac diff --git a/package/netatalk/netatalk.mk b/package/netatalk/netatalk.mk index 4b8d66f0d0..c01e360700 100644 --- a/package/netatalk/netatalk.mk +++ b/package/netatalk/netatalk.mk @@ -3,8 +3,8 @@ # netatalk # ############################################################# -NETATALK_VERSION = 2.2.2 -NETATALK_SITE = http://downloads.sourceforge.net/project/netatalk/netatalk/$(NETATALK_VERSION)/ +NETATALK_VERSION = 3.0 +NETATALK_SITE = http://downloads.sourceforge.net/project/netatalk/netatalk/$(NETATALK_VERSION) NETATALK_SOURCE = netatalk-$(NETATALK_VERSION).tar.bz2 NETATALK_DEPENDENCIES = openssl berkeleydb libgcrypt libgpg-error @@ -16,6 +16,7 @@ NETATALK_CONF_OPT += --with-cnid-cdb-backend \ --with-libgcrypt-dir=$(STAGING_DIR)/usr \ --with-shadow \ --disable-shell-check \ + --without-kerberos \ --without-pam ifeq ($(BR2_PACKAGE_CUPS),y)