[dfuzzer] Initial import (#985753).

Matus Marhefka mmarhefk at fedoraproject.org
Mon Mar 23 14:13:57 UTC 2015


commit 1f13349d00a9cdc1adadc703a65036b81cb3c939
Author: Matus Marhefka <mmarhefk at redhat.com>
Date:   Mon Mar 23 15:13:43 2015 +0100

    Initial import (#985753).

 .gitignore   |  1 +
 dfuzzer.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |  1 +
 3 files changed, 59 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d71d977 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dfuzzer-1.4-884972e.tar.gz
diff --git a/dfuzzer.spec b/dfuzzer.spec
new file mode 100644
index 0000000..a414881
--- /dev/null
+++ b/dfuzzer.spec
@@ -0,0 +1,57 @@
+Name:           dfuzzer
+Version:        1.4
+Release:        1%{?dist}
+Summary:        D-Bus fuzz testing tool
+
+%global commit 884972e7f115bf22121328803af2910cd16c4c20
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+License:        GPLv3+
+Group:          Development/Tools
+URL:            https://github.com/matusmarhefka/dfuzzer
+
+# GitHub generates different links from names of downloaded packages, therefore you must run
+# this command before rpmbuild (it downloads tarball, renames it and moves to the SOURCES):
+# spectool -g dfuzzer.spec; mv *.tar.gz ../SOURCES/
+Source0:        https://github.com/matusmarhefka/dfuzzer/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+BuildRequires:  glib2-devel, libffi-devel, doxygen
+
+
+%description
+Tool for fuzz testing processes communicating through D-Bus. It can be
+used to test processes connected to both, the session bus and the system
+bus daemon. Dfuzzer works as a client, it first connects to the bus
+daemon and then it traverses and fuzz tests all the methods provided
+by a D-Bus service.
+
+
+%prep
+%setup -qn %{name}-%{commit}
+
+
+%build
+cd ./src
+make %{?_smp_mflags} CFLAGS="%{optflags} `pkg-config --cflags --libs gio-2.0 libffi`"
+make doc
+cd ../
+
+
+%install
+mkdir -p  %{buildroot}%{_bindir}
+install -pm 0755 src/dfuzzer %{buildroot}%{_bindir}/%{name}
+mkdir -p %{buildroot}%{_mandir}/man1
+install -pm 0644 man/dfuzzer.1 %{buildroot}%{_mandir}/man1/dfuzzer.1
+mkdir -p %{buildroot}%{_sysconfdir}/
+install -pm 0644 src/dfuzzer.conf %{buildroot}%{_sysconfdir}/dfuzzer.conf
+
+
+%files
+%{_bindir}/%{name}
+%config(noreplace) %{_sysconfdir}/*
+%{_mandir}/man1/dfuzzer.1*
+%doc README.md ChangeLog COPYING doc/*
+
+
+%changelog
+* Thu Mar 19 2015 Matus Marhefka <mmarhefk at redhat.com> 1.4-1
+- Initial version of the package
diff --git a/sources b/sources
index e69de29..ff93a81 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+64923f94937e34b5a963f21da82e162f  dfuzzer-1.4-884972e.tar.gz


More information about the scm-commits mailing list