]> git.pld-linux.org Git - packages/ettercap.git/commitdiff
- fixed building (passing CFLAGS, linking),
authorTomasz Pala <gotar@pld-linux.org>
Tue, 11 Nov 2003 19:15:28 +0000 (19:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- enabled devel stuff,
- cosmetics,
- removed obsoleted dont_require_root patch.

Changed files:
    ettercap.spec -> 1.42

ettercap.spec

index 52a72044d2e884b5e1e06d00e4b171411bc4207f..32bec28be914fc596b520999654067063c4f219d 100644 (file)
@@ -9,7 +9,6 @@ License:        GPL
 Group:         Networking/Utilities
 Source0:       http://dl.sourceforge.net/ettercap/%{name}-%{version}.tar.gz
 # Source0-md5: f665cf82347a91f216184537f8f2c4bd
-Patch0:                %{name}-dont_require_root.patch
 Patch1:                %{name}-ncurses.patch
 Patch2:                %{name}-plugin_dir.patch
 Patch3:                %{name}-kernel_version.patch
@@ -20,6 +19,8 @@ BuildRequires:        ncurses-devel
 BuildRequires: openssl-devel >= 0.9.7c
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                specflags       -fomit-frame-pointer
+
 %description
 ettercap is a network sniffer/interceptor/logger for ethernet LANs
 (both switched or not). It supports active and passive dissection of
@@ -66,19 +67,22 @@ hosts na rede local, portas abertas, vers
 
 %prep
 %setup -q
-#%patch0 -p1
-%patch1
+%patch1 -p0
 #%patch2 -p1
 %patch3 -p1
 
 %build
 %{__aclocal}
-##%{__autoconf}
+%{__autoconf}
+%{__autoheader}
 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
 %configure \
-       --%{!?debug:dis}%{?debug:en}able-debug \
+       --enable-devel \
        --enable-ncurses \
-       --disable-gtk
+       --disable-gtk \
+       --%{!?debug:dis}%{?debug:en}able-debug \
+       --enable-plugins \
+       --enable-https
 %{__make}
 %{__make} plug-ins
 
This page took 0.058169 seconds and 4 git commands to generate.