From patchwork Mon Oct 1 16:23:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 188323 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id B14802C00C8 for ; Tue, 2 Oct 2012 02:24:08 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D631C1020A4; Mon, 1 Oct 2012 16:24:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R2gQeSqzCLgF; Mon, 1 Oct 2012 16:24:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 331FA1013FE; Mon, 1 Oct 2012 16:24:01 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 6F5948F74A for ; Mon, 1 Oct 2012 16:24:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 32BA980C1E for ; Mon, 1 Oct 2012 16:24:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GnvbsP9sjLPR for ; Mon, 1 Oct 2012 16:24:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id B48AD89C5D for ; Mon, 1 Oct 2012 16:24:00 +0000 (UTC) Received: by weys43 with SMTP id s43so5911283wey.16 for ; Mon, 01 Oct 2012 09:23:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=/s9MYSfvnAxQPHjWyeOgDPwZbzakG3SjdzTU3HYmo+o=; b=Qgn7dkNH2lgyfxu2J1wjqxWCVVkkB3wArnh9r7MBj5anx+1OH/+/7FVOoR+D5UV3uH Q2/CqkUgGGT/pB6l7wDwT+Y4LeHy4/4gKIO6K7jrvp6Dk042gCYdHY+BbQhadeLalya/ 3NmTzWAmQKtQ6mhu24lnb6gJUMCK9KI5snPhGWLf133GsbQrqRaaPYA6J97FLUh8TnNc 2FTJ/BM0Xczbo1H6vlKuC5aqgGtslqcYNWRwwBXfVWHHU4ZXLCc3oXxCl/Hwp86o2456 QUYUiUSl3gIOemigpR7Fuxske9vqntTkYQGzjSKAB41Zz62xDFqHmr4nhdJkeoX5bNMh +W7A== Received: by 10.180.80.134 with SMTP id r6mr15807358wix.1.1349108639029; Mon, 01 Oct 2012 09:23:59 -0700 (PDT) Received: from localhost (193.5-14-84.ripe.coltfrance.com. [84.14.5.193]) by mx.google.com with ESMTPS id bn7sm19364725wib.8.2012.10.01.09.23.56 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 01 Oct 2012 09:23:58 -0700 (PDT) From: Maxime Hadjinlian To: buildroot@busybox.net Date: Mon, 1 Oct 2012 18:23:36 +0200 Message-Id: <1349108616-5814-1-git-send-email-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 1.7.10.4 Subject: [Buildroot] [PATCH] netatalk: bump version X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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. --- package/netatalk/S50netatalk | 32 +++++++++++--------------------- package/netatalk/netatalk.mk | 4 ++-- 2 files changed, 13 insertions(+), 23 deletions(-) diff --git a/package/netatalk/S50netatalk b/package/netatalk/S50netatalk index 94bb161..f109174 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 4b8d66f..a8d78c3 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