diff options
author | jbj <devnull@localhost> | 2003-04-15 16:45:06 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2003-04-15 16:45:06 +0000 |
commit | 20d11cf0f4b568eef0f66d2d606d103496948db0 (patch) | |
tree | 33c49e46e0f094d9a035584b57753b0ae53422bf /file/src | |
parent | 212ee02ec39b2a6d4b893d62addd9b99d4ae7a59 (diff) | |
download | librpm-tizen-20d11cf0f4b568eef0f66d2d606d103496948db0.tar.gz librpm-tizen-20d11cf0f4b568eef0f66d2d606d103496948db0.tar.bz2 librpm-tizen-20d11cf0f4b568eef0f66d2d606d103496948db0.zip |
Move man pages to sub-directory.
CVS patchset: 6746
CVS date: 2003/04/15 16:45:06
Diffstat (limited to 'file/src')
-rw-r--r-- | file/src/Makefile.am | 14 | ||||
-rw-r--r-- | file/src/softmagic.c | 57 |
2 files changed, 34 insertions, 37 deletions
diff --git a/file/src/Makefile.am b/file/src/Makefile.am index 0a5f25161..cb492754f 100644 --- a/file/src/Makefile.am +++ b/file/src/Makefile.am @@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = 1.4 foreign LINT = splint EXTRA_DIST = LEGAL.NOTICE MAINT Makefile.std magic2mime magic.mime \ - Localstuff Header file.man + Localstuff Header BUILT_SOURCES = listobjs $(man_MANS) @@ -29,22 +29,10 @@ file_SOURCES = file.c file_LDFLAGS = -all-static file_LDADD = libfmagic.la -#man_MANS = file.1 $(man_MAGIC) -noinst_MANS = file.1 - pkglibdir = @prefix@/lib/rpm MAGIC = $(pkglibdir)/magic CPPFLAGS = -DMAGIC='"$(MAGIC)"' -fsect = @fsect@ - -file.1: Makefile file.man - @rm -f $@ - sed -e s@__CSECTION__@1@g \ - -e s@__FSECTION__@${fsect}@g \ - -e s@__VERSION__@${VERSION}@g \ - -e s@__MAGIC__@${MAGIC}@g $(srcdir)/file.man > $@ - listobjs: @echo $(libfmagic_la_SOURCES:.c=.lo) > $@ diff --git a/file/src/softmagic.c b/file/src/softmagic.c index 63041b618..8be23d93c 100644 --- a/file/src/softmagic.c +++ b/file/src/softmagic.c @@ -1,35 +1,44 @@ /* + * Copyright (c) Ian F. Darwin 1986-1995. + * Software written by Ian F. Darwin and others; + * maintained 1995-present by Christos Zoulas and others. + * + * 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. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by Ian F. Darwin and others. + * 4. The name of the author may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * 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. + */ +/* * softmagic - interpret variable magic from MAGIC - * - * Copyright (c) Ian F. Darwin, 1987. - * Written by Ian F. Darwin. - * - * This software is not subject to any license of the American Telephone - * and Telegraph Company or of the Regents of the University of California. - * - * Permission is granted to anyone to use this software for any purpose on - * any computer system, and to alter it and redistribute it freely, subject - * to the following restrictions: - * - * 1. The author is not responsible for the consequences of use of this - * software, no matter how awful, even if they arise from flaws in it. - * - * 2. The origin of this software must not be misrepresented, either by - * explicit claim or by omission. Since few users ever read sources, - * credits must appear in the documentation. - * - * 3. Altered versions must be plainly marked as such, and must not be - * misrepresented as being the original software. Since few users - * ever read sources, credits must appear in the documentation. - * - * 4. This notice may not be removed or altered. */ #include "system.h" #include "file.h" #include "debug.h" -FILE_RCSID("@(#)Id: softmagic.c,v 1.51 2002/07/03 18:26:38 christos Exp ") +FILE_RCSID("@(#)Id: softmagic.c,v 1.58 2003/03/26 15:35:30 christos Exp ") /*@access fmagic @*/ |