aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-03-26 23:18:09 +0800
committermiwi <miwi@FreeBSD.org>2008-03-26 23:18:09 +0800
commit597f4d808fd06179100849a3bb365ca5feec6e6d (patch)
tree443910a469471fa7ab845a02b9af1187bdb30320
parente72cd721dd83b20be9c817be1882871faa5b9d17 (diff)
downloadfreebsd-ports-gnome-597f4d808fd06179100849a3bb365ca5feec6e6d.tar.gz
freebsd-ports-gnome-597f4d808fd06179100849a3bb365ca5feec6e6d.tar.zst
freebsd-ports-gnome-597f4d808fd06179100849a3bb365ca5feec6e6d.zip
The Advanced Forensics Format is an open and extensible file formatdesigned
to store disk images and associated metadata. WWW: http://www.afflib.org PR: ports/120769 Submitted by: Chris Calvey <chris at securityforensics.co.uk>
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/afflib/Makefile29
-rw-r--r--sysutils/afflib/distinfo3
-rw-r--r--sysutils/afflib/files/patch-configure.ac10
-rw-r--r--sysutils/afflib/pkg-descr4
-rw-r--r--sysutils/afflib/pkg-plist25
6 files changed, 72 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index b1eaeb5feb99..97f617cce3a0 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -14,6 +14,7 @@
SUBDIR += acidlaunch
SUBDIR += adtool
SUBDIR += afbinit
+ SUBDIR += afflib
SUBDIR += afio
SUBDIR += agef
SUBDIR += ah-tty
diff --git a/sysutils/afflib/Makefile b/sysutils/afflib/Makefile
new file mode 100644
index 000000000000..4a1ef379f967
--- /dev/null
+++ b/sysutils/afflib/Makefile
@@ -0,0 +1,29 @@
+# Ports collection makefile for: afflib
+#
+# Date created: 15/02/2008
+# Whom: Chris Calvey <chris@securityforensics.co.uk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= afflib
+PORTVERSION= 3.0.6
+CATEGORIES= sysutils
+MASTER_SITES= http://www.afflib.org/downloads/
+
+MAINTAINER= chris@securityforensics.co.uk
+COMMENT= The Advanced Forensics Format library and utilities
+
+LIB_DEPENDS= fuse:${PORTSDIR}/sysutils/fusefs-libs \
+ expat.6:${PORTSDIR}/textproc/expat2
+
+USE_OPENSSL= yes
+USE_ICONV = yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_AUTOTOOLS= autoconf:261
+CONFIGURE_ENV= CPPFLAGS='-DFUSE_USE_VERSION=26' \
+ LDFLAGS='${PTHREAD_LIBS}'
+CFLAGS+= ${PTHREAD_LIBS}
+
+.include <bsd.port.mk>
diff --git a/sysutils/afflib/distinfo b/sysutils/afflib/distinfo
new file mode 100644
index 000000000000..d181b14f2e83
--- /dev/null
+++ b/sysutils/afflib/distinfo
@@ -0,0 +1,3 @@
+MD5 (afflib-3.0.6.tar.gz) = 7e01c22456dc8f81b2091cc2173b0538
+SHA256 (afflib-3.0.6.tar.gz) = 71fe7fb4391a0e470556d4ce8832b07ae6b632ef3cc1b160f5909a3c231430d2
+SIZE (afflib-3.0.6.tar.gz) = 1630704
diff --git a/sysutils/afflib/files/patch-configure.ac b/sysutils/afflib/files/patch-configure.ac
new file mode 100644
index 000000000000..8c7e9c1f6f50
--- /dev/null
+++ b/sysutils/afflib/files/patch-configure.ac
@@ -0,0 +1,10 @@
+--- configure.ac.orig Sat Feb 16 16:13:31 2008
++++ configure.ac Sat Feb 16 16:14:48 2008
+@@ -95,6 +95,7 @@
+ # For AFF tools
+ AC_CHECK_HEADERS([readline/readline.h])
+ AC_CHECK_LIB([readline],[readline],, AC_MSG_RESULT([readline not installed]))
++AC_CHECK_LIB([iconv],[iconv],, AC_MSG_RESULT([iconv not installed]))
+ AC_CHECK_HEADERS([curses.h termcap.h])
+ AC_CHECK_LIB([ncurses],[initscr],, AC_MSG_RESULT([ncurses not installed; aimage will not have a GUI]))
+ AC_CHECK_FUNCS(tputs tgoto tgetstr tgetnum gotorc beep endwin setupterm printw)
diff --git a/sysutils/afflib/pkg-descr b/sysutils/afflib/pkg-descr
new file mode 100644
index 000000000000..38f92b2ba54a
--- /dev/null
+++ b/sysutils/afflib/pkg-descr
@@ -0,0 +1,4 @@
+The Advanced Forensics Format is an open and extensible file formatdesigned
+to store disk images and associated metadata.
+
+WWW: http://www.afflib.org
diff --git a/sysutils/afflib/pkg-plist b/sysutils/afflib/pkg-plist
new file mode 100644
index 000000000000..a49d4fad3819
--- /dev/null
+++ b/sysutils/afflib/pkg-plist
@@ -0,0 +1,25 @@
+bin/afcat
+bin/afcompare
+bin/afconvert
+bin/afcopy
+bin/afcrypto
+bin/affix
+bin/affuse
+bin/afinfo
+bin/afrecover
+bin/afsegment
+bin/afsign
+bin/afstats
+bin/aftest
+bin/afverify
+bin/afxml
+bin/aimage
+bin/s3
+include/afflib/afflib.h
+include/afflib/afflib_i.h
+include/afflib/afflib_sha256.h
+lib/libafflib.a
+lib/libafflib.la
+lib/libafflib.so
+lib/libafflib.so.0
+@dirrm include/afflib