From 8692d9c27b67277b68dacbabac8cd90c8fe3a2bf Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Thu, 25 Feb 2010 06:48:36 +0000 Subject: [PATCH] Added file-5.04 --- sys-apps/file/file-5.04.bep | 18 +++++++++++++++++ sys-apps/file/file.OptionalPackageDescription | 5 +++++ sys-apps/file/patches/file-5.04.patch | 20 +++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 sys-apps/file/file-5.04.bep create mode 100644 sys-apps/file/file.OptionalPackageDescription create mode 100644 sys-apps/file/patches/file-5.04.patch diff --git a/sys-apps/file/file-5.04.bep b/sys-apps/file/file-5.04.bep new file mode 100644 index 000000000..b232ca7a7 --- /dev/null +++ b/sys-apps/file/file-5.04.bep @@ -0,0 +1,18 @@ +DESCRIPTION="Identify a file's format by scanning binary data for patterns" +HOMEPAGE="ftp://ftp.astron.com/pub/file/" +SRC_URI="ftp://ftp.astron.com/pub/file/file-5.04.tar.gz" +CHECKSUM_MD5="accade81ff1cc774904b47c72c8aeea0" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="" +BUILD { + cd file-5.04 + autoreconf -fvi + ./configure --prefix=/boot/common + make +} + +INSTALL { + cd file-5.04 + make install +} diff --git a/sys-apps/file/file.OptionalPackageDescription b/sys-apps/file/file.OptionalPackageDescription new file mode 100644 index 000000000..852bcfa1f --- /dev/null +++ b/sys-apps/file/file.OptionalPackageDescription @@ -0,0 +1,5 @@ +Package: file +Version: 5.04 +Copyright: 1986-1999 Ian F. Darwin +License: BSD (2-clause) +URL: ftp://ftp.astron.com/pub/file/ diff --git a/sys-apps/file/patches/file-5.04.patch b/sys-apps/file/patches/file-5.04.patch new file mode 100644 index 000000000..5e1cc93ec --- /dev/null +++ b/sys-apps/file/patches/file-5.04.patch @@ -0,0 +1,20 @@ +diff -up file-5.04/configure.ac.orig file-5.04/configure.ac +--- file-5.04/configure.ac.orig 2010-02-24 23:25:36.805044224 -0700 ++++ file-5.04/configure.ac 2010-02-24 23:25:01.144441344 -0700 +@@ -128,14 +128,14 @@ else + WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \ + -Wmissing-declarations -Wredundant-decls -Wnested-externs \ + -Wsign-compare -Wreturn-type -Wswitch -Wshadow \ +- -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter" ++ -Wcast-qual -Wwrite-strings" + fi], [ + if test "$GCC" = yes; then + AC_MSG_RESULT(yes) + WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \ + -Wmissing-declarations -Wredundant-decls -Wnested-externs \ + -Wsign-compare -Wreturn-type -Wswitch -Wshadow \ +- -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter" ++ -Wcast-qual -Wwrite-strings" + else + WARNINGS= + AC_MSG_RESULT(no)