Skip to content

Commit

Permalink
Renamed the version header file for clairification, renamed matching …
Browse files Browse the repository at this point in the history
…matrix because not all are segfaults.
  • Loading branch information
oxagast committed Jul 21, 2017
1 parent 5a7e517 commit 5c25de3
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ bin_PROGRAMS = ansvif find_suid buffer_overflow string_format
endif
noinst_LIBRARIES = libgzstream.a
libgzstream_a_SOURCES = include/gzstream/gzstream.h include/gzstream/gzstream.C
ansvif_SOURCES = src/log.cpp src/common.cpp src/bin2hex.cpp src/popen2.cpp src/main.cpp src/help.cpp src/match_seg.cpp src/sys_string.cpp src/man_read.cpp src/trash.cpp src/randomizer.cpp include/gzstream/gzstream.h include/xmlwriter/xml_writer.hpp src/main.h
ansvif_SOURCES = src/log.cpp src/common.cpp src/bin2hex.cpp src/popen2.cpp src/main.cpp src/help.cpp src/match_fault.cpp src/sys_string.cpp src/man_read.cpp src/trash.cpp src/randomizer.cpp include/gzstream/gzstream.h include/xmlwriter/xml_writer.hpp src/version.h
if OS_IS_REDHAT
ansvif_LDADD = -lgzstream -lcryptopp -lstdc++ -lpthread -lz -L.
ansvif_CPPFLAGS = -O3 -D __REDHAT -Wall -std=c++11
Expand Down
20 changes: 10 additions & 10 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for ansvif 1.7.
# Generated by GNU Autoconf 2.69 for ansvif 1.7.1.
#
# Report bugs to <marshall@i.code.pwnz.org>.
#
Expand Down Expand Up @@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='ansvif'
PACKAGE_TARNAME='ansvif'
PACKAGE_VERSION='1.7'
PACKAGE_STRING='ansvif 1.7'
PACKAGE_VERSION='1.7.1'
PACKAGE_STRING='ansvif 1.7.1'
PACKAGE_BUGREPORT='marshall@i.code.pwnz.org'
PACKAGE_URL=''

Expand Down Expand Up @@ -1298,7 +1298,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures ansvif 1.7 to adapt to many kinds of systems.
\`configure' configures ansvif 1.7.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1365,7 +1365,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of ansvif 1.7:";;
short | recursive ) echo "Configuration of ansvif 1.7.1:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1459,7 +1459,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
ansvif configure 1.7
ansvif configure 1.7.1
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1807,7 +1807,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by ansvif $as_me 1.7, which was
It was created by ansvif $as_me 1.7.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -5483,7 +5483,7 @@ fi
# Define the identity of the package.
PACKAGE='ansvif'
VERSION='1.7'
VERSION='1.7.1'
cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -6514,7 +6514,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by ansvif $as_me 1.7, which was
This file was extended by ansvif $as_me 1.7.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -6571,7 +6571,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
ansvif config.status 1.7
ansvif config.status 1.7.1
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([ansvif], [1.7], [marshall@i.code.pwnz.org])
AC_INIT([ansvif], [1.7.1], [marshall@i.code.pwnz.org])
AC_PROG_CC
AC_PROG_CXX
AC_LANG([C++])
Expand Down
2 changes: 1 addition & 1 deletion src/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// ( O ) (/ ( (_ / \___ \ )(
// \__(_/\_\_/\_/\___\_/\_(____/(__)

#include "src/main.h"
#include "src/version.h"
#include <cstdlib>
#include <fstream>
#include <iostream>
Expand Down
2 changes: 1 addition & 1 deletion src/help.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// ( O ) (/ ( (_ / \___ \ )(
// \__(_/\_\_/\_/\___\_/\_(____/(__)

#include "src/main.h"
#include "src/version.h"
#include <cstdlib>
#include <iostream>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion src/log.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "../include/xmlwriter/xml_writer.hpp"
#include "src/main.h"
#include "src/version.h"
#include <cstdlib>
#include <cstring>
#include <fstream>
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#ifdef __unix__
#include <sys/wait.h>
#endif
#include "src/main.h"
#include "src/version.h"
#include <thread>
#include <unistd.h>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/match_seg.cpp → src/match_fault.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <crypto++/md5.h>
#endif
#endif
#include "src/main.h"
#include "src/version.h"
#include <cstdlib>
#include <cstring>
#include <fstream>
Expand Down
6 changes: 3 additions & 3 deletions src/main.h → src/version.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef main_h
#define main_h
#ifndef version_h
#define version_h

#include <string>
/* what version of ansvif are we running? */
extern std::string ver;

#endif
#endif

0 comments on commit 5c25de3

Please sign in to comment.