]> git.pld-linux.org Git - packages/ettercap.git/blobdiff - ettercap.spec
- release 17 (by relup.sh)
[packages/ettercap.git] / ettercap.spec
index 6bcee6bbd1c63cb8a7959a2f6e733a62abfd4b9d..b04ddc5576a811e6994da5d47bf29c017b51da97 100644 (file)
@@ -7,17 +7,17 @@ Summary(pl.UTF-8):    ettercap - oparte o ncurses narzędzie do sniffowania/przechw
 Summary(pt_BR.UTF-8):  ettercap e um interceptador/sniffer paseado em ncurses
 Name:          ettercap
 Version:       0.7.3
-Release:       8
+Release:       17
 Epoch:         1
 License:       GPL
 Group:         Networking/Utilities
-Source0:       http://dl.sourceforge.net/ettercap/%{name}-NG-%{version}.tar.gz
+Source0:       http://downloads.sourceforge.net/ettercap/%{name}-NG-%{version}.tar.gz
 # Source0-md5: 28fb15cd024162c55249888fe1b97820
-Patch1:                %{name}-ncurses.patch
-Patch2:                %{name}-plugin_dir.patch
-Patch3:                %{name}-kernel_version.patch
-Patch4:                %{name}-as-needed.patch
-Patch5:                %{name}-build.patch
+Patch1:                %{name}-build.patch
+Patch2:                %{name}-as-needed.patch
+Patch3:                %{name}-libmissing.patch
+Patch4:                %{name}-shlib_ext.patch
+Patch5:                %{name}-flags.patch
 URL:           http://ettercap.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -25,9 +25,11 @@ BuildRequires:       automake
 BuildRequires: libltdl-devel
 BuildRequires: libnet-devel >= 1.1.2.1
 BuildRequires: libpcap-devel
+BuildRequires: libtool
 BuildRequires: ncurses-ext-devel
 BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: pcre-devel
+BuildRequires: pkgconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                specflags       -fomit-frame-pointer
@@ -78,17 +80,18 @@ hosts na rede local, portas abertas, versão de serviços, tipo de host
 
 %prep
 %setup -q -n %{name}-NG-%{version}
-#%patch1 -p0
-#%patch2 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 %patch4 -p1
 %patch5 -p1
 
 %build
-#cp -f /usr/share/automake/config.sub .
-#%{__aclocal}
-#%{__autoconf}
-#%{__autoheader}
-CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        --%{!?debug:dis}%{?debug:en}able-debug \
        --%{?with_gtk:en}%{!?with_gtk:dis}able-gtk \
This page took 0.261375 seconds and 4 git commands to generate.