Skip to content

Commit

Permalink
sysutils/jdupes: Update to 1.21.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Freaky authored and Daniel Engberg committed Mar 13, 2023
1 parent ba881f8 commit 11db49e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 10 deletions.
17 changes: 14 additions & 3 deletions sysutils/jdupes/Makefile
@@ -1,6 +1,6 @@
PORTNAME= jdupes
DISTVERSIONPREFIX= v
DISTVERSION= 1.21.1
DISTVERSION= 1.21.3
CATEGORIES= sysutils

MAINTAINER= tom@hur.st
Expand All @@ -23,11 +23,22 @@ PLIST_FILES= bin/jdupes \
man/man1/jdupes.1.gz

OPTIONS_DEFINE= LOW_MEMORY
LOW_MEMORY_DESC= Build for lower memory usage instead of speed
LOW_MEMORY_DESC= Minimally-featured build for embedded systems
LOW_MEMORY_MAKE_ENV= LOW_MEMORY=1

.include <bsd.port.options.mk>

# ELF Tool Chain's strip breaks binary so use LLVM's for now
# To avoid hardcoded stripping use INSTALL_KLD instead of _BIN
.if ${PORT_OPTIONS:MLOW_MEMORY} && !defined(WITH_DEBUG)
STRIP_CMD= /usr/bin/llvm-strip
.endif

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_KLD} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1

post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/jdupes

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions sysutils/jdupes/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1674235527
SHA256 (jbruchon-jdupes-v1.21.1_GH0.tar.gz) = 22de88d1963f70c8ed4d0aa40abe05b48aaa4cc08eed6a2c6c9747010f9f4eb7
SIZE (jbruchon-jdupes-v1.21.1_GH0.tar.gz) = 97397
TIMESTAMP = 1675962603
SHA256 (jbruchon-jdupes-v1.21.3_GH0.tar.gz) = 8992d0ff1fe135c685063ce3c9d69d54f1f19f1b32845e84441f888218063cc0
SIZE (jbruchon-jdupes-v1.21.3_GH0.tar.gz) = 155979
8 changes: 4 additions & 4 deletions sysutils/jdupes/files/patch-Makefile
@@ -1,4 +1,4 @@
--- Makefile.orig 2022-09-03 18:09:32 UTC
--- Makefile.orig 2023-02-09 14:46:39 UTC
+++ Makefile
@@ -54,7 +54,7 @@ MKDIR = mkdir -p
CC ?= gcc
Expand All @@ -23,12 +23,12 @@

# Are we running on a Windows OS?
ifeq ($(OS), Windows_NT)
@@ -167,7 +167,7 @@ INSTALL_DATA = $(INSTALL) -m 0644
@@ -182,7 +182,7 @@ INSTALL_DATA = $(INSTALL) -m 0644
OBJS += jdupes.o jody_paths.o jody_sort.o jody_win_unicode.o jody_strtoepoch.o string_malloc.o oom.o
OBJS += jody_cacheinfo.o
OBJS += act_deletefiles.o act_linkfiles.o act_printmatches.o act_summarize.o act_printjson.o
-OBJS += xxhash.o
+# OBJS += xxhash.o
-OBJS += xxhash.o jody_hash.o
+OBJS += jody_hash.o
OBJS += $(ADDITIONAL_OBJECTS)

all: $(PROGRAM_NAME)

0 comments on commit 11db49e

Please sign in to comment.