Displaying 20 results from an estimated 52 matches for "libmagic".
2004 Nov 13
2
Build of RELENG_5 fails in libmagic
Hi,
I'm trying to build 5-STABLE, I have cvsuped the latest source, cleared
out /usr/obj and I still get this problem. Any idea what could be causing it?
Mark
===> lib/libmagic
cat /usr/src/lib/libmagic/../../contrib/file/Header /usr/src/lib/libmagic/../../contrib/file/Localstuff /usr/src/lib/libmagic/../../contrib/file/Magdir/zyxel /usr/src/lib/libmagic/../../contrib/file/Magdir/xdelta /usr/src/lib/libmagic/../../contrib/file/Magdir/sysex /usr/src/lib/libmagic/../../cont...
2017 Apr 20
2
Question about the ticket #743 omindex: delay libmagic checks
Hi,
I'm working on the ticket #743 omindex: delay libmagic checks
<https://trac.xapian.org/ticket/743>. As the ticket's
Description mention, the call to libmagic is expensive than call the stat,
so we can check the size by call the stat to get size before call
libmagic to get a mime type.
But how about the timestamps check? since timestamps chec...
2017 Apr 23
2
Question about the ticket #743 omindex: delay libmagic checks
>
> I'd suggest to start with you just look at moving the libmagic check after
> the filesize checks, so you don't need to get into whether libmagic or
> the database check is cheaper on average.
hi, Olly, I have moved the libmagic check after the filesize check directly,
https://github.com/caiyulun/xapian/commit/3a97d9ee5397fa900a473aa9b3d8eeb720177a...
2017 Feb 27
1
[PATCH] lib: Require libmagic.
If libmagic isn't installed then the guestfs_file_architecture API
doesn't work. This means that inspection will always return
<arch>unknown</arch> for every guest. This subtly breaks a few
features. In particular it was reported that the
virt-builder/virt-customize --install option did...
2011 Feb 19
1
index everything? (no extensions/no mime-types)
I have around 550,000 files (4.7GB) that I need to index. It is a huge
mix of file types. I don't need access to this via web. I just use for
research locally. For now I do a grep and wait several minutes.
omindex complains of
Unknown extension: .... - skipping
As I have many thousands of files that don't have extensions. (No
Period.)
Any way to use omindex to index regardless of
2011 Jul 01
1
Anomaly in Xapian
HI all,
I'm just testing out the capabilities of xapian and omega.
Environment - Fedora15.
Disk to be indexed - 2GB? - FAT16 filesystem. Named "New Volume"
When I add a text file to the disk, by right-clicking in Fedora and choosing
Create New - > Text File
The system creates the text file as expected. I added some content/words, however, xapian-omega will not index it:
2016 Sep 22
2
issues compiling omega
...: Leaving directory '/home/John/xapian-omega-1.4.0'
make[1]: *** [Makefile:1391: all-recursive] Error 1
make[1]: Leaving directory '/home/John/xapian-omega-1.4.0'
make: *** [Makefile:868: all] Error 2
I used the cygwin packages utility to install file 5.25, which is the
package for libmagic. I have verified the presence of the file "magic" - in
cygwin, it exists as /usr/share/magic (a link to /usr/share/misc/magic) and
/usr/share/file/magic (a link to /usr/share/magic) and /usr/misc/magic,
which is the file itself
I have tried various permutations with the -l and -L switche...
2007 May 23
0
FreeBSD Security Advisory FreeBSD-SA-07:04.file
...ity Advisories,
including descriptions of the fields above, security branches, and the
following sections, please visit <URL:http://security.FreeBSD.org/>.
I. Background
The file(1) utility attempts to classify file system objects based on
filesystem, magic number and language tests.
The libmagic(3) library provides most of the functionality of file(1)
and may be used by other applications.
II. Problem Description
When writing data into a buffer in the file_printf function, the length
of the unused portion of the buffer is not correctly tracked, resulting
in a buffer overflow when proces...
2018 Apr 10
6
[PATCH 0/5] Some improvements in bootstrap, m4 and configure.ac
Lin Ma (5):
configure: error out if using libvirt backend and no header files
configure: output the default backend in summary
configure: try pcre-config if pcre pkg-config file not found
configure: output clearer message when missing libmagic
configure: support using local gnulib src directory as $GNULIB_SRCDIR
bootstrap | 78 +++++++++++++++++++++++++++++++++++++++++++++----
configure.ac | 1 +
m4/guestfs-libraries.m4 | 21 ++++++++++---
3 files changed, 91 insertions(+), 9 deletions(-)
--
2.15.1
2007 May 24
0
[FreeBSD-Announce] FreeBSD Security Advisory FreeBSD-SA-07:04.file
...gt;
> <1179937542.1121.4.camel@soundwave.pgh.priv.collaborativefusion.com>
>
> "Brian A. Seklecki" <bseklecki@collaborativefusion.com> writes:
> > I'll have to check, but I doubt anything other than file(1) on
> > production systems is linked against libmagic. This is safe to do in
> > real-time afaik. ~BAS
>
> AFAIK, Apache's mod_mime_magic either links against libmagic or against
> its own copy of the same code.
>
> DES
I've had an initial look over mod_mime_magic.c in Apache 1.3.37 and
2.2.4 . Both are essentially the...
2010 Dec 24
1
CentOS-testing php issues
Hi List,
I have been using the php 5.2.10 from the testing repo and note the
following:
the php-suhosin packages in testing do not match the php version
> PHP Warning: PHP Startup: suhosin: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
Also, does anyone know of a rpm
2016 Sep 22
2
issues compiling omega
James,
That was exactly the issue. libmagic.dll.a was in /lib under cygwin. Adding
a -L/lib took care of this. This was also an issue with -lpcre, which
adding -L/lib fixed as well. Of course, I'm now running up against
something else. from make
libtool: link: g++ -fshow-column -Wall -W -Wredundant-decls -Wpointer-arith
-Wca
st-qual -Wc...
2016 Oct 01
0
A few new packages on CRAN
...L beyond what you get with the HTML parsing in the libxml2-based
packages.
https://cran.r-project.org/web/packages/htmltidy/index.html
(v0.3.0 on github is a tad more robust and will be in CRAN later in
October)
- wand : Retrieve 'Magic' Attributes from Files and Directories
Uses libmagic (file.exe on Windows for the time being) to discern file
types.
https://cran.r-project.org/web/packages/wand/index.html
(100% libmagic version coming later in October)
- gdns : Tools to work with the Google DNS over HTTPS API
Provides full access to the Google DNS HTTPS API and also tool...
2016 Oct 01
0
A few new packages on CRAN
...L beyond what you get with the HTML parsing in the libxml2-based
packages.
https://cran.r-project.org/web/packages/htmltidy/index.html
(v0.3.0 on github is a tad more robust and will be in CRAN later in
October)
- wand : Retrieve 'Magic' Attributes from Files and Directories
Uses libmagic (file.exe on Windows for the time being) to discern file
types.
https://cran.r-project.org/web/packages/wand/index.html
(100% libmagic version coming later in October)
- gdns : Tools to work with the Google DNS over HTTPS API
Provides full access to the Google DNS HTTPS API and also tool...
2007 Jul 17
0
"Command & Conquer 3" dvd automount failure workaround
...dkegel/www/ccdvd.bin
/home/dkegel/www/ccdvd.bin: data
whereas it detects similar cd-rom images ok:
$ file /home/dkegel/www/cdrom.bin
/home/dkegel/www/cdrom.bin: ISO 9660 CD-ROM filesystem data
'AUTOCAD_BIBLE '
This is probably a bug in the 'file' command, which uses libmagic to
do its autodetection.
I suspect 'file' or libmagic is used by hal to decide what kind of
disc is being inserted. (But it could also be a kernel bug, I dunno.)
- Dan
2012 Dec 13
1
omindex one file at a time?
Hi, all -- I want to do Plain Old Omindex'ing *but* the mapping
between my documents' filenames and the URLs where I hope search
users to find them is, uh..., strange. The simplest thing (to
me) would be to run omindex for each document, e.g.
omindex --no-delete -U /cool-url-1 /funky/doc/file-blah.pdf
omindex --no-delete -U /cool-url-7 /doc/funky/ohmy/blah-file.txt
... and so on...
2009 Jul 28
1
[PATCH] guestfs_file_arch command
This patch adds a new function, guestfs_file_arch, which is like
guestfs_file but specifically intended to determine the architecture
of binaries and libraries.
Usage is:
guestfs_file_arch (g, "/bin/ls")
==> "x86_64" (or whatever)
What it can do:
- ELF binaries
- ELF shared libraries
- Windows Win32 and Win64 binaries
- Windows Win32 and Win64 DLLs
- Linux
2016 Sep 22
0
issues compiling omega
...d: cannot find -lmagic
It's slightly confusing, but this error means it's failing to find a _library_ called magic, which won't be in a file just called "magic". I don't know where libraries live under cygwin, or what they're called, but it'll probably start "libmagic". It might end ".dll".
J
--
James Aylett
devfort.com ? spacelog.org ? tartarus.org/james/
2016 Sep 22
0
issues compiling omega
On Thu, Sep 22, 2016 at 05:10:32PM -0400, John Bankert wrote:
> That was exactly the issue. libmagic.dll.a was in /lib under cygwin. Adding
> a -L/lib took care of this.
The "share" vs "lib" distinction is that "share" is for files which are
architecture independent. So executable machine code will (well,
should) never be there, only data files, scripts, byte-cod...
2012 Mar 19
1
ABRT interpretation / guidance needed
...-00a17000 rw-p 00028000 fd:00 156252 /lib/libm-2.12.so
00a19000-00a20000 r-xp 00000000 fd:00 156224 /lib/librt-2.12.so
00a20000-00a21000 r--p 00006000 fd:00 156224 /lib/librt-2.12.so
00a21000-00a22000 rw-p 00007000 fd:00 156224 /lib/librt-2.12.so
00a24000-00a3f000 r-xp 00000000 fd:00 36294 /usr/lib/libmagic.so.1.0.0
00a3f000-00a40000 rw-p 0001b000 fd:00 36294 /usr/lib/libmagic.so.1.0.0
00a40000-00a42000 rw-p 00000000 00:00 0
00a44000-00a67000 r-xp 00000000 fd:00 35964 /usr/lib/librpmbuild.so.1.0.0
00a67000-00a69000 rw-p 00023000 fd:00 35964 /usr/lib/librpmbuild.so.1.0.0
00a69000-00a6d000 rw-p 00000000...