Skip to content

Commit

Permalink
Upgraded digikam ad unrar. Added ncrack. Rebuilt acpiclient, liboping…
Browse files Browse the repository at this point in the history
… and squid
  • Loading branch information
conraid committed Jul 2, 2014
1 parent be3c0d5 commit 4d9f36f
Show file tree
Hide file tree
Showing 8 changed files with 186 additions and 17 deletions.
11 changes: 11 additions & 0 deletions ChangeLog.txt
@@ -1,3 +1,14 @@
Wed Jul 2 08:03:58 UTC 2014
Recompiled: acpiclient-1.7
- Fix slack-desc
Upgraded: digikam-4.1.0
Recompiled: liboping-1.6.2
- add perl-binding configure
Added: ncrack-0.4ALPHA
Recompiled: squid-3.4.6
- Patch from r1407
Upgraded: unrar-5.1.6
+--------------------------+
Thu Jun 26 13:37:41 UTC 2014
Recompiled: opencv-2.4.9
- Fix fsh patch and LICENSE file
Expand Down
Binary file modified ChangeLog.txt.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion SLACKBUILDS.LIST
Expand Up @@ -156,6 +156,7 @@ mp3splt-gtk/mp3splt-gtk.SlackBuild
mp3splt/mp3splt.SlackBuild
mu/mu.SlackBuild
ncdu/ncdu.SlackBuild
ncrack/ncrack.SlackBuild
ndisc6/ndisc6.SlackBuild
nethogs/nethogs.SlackBuild
netperf/netperf.SlackBuild
Expand Down Expand Up @@ -258,7 +259,6 @@ wipe/wipe.SlackBuild
wireshark/wireshark.SlackBuild
wol/wol.SlackBuild
wput/wput.SlackBuild
wxcam/wxcam.SlackBuild
wxgtk/wxgtk.SlackBuild
x11vnc/x11vnc.SlackBuild
xping/xping.SlackBuild
Expand Down
32 changes: 16 additions & 16 deletions SLACKBUILDS.TXT
Expand Up @@ -370,10 +370,10 @@ SLACKBUILD SHORT DESCRIPTION: Detox (filename cleanup utility)
SLACKBUILD NAME: digikam
SLACKBUILD LOCATION: ./digikam
SLACKBUILD FILES: digikam.SlackBuild digikam.info doinst.sh slack-desc
SLACKBUILD VERSION: 4.0.0
SLACKBUILD VERSION: 4.1.0
SLACKBUILD REQUIRED: ffmpeg lensfun liblqr opencv libpgf kde-alien
SLACKBUILD DOWNLOAD: http://download.kde.org/stable/digikam/digikam-4.0.0.tar.bz2
SLACKBUILD MD5SUM: 03438cc1aeb9a266dcf1f2523ffe983d
SLACKBUILD DOWNLOAD: http://download.kde.org/stable/digikam/digikam-4.1.0.tar.bz2
SLACKBUILD MD5SUM: 6a142b3f7dc81e4d0ccde6d834223cdf
SLACKBUILD SHORT DESCRIPTION: digiKam (KDE Photo Management Application)

SLACKBUILD NAME: diskscan
Expand Down Expand Up @@ -1420,6 +1420,15 @@ SLACKBUILD DOWNLOAD: http://dev.yorhel.nl/download/ncdu-1.10.tar.gz
SLACKBUILD MD5SUM: 7535decc8d54eca811493e82d4bfab2d
SLACKBUILD SHORT DESCRIPTION: ncdu (NCurses Disk Usage)

SLACKBUILD NAME: ncrack
SLACKBUILD LOCATION: ./ncrack
SLACKBUILD FILES: ncrack.SlackBuild ncrack.info slack-desc
SLACKBUILD VERSION: ncrack-0.4ALPHA
SLACKBUILD REQUIRED:
SLACKBUILD DOWNLOAD: http://nmap.org/ncrack/dist/ncrack-0.4ALPHA.tar.gz
SLACKBUILD MD5SUM:
SLACKBUILD SHORT DESCRIPTION: ncrack (high-speed network authentication cracking tool)

