Name: driftnet License: GPLv2+ Group: Applications/Internet Version: 0.1.6 Release: 25.20040426cvs%{?dist} Summary: Network image sniffer URL: http://www.ex-parrot.com/~chris/driftnet/ Source0: driftnet-0.1.6-20040426cvs.tar.gz #Source0: http://www.ex-parrot.com/~chris/driftnet/driftnet-0.1.6.tar.gz Source1: %name-%{version}-pam.config Source2: %name-%{version}-security.config #Patch0: driftnet-gtk2-port.patch Patch1: driftnet-dont-use-tmpnam.patch Patch2: driftnet-0.1.6-no-makedepend.patch Patch3: driftnet-0.1.6-libpng.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libpcap-devel gtk2-devel libungif-devel libjpeg-devel giflib-devel Requires: %{_bindir}/consolehelper %description Driftnet is a program which listens to network traffic and picks out images from TCP streams it observes. Fun to run on a host which sees lots of web traffic. %prep %setup -q -n driftnet-%{version}-20040426cvs #%patch0 -p1 -b .gtk2 %patch1 -p1 -b .tmpnam %patch2 -p1 -b .makedep %patch3 -p1 -b .libpng sed -i 's#LDLIBS += -ljpeg -lungif -lpng `pkg-config --libs gtk+-2.0`#LDLIBS += -ljpeg -lungif -lpng -lgif `pkg-config --libs gtk+-2.0`#g' Makefile %build CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} install -Dpm 0755 driftnet \ $RPM_BUILD_ROOT%{_sbindir}/driftnet install -Dpm 0644 driftnet.1 \ $RPM_BUILD_ROOT/%{_mandir}/man1/driftnet.1 ln -sf consolehelper $RPM_BUILD_ROOT%{_bindir}/driftnet install -Dpm 644 %{SOURCE1} \ $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/driftnet install -Dpm 644 %{SOURCE2} \ $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/driftnet %files %defattr(-,root,root,-) %doc CHANGES COPYING CREDITS README TODO %{_bindir}/driftnet %{_sbindir}/driftnet %config(noreplace) %{_sysconfdir}/pam.d/driftnet %config %{_sysconfdir}/security/console.apps/driftnet %{_mandir}/man1/driftnet.1* %clean rm -rf $RPM_BUILD_ROOT %changelog * Sun Jul 22 2012 Paul Wouters - 0.1.6-25.20040426cvs - Change obsoleted libpng png_set_gray_1_2_4_to_8() to png_set_expand_gray_1_2_4_to_8() * Wed Jul 18 2012 Fedora Release Engineering - 0.1.6-24.20040426cvs - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.1.6-23.20040426cvs - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 0.1.6-22.20040426cvs - Rebuild for new libpng * Tue Feb 08 2011 Fedora Release Engineering - 0.1.6-21.20040426cvs - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Aug 05 2010 Paul Wouters - 0.1.6-20.20040426cvs - Bugfix for https://bugzilla.redhat.com/show_bug.cgi?id=564945 * Fri Jul 24 2009 Fedora Release Engineering - 0.1.6-19.20040426cvs - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering - 0.1.6-18.20040426cvs - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Jul 16 2008 Tom "spot" Callaway - 0.1.6-17.20040426cvs - fix license tag * Tue Feb 19 2008 Fedora Release Engineering - 0.1.6-16.20040426cvs - Autorebuild for GCC 4.3 * Sun Oct 21 2007 Paul Wouters - 0.1.6-15.20040426cvs - Fixed endian patch * Sun Oct 21 2007 Paul Wouters - 0.1.6-13.20040426cvs - Commented out a g_free(template) that broke tmpdir. I don't understand why though. Since template is never used again. This is https://bugzilla.redhat.com/show_bug.cgi?id=201412 * Sun Dec 24 2006 Jason L Tibbitts III - 0.1.6-12 - Rebuild with updated libpcap. * Fri Sep 15 2006 - Bastien Nocera - 0.1.6-11 - Rebuilt * Thu Jul 13 2006 - Bastien Nocera - 0.1.6-10 - Update builddeps (#197685) * Mon Apr 03 2006 - Bastien Nocera - 0.1.6-9 - Fix typo in the imake removal patch that broke on big endian machines * Mon Apr 03 2006 - Bastien Nocera - 0.1.6-7 - spell "driftnet" correctly in driftnet-dont-use-tmpnam.patch Add patch2 to remove imake dependency update the PAM config to be more like existing ones move buildroot deletion to install from prep Thanks to Adrian Reber for pointing to those last 2 * Tue Dec 13 2005 - Bastien Nocera - 0.1.6-6 - update for FC5, don't use tmpnam * Fri Nov 11 2005 - Bastien Nocera - 0.1.6-5 - Major cleanups by Adrian Reber * Sat Apr 17 2004 - Bastien Nocera - 0.1.6-4 - Oops, it wasn't a GTK2 application, ended up porting it * Sat Apr 10 2004 - Bastien Nocera - 0.1.6-3 - Recompile against a newer libpcap * Fri Jun 20 2003 - Bastien Nocera - 0.1.6-2 - Added a PAM configuration file * Fri Jun 20 2003 - Bastien Nocera - 0.1.6-1 - First release