Skip to content

Commit

Permalink
Use correct ABOUT files #1262
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
  • Loading branch information
pombredanne committed Nov 15, 2018
1 parent fd63986 commit f8d2e68
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
$File: COPYING,v 1.1 2008/02/05 19:08:11 christos Exp $
Copyright (c) Ian F. Darwin 1986, 1987, 1989, 1990, 1991, 1992, 1994, 1995.
Software written by Ian F. Darwin and others;
maintained 1994- Christos Zoulas.

This software is not subject to any export provision of the United States
Department of Commerce, and may be exported to any country or planet.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice immediately at the beginning of the file, without modification,
this list of conditions, and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
about_resource: magic.mgc
notes: fine free file compiled magic file for 5.22
homepage_url: http://www.darwinsys.com/file/
version: 5.22
name: libmagic
owner: Ian Darwin
download_url: ftp://ftp.astron.com/pub/file/file-5.22.tar.gz

copyright: Copyright (c) 1986-1995 Ian F. Darwin
Software written by Ian F. Darwin and others.
maintained 1994- Christos Zoulas.
license_expression: bsd-simplified
license_text: libmagic.COPYING

notes: fine free file compiled magic file for 5.22
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
about_resource: libmagic.so
home_url: http://www.darwinsys.com/file/
homepage_url: http://www.darwinsys.com/file/
version: 5.22
name fine free file
name: libmagic
owner: Ian Darwin
download_url: ftp://ftp.astron.com/pub/file/file-5.22.tar.gz
home_url: http://www.darwinsys.com/file/

copyright: Copyright (c) 1986-1995 Ian F. Darwin
Software written by Ian F. Darwin and others.
Expand All @@ -13,28 +12,28 @@ license_expression: bsd-simplified
license_text: libmagic.COPYING

notes: to build see also the scripts at https://github.com/nexB/scancode-thirdparty-src/
On Mac, using brew:
On Mac, using brew
* brew instal libmagic
* The built dylib is under /usr/local/Cellar/libmagic/5.22_1/lib/
* or fetch the tarball then ./configure and make

On Linux:
On Linux
* extract the tarball, configure then make
* the build .so in under src/.libs/ and the build magic.mgc under magic

On Windows:
On Windows
* Install a full mingw with mingw-get.

* Install extra mingw packages:
* Install extra mingw packages
mingw-get install msys-zlib

* zlib: fetch and extract the tarball, then:
* zlib- fetch and extract the tarball, then
make -f win32/Makefile.gcc
* copy the zlib1.dll to the vendored bin directory

* gnurx: fetch and extract the tarball, then configure, make, make install
* gnurx- fetch and extract the tarball, then configure, make, make install
* copy the libgnurx-0.dll to the vendored bin directory

* gcc runtime: From your installed Minwg directory/bin:
* gcc runtime- From your installed Minwg directory/bin
* copy the libgcc_s_dw2-1.dll to the vendored bin directory

0 comments on commit f8d2e68

Please sign in to comment.