]> git.pld-linux.org Git - packages/dsniff.git/commitdiff
- release 3: added using %%{rpmcflags} macro. dsniff-2_3-3
authorkloczek <kloczek@pld-linux.org>
Fri, 13 Apr 2001 06:06:45 +0000 (06:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dsniff.spec -> 1.7

dsniff.spec

index ca8e135531846d1b56cfa0fecd637019a34bc930..1c36088d07d7c7e525c6fb3b772727bd58519589 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Network audit tools.
 Summary(pl):   Narzêdzia do kontroli sieci
 Name:          dsniff
 Version:       2.3
-Release:       2
+Release:       3
 License:       BSD
 Group:         Networking/Utilities
 Group(de):     Netzwerkwesen/Werkzeuge
@@ -10,6 +10,7 @@ Group(pl):    Sieciowe/Narz
 Source0:       http://www.monkey.org/~dugsong/%{name}/%{name}-%{version}.tar.gz
 Patch0:                %{name}-slist.patch
 Patch1:                %{name}-headers.patch
+Patch2:                %{name}-etc.patch
 URL:           http://www.monkey.org/~dugsong/
 BuildRequires: XFree86-devel
 BuildRequires: libpcap-devel
@@ -18,6 +19,8 @@ BuildRequires:        libnet-devel
 BuildRequires: glibc-static
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _sysconfdir             /etc/%{name}
+
 %description
 Tools to audit network and to demonstrate the insecurity of cleartext
 network protocols. Please do not abuse this software.
@@ -28,7 +31,7 @@ nieszyfrowanych protoko
 oprogramowania.
 
 %package webspy
-Summary:       Network audit tools.
+Summary:       Network audit tools
 Summary(pl):   Narzêdzia do kontroli sieci
 Group:         Networking/Utilities
 Group(de):     Netzwerkwesen/Werkzeuge
@@ -45,9 +48,11 @@ your local X display ahead of time.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 autoheader
+CFLAGS="%{rpmcflags} -I./missing"
 %configure \
        --libdir=%{_datadir}/%{name}
 %{__make}
@@ -65,9 +70,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README*
+%doc *.gz
 %attr(755,root,root) %{_sbindir}/[a-u]*
 %attr(755,root,root) %{_sbindir}/webmitm
+%dir %{_sysconfdir}
+%config(noreplace) %{_sysconfdir}/*
 %{_datadir}/%{name}/*
 %{_mandir}/man8/[a-u]*
 %{_mandir}/man8/webmitm*
This page took 0.099583 seconds and 4 git commands to generate.