diff options
author | 2007-11-07 12:15:58 +0000 | |
---|---|---|
committer | 2007-11-07 12:15:58 +0000 | |
commit | 1eaaa79f492648005de642b3d07c3a1afefc9d51 (patch) | |
tree | 34a4e87ce9696ccea5758c05419c6291bdf87aad /net-dialup | |
parent | media-radio/grig: Added 'coverage' and 'nohardware' USE flags (diff) | |
download | sunrise-reviewed-1eaaa79f492648005de642b3d07c3a1afefc9d51.tar.gz sunrise-reviewed-1eaaa79f492648005de642b3d07c3a1afefc9d51.tar.bz2 sunrise-reviewed-1eaaa79f492648005de642b3d07c3a1afefc9d51.zip |
net-dialup/iwar: New Ebuild
svn path=/sunrise/; revision=4981
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/iwar/ChangeLog | 11 | ||||
-rw-r--r-- | net-dialup/iwar/Manifest | 11 | ||||
-rw-r--r-- | net-dialup/iwar/files/iwar-conf.patch | 17 | ||||
-rw-r--r-- | net-dialup/iwar/files/iwar-configure-in.patch | 15 | ||||
-rw-r--r-- | net-dialup/iwar/files/iwar-destdir-fix.patch | 15 | ||||
-rw-r--r-- | net-dialup/iwar/files/iwar-path-fix.patch | 15 | ||||
-rw-r--r-- | net-dialup/iwar/files/iwar-test-fix.patch | 18 | ||||
-rw-r--r-- | net-dialup/iwar/files/iwar-total-fix.patch | 20 | ||||
-rw-r--r-- | net-dialup/iwar/files/iwar.1 | 401 | ||||
-rw-r--r-- | net-dialup/iwar/iwar-0.071.ebuild | 43 | ||||
-rw-r--r-- | net-dialup/iwar/metadata.xml | 5 |
11 files changed, 571 insertions, 0 deletions
diff --git a/net-dialup/iwar/ChangeLog b/net-dialup/iwar/ChangeLog new file mode 100644 index 000000000..3b2a126f7 --- /dev/null +++ b/net-dialup/iwar/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-dialup/iwar +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 06 Nov 2007; Ignacio Arque-Latour (TS1k) <ts1k@telephreak.org> + +files/iwar.1, +files/iwar-conf.patch, +files/iwar-configure-in.patch, + +files/iwar-destdir-fix.patch, +files/iwar-path-fix.patch, + +files/iwar-test-fix.patch, +files/iwar-total-fix.patch, +metadata.xml, + +iwar-0.071.ebuild: + New Ebuild + diff --git a/net-dialup/iwar/Manifest b/net-dialup/iwar/Manifest new file mode 100644 index 000000000..1204582ae --- /dev/null +++ b/net-dialup/iwar/Manifest @@ -0,0 +1,11 @@ +AUX iwar-conf.patch 655 RMD160 175d40e80bf7219a232256bd6a6917dc081774db SHA1 18498f5cd89eda3d82a65a683d103f1987bec900 SHA256 371b9028000fe259fe3462e798689d7e013d14f73e8829edfea8eaa5d10710b2 +AUX iwar-configure-in.patch 863 RMD160 2d3f50873e8848374406c902ef7c0e9c60b13ec9 SHA1 c4975247dfcf991aa034afd1be37d13bdbe5f922 SHA256 e0d40a12d94a7653ad985a7102baf79ee2d83824d8b9d16f8998b2c7237eb558 +AUX iwar-destdir-fix.patch 728 RMD160 02183cac448a5be6d89e8bbaa58595c66a722aca SHA1 c7e3e474b1aaaf3c9135c538152c540b72df8f1d SHA256 78fec377d6c5742b9e0c04da1426cd9caff12ac910cca4117c5bea247a8dcf65 +AUX iwar-path-fix.patch 579 RMD160 a1f25fab89f58d3783c2d30d70fc2cdaa3efe569 SHA1 de26c4fda9d1f5e8a913c6cb4fc4c17df91a8712 SHA256 eea21f52dc252e8f0e10c00cdcf6fadde0912adb1e8dd5ce94a3e9e81aa2582c +AUX iwar-test-fix.patch 752 RMD160 5c9acde9445c57332e74338ee062b4c8d058625e SHA1 256c2293b63bde452648ad827dfa1efd4c9831b6 SHA256 83c701e5bf74e011833f094b93ec4b6dbc127096a56b6ab37c5fc9a8d4c0535d +AUX iwar-total-fix.patch 898 RMD160 59c95b5c266816c644f66831699fe1ff0275e1e1 SHA1 b336b9503b0191d7db074ba99a7e34cc07b9c799 SHA256 c5acdb0dbcdb5373d1cbc1d311a68f10821b9793843c5345afcf798f1a2228bf +AUX iwar.1 9354 RMD160 076bf806ba48293fbd48a766c2801e3ead531b63 SHA1 4808b68a91520bae5fc1d9f88ea2c3eda9173bf2 SHA256 f6c3969fbdfb0997224b6278a5a135d43db94deca30497a61d284c887888870a +DIST iwar-0.071.tar.gz 1626581 RMD160 3b62908983edc98f675212239d47850121c3da8b SHA1 019c5d15204dc269b2f624c01d62e2c0cd7514eb SHA256 fac7b4801ad91e478e31f5da3b1feb7d3e2e09c6e281b0476f8c4adf42e52e6a +EBUILD iwar-0.071.ebuild 946 RMD160 d3a6cd06482f0d7f3123ef7e2b8738d7160c15ae SHA1 2b13ae27ce7a718c02c6e5e5d73980c09cc115c8 SHA256 7edeadbae3202d0c3387ece7bd8e4941e62421e576af0536328c57bb2c0f7c7d +MISC ChangeLog 425 RMD160 d4be9dbe80aea534f872e26f01f871b3cb76fdaa SHA1 fc771fbf296850f8ae40add6ab0885ef19680d73 SHA256 c8c43e328d429cfdef36c3a1f7254f7fb62e3082c4f1f8fd9b024b40b1105647 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/net-dialup/iwar/files/iwar-conf.patch b/net-dialup/iwar/files/iwar-conf.patch new file mode 100644 index 000000000..373ffd2ca --- /dev/null +++ b/net-dialup/iwar/files/iwar-conf.patch @@ -0,0 +1,17 @@ +--- iwar.conf 2006-01-17 02:09:49.000000000 +0000 ++++ iwar.conf.new 2007-10-16 14:14:04.000000000 +0000 +@@ -98,12 +98,12 @@ plushangupsleep 4 + # Banner file. Banners are used to attempt to figure out what the remote + # system is. + +-banner_file /usr/local/etc/banners.txt ++banner_file /etc/iwar/banners.txt + + # Blacklist file. This file contains phone number that should never be called + # (for example, '911') + +-blacklistfile /usr/local/etc/iwar-blacklist.txt ++blacklistfile /etc/iwar/iwar-blacklist.txt + + # Serial connection timeout (in seconds). This is used to detect when + # the modem doesn't return a result code. In that event, we'll diff --git a/net-dialup/iwar/files/iwar-configure-in.patch b/net-dialup/iwar/files/iwar-configure-in.patch new file mode 100644 index 000000000..d5d3046cb --- /dev/null +++ b/net-dialup/iwar/files/iwar-configure-in.patch @@ -0,0 +1,15 @@ +--- configure.in 2006-01-14 23:19:05.000000000 +0000 ++++ configure.in.new 2007-10-16 13:00:24.000000000 +0000 +@@ -82,9 +82,9 @@ AC_FUNC_STRFTIME + AC_CHECK_FUNCS([select strstr]) + + test "x$prefix" = x. || test "x$prefix" = xNONE && prefix=/usr/local +-AC_DEFINE_UNQUOTED(CONFIG_FILE_PATH, "`eval echo "${prefix}/etc/iwar.conf"`") +-AC_DEFINE_UNQUOTED(BANNER_FILE_PATH, "`eval echo "${prefix}/etc/banners.txt"`") +-AC_DEFINE_UNQUOTED(BLACKLIST_FILE_PATH, "`eval echo "${prefix}/etc/iwar-blacklist.txt"`") ++AC_DEFINE_UNQUOTED(CONFIG_FILE_PATH, "`eval echo "/etc/iwar/iwar.conf"`") ++AC_DEFINE_UNQUOTED(BANNER_FILE_PATH, "`eval echo "/etc/iwar/banners.txt"`") ++AC_DEFINE_UNQUOTED(BLACKLIST_FILE_PATH, "`eval echo "/etc/iwar/iwar-blacklist.txt"`") + + AC_DEFINE([CONFIG_FILE_PATH], [], [iWar configuration file]) + AC_DEFINE([BANNER_FILE_PATH], [], [iWar banner file]) diff --git a/net-dialup/iwar/files/iwar-destdir-fix.patch b/net-dialup/iwar/files/iwar-destdir-fix.patch new file mode 100644 index 000000000..9dbe56997 --- /dev/null +++ b/net-dialup/iwar/files/iwar-destdir-fix.patch @@ -0,0 +1,15 @@ +--- Makefile.am 2006-01-14 23:19:05.000000000 +0000 ++++ Makefile.am.new 2007-10-16 14:11:45.000000000 +0000 +@@ -11,8 +11,8 @@ AM_CFLAGS = -D_POSIX + # Install BFD include file, and others that it needs. + install-data-local: + @$(NORMAL_INSTALL) +- $(mkinstalldirs) $(sysconfdir) +- $(INSTALL_DATA) iwar.conf $(sysconfdir)/iwar.conf +- $(INSTALL_DATA) banners.txt $(sysconfdir)/banners.txt +- $(INSTALL_DATA) iwar-blacklist.txt $(sysconfdir)/iwar-blacklist.txt ++ $(mkinstalldirs) $(DESTDIR)/$(sysconfdir) ++ $(INSTALL_DATA) iwar.conf $(DESTDIR)/$(sysconfdir)/iwar/iwar.conf ++ $(INSTALL_DATA) banners.txt $(DESTDIR)/$(sysconfdir)/iwar/banners.txt ++ $(INSTALL_DATA) iwar-blacklist.txt $(DESTDIR)/$(sysconfdir)/iwar/iwar-blacklist.txt + diff --git a/net-dialup/iwar/files/iwar-path-fix.patch b/net-dialup/iwar/files/iwar-path-fix.patch new file mode 100644 index 000000000..4d948ad74 --- /dev/null +++ b/net-dialup/iwar/files/iwar-path-fix.patch @@ -0,0 +1,15 @@ +--- iwar-engine.c 2006-01-17 01:56:52.000000000 +0000 ++++ iwar-engine.c.new 2007-10-16 13:29:54.000000000 +0000 +@@ -922,9 +922,9 @@ int main(int argc, char **argv) + time_t t; + struct tm *now; + +- char bannerfile[MAXPATH]=BANNER_FILE_PATH; +- char iwarconf[MAXPATH]=CONFIG_FILE_PATH; +- char blacklistfile[MAXPATH]=BLACKLIST_FILE_PATH; ++ char bannerfile[MAXPATH]="/etc/iwar/banners.txt"; ++ char iwarconf[MAXPATH]="/etc/iwar/iwar.conf"; ++ char blacklistfile[MAXPATH]="/etc/iwar/iwar-blacklist.txt"; + char statefile[MAXPATH]=""; + char tmpscanbuf[128]=""; + char scanbuf[128]=""; diff --git a/net-dialup/iwar/files/iwar-test-fix.patch b/net-dialup/iwar/files/iwar-test-fix.patch new file mode 100644 index 000000000..9e69dba95 --- /dev/null +++ b/net-dialup/iwar/files/iwar-test-fix.patch @@ -0,0 +1,18 @@ +--- iwar-engine.c 2006-01-17 01:56:52.000000000 +0000 ++++ iwar-engine.c.new 2007-11-05 15:20:47.000000000 +0000 +@@ -1394,13 +1394,13 @@ if (bannercheck==1 && !voipdial) + /* Simple test to see if the banner lines are correct, under */ + /* Cygwin and possibly Mac OSX, if the banner file is */ + /* incomplete (missing a |), it causes a seg. fault */ +- ++/* + if (!strstr(bannerbuf, "|")) + { + fprintf(stderr, "ERROR: %s is incomplete/corrupt (missing |)\n\n", BANNER_FILE_PATH); + exit(1); + } +- ++*/ + tmp3 = strtok(bannerbuf, "|"); + snprintf(bannercfg[bannercount].search_string, sizeof(bannercfg[bannercount].search_string), "%s", tmp3); + tmp3 = strtok(NULL, "|"); diff --git a/net-dialup/iwar/files/iwar-total-fix.patch b/net-dialup/iwar/files/iwar-total-fix.patch new file mode 100644 index 000000000..18ffe1c60 --- /dev/null +++ b/net-dialup/iwar/files/iwar-total-fix.patch @@ -0,0 +1,20 @@ +--- iwar-engine.c 2006-01-17 01:56:52.000000000 +0000 ++++ iwar-engine.c.new 2007-09-03 16:40:20.000000000 +0000 +@@ -805,7 +805,7 @@ mainscreen(); + { + move(2,20); printw("%lld - %lld [%d]", userlistnum[0], userlistnum[userlistcount-1], userlistcount); + } else { +- move(2,20); printw("%lld - %lld [%d]", ss, es, es-ss); ++ move(2,20); printw("%lld - %lld [%d]", ss, es, (es-ss)+1); + } + + if (!strcmp(predial, "")) +@@ -1598,7 +1598,7 @@ if (strcmp(numbersfile, "")) + { + fprintf(outfd, "= Start of scan: %lld | End of scan: %lld (Total Numbers: %d)\n", userlistnum[0], userlistnum[userlistcount-1], userlistcount); + } else { +-fprintf(outfd, "= Start of scan: %lld | End of scan: %lld (Total Numbers: %lld)\n", ss,es,es-ss); ++fprintf(outfd, "= Start of scan: %lld | End of scan: %lld (Total Numbers: %lld)\n", ss,es,(es-ss)+1); + } + + if (!strcmp(predial, "")) diff --git a/net-dialup/iwar/files/iwar.1 b/net-dialup/iwar/files/iwar.1 new file mode 100644 index 000000000..2fd9c1ac4 --- /dev/null +++ b/net-dialup/iwar/files/iwar.1 @@ -0,0 +1,401 @@ +.TH IWAR 1 "" "" "Unix Intelligent Wardialer" +.SH NAME +iwar \- Intelligent Wardialer +.SH SYNOPSIS +.B iwar +[ \fB-\fPoptions ] \fB-r\fP [ dial\fB-\fPrange ] +.SH "DESCRIPTION" +\fBiwar\fR is a unix wardialer program, "war dialing" or "wardialing" +is a method of automatically dialing a range of numbers randomly or +sequentially and recording things that might be interesting,from +traditional carrier detection to telco related equipment. +.P +The name for this technique refers to the 1983 film WarGames. In the +film, the protagonist "David Lightman" programs his computer to dial +every telephone number in Sunnyvale, CA in order to find other computer +systems. Although the technique predates the film, the name "war dialing" +rapidly became popular within computing culture, replacing the original +name of "demon dialing". +.P +\fBiWar\fR is a phone network security auditing tool and should only be +used for _legal_ purposes. If you do not have permission to scan a block +of numbers, then don't use this tool! +.SH OPTIONS +.TP +.B \-a +tone location (Toneloc W; method) +.br +.ti 14 +[Serial default: disabled] [IAX2 mode disabled] +.TP +.B \-b +disable banners check +.br +.ti 14 +[Serial default: enabled] [IAX2 mode disabled] +.TP +.B \-c +use software handshaking (XON/XOFF) +.br +.ti 14 +[Serial default is hardware flow control] [IAX2 mode disabled] +.TP +.B \-d +data bits +.br +.ti 14 +[Serial default: 8] [IAX2 mode disabled] +.TP +.B \-e +pre-dial string/NPA to scan +.br +.ti 14 +[Optional] +.TP +.B \-f +output log file +.br +.ti 14 +[Default: iwar.log] +.TP +.B \-F +full logging (BUSY, NO CARRIER, Timeouts, Skipped, etc) +.TP +.B \-g +post-dial string +.br +.ti 14 +[Optional] +.TP +.B \-h +display help +.TP +.B \-l +load 'saved state' file (previosly dialed numbers) +.TP +.B \-L +load numbers to dial from file +.TP +.B \-m +log to a MySQL database +.TP +.B \-o +disable recording banner data +.br +.ti 14 +[Serial default: enabled] [IAX2 mode disabled] +.TP +.B \-p +parity (None/Even/Odd) +.br +.ti 14 +[Serial default 'N'one] [IAX2 mode disabled] +.TP +.B \-r +range to scan (ie: 5551212-5551313) +.TP +.B \-s +speed/baud rate +.br +.ti 14 +[Serial default: 1200] [IAX2 mode disabled] +.TP +.B \-t +tty to use (modem) +.br +.ti 14 +[Serial default /dev/ttyS0] [IAX2 mode disabled] +.TP +.B \-x +sequential dialing +.br +.ti 14 +[Default: random] +.SH KEYS +.TP +.B a +Abort (Don't save, just quit) +.TP +.B b +Been disabled/enabled. If enabled, iWar will beep +when a carrier or tone has been located. +.TP +.B q +Save state to a file and quit. +.TP +.B ctrl-c +Send signal 2 (exit, no matter what!) +.TP +.B s +Save state, don't quit (keep dialing) +.TP +.B p +Pause (Serial mode: Hangup then pause, IAX2 mode: +pause then hangup). +.TP +.B [ +Pause and mark as interesting (Serial mode: +hangup pause/mark, IAX2 mode: pause/mark, hangup) +(Useful for IAX2 mode) +.TP +.B + +Add 5 seconds from serial timer. +.TP +.B - +Subtract 5 seconds from serial timer. +.TP +.B space +Skip current number. +.P +Serial mode only: Volume is set after the current number is processed. +.TP +.B 0 +Modem volume off +.TP +.B 1 +Modem volume (low) +.TP +.B 2 +Modem volume (medium) +.TP +.B 3 +Modem volume (high) +.P +IAX2 mode only: +.TP +.B 0-9 +0-9 DTMF +.TP +.B * +* DTMF +.TP +.B # +# DTMF +.P +Marking will hangup on the current number dialed (shouldn't be a problem +as you're marking it anyways) +.TP +.B m +Mark (Quick) [Mark number as interesting, no comments] +.TP +.B c +Mark (CARRIER) +.TP +.B f +Mark (FAX) +.TP +.B t +Mark (TELCO/TONE) +.TP +.B v +Mark (VOICE MAIL SYSTEM) +.TP +.B x +Mark (PBX) +.TP +.B k +Mark [Allows you to enter a custom not about the number] +.SH "COLOR CODES" +.P +In the event that you're terminal doesnt support color, we use terminal attributes +to distinguish between results. +.P +\fBWHITE / A_NORMAL\fR NO CARRIER +.br +\fBYELLOW / A_BOLD\fR BUSY +.br +\fBGREEN / A_BLINK\fR CONNECT +.br +\fBBLUE / A_UNDERLINE\fR VOICE +.br +\fBWHITE / A_DIM\fR NO ANSWER +.br +\fBMAGENTA / A_NORMAL\fR Already scanned (loaded from file) +.br +\fBCYAN / A_REVERSE\fR Blacklisted number. +.br +\fBRED / A_NORMAL\fR Number skipped by user (spacebar). +.br +\fBGREEN / A_STANDOUT\fR Manually marked. +.br +\fBBLUE / A_STANDOUT\fR Possible interesting number (received silence) +.br +\fBCYAN / A_UNDERLINE\fR Paused and Marked (IAX2 mode only) +.SH EXAMPLES +.LP +Please look over some example usage before getting started. This +will give you a idea how iWar works. It should be noted that ranges +like -r 19045551212-19045551313 should be avoided. Considering the +1+NPA (1-904) is will not change, that should be put within the pre-dial +string! For example, "iwar -e 1904 -r 5551212-5551313". +.RS +.LP +Simple 5551200 to 5551300 range: +.RS +.nf +\fB# iwar -r 5551200-5551300\fP +.fi +.RE +.LP +5551200-5551300 range, now sequential, with a log file other than the +iwar.log default: +.RS +.nf +\fB# iwar -r 5551200-5551300 -x -f 555.log\fP +.fi +.RE +.LP +5551200-5551300 range but predial "850". Modem is on /dev/ttyS5. Set +speed to 9600 baud. Set databits to '7'. Set parity to 'E'ven. +.RS +.nf +\fB# iwar -e 850 -r 5551200-5551300 -t /dev/ttyS5 -s 9600 -d 7 -p E\fP +.fi +.RE +.LP +5551200-5551300 range, with a predial of "9w" on /dev/ttyS1. The predial +means "dial 9, then wait for dial tone" (for example, within a office). +.RS +.nf +\fB# iwar -e 9w -r 5551200-5551300 -t /dev/ttyS1\fP +.fi +.RE +.LP +Using the "coma" (for modem delays, default is 2 seconds) dial a target +number (Voicemail box.. anything PIN protected). Set the range for +possible PIN's to attempt. I've added the -x to do is sequentially +(which you wouldn't want to do!). +.RS +.nf +\fB# iwar -e 5551000,,,1234,, -r 0-1000 -x\fP +.fi +.RE +.LP +Another attack scenario involving the pre-dial and post-dial strings. +Lets assume there is a PBX that has pin protection to dial out. +In this case, we'll dial the PBX number (using the pre-dial string - +12125551234w) wait for a dial tone, then send a random PIN +(-r 0-9999). iWar will then wait for a yet another dial tone, and +attempt to call a number that we know will answer with a carrier (the post dial +-g w19045552345). The -m will log to a MySQL database, and the -F will +record _all_ events (BUSY, VOICE, whatever). +.RS +.nf +\fB# iwar -e 12125551234w -r 0-9999 -g w19045552345 -m -F\fP +.fi +.RE +.LP +If you save the state of a wardial to a file, you can reload it like this. +This will load in the dial type (random/sequential), numbers already +dialed, and the pre-dial number. +.RS +.nf +\fB# iwar -l mystatefile.dat\fP +.fi +.RE +.LP +Load phone numbers from a pre-generated file. This loads a list of +numbers that iWar _will_ dial. Pretty handy feature. +.RS +.nf +\fB# iwar -L pregeneratednumbers.txt\fP +.fi +.RE +.LP +When iWar connects, remain connected and try and determine the remote +operating system type, but do not record the banner information. Log +to MySQL. Sequential dial. Full logging (log everything) +.RS +.nf +\fB# iwar -r 5551212-5551313 -o -m -F\fP +.fi +.RE +.LP +When iWar connects, don't check or record the banner. +.RS +.nf +\fB# iwar -r 5551212-5551313 -o -b\fP +.fi +.RE +.LP +When iWar connects, record the banner, but don't try and detect what type +of system it is. +.RS +.nf +\fB# iwar -r 5551212-5551313 -b\fP +.fi +.RE +.LP +When iWar connect, don't record the banner, but do try to detect the remote +system type. +.RS +.nf +\fB# iwar -r 5551212-5551313 -o\fP +.fi +.RE +.LP +Here's a simple IAX2 example. Rather than using traditional analog modem +hardware, we're going to make it all software based. The pre-dial +will be the 212 NPA, with a range of 5551212-5551313. We'll be dialing +using IAX2. The -I means to dial using IAX2, but drop IAX2 debug information +to /dev/null +.RS +.nf +\fB# iwar -e 212 -r 5551212-5551313 -I\fP +.fi +.RE +.LP +IAX2 example with IAX2 logging turned on. Similar to the above example, +but we can drop the IAX2 debug information to a file (good for debugging +IAX2/VoIP issues) +.RS +.nf +\fB# iwar -e 212 -r 5551212-5551313 -i iwar-iax2.log\fP +.fi +.RE +.LP +IAX2 example, loading a pre-generated scan list, log to a MySQL database, +dump IAX2 information to a debug file and do full logging. +.RS +.nf +\fB# iwar -e 212 -r 5551212-5551313 -i iwar-iax2.log -L numbers.txt -m -F\fP +.fi +.RE +.SH BUGS +Efforts have been made to have iWar "do the right thing" in all its +various modes. If you believe that it is doing the wrong thing under +whatever circumstances, please notify me and tell me how you think it +should behave. If iWar is not able to do some task you think up, +minor tweaks to the code will probably fix that. I certainly encourage +people to make custom mods and send in any improvements they make to it. +.SH FILES +\fB/etc/iwar/iwar.conf\fR iWar initialization commands +.br +\fB/etc/iwar/iwar-blacklist.txt\fR numbers that should never be dialed +.br +\fB/etc/iwar/banners.txt\fR list of banners used to identify systems +.SH "SEE ALSO" +/usr/share/doc/iwar/README and README.IAX2 +.SH AUTHOR +\fBiWar\fR was written by Champ Clark III aka Da Beave <beave@softwink.com>. +.p +This manual page was written by Ignacio Arque-Latour <ts1k@telephreak.org> +, this man is pretty much a copy from iWar's README file. +.SH CONTRIBUTORS +Kevin Anderson +.br +Natas +.br +m2mike +.br +gid +.br +JFalcon +.br +Dominatus +.br +BlackRatchet +.br +Telephreak crew +.SH VERSION +This is iwar-0.071 version. diff --git a/net-dialup/iwar/iwar-0.071.ebuild b/net-dialup/iwar/iwar-0.071.ebuild new file mode 100644 index 000000000..a2cf6bf0d --- /dev/null +++ b/net-dialup/iwar/iwar-0.071.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Intelligent Wardialer Program" +HOMEPAGE="http://www.softwink.com/iwar" +SRC_URI="http://softwink.com/iwar/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="iax2 mysql" + +DEPEND="sys-libs/ncurses +mysql? ( dev-db/mysql )" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + EPATCH_SOURCE="${FILESDIR}" EPATCH_SUFFIX="patch" + EPATCH_FORCE="yes" epatch +} + +src_compile() { + econf $(use_enable mysql) \ + $(use_enable iax2) || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + dodir /etc/iwar + emake DESTDIR="${D}" install || die "Install failed" + dodoc AUTHORS ChangeLog FAQ MODEMS-TESTED README README.IAX2 THANKS TODO + doman "${FILESDIR}"/${PN}.1 +} + +pkg_postinst() { + einfo "Users must be in group uucp in order to be able to use iwar." +} diff --git a/net-dialup/iwar/metadata.xml b/net-dialup/iwar/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/net-dialup/iwar/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</pkgmetadata> |