]> git.pld-linux.org Git - packages/ettercap6.git/blobdiff - ettercap6.spec
- fixed building (passing CFLAGS, linking),
[packages/ettercap6.git] / ettercap6.spec
index d3038b1bf6b77d3da906a2b78aebecae5069ddd4..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
@@ -17,8 +16,10 @@ URL:         http://ettercap.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: ncurses-devel
-BuildRequires: openssl-devel >= 0.9.7
-Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+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
@@ -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}
+%{__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
 
@@ -96,7 +100,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README README.PLUGINS HISTORY CHANGELOG AUTHORS TODO
-%doc THANKS KNOWN-BUGS PORTINGS 
+%doc THANKS KNOWN-BUGS PORTINGS
 %doc plugins/{H03_hydra1/HYDRA.HOWTO,H01_zaratan/ZARATAN.HOWTO,H09_roper/ROPER.HOWTO}
 %attr(755,root,root) %{_sbindir}/*
 %{_libdir}/ettercap
This page took 0.030843 seconds and 4 git commands to generate.