mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
sysutils/dd_rescue: Update to 1.99.11
This commit is contained in:
parent
e1d7d6fdeb
commit
dafec451b6
4 changed files with 22 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
|
# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
|
||||||
|
|
||||||
PORTNAME= dd_rescue
|
PORTNAME= dd_rescue
|
||||||
PORTVERSION= 1.99.10
|
PORTVERSION= 1.99.11
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= http://www.garloff.de/kurt/linux/ddrescue/ \
|
MASTER_SITES= http://www.garloff.de/kurt/linux/ddrescue/ \
|
||||||
http://fossies.org/unix/privat/
|
http://fossies.org/unix/privat/
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1615785193
|
TIMESTAMP = 1620114532
|
||||||
SHA256 (dd_rescue-1.99.10.tar.bz2) = 100fceb65b073a2c6e4f1a6b6e2e58e5d51235a4e85162f098b03d9ff0e65c16
|
SHA256 (dd_rescue-1.99.11.tar.bz2) = 84c780919b971459e6fb18775ee097a41fc3dbdcb5aab8332e71e83a03ec645f
|
||||||
SIZE (dd_rescue-1.99.10.tar.bz2) = 176603
|
SIZE (dd_rescue-1.99.11.tar.bz2) = 181927
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
--- Makefile.orig 2021-03-08 07:47:42 UTC
|
--- Makefile.orig 2021-04-29 08:31:32 UTC
|
||||||
+++ Makefile
|
+++ Makefile
|
||||||
@@ -7,10 +7,7 @@ VERSION = 1.99.10
|
@@ -7,11 +7,7 @@ VERSION = 1.99.11
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
SRCDIR = .
|
SRCDIR = .
|
||||||
|
|
||||||
-CC ?= gcc
|
-CC = gcc
|
||||||
|
-SHELL = /bin/bash
|
||||||
-RPM_OPT_FLAGS ?= -Os -Wall -g -D_FORTIFY_SOURCE=2
|
-RPM_OPT_FLAGS ?= -Os -Wall -g -D_FORTIFY_SOURCE=2
|
||||||
-CFLAGS = $(RPM_OPT_FLAGS) $(EXTRA_CFLAGS) -DHAVE_CONFIG_H -I .
|
-CFLAGS = $(RPM_OPT_FLAGS) $(EXTRA_CFLAGS) -DHAVE_CONFIG_H -I .
|
||||||
-CFLAGS_OPT = $(CFLAGS) -O3
|
-CFLAGS_OPT = $(CFLAGS) -O3
|
||||||
|
@ -12,7 +13,7 @@
|
||||||
INSTALL ?= install
|
INSTALL ?= install
|
||||||
INSTALLFLAGS = -s
|
INSTALLFLAGS = -s
|
||||||
prefix = $(DESTDIR)/usr
|
prefix = $(DESTDIR)/usr
|
||||||
@@ -35,7 +32,7 @@ LIB = lib
|
@@ -36,7 +32,7 @@ LIB = lib
|
||||||
LIBDIR = /usr/$(LIB)
|
LIBDIR = /usr/$(LIB)
|
||||||
COMPILER = $(shell $(CC) --version | head -n1)
|
COMPILER = $(shell $(CC) --version | head -n1)
|
||||||
ID = $(shell git describe --tags || cat REL-ID)
|
ID = $(shell git describe --tags || cat REL-ID)
|
||||||
|
@ -21,7 +22,7 @@
|
||||||
OUT = -o dd_rescue
|
OUT = -o dd_rescue
|
||||||
PIC = -fPIC
|
PIC = -fPIC
|
||||||
PIE = -fPIE
|
PIE = -fPIE
|
||||||
@@ -70,19 +67,13 @@ else
|
@@ -71,19 +67,13 @@ else
|
||||||
HAVE_XATTR=0
|
HAVE_XATTR=0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -42,7 +43,7 @@
|
||||||
ISX86 := 1
|
ISX86 := 1
|
||||||
LIB = lib64
|
LIB = lib64
|
||||||
endif
|
endif
|
||||||
@@ -261,7 +252,7 @@ libddr_MD5.so: libddr_hash.so
|
@@ -289,7 +279,7 @@ libddr_MD5.so: libddr_hash.so
|
||||||
ln -sf $< $@
|
ln -sf $< $@
|
||||||
|
|
||||||
libddr_lzo.so: libddr_lzo.po
|
libddr_lzo.so: libddr_lzo.po
|
||||||
|
@ -51,7 +52,7 @@
|
||||||
|
|
||||||
libddr_null.so: libddr_null.po
|
libddr_null.so: libddr_null.po
|
||||||
$(CC) -shared -o $@ $^
|
$(CC) -shared -o $@ $^
|
||||||
@@ -324,7 +315,7 @@ libfalloc-static: $(SRCDIR)/dd_rescue.c $(DDR_HEADERS)
|
@@ -360,7 +350,7 @@ libfalloc-static: $(SRCDIR)/dd_rescue.c $(DDR_HEADERS)
|
||||||
|
|
||||||
# This is the default built
|
# This is the default built
|
||||||
dd_rescue: $(SRCDIR)/dd_rescue.c $(DDR_HEADERS) $(OBJECTS) $(OBJECTS2)
|
dd_rescue: $(SRCDIR)/dd_rescue.c $(DDR_HEADERS) $(OBJECTS) $(OBJECTS2)
|
||||||
|
|
10
sysutils/dd_rescue/files/patch-secmem.c
Normal file
10
sysutils/dd_rescue/files/patch-secmem.c
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- secmem.c.orig 2021-05-04 08:16:41 UTC
|
||||||
|
+++ secmem.c
|
||||||
|
@@ -10,6 +10,7 @@
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <sys/mman.h>
|
||||||
|
+#include <stddef.h>
|
||||||
|
#ifdef HAVE_MALLOC_H
|
||||||
|
# include <malloc.h>
|
||||||
|
#endif
|
Loading…
Add table
Reference in a new issue