From patchwork Thu Jan 19 13:22:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 6442 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4NyNbT28m7z40V9 for ; Thu, 19 Jan 2023 13:22:45 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4NyNbQ6Q3lz3p2; Thu, 19 Jan 2023 13:22:42 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4NyNbQ5CSFz2yxs; Thu, 19 Jan 2023 13:22:42 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4NyNbN58mRz2yRr for ; Thu, 19 Jan 2023 13:22:40 +0000 (UTC) Received: from michael.haj.ipfire.org (michael.haj.ipfire.org [172.28.1.242]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "michael.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4NyNb2754SzR8; Thu, 19 Jan 2023 13:22:22 +0000 (UTC) Received: by michael.haj.ipfire.org (Postfix, from userid 0) id 4NyNb25QpzzVc3w; Thu, 19 Jan 2023 13:22:22 +0000 (UTC) From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 1/2] nqptp: Update to latest version in main branch Date: Thu, 19 Jan 2023 13:22:19 +0000 Message-Id: <20230119132220.3628361-1-michael.tremer@ipfire.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" This patch also creates symlinks that the daemon is automatically started. Signed-off-by: Michael Tremer Acked-by: Peter Müller --- lfs/nqptp | 7 ++++--- src/paks/nqptp/install.sh | 34 ++++++++++++++++++++++++++++++++++ src/paks/nqptp/uninstall.sh | 35 +++++++++++++++++++++++++++++++++++ src/paks/nqptp/update.sh | 26 ++++++++++++++++++++++++++ 4 files changed, 99 insertions(+), 3 deletions(-) create mode 100644 src/paks/nqptp/install.sh create mode 100644 src/paks/nqptp/uninstall.sh create mode 100644 src/paks/nqptp/update.sh diff --git a/lfs/nqptp b/lfs/nqptp index f8bf1b8fa..4e669302b 100644 --- a/lfs/nqptp +++ b/lfs/nqptp @@ -26,7 +26,8 @@ include Config SUMMARY = nqptp is a daemon that monitors timing data from any PTP clocks -VER = d900567 +# https://github.com/mikebrady/nqptp/archive/$(VER).tar.gz +VER = ad384f9ed3b2cc31e97012ab6bfe5a214ffc65a2 THISAPP = nqptp-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -34,7 +35,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = nqptp -PAK_VER = 2 +PAK_VER = 3 SERVICES = nqptp @@ -46,7 +47,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 83db62518577bda0198e989a1274c46b0f0c658cf281fd282b4b1e51544339c00a3e6da43a472e8de50bcd3926c113ca7cd29e8e562de8b1260763d64baa069b +$(DL_FILE)_BLAKE2 = c294012959d8daa54c2a4fc1803cad620c664fc1d0e5f3a865217059b2b9b656fd1c17cfe1c260ca09dc505c7337a77cd6d09fe642c04d3936e274c192e2aaeb install : $(TARGET) diff --git a/src/paks/nqptp/install.sh b/src/paks/nqptp/install.sh new file mode 100644 index 000000000..12d93416e --- /dev/null +++ b/src/paks/nqptp/install.sh @@ -0,0 +1,34 @@ +#!/bin/bash +############################################################################ +# # +# This file is part of the IPFire Firewall. # +# # +# IPFire is free software; you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation; either version 2 of the License, or # +# (at your option) any later version. # +# # +# IPFire is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with IPFire; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Copyright (C) 2007 IPFire-Team . # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh + +# Extract everything +extract_files + +# Enable auto-start for service +ln -sf ../init.d/nqptp /etc/rc.d/rc0.d/K21nqptp +ln -sf ../init.d/nqptp /etc/rc.d/rc3.d/S98nqptp +ln -sf ../init.d/nqptp /etc/rc.d/rc6.d/K21nqptp + +exit 0 diff --git a/src/paks/nqptp/uninstall.sh b/src/paks/nqptp/uninstall.sh new file mode 100644 index 000000000..2238e0c6f --- /dev/null +++ b/src/paks/nqptp/uninstall.sh @@ -0,0 +1,35 @@ +#!/bin/bash +############################################################################ +# # +# This file is part of the IPFire Firewall. # +# # +# IPFire is free software; you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation; either version 2 of the License, or # +# (at your option) any later version. # +# # +# IPFire is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with IPFire; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Copyright (C) 2007 IPFire-Team . # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh + +# Stop the service +service_stop "${NAME}" + +# Delete all program files +remove_files + +# Disable auto-start +rm -vf /etc/rc.d/rc*.d/*nqptp + +exit 0 diff --git a/src/paks/nqptp/update.sh b/src/paks/nqptp/update.sh new file mode 100644 index 000000000..6ce09b972 --- /dev/null +++ b/src/paks/nqptp/update.sh @@ -0,0 +1,26 @@ +#!/bin/bash +############################################################################ +# # +# This file is part of the IPFire Firewall. # +# # +# IPFire is free software; you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation; either version 2 of the License, or # +# (at your option) any later version. # +# # +# IPFire is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with IPFire; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Copyright (C) 2007-2020 IPFire-Team . # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh +./uninstall.sh +./install.sh From patchwork Thu Jan 19 13:22:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 6441 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4NyNbR5FFYz40V9 for ; Thu, 19 Jan 2023 13:22:43 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4NyNbQ30kJzR8; Thu, 19 Jan 2023 13:22:42 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4NyNbQ2PGxz2yxG; Thu, 19 Jan 2023 13:22:42 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4NyNbN4bYyz2xff for ; Thu, 19 Jan 2023 13:22:40 +0000 (UTC) Received: from michael.haj.ipfire.org (michael.haj.ipfire.org [172.28.1.242]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "michael.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4NyNb30BMTz17H; Thu, 19 Jan 2023 13:22:22 +0000 (UTC) Received: by michael.haj.ipfire.org (Postfix, from userid 0) id 4NyNb25YY9zTgr2; Thu, 19 Jan 2023 13:22:22 +0000 (UTC) From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 2/2] shairport-sync: Update to 4.1.1 Date: Thu, 19 Jan 2023 13:22:20 +0000 Message-Id: <20230119132220.3628361-2-michael.tremer@ipfire.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230119132220.3628361-1-michael.tremer@ipfire.org> References: <20230119132220.3628361-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer Acked-by: Peter Müller --- lfs/shairport-sync | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lfs/shairport-sync b/lfs/shairport-sync index 4e5a100ae..5ffd085f7 100644 --- a/lfs/shairport-sync +++ b/lfs/shairport-sync @@ -26,7 +26,7 @@ include Config SUMMARY = An AirPlay audio player -VER = 3cc1ec6 +VER = 4.1.1 THISAPP = shairport-sync-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = shairport-sync -PAK_VER = 9 +PAK_VER = 10 DEPS = alac alsa avahi ffmpeg libdaemon libplist nqptp soxr @@ -48,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 746bd603bded210608f934952a7d1100214960781f8bacf7c95905fbd1ceab91378bc532b007bdec1f170c4aa905fcc0f41f16287116026fbad111ba8177fb8f +$(DL_FILE)_BLAKE2 = 7f3fd50da49c6f57ef2de9a2969d00218b9668cc05f671b65c9ce38d27053d5a514e195027e8ee904d70eb495b31d70cb964861f0cee2ede7a7f9389c555abe3 install : $(TARGET)