airoscript: updated to 2.2

This commit is contained in:
Jose V Beneyto 2009-11-02 09:18:43 +01:00
parent c540a18838
commit b935282181
3 changed files with 26 additions and 20 deletions

View File

@ -1,19 +1,24 @@
drwxr-xr-x root/root etc/
-rw-r--r-- root/root etc/airoscript.conf
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/airopdate
-rwxr-xr-x root/root usr/bin/airoscript
-rwxr-xr-x root/root usr/bin/airoscwordlist
drwxr-xr-x root/root usr/etc/
-rwxr-xr-x root/root usr/etc/airoscript.conf
-rw-r--r-- root/root usr/etc/screenrc
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/airopdate.1.gz
-rw-r--r-- root/root usr/man/man1/airosconf.1.gz
-rw-r--r-- root/root usr/man/man1/airoscript.1.gz
-rw-r--r-- root/root usr/man/man1/airoscwordlist.1.gz
-rw-r--r-- root/root usr/man/man1/airosperl.1.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/airoscript/
-rwxr-xr-x root/root usr/share/airoscript/airopdate
-rwxr-xr-x root/root usr/share/airoscript/airoscfunc.sh
-rwxr-xr-x root/root usr/share/airoscript/airoscfunc_external.sh
-rwxr-xr-x root/root usr/share/airoscript/airoscfunc_screen.sh
-rwxr-xr-x root/root usr/share/airoscript/airoscfunc_unstable.sh
-rwxr-xr-x root/root usr/share/airoscript/screenrc
-rwxr-xr-x root/root usr/share/airoscript/functions.sh
-rwxr-xr-x root/root usr/share/airoscript/functions_external.sh
-rwxr-xr-x root/root usr/share/airoscript/functions_screen.sh
-rwxr-xr-x root/root usr/share/airoscript/functions_unstable.sh
drwxr-xr-x root/root usr/share/airoscript/themes/
-rwxr-xr-x root/root usr/share/airoscript/themes/default.theme
-rwxr-xr-x root/root usr/share/airoscript/themes/inverse.theme
-rw-r--r-- root/root usr/share/airoscript/themes/default.theme
-rw-r--r-- root/root usr/share/airoscript/themes/inverse.theme

View File

@ -1 +1 @@
db1388d5ed4486c8817239be63674305 airoscript-2.1.1-2.tar.gz
8f3f5d24c6e45520a90cc2f10fa4e0bb airoscript-2.2.tar.gz

View File

@ -5,16 +5,17 @@
# Depends on: aircrack-ng
name=airoscript
version=2.1.1
version=2.2
release=1
source=(http://airoscript.googlecode.com/files/$name-$version-2.tar.gz)
source=(http://airoscript.googlecode.com/files/$name-$version.tar.gz)
build() {
install -d $PKG/{etc,usr/{bin,man/man1,share/$name/themes}}
install -m 0644 $name/src/$name.conf $PKG/etc/airoscript.conf
install -m 0755 $name/src/$name.sh $PKG/usr/bin/$name
install -m 0755 $name/src/airopdate.sh $PKG/usr/share/$name/airopdate
install -m 0755 $name/src/{airoscfunc*.sh,screenrc} $PKG/usr/share/$name
install -m 0755 $name/src/themes/* $PKG/usr/share/$name/themes
install -m 0644 $name/src/$name.1 $PKG/usr/man/man1
sed -i Makefile-Linux \
-e 's|bindir=.*|bindir=$(prefix)/bin|' \
-e 's|mandir=.*|mandir=$(prefix)/man|' \
-e 's|install-docs: .*|install-docs: install-manpages|'
sed '/install-locale \\/d' -i Makefile-Linux
make prefix="$PKG\/usr" aircrack_prefix="\/usr" install
rm -rf $PKG/usr/share/{doc,locale,$name/airosperl}
sed -e 's|usr/local/etc|usr/etc|g' -i $PKG/usr/bin/$name
}