Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initial import (#716580)

  • Loading branch information...
commit 8d32606034b606210eec72efe6161041000bb0e1 1 parent 4bb749f
@major authored
Showing with 54 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +52 −0 httpry-0.1.5.spec
  3. +1 −0  sources
View
1  .gitignore
@@ -0,0 +1 @@
+/httpry-0.1.5.tar.gz
View
52 httpry-0.1.5.spec
@@ -0,0 +1,52 @@
+Summary: A specialized packet sniffer designed for displaying and logging HTTP traffic
+Name: httpry
+Version: 0.1.5
+Release: 3%{?dist}
+License: GPLv2 and BSD
+URL: http://dumpsterventures.com/jason/httpry/
+Group: Applications/Internet
+Source: http://dumpsterventures.com/jason/httpry/httpry-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: libpcap-devel
+
+%description
+httpry is a specialized packet sniffer designed for displaying and logging
+HTTP traffic. It is not intended to perform analysis itself, but to capture,
+parse, and log the traffic for later analysis. It can be run in real-time
+displaying the traffic as it is parsed, or as a daemon process that logs to
+an output file. It is written to be as lightweight and flexible as possible,
+so that it can be easily adaptable to different applications.
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
+mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
+install -Dp -m 0755 httpry ${RPM_BUILD_ROOT}%{_sbindir}/httpry
+install -Dp -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-,root,root)
+%doc doc/ChangeLog doc/COPYING doc/format-string doc/method-string doc/perl-tools doc/README
+%{_sbindir}/httpry
+%{_mandir}/man1/httpry.1*
+
+%changelog
+* Wed Aug 03 2011 Major Hayden <major@mhtx.net> - 0.1.5-3
+- Additional cleanup
+- Added man page
+- Cleaning buildroot to meet EPEL requirements
+
+* Fri Jun 24 2011 Major Hayden <major@mhtx.net> - 0.1.5-2
+- Added %{?_smp_mflags} to make
+
+* Fri Jun 24 2011 Major Hayden <major@mhtx.net> - 0.1.5-1
+- Initial build
View
1  sources
@@ -0,0 +1 @@
+7fbba29eaeec1fd6b25e6fa3a12be25d httpry-0.1.5.tar.gz
Please sign in to comment.
Something went wrong with that request. Please try again.