SLACKBUILD NAME: ndisc6
SLACKBUILD LOCATION: ./ndisc6
SLACKBUILD FILES: ndisc6.SlackBuild ndisc6.info slack-desc
Expand Down Expand Up @@ -2070,7 +2079,7 @@ SLACKBUILD SHORT DESCRIPTION: soundKonverter (kde frontend to audio converters)

SLACKBUILD NAME: squid
SLACKBUILD LOCATION: ./squid
SLACKBUILD FILES: SLACKWARE.README doinst.sh rc.squid slack-desc squid.SlackBuild squid.conf squid.conf.documented squid.info squid.logrotate
SLACKBUILD FILES: SLACKWARE.README doinst.sh rc.squid slack-desc squid-r13407.patch squid.SlackBuild squid.conf squid.conf.documented squid.info squid.logrotate
SLACKBUILD VERSION: 3.4.6
SLACKBUILD REQUIRED:
SLACKBUILD DOWNLOAD: http://www.squid-cache.org/Versions/v3/3.4/squid-3.4.6.tar.xz
Expand Down Expand Up @@ -2224,10 +2233,10 @@ SLACKBUILD SHORT DESCRIPTION: unix-privesc-check (Shell script to check for pri
SLACKBUILD NAME: unrar
SLACKBUILD LOCATION: ./unrar
SLACKBUILD FILES: slack-desc unrar.1.gz unrar.SlackBuild unrar.info unrar.patch
SLACKBUILD VERSION: 5.1.5
SLACKBUILD VERSION: 5.1.6
SLACKBUILD REQUIRED:
SLACKBUILD DOWNLOAD: http://www.rarlab.com/rar/unrarsrc-5.1.5.tar.gz
SLACKBUILD MD5SUM: 809db67b74942af7cf1d40edcec92976
SLACKBUILD DOWNLOAD: http://www.rarlab.com/rar/unrarsrc-5.1.6.tar.gz
SLACKBUILD MD5SUM: be9607c59d62c3b101a70cd62c681515
SLACKBUILD SHORT DESCRIPTION: unrar (unpacker for the RAR archive format)

SLACKBUILD NAME: unrtf
Expand Down Expand Up @@ -2338,15 +2347,6 @@ SLACKBUILD DOWNLOAD: http://downloads.sourceforge.net/project/wput/wput/0.6.2/wp
SLACKBUILD MD5SUM: a14c4c13d91d04d6119bdc977e8a8bdf
SLACKBUILD SHORT DESCRIPTION: wput (utility for putting files using the FTP protocol)

SLACKBUILD NAME: wxcam
SLACKBUILD LOCATION: ./wxcam
SLACKBUILD FILES: doinst.sh slack-desc wxcam.SlackBuild wxcam.info
SLACKBUILD VERSION: 1.1
SLACKBUILD REQUIRED: mjpegtools wxgtk xvidcore
SLACKBUILD DOWNLOAD: http://downloads.sourceforge.net/project/wxcam/wxcam/1.1/wxcam-1.1.tar.bz2
SLACKBUILD MD5SUM: c9ea8991b6375c1709a7ce4e61fcc263
SLACKBUILD SHORT DESCRIPTION: wxcam (webcam application for linux)

SLACKBUILD NAME: wxgtk
SLACKBUILD LOCATION: ./wxgtk
SLACKBUILD FILES: slack-desc wxgtk.SlackBuild wxgtk.info
Expand Down
Binary file modified SLACKBUILDS.TXT.gz
Binary file not shown.
132 changes: 132 additions & 0 deletions ncrack/ncrack.SlackBuild
@@ -0,0 +1,132 @@
#!/bin/sh
#
# Slackware build script for ncrack
#
# Copyright 2014 Corrado Franco (http://conraid.net)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Latest version of this SlackBuild at http://slackers.it/repository
#
# Exit on most errors
set -e

# Set variables:
CWD=$(pwd)

PRGNAME=${PRGNAME:-ncrack}
PKGNAME=$(echo $PRGNAME | tr A-Z a-z)
VERSION=${VERSION:-0.4ALPHA}
PKGVERSION=$(echo $VERSION | tr - _)
BUILD=${BUILD:-1}
TAG=${TAG:-cf}
TMP=${TMP:-/tmp/pkg}
PKG=$TMP/package-$PKGNAME
DOCS="$PKG/usr/doc/$PKGNAME-$PKGVERSION"

# Insert document files in this variable
DOCFILES="CHANGELOG COPYING*"

ARCH=${ARCH:=""} # Set ARCH or leave blank to determine it automatically
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i686 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi

# Set compiling FLAGS
case "$ARCH" in
i[3-5]86)
SLKCFLAGS="-O2 -march=${ARCH} -mtune=i686"; CHOST="i486"
SLKLDFLAGS=""; LIBDIRSUFFIX=""
;;
i686)
SLKCFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"; CHOST="i486"
SLKLDFLAGS=""; LIBDIRSUFFIX=""
;;
x86_64)
SLKCFLAGS="-O2 -fPIC -pipe -fomit-frame-pointer"; CHOST="x86_64"
SLKLDFLAGS="-L/lib64 -L/usr/lib64"; LIBDIRSUFFIX="64"
;;
*)
SLKCFLAGS="-O2"; CHOST=$ARCH
SLKLDFLAGS=""; LIBDIRSUFFIX=""
;;
esac

