Architecture specific change in rpms/mediaconch.git
by githook-noreply@fedoraproject.org
The package rpms/mediaconch.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/mediaconch.git/commit/?id=f82b57a....
Change:
+ExclusiveArch: %{qt5_qtwebengine_arches}
Thanks.
Full change:
============
commit f82b57a8840d1a17b5cfdb245e5c0133f3a8db04
Author: Vascom <vascom2(a)gmail.com>
Date: Fri Jul 21 09:31:31 2017 +0300
Exclusive arches for qt5_qtwebengine_arches.
diff --git a/mediaconch.spec b/mediaconch.spec
index 9b7411f..8db469e 100644
--- a/mediaconch.spec
+++ b/mediaconch.spec
@@ -29,6 +29,8 @@ BuildRequires: pkgconfig(jansson)
BuildRequires: systemd
BuildRequires: libappstream-glib
+ExclusiveArch: %{qt5_qtwebengine_arches}
+
%description
MediaConch is an implementation checker, policy checker, reporter,
6 years, 9 months
Architecture specific change in rpms/gdb-exploitable.git
by githook-noreply@fedoraproject.org
The package rpms/gdb-exploitable.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/gdb-exploitable.git/commit/?id=a2....
Change:
+ExclusiveArch: x86_64 noarch
Thanks.
Full change:
============
commit a2e18cc96804c4d92861a79c112b8b1743898dce
Author: sgrubb <sgrubb(a)redhat.com>
Date: Thu Jul 20 18:32:33 2017 -0400
Add noarch to exclusive arch
diff --git a/gdb-exploitable.spec b/gdb-exploitable.spec
index 7ea4bac..dfaf71e 100644
--- a/gdb-exploitable.spec
+++ b/gdb-exploitable.spec
@@ -24,7 +24,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExclusiveArch: x86_64 i386
%else
# Epel does not have i386 targets
-ExclusiveArch: x86_64
+ExclusiveArch: x86_64 noarch
%endif
BuildArch: noarch
Requires: gdb
6 years, 9 months
Architecture specific change in rpms/gdb-exploitable.git
by githook-noreply@fedoraproject.org
The package rpms/gdb-exploitable.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/gdb-exploitable.git/commit/?id=cf....
Change:
+ExclusiveArch: x86_64
Thanks.
Full change:
============
commit cf0d9b63645061a738ceeeddd2b685483c19974e
Author: sgrubb <sgrubb(a)redhat.com>
Date: Thu Jul 20 17:55:57 2017 -0400
Epel does not have i386 targets
diff --git a/gdb-exploitable.spec b/gdb-exploitable.spec
index 747f3ab..7ea4bac 100644
--- a/gdb-exploitable.spec
+++ b/gdb-exploitable.spec
@@ -20,7 +20,12 @@ Source0: %{plugin}.tar.gz
Source1: %{name}.gdb
Source2: README.fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%if 0%{?fedora}
ExclusiveArch: x86_64 i386
+%else
+# Epel does not have i386 targets
+ExclusiveArch: x86_64
+%endif
BuildArch: noarch
Requires: gdb
6 years, 9 months
Architecture specific change in rpms/openmpi.git
by githook-noreply@fedoraproject.org
The package rpms/openmpi.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/openmpi.git/commit/?id=30cc030f4c...
https://src.fedoraproject.org/cgit/rpms/openmpi.git/commit/?id=393bc3be97....
Change:
+%ifnarch s390 s390x
+%ifarch x86_64
Thanks.
Full change:
============
commit c327844ddae58fcedf5184ac0533341d01168852
Author: Orion Poplawski <orion(a)cora.nwra.com>
Date: Thu Jul 20 15:16:11 2017 -0600
Update to 1.10.7 (bug #1473440)
diff --git a/.gitignore b/.gitignore
index 5262f99..b0c3d32 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,3 +34,4 @@ openmpi-1.4.1-RH.tar.bz2
/openmpi-1.10.3.tar.bz2
/openmpi-1.10.4.tar.bz2
/openmpi-1.10.5.tar.bz2
+/openmpi-1.10.7.tar.bz2
diff --git a/openmpi.spec b/openmpi.spec
index 6b362a2..d829e62 100644
--- a/openmpi.spec
+++ b/openmpi.spec
@@ -21,7 +21,7 @@
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
Name: openmpi%{?_cc_name_suffix}
-Version: 1.10.5
+Version: 1.10.7
Release: 1%{?dist}
Summary: Open Message Passing Interface
Group: Development/Libraries
@@ -291,6 +291,9 @@ make check
%changelog
+* Thu Jul 20 2017 Orion Poplawski <orion(a)cora.nwra.com> - 1.10.7-1
+- Update to 1.10.7 (bug #1473440)
+
* Tue Dec 20 2016 Orion Poplawski <orion(a)cora.nwra.com> - 1.10.5-1
- Update to 1.10.5
diff --git a/sources b/sources
index 5478e8a..717c06a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (openmpi-1.10.5.tar.bz2) = 5896442801b4bf9a38cda5e55b6e4d9ab1eb24e176570083a5a9eb4048542f6284db6dac33f1ca3fa747fc545185237afdf135f58c8e6dcd84fdd601f7e8f648
+SHA512 (openmpi-1.10.7.tar.bz2) = 9c5470f9959ca37650a59e56fb8343c028422c709876ab9d25a411dd09a07cdde927c45d8f3db1ad524b1f2847fe799471d469fa1efee48f8018b2ff24427ecb
commit a2f3f08ad73b01bea177db8af0b1d02a924ff7fa
Author: Orion Poplawski <orion(a)cora.nwra.com>
Date: Tue Dec 20 14:37:32 2016 -0700
Update to 1.10.5
diff --git a/.gitignore b/.gitignore
index fc2f2cc..5262f99 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,3 +33,4 @@ openmpi-1.4.1-RH.tar.bz2
/openmpi-1.10.2.tar.bz2
/openmpi-1.10.3.tar.bz2
/openmpi-1.10.4.tar.bz2
+/openmpi-1.10.5.tar.bz2
diff --git a/openmpi.spec b/openmpi.spec
index 612dd3a..6b362a2 100644
--- a/openmpi.spec
+++ b/openmpi.spec
@@ -21,8 +21,8 @@
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
Name: openmpi%{?_cc_name_suffix}
-Version: 1.10.4
-Release: 4%{?dist}
+Version: 1.10.5
+Release: 1%{?dist}
Summary: Open Message Passing Interface
Group: Development/Libraries
License: BSD, MIT and Romio
@@ -291,6 +291,9 @@ make check
%changelog
+* Tue Dec 20 2016 Orion Poplawski <orion(a)cora.nwra.com> - 1.10.5-1
+- Update to 1.10.5
+
* Thu Oct 20 2016 Orion Poplawski <orion(a)cora.nwra.com> - 1.10.4-4
- Support s390(x) (bug #1358701)
diff --git a/sources b/sources
index 9f94bfd..5478e8a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9d2375835c5bc5c184ecdeb76c7c78ac openmpi-1.10.4.tar.bz2
+SHA512 (openmpi-1.10.5.tar.bz2) = 5896442801b4bf9a38cda5e55b6e4d9ab1eb24e176570083a5a9eb4048542f6284db6dac33f1ca3fa747fc545185237afdf135f58c8e6dcd84fdd601f7e8f648
commit 30cc030f4c393e960c60433beaff6a04c012df26
Author: Orion Poplawski <orion(a)cora.nwra.com>
Date: Thu Oct 20 16:54:45 2016 -0600
Support s390(x) (bug #1358701)
diff --git a/openmpi.spec b/openmpi.spec
index 4c77370..612dd3a 100644
--- a/openmpi.spec
+++ b/openmpi.spec
@@ -22,7 +22,7 @@
Name: openmpi%{?_cc_name_suffix}
Version: 1.10.4
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Open Message Passing Interface
Group: Development/Libraries
License: BSD, MIT and Romio
@@ -36,11 +36,11 @@ Source3: openmpi.pth.py3
Source4: macros.openmpi
BuildRequires: gcc-gfortran
-%ifnarch s390
+%ifnarch s390 s390x
BuildRequires: valgrind-devel
-%endif
BuildRequires: libibverbs-devel >= 1.1.3, opensm-devel > 3.3.0
BuildRequires: librdmacm-devel libibcm-devel
+%endif
# Doesn't compile:
# vt_dyn.cc:958:28: error: 'class BPatch_basicBlockLoop' has no member named 'getLoopHead'
# loop->getLoopHead()->getStartAddress(), loop_stmts );
@@ -49,8 +49,10 @@ BuildRequires: hwloc-devel
# So configure can find lstopo
BuildRequires: hwloc-gui
BuildRequires: java-devel
+%ifnarch s390 s390x
BuildRequires: libfabric-devel
BuildRequires: papi-devel
+%endif
BuildRequires: perl-generators
BuildRequires: perl(Getopt::Long)
BuildRequires: python
@@ -76,10 +78,6 @@ Provides: bundled(libevent) = 2.0.21
# otf appears to be bundled
Provides: bundled(otf) = 1.12.3
-# s390 is unlikely to have the hardware we want, and some of the -devel
-# packages we require aren't available there.
-ExcludeArch: s390 s390x
-
# Private openmpi libraries
%global __provides_exclude_from %{_libdir}/openmpi/lib/(lib(mca|ompi|open-(pal|rte|trace)|otf)|openmpi/).*.so
%global __requires_exclude lib(mca|ompi|open-(pal|rte|trace)|otf|vt).*
@@ -141,7 +139,7 @@ Contains development wrapper for compiling Java with openmpi.
--enable-mpi-thread-multiple \
--enable-mpi-java \
--with-sge \
-%ifnarch s390
+%ifnarch s390 s390x
--with-valgrind \
--enable-memchecker \
%endif
@@ -251,7 +249,9 @@ make check
%dir %{_libdir}/%{name}/share/doc/openmpi
%{_libdir}/%{name}/share/openmpi/amca-param-sets
%{_libdir}/%{name}/share/openmpi/help*.txt
+%ifnarch s390 s390x
%{_libdir}/%{name}/share/openmpi/mca-btl-openib-device-params.ini
+%endif
%{_libdir}/%{name}/share/openmpi/mca-coll-ml.config
%files devel
@@ -291,6 +291,9 @@ make check
%changelog
+* Thu Oct 20 2016 Orion Poplawski <orion(a)cora.nwra.com> - 1.10.4-4
+- Support s390(x) (bug #1358701)
+
* Thu Oct 20 2016 Orion Poplawski <orion(a)cora.nwra.com> - 1.10.4-3
- Enable psm/psm2 support on x86_64 (bug #1263655)
commit 393bc3be974d992f618c006a461f89ff22b38fab
Author: Orion Poplawski <orion(a)cora.nwra.com>
Date: Thu Oct 20 16:26:48 2016 -0600
Enable psm/psm2 support on x86_64 (bug #1263655)
diff --git a/openmpi.spec b/openmpi.spec
index 5c2bca8..4c77370 100644
--- a/openmpi.spec
+++ b/openmpi.spec
@@ -22,7 +22,7 @@
Name: openmpi%{?_cc_name_suffix}
Version: 1.10.4
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Open Message Passing Interface
Group: Development/Libraries
License: BSD, MIT and Romio
@@ -56,6 +56,10 @@ BuildRequires: perl(Getopt::Long)
BuildRequires: python
BuildRequires: python2-devel
BuildRequires: python3-devel
+%ifarch x86_64
+BuildRequires: infinipath-psm-devel
+BuildRequires: libpsm2-devel
+%endif
BuildRequires: libtool-ltdl-devel
BuildRequires: torque-devel
BuildRequires: zlib-devel
@@ -287,6 +291,9 @@ make check
%changelog
+* Thu Oct 20 2016 Orion Poplawski <orion(a)cora.nwra.com> - 1.10.4-3
+- Enable psm/psm2 support on x86_64 (bug #1263655)
+
* Wed Oct 19 2016 Orion Poplawski <orion(a)cora.nwra.com> - 1.10.4-2
- Enable MPI_THREAD_MULTIPLE support (bug #1369989)
commit 1a5611f8d7c7ff13e98503f176ad6c128c6bb7b7
Author: Orion Poplawski <orion(a)cora.nwra.com>
Date: Wed Oct 19 17:06:59 2016 -0600
Enable MPI_THREAD_MULTIPLE support (bug #1369989)
diff --git a/openmpi.spec b/openmpi.spec
index d237c1b..5c2bca8 100644
--- a/openmpi.spec
+++ b/openmpi.spec
@@ -22,7 +22,7 @@
Name: openmpi%{?_cc_name_suffix}
Version: 1.10.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Open Message Passing Interface
Group: Development/Libraries
License: BSD, MIT and Romio
@@ -134,6 +134,7 @@ Contains development wrapper for compiling Java with openmpi.
--includedir=%{_includedir}/%{namearch} \
--sysconfdir=%{_sysconfdir}/%{namearch} \
--disable-silent-rules \
+ --enable-mpi-thread-multiple \
--enable-mpi-java \
--with-sge \
%ifnarch s390
@@ -286,6 +287,9 @@ make check
%changelog
+* Wed Oct 19 2016 Orion Poplawski <orion(a)cora.nwra.com> - 1.10.4-2
+- Enable MPI_THREAD_MULTIPLE support (bug #1369989)
+
* Wed Oct 19 2016 Orion Poplawski <orion(a)cora.nwra.com> - 1.10.4-1
- Update to 1.10.4
6 years, 9 months
Architecture specific change in rpms/gdb-exploitable.git
by githook-noreply@fedoraproject.org
The package rpms/gdb-exploitable.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/gdb-exploitable.git/commit/?id=08...
https://src.fedoraproject.org/cgit/rpms/gdb-exploitable.git/commit/?id=cd...
https://src.fedoraproject.org/cgit/rpms/gdb-exploitable.git/commit/?id=84....
Change:
+ExclusiveArch: x86_64
+ExclusiveArch: x86_64 i386
+ExclusiveArch: x86_64 i686
Thanks.
Full change:
============
commit cd9d5203fc0990c303f05d4013c7040d0923dc6e
Author: sgrubb <sgrubb(a)redhat.com>
Date: Thu Jul 20 13:57:02 2017 -0400
Initial build
diff --git a/gdb-exploitable.spec b/gdb-exploitable.spec
index 075a7f6..747f3ab 100644
--- a/gdb-exploitable.spec
+++ b/gdb-exploitable.spec
@@ -20,7 +20,7 @@ Source0: %{plugin}.tar.gz
Source1: %{name}.gdb
Source2: README.fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-ExclusiveArch: x86_64
+ExclusiveArch: x86_64 i386
BuildArch: noarch
Requires: gdb
commit 080d48781473afe5a3db7013e047aca250204ed9
Author: sgrubb <sgrubb(a)redhat.com>
Date: Thu Jul 20 13:48:02 2017 -0400
Initial build
diff --git a/gdb-exploitable.spec b/gdb-exploitable.spec
index e3514c4..075a7f6 100644
--- a/gdb-exploitable.spec
+++ b/gdb-exploitable.spec
@@ -20,7 +20,7 @@ Source0: %{plugin}.tar.gz
Source1: %{name}.gdb
Source2: README.fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-ExclusiveArch: x86_64 i686
+ExclusiveArch: x86_64
BuildArch: noarch
Requires: gdb
commit 8450e30c557285dd2db3bee254906fc56d7f5736
Author: sgrubb <sgrubb(a)redhat.com>
Date: Thu Jul 20 13:35:05 2017 -0400
Initial build
diff --git a/.gitignore b/.gitignore
index e69de29..28d5c4e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/exploitable.tar.gz
diff --git a/README.fedora b/README.fedora
new file mode 100644
index 0000000..62cc23c
--- /dev/null
+++ b/README.fedora
@@ -0,0 +1,13 @@
+When you install this package, it will automatically register itself with
+gdb. You do not need to add anything to your ~/.gdbinit file.
+
+To use this extension, run your program. If it segfaults/crashes, then
+type 'exploitable' at the gdb command prompt. It should then print text
+to the gdb terminal explaining its conclusion. Note that it might misclassify
+a fault that really is exploitable. So, use this as an informed opinion and
+not absolute truth. If it says something is exploitable, head this warning
+just in case.
+
+This extension may also be used on coredump files. To use it this way,
+load the coredump file as normal. Then type 'exploitable' to get the
+analysis.
diff --git a/gdb-exploitable.gdb b/gdb-exploitable.gdb
new file mode 100644
index 0000000..c01241f
--- /dev/null
+++ b/gdb-exploitable.gdb
@@ -0,0 +1 @@
+source /usr/share/gdb/python/exploitable/exploitable.py
diff --git a/gdb-exploitable.spec b/gdb-exploitable.spec
new file mode 100644
index 0000000..e3514c4
--- /dev/null
+++ b/gdb-exploitable.spec
@@ -0,0 +1,63 @@
+%global plugin exploitable
+%global snapshot 20170717git35b742d
+%global gdb_data /usr/share/gdb/python/%{plugin}
+%global gdb_init /etc/gdbinit.d
+
+# The tarball is created like this:
+# git clone https://github.com/jfoote/exploitable.git
+# tar --exclude=.* -cvf exploitable.tar exploitable/*
+# gzip --best exploitable.tar
+# Then the snapshot global is updated to meet fedora guidelines
+
+Name: gdb-%{plugin}
+Version: 1.32
+Release: 1.%{snapshot}%{?dist}
+Summary: GDB extension for exploitability
+License: MIT
+Group: Development/Libraries
+URL: https://github.com/jfoote/exploitable
+Source0: %{plugin}.tar.gz
+Source1: %{name}.gdb
+Source2: README.fedora
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+ExclusiveArch: x86_64 i686
+BuildArch: noarch
+Requires: gdb
+
+%description
+'exploitable' is a GDB extension that classifies Linux application bugs
+by severity. The extension inspects the state of a Linux application that
+has crashed and outputs a summary of how difficult it might be for an
+attacker to exploit the underlying software bug to gain control of the
+system. The extension can be used to prioritize bugs for software developers
+so that they can address the most severe ones first.
+
+%prep
+%setup -q -n %{plugin}
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{gdb_data}
+cp -ra exploitable/* %{buildroot}%{gdb_data}
+rm -rf %{buildroot}%{gdb_data}/tests
+mkdir -p %{buildroot}%{gdb_init}
+cp %{SOURCE1} %{buildroot}%{gdb_init}
+cp %{SOURCE2} .
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc README.md AUTHORS.txt README.fedora
+%license LICENSE.md
+%dir %{gdb_data}
+%{gdb_data}/*
+%config(noreplace) %{gdb_init}/*
+
+%changelog
+* Thu Jul 20 2017 Steve Grubb <sgrubb(a)redhat.com> 1.32-1.20170717git35b742d
+- Initial build
+
diff --git a/sources b/sources
index e69de29..e45bee1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (exploitable.tar.gz) = b1d36072d8c4ad2e5e14b8cf106596826fc1ab22922b28cb473058499d509a0c59718746dd8a1a94014182306e5651f47ed190e7593a9f7e83d9d4fd6fa2fbae
6 years, 9 months
Architecture specific change in rpms/gdb-exploitable.git
by githook-noreply@fedoraproject.org
The package rpms/gdb-exploitable.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/gdb-exploitable.git/commit/?id=cd....
Change:
+ExclusiveArch: x86_64 i386
Thanks.
Full change:
============
commit cd9d5203fc0990c303f05d4013c7040d0923dc6e
Author: sgrubb <sgrubb(a)redhat.com>
Date: Thu Jul 20 13:57:02 2017 -0400
Initial build
diff --git a/gdb-exploitable.spec b/gdb-exploitable.spec
index 075a7f6..747f3ab 100644
--- a/gdb-exploitable.spec
+++ b/gdb-exploitable.spec
@@ -20,7 +20,7 @@ Source0: %{plugin}.tar.gz
Source1: %{name}.gdb
Source2: README.fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-ExclusiveArch: x86_64
+ExclusiveArch: x86_64 i386
BuildArch: noarch
Requires: gdb
6 years, 9 months
Architecture specific change in rpms/gdb-exploitable.git
by githook-noreply@fedoraproject.org
The package rpms/gdb-exploitable.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/gdb-exploitable.git/commit/?id=cd....
Change:
+ExclusiveArch: x86_64 i386
Thanks.
Full change:
============
commit cd9d5203fc0990c303f05d4013c7040d0923dc6e
Author: sgrubb <sgrubb(a)redhat.com>
Date: Thu Jul 20 13:57:02 2017 -0400
Initial build
diff --git a/gdb-exploitable.spec b/gdb-exploitable.spec
index 075a7f6..747f3ab 100644
--- a/gdb-exploitable.spec
+++ b/gdb-exploitable.spec
@@ -20,7 +20,7 @@ Source0: %{plugin}.tar.gz
Source1: %{name}.gdb
Source2: README.fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-ExclusiveArch: x86_64
+ExclusiveArch: x86_64 i386
BuildArch: noarch
Requires: gdb
6 years, 9 months
Architecture specific change in rpms/gdb-exploitable.git
by githook-noreply@fedoraproject.org
The package rpms/gdb-exploitable.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/gdb-exploitable.git/commit/?id=08....
Change:
+ExclusiveArch: x86_64
Thanks.
Full change:
============
commit 080d48781473afe5a3db7013e047aca250204ed9
Author: sgrubb <sgrubb(a)redhat.com>
Date: Thu Jul 20 13:48:02 2017 -0400
Initial build
diff --git a/gdb-exploitable.spec b/gdb-exploitable.spec
index e3514c4..075a7f6 100644
--- a/gdb-exploitable.spec
+++ b/gdb-exploitable.spec
@@ -20,7 +20,7 @@ Source0: %{plugin}.tar.gz
Source1: %{name}.gdb
Source2: README.fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-ExclusiveArch: x86_64 i686
+ExclusiveArch: x86_64
BuildArch: noarch
Requires: gdb
6 years, 9 months
Architecture specific change in rpms/gdb-exploitable.git
by githook-noreply@fedoraproject.org
The package rpms/gdb-exploitable.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/gdb-exploitable.git/commit/?id=08....
Change:
+ExclusiveArch: x86_64
Thanks.
Full change:
============
commit 080d48781473afe5a3db7013e047aca250204ed9
Author: sgrubb <sgrubb(a)redhat.com>
Date: Thu Jul 20 13:48:02 2017 -0400
Initial build
diff --git a/gdb-exploitable.spec b/gdb-exploitable.spec
index e3514c4..075a7f6 100644
--- a/gdb-exploitable.spec
+++ b/gdb-exploitable.spec
@@ -20,7 +20,7 @@ Source0: %{plugin}.tar.gz
Source1: %{name}.gdb
Source2: README.fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-ExclusiveArch: x86_64 i686
+ExclusiveArch: x86_64
BuildArch: noarch
Requires: gdb
6 years, 9 months
Architecture specific change in rpms/gdb-exploitable.git
by githook-noreply@fedoraproject.org
The package rpms/gdb-exploitable.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/gdb-exploitable.git/commit/?id=84....
Change:
+ExclusiveArch: x86_64 i686
Thanks.
Full change:
============
commit 8450e30c557285dd2db3bee254906fc56d7f5736
Author: sgrubb <sgrubb(a)redhat.com>
Date: Thu Jul 20 13:35:05 2017 -0400
Initial build
diff --git a/.gitignore b/.gitignore
index e69de29..28d5c4e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/exploitable.tar.gz
diff --git a/README.fedora b/README.fedora
new file mode 100644
index 0000000..62cc23c
--- /dev/null
+++ b/README.fedora
@@ -0,0 +1,13 @@
+When you install this package, it will automatically register itself with
+gdb. You do not need to add anything to your ~/.gdbinit file.
+
+To use this extension, run your program. If it segfaults/crashes, then
+type 'exploitable' at the gdb command prompt. It should then print text
+to the gdb terminal explaining its conclusion. Note that it might misclassify
+a fault that really is exploitable. So, use this as an informed opinion and
+not absolute truth. If it says something is exploitable, head this warning
+just in case.
+
+This extension may also be used on coredump files. To use it this way,
+load the coredump file as normal. Then type 'exploitable' to get the
+analysis.
diff --git a/gdb-exploitable.gdb b/gdb-exploitable.gdb
new file mode 100644
index 0000000..c01241f
--- /dev/null
+++ b/gdb-exploitable.gdb
@@ -0,0 +1 @@
+source /usr/share/gdb/python/exploitable/exploitable.py
diff --git a/gdb-exploitable.spec b/gdb-exploitable.spec
new file mode 100644
index 0000000..e3514c4
--- /dev/null
+++ b/gdb-exploitable.spec
@@ -0,0 +1,63 @@
+%global plugin exploitable
+%global snapshot 20170717git35b742d
+%global gdb_data /usr/share/gdb/python/%{plugin}
+%global gdb_init /etc/gdbinit.d
+
+# The tarball is created like this:
+# git clone https://github.com/jfoote/exploitable.git
+# tar --exclude=.* -cvf exploitable.tar exploitable/*
+# gzip --best exploitable.tar
+# Then the snapshot global is updated to meet fedora guidelines
+
+Name: gdb-%{plugin}
+Version: 1.32
+Release: 1.%{snapshot}%{?dist}
+Summary: GDB extension for exploitability
+License: MIT
+Group: Development/Libraries
+URL: https://github.com/jfoote/exploitable
+Source0: %{plugin}.tar.gz
+Source1: %{name}.gdb
+Source2: README.fedora
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+ExclusiveArch: x86_64 i686
+BuildArch: noarch
+Requires: gdb
+
+%description
+'exploitable' is a GDB extension that classifies Linux application bugs
+by severity. The extension inspects the state of a Linux application that
+has crashed and outputs a summary of how difficult it might be for an
+attacker to exploit the underlying software bug to gain control of the
+system. The extension can be used to prioritize bugs for software developers
+so that they can address the most severe ones first.
+
+%prep
+%setup -q -n %{plugin}
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{gdb_data}
+cp -ra exploitable/* %{buildroot}%{gdb_data}
+rm -rf %{buildroot}%{gdb_data}/tests
+mkdir -p %{buildroot}%{gdb_init}
+cp %{SOURCE1} %{buildroot}%{gdb_init}
+cp %{SOURCE2} .
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc README.md AUTHORS.txt README.fedora
+%license LICENSE.md
+%dir %{gdb_data}
+%{gdb_data}/*
+%config(noreplace) %{gdb_init}/*
+
+%changelog
+* Thu Jul 20 2017 Steve Grubb <sgrubb(a)redhat.com> 1.32-1.20170717git35b742d
+- Initial build
+
diff --git a/sources b/sources
index e69de29..e45bee1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (exploitable.tar.gz) = b1d36072d8c4ad2e5e14b8cf106596826fc1ab22922b28cb473058499d509a0c59718746dd8a1a94014182306e5651f47ed190e7593a9f7e83d9d4fd6fa2fbae
6 years, 9 months