jpeginfo: update to 1.7.0.

HISTORY
        v1.7.0 - support for CSV output (--csv),
	         support for JSON output (--json),
	         add support for reading input file from stdin (--stdin),
		 add support for displaying column names (--header),
		 add SHA-512 sigest support (--sha512),
	         other minor fixes.
This commit is contained in:
fcambus 2023-01-21 11:03:39 +00:00
parent 8741a38658
commit ee81593f48
3 changed files with 29 additions and 16 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.14 2023/01/13 11:00:48 wiz Exp $
# $NetBSD: Makefile,v 1.15 2023/01/21 11:03:39 fcambus Exp $
DISTNAME= jpeginfo-1.6.2
DISTNAME= jpeginfo-1.7.0
CATEGORIES= graphics
MASTER_SITES= http://www.kokkonen.net/tjko/src/

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.10 2023/01/13 10:48:36 fcambus Exp $
$NetBSD: distinfo,v 1.11 2023/01/21 11:03:39 fcambus Exp $
BLAKE2s (jpeginfo-1.6.2.tar.gz) = 93df0f6120937a1dc9780e44750e32b3e23e50bf310881d709a6ef39ce543909
SHA512 (jpeginfo-1.6.2.tar.gz) = a077f2273fc96604796e3a922fea6b3761ae97fec22bd9dd26b766bed28334d54105d783e793e41e8dbfd1a27d5a6a0636f146ffa89528f7613f4cbe9358d9ac
Size (jpeginfo-1.6.2.tar.gz) = 93323 bytes
SHA1 (patch-aa) = 6c3ad29fc0dfffa55a3155f32abc58cd343bdfa5
BLAKE2s (jpeginfo-1.7.0.tar.gz) = a4f4bcac94e71c53cb7d88ec30c7b00dea8e8c217a4099572d98223c46e111e5
SHA512 (jpeginfo-1.7.0.tar.gz) = ff83fa4684cbfc6540cdc7caedeec423518fc1ab575ebccff4f837020f664c4d9e110c33e01524e18f9e270bf0b64408409b8adde170b0c13c70e3f5715897cf
Size (jpeginfo-1.7.0.tar.gz) = 105449 bytes
SHA1 (patch-aa) = 5ec0fe68575adf430d23a10e9689aae14b80a229

View file

@ -1,12 +1,12 @@
$NetBSD: patch-aa,v 1.4 2023/01/13 10:48:36 fcambus Exp $
$NetBSD: patch-aa,v 1.5 2023/01/21 11:03:39 fcambus Exp $
- Use PKGMANDIR.
- Append -o flag explicitely, this fixes the build with older versions
of make, such as the one used in NetBSD 9.
--- Makefile.in.orig 2023-01-08 06:33:16.000000000 +0000
--- Makefile.in.orig 2023-01-16 07:48:06.000000000 +0000
+++ Makefile.in
@@ -26,8 +26,9 @@ libdir = $(prefix)/lib
@@ -25,18 +25,19 @@ libdir = $(prefix)/lib
infodir = $(prefix)/share/info
# Where to put the manual pages.
@ -16,14 +16,27 @@ $NetBSD: patch-aa,v 1.4 2023/01/13 10:48:36 fcambus Exp $
+INSTALL_ROOT= $(DESTDIR)
CC = @CC@
@@ -54,6 +55,9 @@ DISTNAME = $(PKGNAME)-$(Version)
OBJS = $(PKGNAME).o misc.o @GNUGETOPT@ md5.o sha256/hash.o sha256/blocks.o
CC = @CC@
XCPPFLAGS = @CPPFLAGS@
CFLAGS = @CFLAGS@ $(XCPPFLAGS) $(DEFS)
-ifeq ($(CC),gcc)
-CFLAGS += -Wall -Wformat -Werror=format-security
+#ifeq ($(CC),gcc)
+#CFLAGS += -Wall -Wformat -Werror=format-security
#CFLAGS += -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2
#CFLAGS += -fstack-protector --param=ssp-buffer-size=4 -fsanitize=address,undefined
-endif
+#endif
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
STRIP = strip
@@ -57,6 +58,9 @@ DISTNAME := $(PKGNAME)-$(Version)
OBJS = $(PKGNAME).o jpegmarker.o misc.o @GNUGETOPT@ md5.o sha256/hash.o sha256/blocks.o \
sha512/hash.o sha512/blocks.o
+.c.o:
+ $(CC) $(CFLAGS) -o $@ -c $<
+
$(PKGNAME): $(OBJS)
$(CC) $(CFLAGS) -o $(PKGNAME) $(OBJS) $(LDFLAGS) $(LIBS)
$(PKGNAME): $(OBJS)
$(CC) $(CFLAGS) -o $(PKGNAME) $(OBJS) $(LDFLAGS) $(LIBS)