# Extract source and prepare:
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PRGNAME-$VERSION
tar xvf $CWD/$PRGNAME-$VERSION.tar.gz
cd $PRGNAME-$VERSION

# Make sure ownerships and permissions are sane:
chown -R root:root .
chmod -R u+w,go+r-w,a-s .

# Configure
LDFLAGS="$SLKLDFLAGS" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
--docdir=/usr/doc/${PKGNAME}-${PKGVERSION} \
--enable-static=no \
--enable-shared=yes \
--host=$CHOST-slackware-linux \
--build=$CHOST-slackware-linux

# Build and install:
make
make DESTDIR=$PKG install

# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs -r strip --strip-unneeded 2> /dev/null || true
find $PKG | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs -r strip -g 2> /dev/null || true

# Compress and link manpages, if any:
if [ -d $PKG/usr/man ]; then
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
fi

# Add a documentation directory:
mkdir -p ${DOCS}
cp -a $DOCFILES $DOCS

# Add a slackbuild script:
install -Dm644 $CWD/$PKGNAME.SlackBuild $DOCS/$PKGNAME.SlackBuild

# Add slack-desc
install -Dm644 $CWD/slack-desc $PKG/install/slack-desc

# Create package:
cd $PKG
/sbin/makepkg -l y -c n $CWD/$PKGNAME-$PKGVERSION-$ARCH-${BUILD}${TAG}.txz
7 changes: 7 additions & 0 deletions ncrack/ncrack.info
@@ -0,0 +1,7 @@
NAME="ncrack"
VERSION="ncrack-0.4ALPHA"
HOMEPAGE="http://nmap.org/ncrack"
DOWNLOAD="http://nmap.org/ncrack/dist/ncrack-0.4ALPHA.tar.gz"
REQUIRES=""
MD5SUM=""

19 changes: 19 additions & 0 deletions ncrack/slack-desc
@@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.

|-----handy-ruler------------------------------------------------------|
ncrack: ncrack (high-speed network authentication cracking tool)
ncrack:
ncrack: Ncrack is a high-speed network authentication cracking tool. i
ncrack: Ncrack was designed using a modular approach, a command-line syntax
ncrack: similar to Nmap and a dynamic engine that can adapt its behaviour
ncrack: based on network feedback. It allows for rapid, yet reliable
ncrack: large-scale auditing of multiple hosts.
ncrack:
ncrack:
ncrack:
ncrack:

0 comments on commit 4d9f36f

Please sign in to comment.