debian/0000755000000000000000000000000012230527701007165 5ustar debian/source/0000755000000000000000000000000011747546330010500 5ustar debian/source/format0000644000000000000000000000001411747546330011706 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011747707012010623 5ustar debian/patches/series0000644000000000000000000000017211747707015012043 0ustar 001-fix-msg-types-upstream.patch 002-wireless-upstream.patch 003-blist-toggle-focus-upstream.patch 004-fix-makefile.patch debian/patches/004-fix-makefile.patch0000644000000000000000000000177411747546317014530 0ustar From: Benjamin Seidenberg Subject: No description. diff -urNad pork-0.99.8.1~/doc/Makefile.am pork-0.99.8.1/doc/Makefile.am --- pork-0.99.8.1~/doc/Makefile.am 2006-05-02 16:59:05.000000000 -0400 +++ pork-0.99.8.1/doc/Makefile.am 2006-05-02 17:44:47.000000000 -0400 @@ -1,4 +1,4 @@ SUBDIRS = help -pork_DATA = porkrc +sysconf_DATA = porkrc porkdir = $(pkgdatadir) diff -urNad pork-0.99.8.1~/src/Makefile.am pork-0.99.8.1/src/Makefile.am --- pork-0.99.8.1~/src/Makefile.am 2006-05-01 20:05:45.000000000 -0400 +++ pork-0.99.8.1/src/Makefile.am 2006-05-02 17:45:35.000000000 -0400 @@ -7,7 +7,7 @@ AM_CFLAGS = -funsigned-char -Imissing -Wall -Iprotocols -fPIC -AM_CFLAGS += -DHELP_PATH=\"$(pkgdatadir)/help\" -DSYSTEM_PORKRC=\"$(pkgdatadir)/porkrc\" +AM_CFLAGS += -DHELP_PATH=\"$(pkgdatadir)/help\" -DSYSTEM_PORKRC=\"$(sysconfdir)/porkrc\" AM_CFLAGS += $(PERL_CFLAGS) $(DEBUG_CFLAGS) pork_LDADD = missing/libmissing.a protocols/aim/libaim.a $(irc_lib) -lncurses $(PERL_LIBS) $(DEBUG_LIBS) debian/patches/002-wireless-upstream.patch0000644000000000000000000000744611747546317015662 0ustar From: Benjamin Seidenberg Subject: Upstream patch to recognize wireless users diff -urNad pork-0.99.8.1~/doc/help/main/set pork-0.99.8.1/doc/help/main/set --- pork-0.99.8.1~/doc/help/main/set 2005-04-28 13:35:16.000000000 -0400 +++ pork-0.99.8.1/doc/help/main/set 2006-05-01 20:02:11.000000000 -0400 @@ -448,6 +448,9 @@ TEXT_BUDDY_IDLE (string) The format string that specifies how the buddy list status indicator for idle users will be displayed. + TEXT_BUDDY_WIRELESS (string) + The format string that specifies how the buddy list status indicator for wireless users will be displayed. + TEXT_NO_NAME (string) The string displayed in the status bar to indicate that no screen name has been specified yet. This string is displayed before logging in with any account. diff -urNad pork-0.99.8.1~/src/pork_buddy.h pork-0.99.8.1/src/pork_buddy.h --- pork-0.99.8.1~/src/pork_buddy.h 2005-04-28 13:35:17.000000000 -0400 +++ pork-0.99.8.1/src/pork_buddy.h 2006-05-01 20:02:11.000000000 -0400 @@ -14,7 +14,8 @@ STATUS_OFFLINE, STATUS_ACTIVE, STATUS_IDLE, - STATUS_AWAY + STATUS_AWAY, + STATUS_WIRELESS }; struct pork_acct; @@ -48,7 +49,7 @@ u_int32_t signon_time; u_int32_t idle_time; u_int32_t warn_level; - u_int32_t status:2; + u_int32_t status:3; u_int32_t notify:1; u_int32_t ignore:1; u_int32_t type:6; diff -urNad pork-0.99.8.1~/src/pork_format.c pork-0.99.8.1/src/pork_format.c --- pork-0.99.8.1~/src/pork_format.c 2005-04-28 13:35:17.000000000 -0400 +++ pork-0.99.8.1/src/pork_format.c 2006-05-01 20:02:11.000000000 -0400 @@ -911,6 +911,8 @@ status_text = opt_get_str(OPT_TEXT_BUDDY_AWAY); else if (buddy->status == STATUS_IDLE) status_text = opt_get_str(OPT_TEXT_BUDDY_IDLE); + else if (buddy->status == STATUS_WIRELESS) + status_text = opt_get_str(OPT_TEXT_BUDDY_WIRELESS); else status_text = "%p?%x"; diff -urNad pork-0.99.8.1~/src/pork_set.c pork-0.99.8.1/src/pork_set.c --- pork-0.99.8.1~/src/pork_set.c 2005-04-28 13:35:18.000000000 -0400 +++ pork-0.99.8.1/src/pork_set.c 2006-05-01 20:02:11.000000000 -0400 @@ -720,6 +720,12 @@ opt_set_format, pork_acct_update_blist_format, SET_STR(DEFAULT_TEXT_BUDDY_IDLE), + },{ "TEXT_BUDDY_WIRELESS", + OPT_STR, + 0, + opt_set_format, + pork_acct_update_blist_format, + SET_STR(DEFAULT_TEXT_BUDDY_WIRELESS), },{ "TEXT_NO_NAME", OPT_STR, 0, diff -urNad pork-0.99.8.1~/src/pork_set.h pork-0.99.8.1/src/pork_set.h --- pork-0.99.8.1~/src/pork_set.h 2005-04-28 13:35:18.000000000 -0400 +++ pork-0.99.8.1/src/pork_set.h 2006-05-01 20:02:11.000000000 -0400 @@ -135,6 +135,7 @@ OPT_TEXT_BUDDY_ACTIVE, OPT_TEXT_BUDDY_AWAY, OPT_TEXT_BUDDY_IDLE, + OPT_TEXT_BUDDY_WIRELESS, OPT_TEXT_NO_NAME, OPT_TEXT_NO_ROOM, OPT_TEXT_TYPING, diff -urNad pork-0.99.8.1~/src/pork_set_defaults.h pork-0.99.8.1/src/pork_set_defaults.h --- pork-0.99.8.1~/src/pork_set_defaults.h 2005-04-28 13:35:18.000000000 -0400 +++ pork-0.99.8.1/src/pork_set_defaults.h 2006-05-01 20:02:11.000000000 -0400 @@ -123,6 +123,7 @@ #define DEFAULT_TEXT_BUDDY_ACTIVE "%G*%x" #define DEFAULT_TEXT_BUDDY_AWAY "%r*%x" #define DEFAULT_TEXT_BUDDY_IDLE "%Y*%x" +#define DEFAULT_TEXT_BUDDY_WIRELESS "%b*%x" #define DEFAULT_TEXT_NO_NAME "" #define DEFAULT_TEXT_NO_ROOM ":(not joined)" #define DEFAULT_TEXT_TYPING "Typing" diff -urNad pork-0.99.8.1~/src/protocols/aim/pork_aim_proto.c pork-0.99.8.1/src/protocols/aim/pork_aim_proto.c --- pork-0.99.8.1~/src/protocols/aim/pork_aim_proto.c 2005-04-29 15:17:44.000000000 -0400 +++ pork-0.99.8.1/src/protocols/aim/pork_aim_proto.c 2006-05-01 20:02:11.000000000 -0400 @@ -162,6 +162,10 @@ if (userinfo->flags & AIM_FLAG_AWAY) buddy->status = STATUS_AWAY; + if (userinfo->flags & AIM_FLAG_WIRELESS) { + buddy->status = STATUS_WIRELESS; + } + return (0); } debian/patches/003-blist-toggle-focus-upstream.patch0000644000000000000000000000263011747546317017525 0ustar From: Benjamin Seidenberg Subject: Upstream patch to toggle buddy list focus diff -urNad pork-0.99.8.1~/src/pork_command.c pork-0.99.8.1/src/pork_command.c --- pork-0.99.8.1~/src/pork_command.c 2005-04-28 13:35:19.000000000 -0400 +++ pork-0.99.8.1/src/pork_command.c 2006-05-01 20:04:49.000000000 -0400 @@ -1228,6 +1228,7 @@ { "show", cmd_blist_show }, { "start", cmd_blist_start }, { "toggle", cmd_blist_toggle }, + { "toggle_focus", cmd_blist_toggle_focus }, { "up", cmd_blist_up }, { "warn", cmd_blist_warn }, { "warn_anon", cmd_blist_warn_anon }, @@ -1424,6 +1425,12 @@ imwindow_blist_toggle(cur_window()); } +USER_COMMAND(cmd_blist_toggle_focus) { + run_one_command("toggle", CMDSET_BLIST); + run_one_command("focus_next", CMDSET_INPUT); + run_one_command("refresh", CMDSET_MAIN); +} + USER_COMMAND(cmd_blist_up) { blist_cursor_up(cur_window()->owner->blist); } diff -urNad pork-0.99.8.1~/src/pork_command_defs.h pork-0.99.8.1/src/pork_command_defs.h --- pork-0.99.8.1~/src/pork_command_defs.h 2005-04-28 13:35:16.000000000 -0400 +++ pork-0.99.8.1/src/pork_command_defs.h 2006-05-01 20:04:49.000000000 -0400 @@ -160,6 +160,7 @@ USER_COMMAND(cmd_blist_show); USER_COMMAND(cmd_blist_start); USER_COMMAND(cmd_blist_toggle); +USER_COMMAND(cmd_blist_toggle_focus); USER_COMMAND(cmd_blist_up); USER_COMMAND(cmd_blist_warn); USER_COMMAND(cmd_blist_warn_anon); debian/patches/001-fix-msg-types-upstream.patch0000644000000000000000000000160211747546317016524 0ustar From: Benjamin Seidenberg Subject: Upstream patch to fix messsage types diff -urNad pork-0.99.8.1~/src/pork_screen_io.c pork-0.99.8.1/src/pork_screen_io.c --- pork-0.99.8.1~/src/pork_screen_io.c 2005-05-04 15:38:13.000000000 -0400 +++ pork-0.99.8.1/src/pork_screen_io.c 2006-05-01 20:01:45.000000000 -0400 @@ -251,8 +251,9 @@ va_start(ap, fmt); __screen_win_msg(win, - (ts * MSG_OPT_TIMESTAMP) | (banner * MSG_OPT_BANNER) | (color * MSG_OPT_COLOR), - 1, fmt, ap); + (ts * MSG_OPT_TIMESTAMP) | (banner * MSG_OPT_BANNER) | + (color * MSG_OPT_COLOR), + type, fmt, ap); va_end(ap); } @@ -282,6 +283,10 @@ va_start(ap, fmt); if (!screen.quiet) - __screen_win_msg(cur_window(), MSG_OPT_BANNER, 1, fmt, ap); + __screen_win_msg(cur_window(), + MSG_OPT_BANNER, + MSG_TYPE_CMD_OUTPUT, + fmt, + ap); va_end(ap); } debian/copyright0000644000000000000000000000107611747550545011142 0ustar This package was debianized by Ari Pollak on Sat, 19 Apr 2003 21:21:51 -0400. It was downloaded from The package was adopted by Benjamin Seidenberg on Mon, 1 May 2006 22:25:25 -0400. Any changes past version 0.99.7-2 are his. Upstream Authors: Copyright (C) 2002-2005 Ryan McCabe Copyright (C) 2002-2004 Amber Adams Copyright: Its license is GPL-2+. On Debian systems, the complete text of the GNU General Public License can be found in "/usr/share/common-licenses/GPL-2". debian/compat0000644000000000000000000000000211747546326010403 0ustar 9 debian/examples0000644000000000000000000000002311745043707010732 0ustar examples/blist.txt debian/rules0000755000000000000000000000501512230527554010254 0ustar #!/usr/bin/make -f # Pork Makefile # Based on dh_make template by Joey Hess # Created by Ari Pollack # Modified by Benjamin Seidenberg # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif config.status: configure dh_testdir # Fix location of porkrc cp -vf /usr/share/misc/config.sub /usr/share/misc/config.guess . autoreconf -fi # Add here commands to configure the package. ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc build-arch: build build-indep: build build: build-stamp build-stamp: config.status dh_testdir # Add here commands to compile the package. $(MAKE) #/usr/bin/docbook-to-man debian/pork.sgml > pork.1 touch build-stamp clean: configure dh_testdir dh_testroot # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean rm -f build-stamp config.guess config.sub dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/pork. $(MAKE) install DESTDIR=$(CURDIR)/debian/pork #mkdir -p $(CURDIR)/debian/pork/etc #mv $(CURDIR)/debian/pork/usr/share/pork/porkrc \ # $(CURDIR)/debian/pork/etc/ rm -rf $(CURDIR)/debian/pork/usr/share/pork/examples rm -f $(CURDIR)/debian/pork/usr/share/pork/QUICK_START # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples # dh_install # dh_installmenu # dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam # dh_installmime # dh_installinit # dh_installcron # dh_installinfo dh_installman debian/pork.1 dh_link dh_strip dh_compress dh_fixperms # dh_perl # dh_python # dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/docs0000644000000000000000000000003511745043707010047 0ustar NEWS README QUICK_START TODO debian/changelog0000644000000000000000000001041012227213631011033 0ustar pork (0.99.8.1-2.2) unstable; urgency=low * Non-maintainer upload. * debian/rules - call "autoreconf -fi", instead of autoconf and automake -- Hideki Yamane Tue, 15 Oct 2013 19:23:19 +0900 pork (0.99.8.1-2.1) unstable; urgency=low * Non-maintainer upload; ACKed by the maintainer, see #670953. * Remove deprecated dpatch and upgrade to packaging format "3.0 quilt" (Closes: #670953). * Update to Standards-Version to 3.9.3 and debhelper to 9. * Add build-arch and build-indep targets; use dh_prep; adjust better config.* file handling in rules file. * Fix copyright-refers-to-symlink-license (Lintian). * Fix debian-rules-ignores-make-clean-error (Lintian). * Fix copyright-without-copyright-notice (Lintian). * Fix no-homepage-field (Lintian). -- Jari Aalto Sat, 05 May 2012 22:05:24 +0300 pork (0.99.8.1-2) unstable; urgency=low * Remove dependency on automake1.8 (Closes: #473353) * Change maintainer email address -- Benjamin Seidenberg Sun, 30 Mar 2008 22:03:32 -0400 pork (0.99.8.1-1) unstable; urgency=low * New Upstream Release - Including three upstream patches from CVS on the advice of upstream + Recognize wireless users + Fix message functionality bug + Add often requested feature to toggle buddy list * New maintainer * Add manpage (Closes: #196292) * Fix typo in description (Thanks to Justin Pryzby, Closes: #364954) * Migrate to dpatch to manage patches to upstream code * Regenerate automake to install porkrc to /etc where it belongs (Adds dependency on automake) * Add comma to Depends: line in debian/control * Mention adoption in debian/copyright* -- Benjamin Seidenberg Tue, 2 May 2006 17:08:59 -0400 pork (0.99.7-2) unstable; urgency=low * Apply patch from Andreas Jochens to get pork to compile on gcc-4.0 -- Ari Pollak Mon, 11 Jul 2005 23:08:29 -0400 pork (0.99.7-1) unstable; urgency=low * New upstream release - Implements crude --help (Closes: #204697) - Recognizes /me command in both AIM and IRC (Closes: #228994) - Should wrap text around buddy list correctly now (Closes: #228892) * Updated description to include IRC support in pork -- Ari Pollak Wed, 5 Jan 2005 12:32:36 -0500 pork (0.99.5-2) unstable; urgency=low * Remove redundant documentation in usr/share/pork * Move porkrc to /etc -- Ari Pollak Sat, 25 Sep 2004 16:07:46 +0000 pork (0.99.5-1) unstable; urgency=low * New upstream release -- Ari Pollak Sat, 25 Sep 2004 11:53:15 -0400 pork (0.99.4-1) unstable; urgency=low * New upstream release -- Ari Pollak Thu, 16 Sep 2004 13:44:30 -0400 pork (0.99.3-1) unstable; urgency=low * New upstream release -- Ari Pollak Thu, 8 Jul 2004 21:42:33 -0400 pork (0.99.2-1) unstable; urgency=low * New upstream release (Closes: #202650, #207099) -- Ari Pollak Sun, 16 Nov 2003 12:03:18 -0500 pork (0.99.1-2) unstable; urgency=low * Apply patch from Joshua Rosen (Closes: #204695) -- Ari Pollak Tue, 16 Sep 2003 15:26:22 -0400 pork (0.99.1-1) unstable; urgency=low * New upstream release -- Ari Pollak Wed, 16 Jul 2003 21:33:29 -0400 pork (0.99.0-1) unstable; urgency=low * New upstream release * NOTE: This release probably breaks some porkrc files and perl scripts. -- Ari Pollak Mon, 16 Jun 2003 00:23:39 -0400 pork (0.8.0-1) unstable; urgency=low * New upstream release -- Ari Pollak Mon, 28 Apr 2003 17:07:28 -0400 pork (0.7.0-4) unstable; urgency=low * Add libperl-dev to build-depends -- Ari Pollak Wed, 23 Apr 2003 10:42:17 -0400 pork (0.7.0-3) unstable; urgency=low * Really add libncurses5-dev to build-depends -- Ari Pollak Wed, 23 Apr 2003 01:01:31 -0400 pork (0.7.0-2) unstable; urgency=low * Add libncurses5-dev to build-depends * Remove dirs file * Update copyright & watch file -- Ari Pollak Tue, 22 Apr 2003 23:54:16 -0400 pork (0.7.0-1) unstable; urgency=low * Initial Release. (closes: #189773) -- Ari Pollak Sat, 19 Apr 2003 21:21:51 -0400 debian/pork.10000644000000000000000000001016711745043707010240 0ustar .TH "pork" 1 "July, 2005" "Pork AIM Client" "USER COMMANDS" .SH NAME pork \- An AOL Instant Messenger client for the UNIX console. .SH VERSION .TP .B version 0.99.0 .SH SYNOPSIS .B pork [options] .SH DESCRIPTION Pork is a console based client for the AOL Instant Messenger service that uses the ncurses screen library. Pork is intended to be fast, useable, and stable. Pork was written by Ryan McCabe. .SH OPTIONS .TP \-H or --host Use the local address specified for outgoing connections .br .TP \-p or --port Use the local port specified for the main connection .br .TP -h or --help Display this help text .br .TP -v or --version Display version information and exit .SH USAGE To log into AIM, type /connect , where is your AIM screen name. If you don't have an AIM screen name, you can get one at http://aim.aol.com. .br Pork now supports IRC. The syntax for connecting to an IRC server is /connect -irc [:[:]] [... [:[:]]] .br When you're inside the client, type /help to find out what commands are supported. Type /help to get help on a particular command. .br Below are the default key bindings. All keys can have their bindings changed or removed completely. Enter the commands '/help bind' and \'/help keys' for more information. .SH "KEY BINDINGS" .br .B Default main key bindings: CTRL+A Move the cursor to the start of the line. .br CTRL+B Move the cursor to the start of the previous word. .br CTRL+E Move the cursor to the end of the line. .br CTRL+F Move the cursor to the start of the next word. .br CTRL+H Backspace. .br META+BACKSPACE Delete the previous word on the input line. .br CTRL+K Close the current window. .br CTRL+L Refresh the display. .br CTRL+T Toggle timestamps on messages. .br CTRL+U Clear the input line. .br CTRL+X Switch to the next window in the window list. .br CTRL+Y Switch to the previous window in the window list. .br TAB Switch the input focus to the buddy list. .br META+/ Command auto-completion. .br META+<1-9> Switch to the window having the specified number. .br HOME Scroll to the top of the display. .br END Scroll to the bottom of the display. .br PAGE UP Scroll the display up one page. .br PAGE DOWN Scroll the display down one page. .br UP ARROW Scroll the input history list up. .br DOWN ARROW Scroll the input history list down. .br CTRL+META+X Bind the next account to the current window. .B Default buddy list key bindings: END Move the buddy list cursor to the bottom of the buddy list. .br HOME Move the buddy list cursor to the top of the buddy list. .br PAGE UP Move the buddy list cursor one page up. .br PAGE DOWN Move the buddy list cursor one page down. .br UP ARROW Move the buddy list cursor up. .br DOWN ARROW Move the buddy list cursor down. .br ENTER Collapse the group the cursor is on, or if the cursor is on a user, open a conversation window with that user (or go to the conversation window, if one already exists). .br TAB Switch to main input focus. .br CTRL+L Refresh the buddy list display. .br META+p Remove the user under the cursor from the permit list. .br META+P Add the user the cursor is on to the permit list. .br META+b Remove the user the cursor is on from the block list. .br META+B Add the user the cursor is on to the block list. .br META+w Warn the user the cursor is on. .br META+W Warn the user the cursor is on anonymously. .br a Get the away message of the user the cursor is on. .br i Get the profile and away message of the user the cursor is on. .br CTRL+X Switch to the next window in the window list. .br CTRL+Y Switch to the previous window in the window list. .br .SH FILES .TP .B ~/.pork/porkrc \- The pork configuration file .TP .B ~/.pork/screenname.blist \- The buddy list for "screenname" .SH BUGS .TP .B ryan@numb.org \- Please report bugs to this address .SH HOMEPAGE .TP .B http://dev.ojnk.org .SH AUTHORS Pork was written by Ryan McCabe . .br This manpage was written by Benjamin Seidenberg . debian/control0000644000000000000000000000177512230527701010602 0ustar Source: pork Section: net Priority: optional Maintainer: Benjamin Seidenberg Build-Depends: debhelper (>= 9), libncurses5-dev, libperl-dev, automake, autoconf Standards-Version: 3.9.3 Homepage: http://freecode.com/projects/pork Package: pork Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Console-based AOL Instant Messenger & IRC client pork is an ncurses-based AOL Instant Messenger and IRC client. It uses the OSCAR protocol (the one the windows client uses) to access AIM. Pork features Perl scripting; an online help system; the ability to configure nearly all aspects of the program's look-and-feel; an alias system; and a powerful, fully-configurable key binding system. It supports being logged in with more than one screen name at the same time. The default look-and-feel of the client is modeled after the ircII IRC client. Anyone comfortable using ircII (or any clients derived from it -- e.g., epic, BitchX, etc.) will feel comfortable using pork.