Initial bep and patch files for ha, from Jack Laxson

This commit is contained in:
Scott McCreary
2011-01-03 19:28:15 +00:00
parent ecf99619d8
commit 2577ed1099
2 changed files with 29 additions and 0 deletions

18
app-arch/ha/ha-0999.bep Normal file
View File

@@ -0,0 +1,18 @@
DESCRIPTION="The HA archiver using the HSC compression method"
HOMEPAGE="http://packages.debian.org/squeeze/ha"
SRC_URI="ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/ha0999.tgz"
REVISION="1"
CHECKSUM_MD5="77f3266a451712bec55d60df67f61486"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
make -f makefile.nix
}
INSTALL {
mkdir -p ${DESTDIR}/`finddir B_COMMON_BIN_DIRECTORY`
cp ha ${DESTDIR}/`finddir B_COMMON_BIN_DIRECTORY`/ha
}
LICENSE="GNU GPL v2"
COPYRIGHT="1993-1995 Harri Hirvola"

View File

@@ -0,0 +1,11 @@
diff -Naur nix.orig/machine.c nix/machine.c
--- nix/machine.c 2009-11-24 15:27:43.000000000 +0000
+++ nix/machine.c 2009-11-24 15:23:26.000000000 +0000
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <ctype.h>
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#include <utime.h>
#include <time.h>