owners owners.list,1.276,1.277
by fedora-extras-commits@redhat.com
Author: toshio
Update of /cvs/extras/owners
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27605
Modified Files:
owners.list
Log Message:
Add foremost
Index: owners.list
===================================================================
RCS file: /cvs/extras/owners/owners.list,v
retrieving revision 1.276
retrieving revision 1.277
diff -u -r1.276 -r1.277
--- owners.list 30 Sep 2005 12:55:29 -0000 1.276
+++ owners.list 30 Sep 2005 19:48:50 -0000 1.277
@@ -192,6 +192,7 @@
Fedora Extras|fnfx|Hotkey functions for Toshiba laptops|andreas.bierfert@lowlatency.de|extras-qa(a)fedoraproject.org|
Fedora Extras|fontforge|An outline and bitmap font editor|otaylor@redhat.com|extras-qa(a)fedoraproject.org|
Fedora Extras|foobillard|A free OpenGL game of playing billard|mitr@redhat.com|extras-qa(a)fedoraproject.org|
+Fedora Extras|formost|Program that recovers files by carving them from a raw disk|toshio@tiki-lounge.com|extras-qa(a)fedoraproject.org|
Fedora Extras|fortune-mod|A program which will display a fortune|sheltren@cs.ucsb.edu|extras-qa(a)fedoraproject.org|
Fedora Extras|fpc|Free Pascal Compiler|joost@cnoc.nl|extras-qa(a)fedoraproject.org|
Fedora Extras|fping|Scriptable, parallelized ping-like utility|kaboom@oobleck.net|extras-qa(a)fedoraproject.org|
18 years
rpms/foremost/devel COPYING, NONE, 1.1 foremost-config.patch, NONE, 1.1 foremost.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by fedora-extras-commits@redhat.com
Author: toshio
Update of /cvs/extras/rpms/foremost/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27515/devel
Modified Files:
.cvsignore sources
Added Files:
COPYING foremost-config.patch foremost.spec
Log Message:
auto-import foremost-1.0-4 on branch devel from foremost-1.0-4.src.rpm
--- NEW FILE COPYING ---
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
foremost-config.patch:
--- NEW FILE foremost-config.patch ---
--- foremost-1.0/Makefile.bak 2005-09-29 08:31:07.000000000 -0700
+++ foremost-1.0/Makefile 2005-09-29 08:48:31.000000000 -0700
@@ -44,7 +44,7 @@
# Definitions we'll need later (and that should rarely change)
HEADER_FILES = main.h ole.h extract.h
-SRC = main.c state.c helpers.c config.c cli.c engine.c dir.c extract.c api.c
+SRC = main.c state.c helpers.c config.c.in cli.c engine.c dir.c extract.c api.c
OBJ = main.o state.o helpers.o config.o cli.o engine.o dir.o extract.o api.o
DOCS = Makefile README CHANGES $(MAN_PAGES) foremost.conf
WINDOC = README.txt CHANGES.txt
@@ -111,6 +111,9 @@
# This section must be updated each time you add an algorithm
#---------------------------------------------------------------------
+config.c: config.c.in
+ sed "s?@CONFDIR@?$(CONF)?" < $< > $@
+
foremost: $(OBJ)
$(CC) $(OBJ) -o $(NAME) $(LINK_OPT)
--- foremost-1.0/config.c.in.bak 2005-09-29 08:31:17.000000000 -0700
+++ foremost-1.0/config.c.in 2005-09-29 08:40:22.000000000 -0700
@@ -0,0 +1,302 @@
+
+#include "main.h"
+
+int translate(char *str)
+{
+ char next;
+ char *rd=str,*wr=str,*bad;
+ char temp[1+3+1];
+ char ch;
+
+ if(!*rd) //If it's a null string just return
+ {
+ return 0;
+ }
+
+ while (*rd)
+ {
+/* Is it an escaped character ? */
+ if (*rd=='\\')
+ {
+ rd++;
+ switch(*rd)
+ {
+ case '\\':
+ *rd++;
+ *wr++='\\';
+ break;
+ case 'a':
+ *rd++;
+ *wr++='\a';
+ break;
+ case 's':
+ *rd++;
+ *wr++=' ';
+ break;
+ case 'n':
+ *rd++;
+ *wr++='\n';
+ break;
+ case 'r':
+ *rd++;
+ *wr++='\r';
+ break;
+ case 't':
+ *rd++;
+ *wr++='\t';
+ break;
+ case 'v':
+ *rd++;
+ *wr++='\v';
+ break;
+/* Hexadecimal/Octal values are treated in one place using strtoul() */
+ case 'x':
+ case '0': case '1': case '2': case '3':
+ next = *(rd+1);
+ if (next < 48 || (57 < next && next < 65) ||
+ (70 < next && next < 97) || next > 102)
+ break; //break if not a digit or a-f, A-F
+ next = *(rd+2);
+ if (next < 48 || (57 < next && next < 65) ||
+ (70 < next && next < 97) || next > 102)
+ break; //break if not a digit or a-f, A-F
+
+ temp[0]='0'; bad=temp;
+ strncpy(temp+1,rd,3);
+ temp[4] = '\0';
+ ch=strtoul(temp,&bad,0);
+ if (*bad=='\0')
+ {
+ *wr++=ch;
+ rd+=3;
+ } /* else INVALID CHARACTER IN INPUT ('\\' followed by *rd) */
+ break;
+ default: /* INVALID CHARACTER IN INPUT (*rd)*/
+ *wr++='\\';
+ break;
+ }
+ }
+/* Unescaped characters go directly to the output */
+ else *wr++=*rd++;
+ }
+ *wr = '\0'; //Null terminate the string that we just created...
+ return wr-str;
+}
+
+
+char* skipWhiteSpace(char* str)
+{
+ while (isspace(str[0]))
+ str++;
+ return str;
+}
+
+
+int extractSearchSpecData(f_state *state,char **tokenarray)
+{
+
+/* Process a normal line with 3-4 tokens on it
+ token[0] = suffix
+ token[1] = case sensitive
+ token[2] = size to snarf
+ token[3] = begintag
+ token[4] = endtag (optional)
+ token[5] = search for footer from back of buffer flag and other options (whew!)
+*/
+
+/* Allocate the memory for these lines.... */
+
+s_spec *s=&search_spec[state->num_builtin];
+
+ s->suffix = malloc(MAX_SUFFIX_LENGTH*sizeof(char));
+ s->header = malloc(MAX_STRING_LENGTH*sizeof(char));
+ s->footer = malloc(MAX_STRING_LENGTH*sizeof(char));
+ s->type= CONF;
+ if (!strncasecmp(tokenarray[0],
+ FOREMOST_NOEXTENSION_SUFFIX,
+ strlen(FOREMOST_NOEXTENSION_SUFFIX)))
+ {
+ s->suffix[0] = ' ';
+ s->suffix[1] = 0;
+ }
+ else
+ {
+
+/* Assign the current line to the SearchSpec object */
+ memcpy(s->suffix,tokenarray[0],MAX_SUFFIX_LENGTH);
+ }
+
+/* Check for case sensitivity */
+ s->case_sen = (!strncasecmp(tokenarray[1],"y",1) ||
+ !strncasecmp(tokenarray[1],"yes",3));
+
+ s->max_len = atoi(tokenarray[2]);
+
+/* Determine which search type we want to use for this needle */
+ s->searchtype = SEARCHTYPE_FORWARD;
+ if (!strncasecmp(tokenarray[5],"REVERSE",strlen("REVERSE")))
+ {
+
+ s->searchtype = SEARCHTYPE_REVERSE;
+ }
+ else if (!strncasecmp(tokenarray[5],"NEXT",strlen("NEXT")))
+ {
+ s->searchtype = SEARCHTYPE_FORWARD_NEXT;
+ }
+// this is the default, but just if someone wants to provide this value just to be sure
+ else if (!strncasecmp(tokenarray[5],"FORWARD",strlen("FORWARD")))
+ {
+ s->searchtype = SEARCHTYPE_FORWARD;
+ }
+
+/* Done determining searchtype */
+
+/* We copy the tokens and translate them from the file format.
+ The translate() function does the translation and returns
+ the length of the argument being translated */
+
+ s->header_len = translate(tokenarray[3]);
+ memcpy(s->header,tokenarray[3],s->header_len);
+ s->footer_len = translate(tokenarray[4]);
+ memcpy(s->footer,tokenarray[4],s->footer_len);
+
+
+ init_bm_table(s->header,s->header_bm_table,s->header_len, s->case_sen,s->searchtype);
+ init_bm_table(s->footer,s->footer_bm_table,s->footer_len,s->case_sen,s->searchtype);
+
+ return TRUE;
+}
+
+int process_line(f_state *s, char *buffer, int line_number)
+{
+
+ char* buf = buffer;
+ char* token;
+ char** tokenarray = (char **) malloc(6*sizeof(char[MAX_STRING_LENGTH]));
+ int i = 0, len = strlen(buffer);
+
+/* Any line that ends with a CTRL-M (0x0d) has been processed
+ by a DOS editor. We will chop the CTRL-M to ignore it */
+ if (buffer[len-2] == 0x0d && buffer[len-1] == 0x0a)
+ {
+ buffer[len-2] = buffer[len-1];
+ buffer[len-1] = buffer[len];
+ }
+
+ buf = (char*) skipWhiteSpace(buf);
+ token = strtok(buf," \t\n");
+
+/* Any line that starts with a '#' is a comment and can be skipped */
+ if(token == NULL || token[0] == '#')
+ {
+ return TRUE;
+ }
+
+/* Check for the wildcard */
+ if (!strncasecmp(token,"wildcard",9))
+ {
+ if ((token = strtok(NULL," \t\n")) != NULL)
+ {
+ translate(token);
+ }
+ else
+ {
+ return TRUE;
+ }
+
+ if (strlen(token) > 1)
+ {
+ fprintf(stderr,"Warning: Wildcard can only be one character,"
+ " but you specified %zu characters.\n"
+ " Using the first character, \"%c\", as the wildcard.\n",
+ strlen(token),token[0]);
+ }
+
+ wildcard = token[0];
+ return TRUE;
+ }
+
+ while (token && (i < NUM_SEARCH_SPEC_ELEMENTS))
+ {
+ tokenarray[i] = token;
+ i++;
+ token = strtok(NULL," \t\n");
+ }
+
+ switch(NUM_SEARCH_SPEC_ELEMENTS-i)
+ {
+ case 2:
+ tokenarray[NUM_SEARCH_SPEC_ELEMENTS-1] = "";
+ tokenarray[NUM_SEARCH_SPEC_ELEMENTS-2] = "";
+ break;
+ case 1:
+ tokenarray[NUM_SEARCH_SPEC_ELEMENTS-1] = "";
+ break;
+ case 0:
+ break;
+ default:
+ fprintf(stderr,"\nERROR: In line %d of the configuration file.\n",line_number);
+ return FALSE;
+ return TRUE;
+
+ }
+
+ if(!extractSearchSpecData(s,tokenarray))
+ {
+ fprintf(stderr,
+ "\nERROR: Unknown error on line %d of the configuration file.\n",line_number);
+ }
+ s->num_builtin++;
+
+
+
+ return TRUE;
+}
+
+
+int load_config_file(f_state *s)
+{
+ FILE *f;
+ char* buffer = (char *)malloc(MAX_STRING_LENGTH * sizeof(char));
+ off_t line_number = 0;
+
+#ifdef __DEBUG
+ printf ("About to open config file %s%s", get_config_file(s), NEWLINE);
+#endif
+
+ if ((f = fopen(get_config_file(s),"r")) == NULL)
+ {
+ /*Can't find a conf in the current directory
+ * So lets try the /usr/local/etc*/
+
+
+#ifdef __WIN32
+ set_config_file(s,"/Program Files/foremost/foremost.conf");
+#else
+ set_config_file(s,"@CONFDIR(a)/foremost.conf");
+#endif
+ if ((f = fopen(get_config_file(s),"r")) == NULL)
+ {
+ print_error(s,get_config_file(s),strerror(errno));
+ free(buffer);
+ return TRUE;
+ }
+
+ }
+
+ while (fgets(buffer,MAX_STRING_LENGTH,f))
+ {
+ ++line_number;
+ if (!process_line(s,buffer,line_number))
+ {
+ free(buffer);
+ fclose(f);
+ return TRUE;
+
+ }
+ }
+
+ fclose(f);
+ free(buffer);
+ return FALSE;
+}
--- NEW FILE foremost.spec ---
Name: foremost
Version: 1.0
Release: 4%{?dist}
Summary: Recover files by "carving" them from a raw disk
Group: Applications/File
License: GPL
URL: http://foremost.sf.net
# Upstream isn't versioning their tarballs! They list the md5sum of their
# present tarball on the web page so this should make it easier to decide if
# they've updated without me noticing.
# MD5Sum:
# 6e77f71e4003e06de394d500a1d972c7 foremost-1.0.tar.gz
Source0: http://foremost.sourceforge.net/pkg/foremost-1.0.tar.gz
Source1: COPYING
Patch0: foremost-config.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
Foremost recovers files files based on their headers, footers, and internal
data structures. This process is commonly referred to as data carving.
Foremost can work on a raw disk drive or image file generated by dd. The
headers and footers can be specified by a configuration file or you can use
command line switches to specify built-in file types. These built-in types
look at the data structures of a given file format allowing for a more
reliable and faster recovery.
%prep
%setup -q
%patch0 -p1 -b .config
sed -i 's/^RAW_FLAGS =.*/RAW_FLAGS = %{optflags}/' Makefile
cp %{SOURCE1} .
%build
# Binary files were left in the distributed tarball.
make clean
make %{?_smp_mflags} CONF=%{_sysconfdir}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
make install BIN=$RPM_BUILD_ROOT%{_bindir} MAN=$RPM_BUILD_ROOT%{_mandir}/man1 \
CONF=$RPM_BUILD_ROOT%{_sysconfdir}
chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/foremost.conf
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README CHANGES COPYING
%{_bindir}/*
%{_mandir}/man1/*
%config(noreplace) %{_sysconfdir}/*
%changelog
* Thu Sep 29 2005 Toshio Kuratomi <toshio(a)tiki-lounge.com> 1.0-4
- Fix permissions on installed foremost.conf file.
* Thu Sep 29 2005 Toshio Kuratomi <toshio(a)tiki-lounge.com> 1.0-3
- Reenable the install of foremost.conf as the program complains without it.
- Patch to fix the location of foremost.conf.
* Tue Sep 13 2005 Toshio Kuratomi <toshio(a)tiki-lounge.com> 1.0-2
- New foremost has been released with multi-disk image support and my
gcc4 warning fixes.
- Upstream isn't versioning their tarballs. Made a note of the present
MD5Sum to make it easier to compare against upstream's and tell when
they've updated their tarball.
* Sat Aug 27 2005 Toshio Kuratomi <toshio(a)tiki-lounge.com> 1.0-1
- Initial version for Fedora Extras.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/foremost/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 30 Sep 2005 19:43:17 -0000 1.1
+++ .cvsignore 30 Sep 2005 19:43:50 -0000 1.2
@@ -0,0 +1 @@
+foremost-1.0.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/foremost/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 30 Sep 2005 19:43:17 -0000 1.1
+++ sources 30 Sep 2005 19:43:50 -0000 1.2
@@ -0,0 +1 @@
+6e77f71e4003e06de394d500a1d972c7 foremost-1.0.tar.gz
18 years
rpms/foremost import.log,1.1,1.2
by fedora-extras-commits@redhat.com
Author: toshio
Update of /cvs/extras/rpms/foremost
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27515
Modified Files:
import.log
Log Message:
auto-import foremost-1.0-4 on branch devel from foremost-1.0-4.src.rpm
Index: import.log
===================================================================
RCS file: /cvs/extras/rpms/foremost/import.log,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- import.log 30 Sep 2005 19:43:17 -0000 1.1
+++ import.log 30 Sep 2005 19:43:50 -0000 1.2
@@ -0,0 +1 @@
+foremost-1_0-4:HEAD:foremost-1.0-4.src.rpm:1128109424
18 years
rpms/foremost/devel .cvsignore, NONE, 1.1 Makefile, NONE, 1.1 sources, NONE, 1.1
by fedora-extras-commits@redhat.com
Author: toshio
Update of /cvs/extras/rpms/foremost/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27436/devel
Added Files:
.cvsignore Makefile sources
Log Message:
Setup of module foremost
--- NEW FILE .cvsignore ---
***** Error reading new file: [Errno 2] No such file or directory: 'Makefile'
--- NEW FILE sources ---
18 years
rpms/foremost Makefile,NONE,1.1 import.log,NONE,1.1
by fedora-extras-commits@redhat.com
Author: toshio
Update of /cvs/extras/rpms/foremost
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27436
Added Files:
Makefile import.log
Log Message:
Setup of module foremost
--- NEW FILE Makefile ---
# Top level Makefile for module foremost
all : CVS/Root common-update
@cvs update
common-update : common
@cd common && cvs update
common : CVS/Root
@cvs checkout common
CVS/Root :
@echo "ERROR: This does not look like a CVS checkout" && exit 1
clean :
@find . -type f -name *~ -exec rm -fv {} \;
--- NEW FILE import.log ---
18 years
rpms/foremost/devel - New directory
by fedora-extras-commits@redhat.com
Author: toshio
Update of /cvs/extras/rpms/foremost/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27387/foremost/devel
Log Message:
Directory /cvs/extras/rpms/foremost/devel added to the repository
18 years
rpms/foremost - New directory
by fedora-extras-commits@redhat.com
Author: toshio
Update of /cvs/extras/rpms/foremost
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27387/foremost
Log Message:
Directory /cvs/extras/rpms/foremost added to the repository
18 years
web/html/docs/jargon-buster fedora-glossary.php, 1.2, 1.3 index.php, 1.2, 1.3 ln-legalnotice.php, 1.2, 1.3 rv-revhistory.php, 1.1, 1.2
by fedora-extras-commits@redhat.com
Author: pfrields
Update of /cvs/fedora/web/html/docs/jargon-buster
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19554
Modified Files:
fedora-glossary.php index.php ln-legalnotice.php
rv-revhistory.php
Log Message:
Updated to 1.9.4, some content fixes (#160265)
Index: fedora-glossary.php
===================================================================
RCS file: /cvs/fedora/web/html/docs/jargon-buster/fedora-glossary.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- fedora-glossary.php 7 Sep 2005 13:10:42 -0000 1.2
+++ fedora-glossary.php 30 Sep 2005 14:03:11 -0000 1.3
@@ -53,8 +53,8 @@
</p><p>
Use <span><strong class="application">BitTorrent</strong></span> to download Fedora Core
by downloading and opening a torrent file. The official
- Fedora Core torrent tracker is located at <a href="http://torrent.dulug.duke.edu/" target="_top">http://torrent.dulug.duke.edu/</a>. Download a torrent
- file there to begin downloading a release of Fedora Core.
+ Fedora Core torrent tracker is located at <a href="http://torrent.fedoraproject.org/" target="_top">http://torrent.fedoraproject.org/</a>. Download a
+ torrent file there to begin downloading a release of Fedora Core.
</p></dd><dt><a name="gl-jb-bluecurve"></a>Bluecurve</dt><dd><p>
<span class="trademark">Bluecurve</span>™ is a theme which unifies
the look and feel of the Fedora desktop. Bluecurve was
@@ -443,13 +443,6 @@
by a Red Hat Network subscription and up to 24x7 support with one-hour
response. Refer to <a href="http://www.redhat.com/software/rhel/" target="_top">http://www.redhat.com/software/rhel/</a> for more
information about Red Hat Enterprise Linux.
- </p></dd><dt><a name="gl-jb-redhat-config-packages"></a>redhat-config-packages</dt><dd><p>
- The <span><strong class="application">redhat-config-packages</strong></span>
- utility is a package installation for new Fedora Core systems which
- have no software updates installed yet. Since most
- administrators and users update their system software
- regularly, <span><strong class="application">redhat-config-packages</strong></span>
- is not often used. Users should instead use the <a href="fedora-glossary.php#gl-jb-yum">yum</a> utility to install new software.
</p></dd><dt>rhgb</dt><dd><p>
Red Hat Graphical Boot, or
<span><strong class="application"><span class="acronym">rhgb</span></strong></span>, is an
@@ -501,7 +494,14 @@
<a href="fedora-glossary.php#gl-jb-rpm">RPM</a> package. If you want to read or
modify a program's source, use its SRPM. You do not need any
SRPMs to install or use software.
- </p><p>See Also <a href="fedora-glossary.php#gl-jb-rpm">RPM</a>.</p></dd><dt><a name="gl-jb-up2date"></a>up2date</dt><dd><p>
+ </p><p>See Also <a href="fedora-glossary.php#gl-jb-rpm">RPM</a>.</p></dd><dt><a name="gl-jb-system-config-packages"></a>system-config-packages</dt><dd><p>
+ The <span><strong class="application">system-config-packages</strong></span>
+ utility is a package installation for new Fedora Core systems which
+ have no software updates installed yet. Since most
+ administrators and users update their system software
+ regularly, <span><strong class="application">system-config-packages</strong></span>
+ is not often used. Users should instead use the <a href="fedora-glossary.php#gl-jb-yum">yum</a> utility to install new software.
+ </p></dd><dt><a name="gl-jb-up2date"></a>up2date</dt><dd><p>
The <span><strong class="application">up2date</strong></span> application is a
complete system for managing and updating software on Red Hat Enterprise Linux
and Fedora systems. It has both command line and gui
Index: index.php
===================================================================
RCS file: /cvs/fedora/web/html/docs/jargon-buster/index.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- index.php 7 Sep 2005 13:10:42 -0000 1.2
+++ index.php 30 Sep 2005 14:03:11 -0000 1.3
@@ -7,7 +7,7 @@
?>
-<div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Fedora Jargon Buster</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="fedora-glossary.php">Next</a></td></tr></table><hr></div><div class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="id3018408"></a>Fedora Jargon Buster</h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Dave</span> <span class="surname">Pawson</span></h3></div><div class="author"><h3 class="author"><span class="firstname">Tammy</span> <span class="surname">Fox</span></h3></div><div class="author"><h3 class="author"><span class="firstname">Paul</span> <span class="othername">W.</span> <span class="surname">Frields</span></h3></div></div></div><div><p class="copyright">Copyright © 2003, 2004, 2005 Dave Pawson, Pa!
ul W. Frields, Red Hat, Inc.</p></div><div><a href="ln-legalnotice.php">Legal Notice</a></div><div><a href="rv-revhistory.php">Revision History</a></div></div><hr></div><div class="toc"><dl><dt><span class="glossary"><a href="fedora-glossary.php">Glossary</a></span></dt></dl></div><p>
+<div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Fedora Jargon Buster</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="fedora-glossary.php">Next</a></td></tr></table><hr></div><div class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="id2780362"></a>Fedora Jargon Buster</h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Dave</span> <span class="surname">Pawson</span></h3></div><div class="author"><h3 class="author"><span class="firstname">Tammy</span> <span class="surname">Fox</span></h3></div><div class="author"><h3 class="author"><span class="firstname">Paul</span> <span class="othername">W.</span> <span class="surname">Frields</span></h3></div></div></div><div><p class="copyright">Copyright © 2003, 2004, 2005 Dave Pawson, Pa!
ul W. Frields, Red Hat, Inc.</p></div><div><a href="ln-legalnotice.php">Legal Notice</a></div><div><a href="rv-revhistory.php">Revision History</a></div></div><hr></div><div class="toc"><dl><dt><span class="glossary"><a href="fedora-glossary.php">Glossary</a></span></dt></dl></div><p>
This document clarifies some of the terms used on various lists, web
pages, and IRC, when talking about Fedora. Many thanks to the people
on the fedora-list and at Red Hat for their input.
@@ -16,7 +16,7 @@
at <a href="http://bugzilla.redhat.com/" target="_top">http://bugzilla.redhat.com/</a>. When you file your bug, select "Fedora Documentation" as the
<code class="systemitem">Product</code>, and select the title of this document as
the <code class="systemitem">Component</code>. The version of this document is
- jargon-buster-1.9.3 (2005-09-07).
+ jargon-buster-1.9.4 (2005-09-30).
</p><p>
The maintainers of this document will automatically receive your bug report.
On behalf of the entire Fedora community, thank you for helping us make
Index: ln-legalnotice.php
===================================================================
RCS file: /cvs/fedora/web/html/docs/jargon-buster/ln-legalnotice.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ln-legalnotice.php 7 Sep 2005 13:10:42 -0000 1.2
+++ ln-legalnotice.php 30 Sep 2005 14:03:11 -0000 1.3
@@ -26,7 +26,7 @@
They all may be freely redistributed with documentation
produced for the Fedora Project.
</p><p>
- jargon-buster-1.9.3 (2005-09-07)
+ jargon-buster-1.9.4 (2005-09-30)
</p><p>
Red Hat, Red Hat Network, the Red Hat "Shadow Man" logo, RPM, Maximum RPM, the RPM logo, Linux
Library, PowerTools, Linux Undercover, RHmember, RHmember More, Rough Cuts,
Index: rv-revhistory.php
===================================================================
RCS file: /cvs/fedora/web/html/docs/jargon-buster/rv-revhistory.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- rv-revhistory.php 7 Sep 2005 13:10:42 -0000 1.1
+++ rv-revhistory.php 30 Sep 2005 14:03:11 -0000 1.2
@@ -66,6 +66,10 @@
<p>
Style editing.
</p>
+ </td></tr><tr><td align="left">Revision 1.9.4</td><td align="left">30 Sep 2005</td><td align="left">PaulWFrields</td></tr><tr><td align="left" colspan="3">
+ <p>
+ Some term fixes (#160265).
+ </p>
</td></tr></table></div></div>
<?
18 years
rpms/gaim-meanwhile/devel gaim-meanwhile.spec,1.4,1.5
by fedora-extras-commits@redhat.com
Author: jwboyer
Update of /cvs/extras/rpms/gaim-meanwhile/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17994/devel
Modified Files:
gaim-meanwhile.spec
Log Message:
Avoid upcomming API breakage with meanwhile package
Index: gaim-meanwhile.spec
===================================================================
RCS file: /cvs/extras/rpms/gaim-meanwhile/devel/gaim-meanwhile.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gaim-meanwhile.spec 15 Jul 2005 18:24:37 -0000 1.4
+++ gaim-meanwhile.spec 30 Sep 2005 13:28:54 -0000 1.5
@@ -7,12 +7,12 @@
License: GPL
Group: Applications/Internet
Version: 1.2.4
-Release: 2%{?dist}
+Release: 3%{?dist}
Source: http://dl.sf.net/meanwhile/gaim-meanwhile-%{version}.tar.gz
URL: http://meanwhile.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gaim >= 1.2.1, meanwhile-devel >= 0.4.2
-Requires: gaim >= 1.2.1
+Requires: gaim >= 1.2.1, meanwhile < 0.5.0
%description
Gaim plugin to use the meanwhile Lotus Sametime library
@@ -39,6 +39,9 @@
%{_datadir}/pixmaps/gaim/
%changelog
+* Fri Sep 30 2005 - jwboyer(a)jdub.homelinux.org 1.2.4-3
+- Add dependency on meanwhile < 0.5.0 to avoid upcomming API breakage
+
* Fri Jul 15 2005 - jwboyer(a)jdub.homelinux.org 1.2.4-2
- Bump release for rebuild
18 years
rpms/gaim-meanwhile/FC-4 gaim-meanwhile.spec,1.4,1.5
by fedora-extras-commits@redhat.com
Author: jwboyer
Update of /cvs/extras/rpms/gaim-meanwhile/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17994/FC-4
Modified Files:
gaim-meanwhile.spec
Log Message:
Avoid upcomming API breakage with meanwhile package
Index: gaim-meanwhile.spec
===================================================================
RCS file: /cvs/extras/rpms/gaim-meanwhile/FC-4/gaim-meanwhile.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gaim-meanwhile.spec 15 Jul 2005 18:24:37 -0000 1.4
+++ gaim-meanwhile.spec 30 Sep 2005 13:28:48 -0000 1.5
@@ -7,12 +7,12 @@
License: GPL
Group: Applications/Internet
Version: 1.2.4
-Release: 2%{?dist}
+Release: 3%{?dist}
Source: http://dl.sf.net/meanwhile/gaim-meanwhile-%{version}.tar.gz
URL: http://meanwhile.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gaim >= 1.2.1, meanwhile-devel >= 0.4.2
-Requires: gaim >= 1.2.1
+Requires: gaim >= 1.2.1, meanwhile < 0.5.0
%description
Gaim plugin to use the meanwhile Lotus Sametime library
@@ -39,6 +39,9 @@
%{_datadir}/pixmaps/gaim/
%changelog
+* Fri Sep 30 2005 - jwboyer(a)jdub.homelinux.org 1.2.4-3
+- Add dependency on meanwhile < 0.5.0 to avoid upcomming API breakage
+
* Fri Jul 15 2005 - jwboyer(a)jdub.homelinux.org 1.2.4-2
- Bump release for rebuild
18 years