From nobody Sun Nov 12 11:49:35 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SSrSv4dmTz50Pvw; Sun, 12 Nov 2023 11:49:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SSrSv468nz3Xhr; Sun, 12 Nov 2023 11:49:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699789775; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2qCtUEvjCG55xzV2Th6Xw1l2XGgRt3lWgsE45m8sOvs=; b=BCp4n0Yik84+W4DLfosVCDESJ3+J1BHzWr1zw6Og57GYjVjnLnPdg9QjALifE88IvoodzA 0RG8YBXYkCP07St3+/NaBXnPKgMc3DXDp8T8Ny+EC2i550+W+EKMg/2icx+a159USkkxrA LkLY9kRRjMoJc4o7Mlo344Opy+epkrQBSglG5qXBEaGRKIjirtla6MYlHOMnliiezRfZT8 XhHEO8Byd9FJPvvS2q8Pf34lgpJkWlqHs3JUFT7StPWZWwWzmCziNlKQTE6oHvlDio8pZe oRIcmSRPLu6ST6JPhWsnzlV9aoP488EeMw0Bjy6qZm+7zPvDPnThdu8NPHxiTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699789775; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2qCtUEvjCG55xzV2Th6Xw1l2XGgRt3lWgsE45m8sOvs=; b=BeYg17adU3o34hegI1/En3GUG0k4ZHwFulD0+1VQXVlJYjTHmgnL7mPziHrPWCWPoKPXSK l+6rVzTp9nSdaBIdzjCEg/jcT4yXEUk2mHrENHSf+IlwtwOLJhW3Z+/ihEMp26hJ73n4Rj 9uD14yGXs64gl+Eodu6ulSJK40Qr63OWy0Zjfmt1cV4lqnWflBNquCgGrJtW1PKMxkzsS+ lUj04vO0tSG3hUd84KunQzrTW8lF+6mNrJnsEedidfoZKiDycyT0ksMZH9IENoCovHOeWk gLo8rwO/nO4F4bVUk78uKvzFn/6sahz0fpYN9bxIG6rfV3YyY1db3yXHfgh6gA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699789775; a=rsa-sha256; cv=none; b=bErgH0zNsxjiSoBOcoNCSeOQkG1GT+CIUkR0rzroy1zVxryqF9A9HrAYnXKnjQRr1hSYfY 6aUkYWkMp1AybQQn9LCrimCajjlBCSS8NpspqEGTWg2+3XOReSVCZvZ6924sYNyI/4yzaw HfjEhpLRO2MqC/0uM6CL8q8NfQFp4tPN2FloXzWnBInxRFhQkjV8BR9Dcifv12r2A34VOD FyFwj3NOUWYm+lW7XmapSqsxCJMqXIgH/U4+ep/0OKf8UVeQgkBm7+xS6WHANxhyQNs0l8 Uat5PQLUvmmN8Oj7IObnbitq2n0JaB3OfIO54NMqcC3Nq8hWZQQqxgtOS8wxuw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SSrSv38lmz6mZ; Sun, 12 Nov 2023 11:49:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3ACBnZH8091625; Sun, 12 Nov 2023 11:49:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ACBnZA4091622; Sun, 12 Nov 2023 11:49:35 GMT (envelope-from git) Date: Sun, 12 Nov 2023 11:49:35 GMT Message-Id: <202311121149.3ACBnZA4091622@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rodrigo Osorio Subject: git: f66a958b98a4 - main - audio/gsm: update to 1.0.22 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rodrigo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f66a958b98a443bead25d3eb9cec3e4ea1ed102f Auto-Submitted: auto-generated The branch main has been updated by rodrigo: URL: https://cgit.FreeBSD.org/ports/commit/?id=f66a958b98a443bead25d3eb9cec3e4ea1ed102f commit f66a958b98a443bead25d3eb9cec3e4ea1ed102f Author: Rodrigo Osorio AuthorDate: 2023-11-12 11:42:16 +0000 Commit: Rodrigo Osorio CommitDate: 2023-11-12 11:48:55 +0000 audio/gsm: update to 1.0.22 Major changes * Use $(RMFLAGS) with the rms in the Makefile. * add -f to $(RMFLAGS) to avoid spurious error messages during build * Use $(LN), not ln, in the Makefile rules for the installed binary of untoast and tcat. * Remove unused, and occasionally out of date, VERSION variable from Makefile. Port changes: * Remove openwrt MASTER_SITE, no distfile available anymore --- audio/gsm/Makefile | 9 ++- audio/gsm/distinfo | 6 +- audio/gsm/files/patch-Makefile | 136 +++++++++++++++++++++----------------- audio/gsm/files/patch-inc_toast.h | 4 +- 4 files changed, 85 insertions(+), 70 deletions(-) diff --git a/audio/gsm/Makefile b/audio/gsm/Makefile index ad816141ed85..853382cbd557 100644 --- a/audio/gsm/Makefile +++ b/audio/gsm/Makefile @@ -1,8 +1,7 @@ PORTNAME= gsm -DISTVERSION= 1.0.19 +DISTVERSION= 1.0.22 CATEGORIES= audio -MASTER_SITES= http://www.quut.com/gsm/ \ - http://downloads.openwrt.org/sources/ +MASTER_SITES= http://www.quut.com/gsm/ MAINTAINER= ports@FreeBSD.org COMMENT= Audio converter and library for converting u-law to gsm encoding @@ -13,8 +12,8 @@ LICENSE_NAME= Technische Universitaet Berlin copyright LICENSE_FILE= ${WRKSRC}/COPYRIGHT LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -WRKSRC= ${WRKDIR}/gsm-1.0-pl19 - USE_LDCONFIG= yes +WRKSRC= ${WRKDIR}/gsm-1.0-pl22 + .include diff --git a/audio/gsm/distinfo b/audio/gsm/distinfo index 9710ecace1f4..369b73bb0fe6 100644 --- a/audio/gsm/distinfo +++ b/audio/gsm/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1608949399 -SHA256 (gsm-1.0.19.tar.gz) = 4903652f68a8c04d0041f0d19b1eb713ddcd2aa011c5e595b3b8bca2755270f6 -SIZE (gsm-1.0.19.tar.gz) = 64665 +TIMESTAMP = 1699743014 +SHA256 (gsm-1.0.22.tar.gz) = f0072e91f6bb85a878b2f6dbf4a0b7c850c4deb8049d554c65340b3bf69df0ac +SIZE (gsm-1.0.22.tar.gz) = 66583 diff --git a/audio/gsm/files/patch-Makefile b/audio/gsm/files/patch-Makefile index 90c147526335..a5840ae76442 100644 --- a/audio/gsm/files/patch-Makefile +++ b/audio/gsm/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig 2020-03-27 14:17:15.000000000 -0700 -+++ Makefile 2020-12-26 17:47:37.889939000 -0800 +--- Makefile.orig 2022-08-04 18:46:46 UTC ++++ Makefile @@ -43,8 +43,8 @@ # CC = /usr/lang/acc # CCFLAGS = -c -O @@ -11,7 +11,7 @@ LD = $(CC) -@@ -59,11 +59,13 @@ +@@ -59,6 +59,7 @@ ######### Includes needed by $(CC) # LDINC = -L/usr/gnu/lib/gcc-2.1/gcc-lib/sparc-sun-sunos4.1.2/2.1 @@ -19,13 +19,7 @@ ######### Library paths needed by $(LD) # LDLIB = -lgcc - ######### Additional libraries needed by $(LD) - -+#PREFIX= /usr/local - - # Where do you want to install libraries, binaries, a header file - # and the manual pages? -@@ -71,7 +73,7 @@ +@@ -71,7 +72,7 @@ # Leave INSTALL_ROOT empty (or just don't execute "make install") to # not install gsm and toast outside of this directory. @@ -34,7 +28,7 @@ # Where do you want to install the gsm library, header file, and manpages? # -@@ -80,7 +82,7 @@ +@@ -80,7 +81,7 @@ GSM_INSTALL_ROOT = $(INSTALL_ROOT) GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib @@ -43,20 +37,21 @@ GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/man/man3 -@@ -106,6 +108,7 @@ +@@ -106,7 +107,7 @@ COMPRESSFLAGS = # RANLIB = true RANLIB = ranlib +- +RM = rm -f - # # You shouldn't have to configure below this line if you're porting. -@@ -129,18 +132,19 @@ + # +@@ -129,17 +130,19 @@ # DEBUG = -DNDEBUG ######### Remove -DNDEBUG to enable assertions. -CFLAGS = $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \ -+CFLAGS += $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \ ++CFLAGS += $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \ $(WAV49) $(CCINC) -I$(INC) ######### It's $(CC) $(CFLAGS) @@ -68,44 +63,41 @@ # Targets -LIBGSM = $(LIB)/libgsm.a -- -+LIBGSM = libgsm.a -+SOLIBGSM = libgsm.so.1 ++LIBGSM = libgsm.a ++SOLIBGSM = libgsm.so.1 + TOAST = $(BIN)/toast UNTOAST = $(BIN)/untoast - TCAT = $(BIN)/tcat -@@ -257,13 +261,15 @@ +@@ -257,7 +260,8 @@ # Install targets GSM_INSTALL_TARGETS = \ - $(GSM_INSTALL_LIB)/libgsm.a \ -+ $(GSM_INSTALL_LIB)/$(LIBGSM) \ -+ $(GSM_INSTALL_LIB)/$(SOLIBGSM) \ ++ $(GSM_INSTALL_LIB)/$(LIBGSM) \ ++ $(GSM_INSTALL_LIB)/$(SOLIBGSM) \ $(GSM_INSTALL_INC)/gsm.h \ $(GSM_INSTALL_MAN)/gsm.3 \ $(GSM_INSTALL_MAN)/gsm_explode.3 \ - $(GSM_INSTALL_MAN)/gsm_option.3 \ - $(GSM_INSTALL_MAN)/gsm_print.3 +@@ -272,14 +276,16 @@ -+ - TOAST_INSTALL_TARGETS = \ - $(TOAST_INSTALL_BIN)/toast \ - $(TOAST_INSTALL_BIN)/tcat \ -@@ -277,9 +283,12 @@ + + # Default rules +- + .c.o: $(CC) $(CFLAGS) $? @-mv `$(BASENAME) $@` $@ > /dev/null 2>&1 +.c.so: -+ ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} ++ ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} + # Target rules -all: $(LIBGSM) $(TOAST) $(TCAT) $(UNTOAST) -+all: $(LIB)/$(LIBGSM) $(LIB)/$(SOLIBGSM) $(TOAST) $(TCAT) $(UNTOAST) ++all: $(LIB)/$(LIBGSM) $(LIB)/$(SOLIBGSM) $(TOAST) $(TCAT) $(UNTOAST) @-echo $(ROOT): Done. tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result -@@ -299,24 +308,28 @@ +@@ -299,26 +305,30 @@ # The basic API: libgsm @@ -117,17 +109,18 @@ + $(CC) -o $@ -shared -Wl,-soname,$(SOLIBGSM) $(GSM_OBJECTS:S/o$/so/g) + (cd $(LIB); $(LN) -sf $(SOLIBGSM) `echo $(SOLIBGSM) | sed 's/\.so.*$$/.so/'`) -+$(LIB)/$(LIBGSM): $(LIB) $(GSM_OBJECTS) -+ $(RM) $(RMFLAGS) $(LIBGSM) ++$(LIB)/$(LIBGSM): $(LIB) $(GSM_OBJECTS) ++ $(RM) $(RMFLAGS) $(LIB)/$(LIBGSM) + $(AR) $(ARFLAGS) $(LIB)/$(LIBGSM) $(GSM_OBJECTS) + $(RANLIB) $(LIB)/$(LIBGSM) -+ # Toast, Untoast and Tcat -- the compress-like frontends to gsm. -$(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIBGSM) - $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSM) $(LDLIB) +$(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIB)/$(LIBGSM) ++ $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIB)/$(LIBGSM) $(LDLIB) ++$(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIB)/$(LIBGSM) + $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) -lgsm $(LDLIB) $(UNTOAST): $(BIN) $(TOAST) @@ -142,14 +135,16 @@ + $(RM) $(RMFLAGS) $(TCAT) + $(LN) -sf $(TOAST) $(TCAT) - +- # The local bin and lib directories -@@ -342,62 +355,66 @@ + + $(BIN): +@@ -342,62 +352,59 @@ gsmuninstall: -if [ x"$(GSM_INSTALL_ROOT)" != x ] ; then \ - rm $(RMFLAGS) $(GSM_INSTALL_TARGETS) ; \ -+ $(RM)$(RMFLAGS) $(GSM_INSTALL_TARGETS) ; \ ++ $(RM)$(RMFLAGS) $(GSM_INSTALL_TARGETS) ; \ fi toastuninstall: @@ -159,79 +154,72 @@ fi $(TOAST_INSTALL_BIN)/toast: $(TOAST) -- -rm $@ +- -rm $(RMFLAGS) $@ - cp $(TOAST) $@ - chmod 755 $@ + $(RM) $@ + ${BSD_INSTALL_PROGRAM} $(TOAST) $@ $(TOAST_INSTALL_BIN)/untoast: $(TOAST_INSTALL_BIN)/toast -- -rm $@ -- ln $? $@ -+ $(RM) $@ +- -rm $(RMFLAGS) $@ +- $(LN) $? $@ ++ -$(RM) $@ + $(LN) -sf toast $@ $(TOAST_INSTALL_BIN)/tcat: $(TOAST_INSTALL_BIN)/toast -- -rm $@ -- ln $? $@ +- -rm $(RMFLAGS) $@ +- $(LN) $? $@ + $(RM) $@ + $(LN) -sf toast $@ $(TOAST_INSTALL_MAN)/toast.1: $(MAN)/toast.1 -- -rm $@ +- -rm $(RMFLAGS) $@ - cp $? $@ - chmod 444 $@ + $(RM) $@ + ${BSD_INSTALL_MAN} $? $@ -+$(TOAST_INSTALL_MAN)/untoast.1: $(MAN)/toast.1 -+ $(RM) $@ -+ $(LN) -sf toast.1 $@ -+ -+$(TOAST_INSTALL_MAN)/tcat.1: $(MAN)/toast.1 -+ $(RM) $@ -+ $(LN) -sf toast.1 $@ -+ $(GSM_INSTALL_MAN)/gsm.3: $(MAN)/gsm.3 -- -rm $@ +- -rm $(RMFLAGS) $@ - cp $? $@ - chmod 444 $@ + $(RM) $@ + ${BSD_INSTALL_MAN} $? $@ $(GSM_INSTALL_MAN)/gsm_option.3: $(MAN)/gsm_option.3 -- -rm $@ +- -rm $(RMFLAGS) $@ - cp $? $@ - chmod 444 $@ + $(RM) $@ + ${BSD_INSTALL_MAN} $? $@ ++ $(GSM_INSTALL_MAN)/gsm_explode.3: $(MAN)/gsm_explode.3 -- -rm $@ +- -rm $(RMFLAGS) $@ - cp $? $@ - chmod 444 $@ + $(RM) $@ + ${BSD_INSTALL_MAN} $? $@ $(GSM_INSTALL_MAN)/gsm_print.3: $(MAN)/gsm_print.3 -- -rm $@ +- -rm $(RMFLAGS) $@ - cp $? $@ - chmod 444 $@ + $(RM) $@ + ${BSD_INSTALL_MAN} $? $@ $(GSM_INSTALL_INC)/gsm.h: $(INC)/gsm.h -- -rm $@ +- -rm $(RMFLAGS) $@ - cp $? $@ - chmod 444 $@ + $(RM) $@ + ${BSD_INSTALL_DATA} $? $@ -$(GSM_INSTALL_LIB)/libgsm.a: $(LIBGSM) -- -rm $@ +- -rm $(RMFLAGS) $@ - cp $? $@ - chmod 444 $@ -+$(GSM_INSTALL_LIB)/$(LIBGSM): $(LIB)/$(LIBGSM) ++$(GSM_INSTALL_LIB)/$(LIBGSM): $(LIB)/$(LIBGSM) + $(RM) $@ + ${BSD_INSTALL_DATA} $? $@ @@ -242,3 +230,31 @@ # Distribution +@@ -473,22 +480,22 @@ + $(TST)/test-result: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/run + ( cd $(TST); ./run ) + +-$(TST)/lin2txt: $(TST)/lin2txt.o $(LIBGSM) ++$(TST)/lin2txt: $(TST)/lin2txt.o $(LIB)/$(LIBGSM) + $(LD) $(LFLAGS) -o $(TST)/lin2txt \ + $(TST)/lin2txt.o $(LIBGSM) $(LDLIB) + +-$(TST)/lin2cod: $(TST)/lin2cod.o $(LIBGSM) ++$(TST)/lin2cod: $(TST)/lin2cod.o $(LIB)/$(LIBGSM) + $(LD) $(LFLAGS) -o $(TST)/lin2cod \ + $(TST)/lin2cod.o $(LIBGSM) $(LDLIB) + +-$(TST)/gsm2cod: $(TST)/gsm2cod.o $(LIBGSM) ++$(TST)/gsm2cod: $(TST)/gsm2cod.o $(LIB)/$(LIBGSM) + $(LD) $(LFLAGS) -o $(TST)/gsm2cod \ + $(TST)/gsm2cod.o $(LIBGSM) $(LDLIB) + +-$(TST)/cod2txt: $(TST)/cod2txt.o $(LIBGSM) ++$(TST)/cod2txt: $(TST)/cod2txt.o $(LIB)/$(LIBGSM) + $(LD) $(LFLAGS) -o $(TST)/cod2txt \ + $(TST)/cod2txt.o $(LIBGSM) $(LDLIB) + +-$(TST)/cod2lin: $(TST)/cod2lin.o $(LIBGSM) ++$(TST)/cod2lin: $(TST)/cod2lin.o $(LIB)/$(LIBGSM) + $(LD) $(LFLAGS) -o $(TST)/cod2lin \ + $(TST)/cod2lin.o $(LIBGSM) $(LDLIB) diff --git a/audio/gsm/files/patch-inc_toast.h b/audio/gsm/files/patch-inc_toast.h index cffb8ee91e25..596dd00d501e 100644 --- a/audio/gsm/files/patch-inc_toast.h +++ b/audio/gsm/files/patch-inc_toast.h @@ -1,5 +1,5 @@ ---- inc/toast.h.orig 2020-12-25 18:27:45.606524000 -0800 -+++ inc/toast.h 2020-12-25 18:27:59.726354000 -0800 +--- inc/toast.h.orig 2020-12-25 18:27:45 UTC ++++ inc/toast.h @@ -15,6 +15,7 @@ #define _POSIX_C_SOURCE 200809L #endif