mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
netatalk: bump version
Netatalk goes to version 3.0. The startup script has changed too, there is now only one binary called netatalk. No more afpd, cnid, ... at startup ! They are executed by netatalk. All the config is done within /etc/afp.conf, look at : http://netatalk.sourceforge.net/3.0/htmldocs/upgrade.html for more info about the upgrade process. [Peter: added --without-kerberos to disable kerberos detection] Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
a22e934240
commit
cd4bce0ba6
@ -1,40 +1,30 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Start netatalk daemon (aftpd && cnid_metad)
|
# Start netatalk
|
||||||
#
|
#
|
||||||
|
|
||||||
AFPD_UAMLIST="-U uams_dhx2.so,uams_clrtxt.so"
|
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
echo -n "Starting Netatalk services (this will take a while): "
|
echo "Starting Netatalk"
|
||||||
echo "Starting afpd"
|
start-stop-daemon -S -q -p /var/run/netatalk.pid --exec /usr/sbin/netatalk
|
||||||
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 "."
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stop(){
|
stop(){
|
||||||
echo -n "Stopping Netatalk Daemons:"
|
echo "Stopping Netatalk"
|
||||||
echo -n " afpd"
|
start-stop-daemon -K -q -p /var/run/netatalk.pid
|
||||||
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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
start
|
start
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
stop
|
stop
|
||||||
;;
|
;;
|
||||||
restart)
|
restart)
|
||||||
start
|
start
|
||||||
stop
|
stop
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo $"Usage: $0 {start|stop|restart}"
|
echo $"Usage: $0 {start|stop|restart}"
|
||||||
exit 1
|
exit 1
|
||||||
esac
|
esac
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
# netatalk
|
# netatalk
|
||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
NETATALK_VERSION = 2.2.2
|
NETATALK_VERSION = 3.0
|
||||||
NETATALK_SITE = http://downloads.sourceforge.net/project/netatalk/netatalk/$(NETATALK_VERSION)/
|
NETATALK_SITE = http://downloads.sourceforge.net/project/netatalk/netatalk/$(NETATALK_VERSION)
|
||||||
NETATALK_SOURCE = netatalk-$(NETATALK_VERSION).tar.bz2
|
NETATALK_SOURCE = netatalk-$(NETATALK_VERSION).tar.bz2
|
||||||
|
|
||||||
NETATALK_DEPENDENCIES = openssl berkeleydb libgcrypt libgpg-error
|
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-libgcrypt-dir=$(STAGING_DIR)/usr \
|
||||||
--with-shadow \
|
--with-shadow \
|
||||||
--disable-shell-check \
|
--disable-shell-check \
|
||||||
|
--without-kerberos \
|
||||||
--without-pam
|
--without-pam
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_CUPS),y)
|
ifeq ($(BR2_PACKAGE_CUPS),y)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user