diff --git a/sysutils/ddrescue/Makefile b/sysutils/ddrescue/Makefile new file mode 100755 index 00000000000..cdc9beba7cd --- /dev/null +++ b/sysutils/ddrescue/Makefile @@ -0,0 +1,25 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2009/11/02 10:01:40 giovanni Exp $ + +COMMENT = data recovery tool + +DISTNAME = ddrescue-1.11 + +CATEGORIES = sysutils + +HOMEPAGE = http://www.gnu.org/software/ddrescue/ddrescue.html + +# GPLv3 +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM =Yes +PERMIT_DISTFILES_FTP = Yes + +WANTLIB = c m stdc++ + +MASTER_SITES = ${MASTER_SITE_GNU:=ddrescue/} + +CONFIGURE_STYLE = gnu +ALL_TARGET = all doc +INSTALL_TARGET = install install-man + +.include diff --git a/sysutils/ddrescue/distinfo b/sysutils/ddrescue/distinfo new file mode 100644 index 00000000000..dfe698d511c --- /dev/null +++ b/sysutils/ddrescue/distinfo @@ -0,0 +1,5 @@ +MD5 (ddrescue-1.11.tar.gz) = cUYEa7GFE1HRM3ux9bTpAw== +RMD160 (ddrescue-1.11.tar.gz) = VLsNsea5QOciUz9PgEiu57B4UeI= +SHA1 (ddrescue-1.11.tar.gz) = 0571+rDKCi1jEP3QBYBFn4PJc7w= +SHA256 (ddrescue-1.11.tar.gz) = 93ciMaiAGk+v0upiu7v6lvnLtb+2PtW6WNVEuxKapiI= +SIZE (ddrescue-1.11.tar.gz) = 50259 diff --git a/sysutils/ddrescue/patches/patch-configure b/sysutils/ddrescue/patches/patch-configure new file mode 100644 index 00000000000..3bce64df979 --- /dev/null +++ b/sysutils/ddrescue/patches/patch-configure @@ -0,0 +1,16 @@ +$OpenBSD: patch-configure,v 1.1.1.1 2009/11/02 10:01:40 giovanni Exp $ +--- configure.orig Tue Oct 27 10:45:13 2009 ++++ configure Tue Oct 27 10:45:31 2009 +@@ -25,12 +25,6 @@ datadir='$(prefix)/share' + infodir='$(datadir)/info' + mandir='$(datadir)/man' + sysconfdir='$(prefix)/etc' +-CC= +-CXX= +-CPPFLAGS= +-CFLAGS='-Wall -W -O2' +-CXXFLAGS='-Wall -W -O2' +-LDFLAGS= + + # Loop over all args + while [ x"$1" != x ] ; do diff --git a/sysutils/ddrescue/pkg/DESCR b/sysutils/ddrescue/pkg/DESCR new file mode 100644 index 00000000000..4ab9d4756be --- /dev/null +++ b/sysutils/ddrescue/pkg/DESCR @@ -0,0 +1,3 @@ +GNU ddrescue is a data recovery tool. It copies data from one file +or block device (hard disc, cdrom, etc) to another, trying hard to +rescue data in case of read errors. diff --git a/sysutils/ddrescue/pkg/PLIST b/sysutils/ddrescue/pkg/PLIST new file mode 100644 index 00000000000..44842cbf12b --- /dev/null +++ b/sysutils/ddrescue/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2009/11/02 10:01:40 giovanni Exp $ +@bin bin/ddrescue +@info info/ddrescue.info +@man man/man1/ddrescue.1