[arch-commits] Commit in hamlib/repos/community-x86_64 (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Sun Jun 12 08:05:54 UTC 2022


    Date: Sunday, June 12, 2022 @ 08:05:53
  Author: arojas
Revision: 1236139

archrelease: copy trunk to community-x86_64

Added:
  hamlib/repos/community-x86_64/PKGBUILD
    (from rev 1236138, hamlib/trunk/PKGBUILD)
Deleted:
  hamlib/repos/community-x86_64/PKGBUILD
  hamlib/repos/community-x86_64/hamlib-3.3-format-security.patch

----------------------------------+
 PKGBUILD                         |   90 +++++++++++++++----------------------
 hamlib-3.3-format-security.patch |   14 -----
 2 files changed, 37 insertions(+), 67 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-12 08:05:41 UTC (rev 1236138)
+++ PKGBUILD	2022-06-12 08:05:53 UTC (rev 1236139)
@@ -1,53 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgname=hamlib
-pkgver=3.3
-pkgrel=13
-pkgdesc='Ham radio equipment control libraries'
-arch=('x86_64')
-url='https://hamlib.github.io'
-license=('GPL' 'LGPL')
-depends=('perl' 'python' 'lua' 'tcl' 'libxml2' 'libusb-compat' 'libtool' 'libuhd' 'boost-libs')
-makedepends=('swig' 'boost')
-source=("https://github.com/Hamlib/Hamlib/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"{,.asc}
-        'hamlib-3.3-format-security.patch'
-        'fix-lua-5.4.patch::https://github.com/Hamlib/Hamlib/commit/038b87b29913b5264c00eafaf06a3cc13dc16db7.patch')
-sha512sums=('4cf6c94d0238c8a13aed09413b3f4a027c8ded07f8840cdb2b9d38b39b6395a4a88a8105257015345f6de0658ab8c60292d11a9de3e16a493e153637af630a80'
-            'SKIP'
-            'fea0ed27228de5177f1f849e237a517b32f3efd74efab4dfc858c75ae7339dacf942097016229faaa790396f6627160e0e4716dfb16eb496e91c5d8301134098'
-            '364b443c49aa40f5c30015f8a020545f23f05ddd0b8c25c3ff22516068a1cc92259ddd4063c7de37c31dde95012202f688115720c1c4f3f0b9bbfc4f3165653e')
-validpgpkeys=('82D64F6B0E67CD41F689BBA6FB2C5130D55A8819') # Nate Bargmann <n0nb at n0nb.us>
-
-prepare() {
-  cd $pkgname-$pkgver
-
-  sed -i 's|usrp|uhd|g' configure.ac
-  sed -i 's|#include <usrp_standard.h>|#include <uhd.h>|' kit/usrp_impl.cc
-
-  patch -p1 -i ../hamlib-3.3-format-security.patch
-  patch -p1 -i ../fix-lua-5.4.patch
-
-  autoreconf -vif
-}
-
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure \
-  	--prefix=/usr \
-  	--sbindir=/usr/bin \
-  	--with-perl-binding \
-  	--with-python-binding \
-  	--with-tcl-binding \
-  	--with-lua-binding \
-  	--with-xml-support \
-  	--disable-uhd  # https://github.com/Hamlib/Hamlib/issues/355
-
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  make DESTDIR="$pkgdir" install
-}

Copied: hamlib/repos/community-x86_64/PKGBUILD (from rev 1236138, hamlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-12 08:05:53 UTC (rev 1236139)
@@ -0,0 +1,37 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=hamlib
+pkgver=4.4
+pkgrel=1
+pkgdesc='Ham radio equipment control libraries'
+arch=('x86_64')
+url='https://hamlib.github.io'
+license=('GPL' 'LGPL')
+depends=('perl' 'python' 'lua' 'tcl' 'libxml2' 'libusb-compat' 'libtool' 'libuhd' 'boost-libs')
+makedepends=('swig' 'boost' 'libindi')
+source=("https://github.com/Hamlib/Hamlib/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"{,.asc})
+sha512sums=('37366ba180031de34da447c3d4e0086f156b893f57b5ab9bbc38b8e1f4bf9310fa1a9eb2a6d7884f1f11900dbdb811b4071e023aba571ea0ac5d07ddb122bf7b'
+            'SKIP')
+validpgpkeys=('82D64F6B0E67CD41F689BBA6FB2C5130D55A8819') # Nate Bargmann <n0nb at n0nb.us>
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure \
+  	--prefix=/usr \
+  	--sbindir=/usr/bin \
+  	--with-perl-binding \
+  	--with-python-binding \
+  	--with-tcl-binding \
+  	--with-lua-binding \
+  	--with-xml-support \
+  	--disable-uhd  # https://github.com/Hamlib/Hamlib/issues/355
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+}

Deleted: hamlib-3.3-format-security.patch
===================================================================
--- hamlib-3.3-format-security.patch	2022-06-12 08:05:41 UTC (rev 1236138)
+++ hamlib-3.3-format-security.patch	2022-06-12 08:05:53 UTC (rev 1236139)
@@ -1,14 +0,0 @@
-# Fixes build error with format-securety (bug #714682)
-diff --git a/tests/rotctl_parse.c b/tests/rotctl_parse.c
-index 44308cc..aab1300 100644
---- a/tests/rotctl_parse.c
-+++ b/tests/rotctl_parse.c
-@@ -1009,7 +1009,7 @@ int rotctl_parse(ROT *my_rot, FILE *fin, FILE *fout, char *argv[], int argc)
-             /* The starting position of the source string is the first
-              * character past the initial '\'.
-              */
--            snprintf(cmd_name, sizeof(cmd_name), parsed_input[0] + 1);
-+            snprintf(cmd_name, sizeof(cmd_name), "%s", parsed_input[0] + 1);
- 
-             /* Sanity check as valid multiple character commands consist of
-              * alpha-numeric characters and the underscore ('_') character.



More information about the arch-commits mailing list