SPECS: sshsniff.spec - finished; builds

glen glen at pld-linux.org
Mon Jun 5 08:13:00 CEST 2006


Author: glen                         Date: Mon Jun  5 06:13:00 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- finished; builds

---- Files affected:
SPECS:
   sshsniff.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/sshsniff.spec
diff -u SPECS/sshsniff.spec:1.1 SPECS/sshsniff.spec:1.2
--- SPECS/sshsniff.spec:1.1	Mon Jun  5 08:05:04 2006
+++ SPECS/sshsniff.spec	Mon Jun  5 08:12:55 2006
@@ -5,30 +5,33 @@
 Release:	0.1
 License:	?
 Group:		Development/Debuggers
-Source0:	http://blackdevil.iwarp.com/sshsniff.tar.gz
+# Source0Download: http://blackdevil.iwarp.com/sshsniff.tar.gz
+Source0:	%{name}.tar.gz
 # Source0-md5:	8d438a04e5a3e9b94f80f319921e158c
+Patch0:		%{name}-config.patch
 ExclusiveArch:	%{ix86} arm m68k
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 sshsniff is a systemcall traffic logger. It allows the logging of any
-in- and outgoing traffic from a given pid and it's childs.  that also
+in- and outgoing traffic from a given pid and it's childs. that also
 allows the sniffing of an ssh client and/or server of a possibly
 compromised host. You can also use it for other processes which use
 the SYS_read and SYS_write syscalls.
 
 %prep
-%setup -q
+%setup -q -n %{name}
+%patch0 -p1
 
 %build
-%configure
+%configure2_13
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-%{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}}
+install %{name} $RPM_BUILD_ROOT%{_sbindir}
+install %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -36,6 +39,8 @@
 %files
 %defattr(644,root,root,755)
 %doc README
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sshsniff.conf
+%attr(755,root,root) %{_sbindir}/sshsniff
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -43,6 +48,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/06/05 06:12:55  glen
+- finished; builds
+
 Revision 1.1  2006/06/05 06:05:04  glen
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sshsniff.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list