rpms/autodafe/devel autodafe.patch, NONE, 1.1 autodafe.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jan F. Chadima jfch2222 at fedoraproject.org
Mon Jun 22 08:03:07 UTC 2009


Author: jfch2222

Update of /cvs/pkgs/rpms/autodafe/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19205/devel

Modified Files:
	.cvsignore sources 
Added Files:
	autodafe.patch autodafe.spec import.log 
Log Message:
initial import


autodafe.patch:

--- NEW FILE autodafe.patch ---
diff -up autodafe-0.1/Makefile.in.old autodafe-0.1/Makefile.in
--- autodafe-0.1/Makefile.in.old	2006-08-05 00:00:39.000000000 +0200
+++ autodafe-0.1/Makefile.in	2009-03-13 05:49:02.276894778 +0100
@@ -3,7 +3,7 @@ SUBDIRS = src
 all::
 
 install::
-	cd ./etc/generator; ./generator.sh /usr/local/etc
+	cd ./etc/generator; ./generator.sh ${prefix}/share
 
 clean::
 	rm -rf ./etc/generator/autodafe/*
diff -up autodafe-0.1/src/adbg/Makefile.in.old autodafe-0.1/src/adbg/Makefile.in
--- autodafe-0.1/src/adbg/Makefile.in.old	2006-08-05 00:00:39.000000000 +0200
+++ autodafe-0.1/src/adbg/Makefile.in	2009-03-13 05:49:02.277839539 +0100
@@ -14,7 +14,7 @@ clean:
 	rm -f *~ *.o adbg
 
 install:all
-	cp ./adbg /usr/local/bin
+	cp ./adbg ${prefix}/bin
 
 uninstall:
-	rm /usr/local/bin/adbg
+	rm ${prefix}/bin/adbg
diff -up autodafe-0.1/src/adc/Makefile.in.old autodafe-0.1/src/adc/Makefile.in
--- autodafe-0.1/src/adc/Makefile.in.old	2006-08-05 00:00:39.000000000 +0200
+++ autodafe-0.1/src/adc/Makefile.in	2009-03-13 05:49:02.277839539 +0100
@@ -29,7 +29,7 @@ clean:
 	rm -f  *~ *.o adc parser.c parser.h y.output
 
 install: all
-	cp ./adc /usr/local/bin
+	cp ./adc ${prefix}/bin
 
 uninstall:
-	rm /usr/local/bin/adc
+	rm ${prefix}/bin/adc
diff -up autodafe-0.1/src/autodafe/file.c.old autodafe-0.1/src/autodafe/file.c
--- autodafe-0.1/src/autodafe/file.c.old	2006-08-05 00:00:39.000000000 +0200
+++ autodafe-0.1/src/autodafe/file.c	2009-03-13 05:49:02.278869899 +0100
@@ -15,6 +15,7 @@
 #include <sys/types.h> /* stat */
 #include <sys/stat.h>  /* stat */
 #include <unistd.h>    /* stat */
+#include <sys/param.h> /* PATH_MAX */
 
 #include "debug.h"
 #include "conf.h"
diff -up autodafe-0.1/src/autodafe/Makefile.in.old autodafe-0.1/src/autodafe/Makefile.in
--- autodafe-0.1/src/autodafe/Makefile.in.old	2006-08-05 00:00:39.000000000 +0200
+++ autodafe-0.1/src/autodafe/Makefile.in	2009-03-13 05:57:22.287861010 +0100
@@ -14,9 +14,9 @@ clean:
 	rm -f  *~ *.o autodafe
 
 install:all
-	cp ./autodafe /usr/local/bin
-
-	cp -r ../../etc/generator/autodafe /usr/local/etc
+	cp ./autodafe ${prefix}/bin
+	
+	cp -r ../../etc/generator/autodafe ${prefix}/share/
 
 uninstall:
-	rm /usr/local/bin/autodafe
+	rm ${prefix}/bin/autodafe
diff -up autodafe-0.1/src/pdml2ad/Makefile.in.old autodafe-0.1/src/pdml2ad/Makefile.in
--- autodafe-0.1/src/pdml2ad/Makefile.in.old	2006-08-05 00:00:39.000000000 +0200
+++ autodafe-0.1/src/pdml2ad/Makefile.in	2009-03-13 05:49:02.279860335 +0100
@@ -14,7 +14,7 @@ clean:
 	rm -f *~ *.o pdml2ad
 
 install:all
-	cp ./pdml2ad /usr/local/bin
+	cp ./pdml2ad ${prefix}/bin
 
 uninstall:
-	rm /usr/local/bin/pdml2ad
+	rm ${prefix}/pdml2ad


--- NEW FILE autodafe.spec ---
Summary:  Fuzzing framework
Name: autodafe
Version: 0.1
Release: 2%{?dist}
License: GPLv2+
Group: Development/Tools
URL: http://autodafe.sourceforge.net/ 
Source: http://downloads.sourceforge.net/autodafe/autodafe-%{version}.tar.gz
Patch1: autodafe.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: libxml2-devel >= 2.6.13
BuildRequires: gdb >= 6.2
BuildRequires: gcc >= 3.3.4
BuildRequires: perl >= 3.3.4
BuildRequires: bison
BuildRequires: flex

%description
Autodafé is a fuzzing framework able to uncover buffer overflows 
by using the fuzzing by weighting attacks with markers technique. 

%package doc
Summary:  Documentation of autodafe
Group:    Documentation
BuildArch:noarch

%description doc
This package contains tutorial to Autodafe

%prep
%setup -q
%patch1 -p1 -b .old
for i in README TUTORIAL; do iconv -f iso-8859-1 -t utf-8 < $i > $i.NEW && mv -f $i.NEW $i; done
cd docs; tar cfz tutorials.tgz tutorials

%build
%configure
make # do not use it in broken Makefile %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}
mkdir -p $RPM_BUILD_ROOT%{_bindir}
make prefix=$RPM_BUILD_ROOT/usr -C src/adbg install
make prefix=$RPM_BUILD_ROOT/usr -C src/adc install
make prefix=$RPM_BUILD_ROOT/usr -C src/autodafe install
make prefix=$RPM_BUILD_ROOT/usr -C src/pdml2ad install
( cd ./etc/generator; ./generator.sh . )
mv ./etc/generator/autodafe $RPM_BUILD_ROOT%{_datadir}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README COPYING AUTHORS FAQ TODO TUTORIAL BUGS
%dir %{_usr}/share/autodafe
%{_usr}/share/autodafe/*
%{_bindir}/adbg
%{_bindir}/adc
%{_bindir}/autodafe
%{_bindir}/pdml2ad

%files doc
%doc docs/tutorials.tgz

%changelog
* Thu Jun 18 2009 Jan F. Chadima <jchadima at redhat.com> - 0.1-2
- reapired version

* Thu Jun 18 2009 Jan F. Chadima <jchadima at redhat.com> - 0.1-1
- initial version


--- NEW FILE import.log ---
autodafe-0_1-2_fc12:HEAD:autodafe-0.1-2.fc12.src.rpm:1245656790


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/autodafe/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	20 Jun 2009 15:02:35 -0000	1.1
+++ .cvsignore	22 Jun 2009 08:02:36 -0000	1.2
@@ -0,0 +1 @@
+autodafe-0.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/autodafe/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	20 Jun 2009 15:02:35 -0000	1.1
+++ sources	22 Jun 2009 08:02:37 -0000	1.2
@@ -0,0 +1 @@
+1c10c69080952ab9dd2c819d1e9c044c  autodafe-0.1.tar.gz




More information about the fedora-extras-commits mailing list