summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/air/ChangeLog30
-rw-r--r--app-forensics/air/Manifest15
-rw-r--r--app-forensics/air/air-1.2.3_beta3.ebuild55
-rw-r--r--app-forensics/air/files/air-1.2.3_beta3-installfix.patch149
-rw-r--r--app-forensics/air/files/digest-air-1.2.3_beta31
-rw-r--r--app-forensics/air/metadata.xml12
6 files changed, 262 insertions, 0 deletions
diff --git a/app-forensics/air/ChangeLog b/app-forensics/air/ChangeLog
new file mode 100644
index 000000000000..928edb322e9c
--- /dev/null
+++ b/app-forensics/air/ChangeLog
@@ -0,0 +1,30 @@
+# ChangeLog for sys-apps/air
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/air/ChangeLog,v 1.1 2004/09/12 06:53:08 dragonheart Exp $
+
+*air-1.2.3_beta3 (12 Sep 2004)
+
+ 12 Sep 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
+ +files/air-1.2.3_beta3-installfix.patch, +air-1.2.3_beta3.ebuild:
+ Moved from sys-apps/air to app-forensics/air.
+
+ 18 Jul 2004; Daniel Black <dragonheart@gentoo.org> air-1.2.3_beta3.ebuild:
+ x86 stable
+
+ 24 May 2004; Daniel Black <dragonheart@gentoo.org> air-1.2.3_beta3.ebuild:
+ Perl-tk no longer accepts '-col' as a synonym for '-column.' Replaced in
+ executable as per bug #51451. Thankyou to Daniel Webert <daniel_webert@web.de>
+ for the bug report and Doug Weimer <dweimer@socal.rr.com> for the solution.
+
+ 18 May 2004; Daniel Black <dragonheart@gentoo.org> air-1.2.3_beta3.ebuild:
+ added fifo
+
+ 18 May 2004; Daniel Black <dragonheart@gentoo.org> air-1.2.3_beta3.ebuild:
+ fix permissions
+
+*air-1.2.3_beta3 (18 May 2004)
+
+ 18 May 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
+ +files/air-1.2.3_beta3-installfix.patch, +air-1.2.3_beta3.ebuild:
+ Initial ebuild thanks to Doug Weimer <dweimer@socal.rr.com> in bug #47095
+
diff --git a/app-forensics/air/Manifest b/app-forensics/air/Manifest
new file mode 100644
index 000000000000..ce19d9566ce7
--- /dev/null
+++ b/app-forensics/air/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 a4e2290293bdeaa9714ea06ab7a2b444 air-1.2.3_beta3.ebuild 1389
+MD5 6d796b061ed1c1337ef157a5f74dab35 metadata.xml 403
+MD5 d3ed3be1d0241acc52a64c4e3c21561a ChangeLog 1037
+MD5 5e2c9543b3ba5b7ad85af0c87c767029 files/digest-air-1.2.3_beta3 66
+MD5 ef2381a8147873ad21c5d638d5cde8d1 files/air-1.2.3_beta3-installfix.patch 5335
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.4 (GNU/Linux)
+
+iD8DBQFA+hSnmdTrptrqvGERAmnvAJ9ZGDoYwt8OsakfosFLbJ6huKSVJgCglOC7
+ZzPaEMclsz87/xTSe8NGb1c=
+=W025
+-----END PGP SIGNATURE-----
diff --git a/app-forensics/air/air-1.2.3_beta3.ebuild b/app-forensics/air/air-1.2.3_beta3.ebuild
new file mode 100644
index 000000000000..4c46f26704f1
--- /dev/null
+++ b/app-forensics/air/air-1.2.3_beta3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/air/air-1.2.3_beta3.ebuild,v 1.1 2004/09/12 06:53:08 dragonheart Exp $
+
+inherit eutils
+
+DESCRIPTION="A GUI front-end to dd/dcfldd"
+HOMEPAGE="http://air-imager.sourceforge.net/"
+MY_P=${P/_/-}
+SRC_URI="mirror://sourceforge/air-imager/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="dev-perl/perl-tk
+ app-arch/sharutils
+ >=sys-apps/sed-4"
+RDEPEND="app-arch/mt-st
+ dev-lang/perl"
+
+src_unpack() {
+ #The tarball doesn't have a directory
+ mkdir ${S}
+ cd ${S}
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-installfix.patch
+
+ #sandbox installer
+ sed -i -e "s!INSTALL_DIR=\"/usr\"!INSTALL_DIR=\"${D}/usr\"!" \
+ -e "s!TEMP_DIR=\"/tmp\"!TEMP_DIR=\"${T}\"!" \
+ install-${MY_P}
+}
+
+src_install() {
+ dodir "/usr/bin"
+ cd ${S}
+ /bin/sh install-${MY_P}
+ dodoc README
+
+ cd ${D}/usr/bin
+ #/usr/bin/air has hardcoded paths we need to fix
+ sed -i -e "s!bitmap_dir=\"/usr/local!bitmap_dir=\"/usr!" \
+ -e "s!air_log_dir = \"/usr/local!air_log_dir = \"/usr!" \
+ -e "s!air_fifo = \"/usr/local!air_fifo = \"/usr!" \
+ -e "s!-col !-column !" \
+ -e "s!-col=!-column=!" \
+ air
+
+ mkfifo ${D}/usr/share/air/air-fifo
+ chown -R root:root ${D}
+ fowners root:users /usr/share/air/logs/
+ fperms ug+rwx /usr/share/air/logs/ /usr/share/air/air-fifo
+}
diff --git a/app-forensics/air/files/air-1.2.3_beta3-installfix.patch b/app-forensics/air/files/air-1.2.3_beta3-installfix.patch
new file mode 100644
index 000000000000..d86284224724
--- /dev/null
+++ b/app-forensics/air/files/air-1.2.3_beta3-installfix.patch
@@ -0,0 +1,149 @@
+--- install-air-1.2.3-beta3-vanilla 2004-04-19 21:15:57.164847384 -0700
++++ install-air-1.2.3-beta3 2004-04-19 21:16:34.710139632 -0700
+@@ -5,13 +5,14 @@
+ TK_FILE='Tk-800.024.tar.gz'
+ TEMP_DIR="/tmp"
+ TK_DIR=$TEMP_DIR/Tk800.024
+-ICON_DIR="/usr/local/share/air/bitmaps"
+-LOG_DIR="/usr/local/share/air/logs"
+-INSTALL_LOG="/tmp/air-install.log"
++INSTALL_LOG="${TEMP_DIR}/air-install.log"
++INSTALL_DIR="/usr"
++ICON_DIR="${INSTALL_DIR}/share/air/bitmaps"
++LOG_DIR="${INSTALL_DIR}/share/air/logs"
+
+ echo "Install Log for AIR Version $VERSION" > $INSTALL_LOG
+ date >> $INSTALL_LOG
+-cat /etc/redhat-release >> $INSTALL_LOG
++cat /etc/gentoo-release >> $INSTALL_LOG
+ cat /proc/cpuinfo >> $INSTALL_LOG
+ free >> $INSTALL_LOG
+
+@@ -53,13 +54,13 @@
+ UPGRADE="no"
+ fi
+
+-echo ""
+-echo "If you are ready to proceed with the installation/upgrade,"
+-echo "press ENTER."
+-echo ""
+-echo "To cancel, hit Control-C."
+-
+-read foo < /dev/tty
++#echo ""
++#echo "If you are ready to proceed with the installation/upgrade,"
++#echo "press ENTER."
++#echo ""
++#echo "To cancel, hit Control-C."
++#
++#read foo < /dev/tty
+
+ if [ $UPGRADE = "no" ] ; then
+ echo "Attempting to get the latest version of Perl/Tk..."
+@@ -67,7 +68,7 @@
+ echo "Need to download Perl/Tk:" >> $INSTALL_LOG
+ echo "decoding snarf..." >> $INSTALL_LOG
+
+-sed 's/^X//' << 'SHAR_EOF' | uudecode -o /tmp/snarf.gz 2>> $INSTALL_LOG
++sed 's/^X//' << 'SHAR_EOF' | uudecode -o ${TEMP_DIR}/snarf.gz 2>> $INSTALL_LOG
+ begin 755 snarf.gz
+ M'XL("-BW"SL``W-N87)F`.U\?WQ35;;O29N64%(2H$B1XAQ'RP^AOZCR&RS$
+ M%!`*(:&MOY@2VK2GM4U"<@*M6(RFG4L:,],WUW&\]SKO,N./R\SUSCAW'`='
+@@ -324,7 +325,7 @@
+ fi
+
+ echo "decoding air-counter..." >> $INSTALL_LOG
+-sed 's/^X//' << 'SHAR2_EOF' | uudecode -o /tmp/air-counter 2>> $INSTALL_LOG
++sed 's/^X//' << 'SHAR2_EOF' | uudecode -o ${TEMP_DIR}/air-counter 2>> $INSTALL_LOG
+ begin 755 air-counter
+ M(R$O=7-R+V)I;B]P97)L"B,J*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ
+ M*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ
+@@ -376,7 +377,7 @@
+ SHAR2_EOF
+
+ echo "decoding air..." >> $INSTALL_LOG
+-sed 's/^X//' << 'SHAR3_EOF' | uudecode -o /tmp/air 2>> $INSTALL_LOG
++sed 's/^X//' << 'SHAR3_EOF' | uudecode -o ${TEMP_DIR}/air 2>> $INSTALL_LOG
+ begin 775 air
+ M(R$O=7-R+V)I;B]P97)L(`HC*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ
+ M*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ
+@@ -1940,7 +1941,7 @@
+ SHAR3_EOF
+
+ echo "decoding icons..." >> $INSTALL_LOG
+-sed 's/^X//' << 'SHAR4_EOF' | uudecode -o /tmp/air-icons.tar.gz 2>> $INSTALL_LOG
++sed 's/^X//' << 'SHAR4_EOF' | uudecode -o ${TEMP_DIR}/air-icons.tar.gz 2>> $INSTALL_LOG
+ begin 664 air-icons.tar.gz
+ M'XL("*3?P3T``V%I<BUI8V]N<RYT87(`[-T)4%/WO@?P!,(68HP8*6(,$%$B
+ M8@PA+&I$-ME%1*[U*:6*:*GEJD6NM4@AA#TB"D:%@"P1$`($!(R0A&R$L`H(
+@@ -2234,7 +2235,7 @@
+ SHAR4_EOF
+
+ echo "decodiing tailer..." >> $INSTALL_LOG
+-sed 's/^X//' << 'SHAR5_EOF' | uudecode -o /usr/local/bin/tailer 2>> $INSTALL_LOG
++sed 's/^X//' << 'SHAR5_EOF' | uudecode -o ${INSTALL_DIR}/bin/tailer 2>> $INSTALL_LOG
+ begin 755 tailer
+ M(R$O8FEN+W-H"B,J*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ
+ M*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BH*(R`@
+@@ -2269,12 +2270,12 @@
+ SHAR5_EOF
+
+ if [ $UPGRADE = "no" ] ; then
+- # unzip /tmp/snarf.gz
+- /bin/gunzip /tmp/snarf.gz
++ # unzip ${TEMP_DIR}/snarf.gz
++ /bin/gunzip ${TEMP_DIR}/snarf.gz
+
+ # Use snarf to "snarf" the Perl/Tk package (It has a progress display)
+
+- /tmp/snarf -n $TK_SOURCE/$TK_FILE $TEMP_DIR/$TK_FILE
++ ${TEMP_DIR}/snarf -n $TK_SOURCE/$TK_FILE $TEMP_DIR/$TK_FILE
+
+
+ if [ $? -ne 0 ] ; then
+@@ -2289,7 +2290,7 @@
+ echo "If the installer failed with some other error message,"
+ echo "please email stephengibson@kpmg.com for assistance."
+ echo ""
+- rm -f /tmp/snarf*
++ rm -f ${TEMP_DIR}/snarf*
+ exit 1
+ else
+ echo "Download of Perl/Tk successful." | tee -a $INSTALL_LOG
+@@ -2329,18 +2330,18 @@
+
+ # install air-counter
+ echo "Unpacking and installing air-counter..." | tee -a $INSTALL_LOG
+-mv -f /tmp/air-counter /usr/local/bin/air-counter 2>> $INSTALL_LOG
+-chmod +x /usr/local/bin/air-counter 2>> $INSTALL_LOG
+-rm -f /tmp/air-counter 2>> $INSTALL_LOG
++mv -f ${TEMP_DIR}/air-counter ${INSTALL_DIR}/bin/air-counter 2>> $INSTALL_LOG
++chmod +x ${INSTALL_DIR}/bin/air-counter 2>> $INSTALL_LOG
++rm -f ${TEMP_DIR}/air-counter 2>> $INSTALL_LOG
+ echo "Install of air-counter is complete." | tee -a $INSTALL_LOG
+ echo ""
+
+ # unzip and install icons
+ echo "Unpacking and installing icons..." | tee -a $INSTALL_LOG
+-/bin/tar -C $TEMP_DIR -zxf /tmp/air-icons.tar.gz 2>> $INSTALL_LOG
+-mv -f /tmp/*.xbm $ICON_DIR 2>> $INSTALL_LOG
+-mv -f /tmp/*.gif $ICON_DIR 2>> $INSTALL_LOG
+-rm -f /tmp/air-icons.tar.gz 2>> $INSTALL_LOG
++/bin/tar -C $TEMP_DIR -zxf ${TEMP_DIR}/air-icons.tar.gz 2>> $INSTALL_LOG
++mv -f ${TEMP_DIR}/*.xbm $ICON_DIR 2>> $INSTALL_LOG
++mv -f ${TEMP_DIR}/*.gif $ICON_DIR 2>> $INSTALL_LOG
++rm -f ${TEMP_DIR}/air-icons.tar.gz 2>> $INSTALL_LOG
+ echo "Install of icons is complete." | tee -a $INSTALL_LOG
+ echo ""
+
+@@ -2349,8 +2350,8 @@
+ else
+ echo "Installing AIR $VERSION..." | tee -a $INSTALL_LOG
+ fi
+-mv -f /tmp/air /usr/local/bin/air 2>> $INSTALL_LOG
+-rm -f /tmp/air 2>> $INSTALL_LOG
++mv -f ${TEMP_DIR}/air ${INSTALL_DIR}/bin/air 2>> $INSTALL_LOG
++rm -f ${TEMP_DIR}/air 2>> $INSTALL_LOG
+
+ if [ $UPGRADE = "yes" ]; then
+ echo "Upgrade to AIR v$VERSION complete."
diff --git a/app-forensics/air/files/digest-air-1.2.3_beta3 b/app-forensics/air/files/digest-air-1.2.3_beta3
new file mode 100644
index 000000000000..b620fb44756a
--- /dev/null
+++ b/app-forensics/air/files/digest-air-1.2.3_beta3
@@ -0,0 +1 @@
+MD5 ef8f9fa84efa87fcb150282cdf99f10b air-1.2.3-beta3.tar.gz 60782
diff --git a/app-forensics/air/metadata.xml b/app-forensics/air/metadata.xml
new file mode 100644
index 000000000000..b9fc2b9c6f11
--- /dev/null
+++ b/app-forensics/air/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>dragonheart@gentoo.org</email>
+ <name>Daniel Black</name>
+ <description>A user ebuild that I felt obliged to include. Please take over if you want
+it</description>
+</maintainer>
+<longdescription></longdescription>
+</pkgmetadata>