diff options
author | Niels Horn <niels.horn@slackbuilds.org> | 2011-04-04 21:53:56 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-04-04 21:53:56 -0300 |
commit | 6d31eff69ce60f33a260a74d0e6142698b5624bc (patch) | |
tree | 2ebd3cbcbfa36ae58456afa8f6865eeb28bf2742 | |
parent | c8cec2ab0eb2566016b2df074ac3b92e307655fa (diff) | |
download | slackbuilds-6d31eff69ce60f33a260a74d0e6142698b5624bc.tar.gz |
network/ettercap-NG: Fixed configure check for libtool.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r-- | network/ettercap-NG/ettercap-NG.SlackBuild | 17 | ||||
-rw-r--r-- | network/ettercap-NG/ettercap-NG_configure.patch | 11 | ||||
-rw-r--r-- | network/ettercap-NG/slack-desc | 5 |
3 files changed, 23 insertions, 10 deletions
diff --git a/network/ettercap-NG/ettercap-NG.SlackBuild b/network/ettercap-NG/ettercap-NG.SlackBuild index dbdead289e..6f62705829 100644 --- a/network/ettercap-NG/ettercap-NG.SlackBuild +++ b/network/ettercap-NG/ettercap-NG.SlackBuild @@ -22,17 +22,17 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Modified by the SlackBuilds.org team + PRGNAM=ettercap-NG VERSION=${VERSION:-0.7.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # exit on most errors. +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -67,6 +67,9 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r,a-s . +# Patch to fix "[:space:]" character class +patch -p1 < $CWD/ettercap-NG_configure.patch + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -88,10 +91,8 @@ mv $PKG/etc/etter.conf $PKG/etc/etter.conf.new find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS CHANGELOG INSTALL LICENSE README* THANKS TODO* doc/* \ diff --git a/network/ettercap-NG/ettercap-NG_configure.patch b/network/ettercap-NG/ettercap-NG_configure.patch new file mode 100644 index 0000000000..69e9ccc4e7 --- /dev/null +++ b/network/ettercap-NG/ettercap-NG_configure.patch @@ -0,0 +1,11 @@ +--- ettercap-NG-0.7.3/configure 2005-05-27 12:11:45.000000000 -0300 ++++ ettercap-NG-0.7.3_patched/configure 2011-04-04 20:57:49.000000000 -0300 +@@ -8346,7 +8346,7 @@ + exit 1 + fi + gentoo_lt_version="1.5.18" +-gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'` ++gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'` + if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then + echo "$as_me:$LINENO: result: no" >&5 + echo "${ECHO_T}no" >&6 diff --git a/network/ettercap-NG/slack-desc b/network/ettercap-NG/slack-desc index cbfdd41081..46fb57d084 100644 --- a/network/ettercap-NG/slack-desc +++ b/network/ettercap-NG/slack-desc @@ -12,6 +12,7 @@ ettercap-NG: features sniffing of live connections, content filtering on the ettercap-NG: fly and many other interesting tricks. It supports active and ettercap-NG: passive dissection of many protocols (even ciphered ones) and ettercap-NG: includes many feature for network and host host analysis. -ettercap-NG: +ettercap-NG: ettercap-NG: Homepage: http://ettercap.sourceforge.net/ -ettercap-NG: +ettercap-NG: +ettercap-NG: |