debian/0000755000000000000000000000000012260757751007202 5ustar debian/patches/0000755000000000000000000000000012260757105010622 5ustar debian/patches/01manual.diff0000644000000000000000000000330512260757024013073 0ustar --- minicom-2.2.orig/man/minicom.1 +++ minicom-2.2/man/minicom.1 @@ -22,7 +22,7 @@ .TP 0.5i .B \-s, \-\-setup .BR S etup. -Root edits the system-wide defaults in /etc/minirc.dfl with this option. +Root edits the system-wide defaults in /etc/minicom/minirc.dfl with this option. When it is used, minicom does .I not initialize, but puts you directly into the @@ -823,16 +823,18 @@ .BR hack " :-) was added. Now, minicom can separate the escape key and" escape-sequences. To see how dirty this was done, look into wkeys.c. But it works like a charm! +.SH DEBIAN SPECIFIC +In Debian GNU/Linux systems, minicom is not setuid root. Users that +need to use it have to get added to the +.I dialout +group in order to use serial port devices. .SH FILES -Minicom keeps it's configuration files in one directory, usually -/var/lib/minicom, /usr/local/etc or /etc. To find out what default -directory minicom has compiled in, issue the command \fIminicom -h\fP. -You'll probably also find the demo files for \fBrunscript\fP(1), -and the examples of character conversion tables either there or -in the subdirectories of /usr/doc/minicom*. The conversion tables are -named something like mc.* in that directory, but you probably want to -copy the ones you need in your home directory as something beginning -with a dot. +Minicom keeps it's configuration files in the directory /etc/minicom. +You'll find the demo files for \fBrunscript\fP(1), and the examples of +character conversion tables in /usr/share/doc/minicom. The conversion +tables are named something like mc.* in the tables subdirectory, but +you probably want to copy the ones you need in your home directory as +something beginning with a dot. .sp 1 .nf minirc.* debian/patches/series0000644000000000000000000000011112260757013012026 0ustar 00manual.diff 01manual.diff 03norzsz.diff 470582_history_buffer_msg.diff debian/patches/03norzsz.diff0000644000000000000000000000152312105013143013146 0ustar Index: minicom-2.6.1/src/updown.c =================================================================== --- minicom-2.6.1.orig/src/updown.c 2011-09-07 23:04:32.000000000 +0200 +++ minicom-2.6.1/src/updown.c 2013-01-13 14:32:06.000000000 +0100 @@ -426,6 +426,22 @@ mcd(""); timer_update(); + /* return code == 1 if exeve failed, see #111060 et al */ + if (win && status == 0x0001) { +#if VC_MUSIC + if (P_SOUND[0] == 'Y') { + mc_wprintf(win, _("\n Failure executing protocol. Press any key to continue...")); + music(); + } else + sleep(1); +#else + /* MARK updated 02/17/94 - If there was no VC_MUSIC capability, */ + /* then at least make some beeps! */ + if (P_SOUND[0] == 'Y') wprintf(win, "\007\007\007"); + sleep(1); +#endif + } else + /* If we got interrupted, status != 0 */ if (win && (status & 0xFF00) == 0) { #if VC_MUSIC debian/patches/470582_history_buffer_msg.diff0000644000000000000000000000165712260755061016215 0ustar --- minicom-2.7.orig/src/config.c +++ minicom-2.7/src/config.c @@ -933,11 +933,11 @@ static void doscrkeyb(void) if (atoi(P_HISTSIZE) != num_hist_lines) { w1 = mc_wopen(14, 9, 70, 15, BSINGLE, stdattr, mfcolor, mbcolor, 0, 0, 1); mc_wtitle(w1, TMID, _("History Buffer Size")); - mc_wputs(w1, _("\n\ - You have changed the history buffer size.\n\ - You will need to save the configuration file and\n\ - restart minicom for the change to take effect.\n\n\ - Hit a key to Continue... ")); + mc_wputs(w1, _( + "\n You have changed the history buffer size.\n" + " You will need to save the configuration file and\n" + " restart minicom for the change to take effect.\n" + "\n Hit a key to Continue... ")); mc_wredraw(w1, 1); c = wxgetch(); mc_wclose(w1, 1); debian/patches/00manual.diff0000644000000000000000000001333112260757105013072 0ustar --- minicom/man/minicom.1 2014-01-01 10:20:31.672155938 +0100 +++ minicom/man/minicom.1 2014-01-01 10:12:24.578127579 +0100 @@ -20,7 +20,7 @@ configurations, and more. .SH COMMAND-LINE .TP 0.5i -.B \-s, --setup +.B \-s, \-\-setup .BR S etup. Root edits the system-wide defaults in /etc/minirc.dfl with this option. When it is used, minicom does @@ -30,7 +30,7 @@ because your system has changed, or for the first time you run minicom. For most systems, reasonable defaults are already compiled in. .TP 0.5i -.B \-o, --noinit +.B \-o, \-\-noinit Do not initialize. Minicom will skip the initialization code. This option is handy if you quit from minicom without resetting, and then want to restart a session. It is potentially dangerous though: no @@ -39,7 +39,7 @@ it is assumed, that users who are given access to a modem are responsible enough for their actions. .TP 0.5i -.B \-m, --metakey +.B \-m, \-\-metakey Override command-key with the Meta or ALT key. This is the default in 1.80 and it can also be configured in one of minicom's menus, but if you use different terminals all the time, of which some don't have a Meta or ALT key, @@ -48,39 +48,39 @@ assumes that your Meta key sends the ESC prefix, not the other variant that sets the highest bit of the character. .TP 0.5i -.B \-M, --metakey8 +.B \-M, \-\-metakey8 Same as \-m, but assumes that your Meta key sets the 8th bit of the character high (sends 128 + character code). .TP 0.5i -.B \-z, --statline +.B \-z, \-\-statline Use terminal status line. This only works on terminals that support it and that have the relevant information in their \fItermcap\fP or \fIterminfo\fP database entry. .TP 0.5i -.B \-l, --ansi +.B \-l, \-\-ansi .BR L iteral translation of characters with the high bit set. With this flag on, minicom will try to translate the IBM line characters to ASCII. Many PC-unix clones will display character correctly without translation (Linux in a special mode, Coherent and SCO). .TP 0.5i -.B \-L, --iso +.B \-L, \-\-iso Ditto but assume screen uses an ISO8859 character set. .TP 0.5i -.B \-w, --wrap +.B \-w, \-\-wrap Turns line-wrap on at startup by default. .TP 0.5i -.B \-H, --displayhex +.B \-H, \-\-displayhex Turn on output in hex mode. .TP 0.5i -.B \-a, --attrib=on/off +.B \-a, \-\-attrib=on/off .BR A ttribute usage. Some terminals, notably Televideo's, have rotten attribute handling (serial instead of parallel). By default, minicom uses '\-a on', but if you are using such a terminal you can (must!) supply the option '\-a off'. The trailing 'on' or 'off' is needed. .TP 0.5i -.B \-t, --term=TERM +.B \-t, \-\-term=TERM .BR T erminal type. With this flag, you can override the environment TERM variable. This is handy for use in the MINICOM environment variable; one can create @@ -88,7 +88,7 @@ initializes the screen to raw mode so that in conjunction with the \-l flag, the IBM line characters are displayed untranslated. .TP 0.5i -.B \-c, --color=on/off +.B \-c, \-\-color=on/off .BR C olor usage. Some terminals (such as the Linux console) support color with the standard ANSI escape sequences. Because there is apparently no @@ -97,14 +97,14 @@ with '\-c on'. This, and the '\-m' option, are good candidates to put into the MINICOM environment variable. .TP 0.5i -.B \-S, --script=SCRIPT +.B \-S, \-\-script=SCRIPT .BR script . Run the named script at startup. So far, passing username and password to a startup script is not supported. If you also use the \-d option to start dialing at startup, the \-S script will be run BEFORE dialing the entries specified with \-d. .TP 0.5i -.B \-d, --dial=ENTRY +.B \-d, \-\-dial=ENTRY .BR D ial an entry from the dialing directory on startup. You can specify an index number, but also a substring of the name of the entry. If you @@ -114,7 +114,7 @@ entry specified after all other program initialization procedures are completed. .TP 0.5i -.B \-p, --ptty=TTYP +.B \-p, \-\-ptty=TTYP .BR P seudo terminal to use. This overrides the terminal port defined in the configuration @@ -122,11 +122,11 @@ the form (/dev/)tty[p-z/][0-f], (/dev/)pts[p-z/][0-f] or (/dev/)pty[p-z/][0-f]. For example, /dev/ttyp1, pts/0 or /dev/ptyp2. .TP 0.5i -.B \-C, --capturefile=FILE +.B \-C, \-\-capturefile=FILE .BR filename . Open capture file at startup. .TP 0.5i -.B \-F, --statlinefmt +.B \-F, \-\-statlinefmt Format for the status line. The following format specifier are available: %H Escape key for help screen. %V Version string of minicom. @@ -139,32 +139,32 @@ Example: "%H for help | %b | Minicom %V | %T | %C | %t" .TP 0.5i -.B \-b, --baudrate +.B \-b, \-\-baudrate Specify the baud rate, overriding the value given in the configuration file. .TP 0.5i -.B \-D, --device +.B \-D, \-\-device Specify the device, overriding the value given in the configuration file. .TP 0.5i -.B \-R, --remotecharset +.B \-R, \-\-remotecharset Specify the character set of the remote system is using and convert it to the character set of the local side. Example might be 'latin1'. .TP 0.5i -.B \-7, --7bit +.B \-7, \-\-7bit 7bit mode for terminals which aren't 8bit capable. 8bit is default if the environment is configured for this via LANG or LC_ALL, 7bit otherwise. .TP 0.5i -.B \-8, --8bit +.B \-8, \-\-8bit 8bit characters pass through without any modification. 'Continuous' means no locate/attribute control sequences are inserted without real change of locate/attribute. This mode is to display 8bit multi-byte characters such as Japanese. Not needed in every language with 8bit characters. (For example displaying Finnish text doesn't need this.) .TP 0.5i -.B \-h, --help +.B \-h, \-\-help Display help and exit. .TP 0.5i -.B \-v, --version +.B \-v, \-\-version Print the minicom version. .PP .RS 0.5i debian/control0000644000000000000000000000110012260751455010570 0ustar Source: minicom Section: comm Priority: optional Maintainer: Martin A. Godisch Uploaders: Jordi Mallach Build-Depends: autotools-dev, gettext, libncurses5-dev Standards-Version: 3.9.5 Homepage: https://alioth.debian.org/projects/minicom/ Package: minicom Architecture: any Depends: ${shlibs:Depends} Recommends: lrzsz Description: friendly menu driven serial communication program Minicom is a clone of the MS-DOS "Telix" communication program. It emulates ANSI and VT102 terminals, has a dialing directory and auto zmodem download. debian/README.Debian0000644000000000000000000000114111301731430011215 0ustar minicom for Debian ------------------ minicom normally needs to be setuid root so normal users can access the devices. In Debian, minicom is not setuid root and users need to be added to the `dialout' group to be able to access serial devices. After minicom has been installed, you should run minicom as root with the `-s' flag to set the system-wide configuration, which will be written to /etc/minicom/minirc.dfl. If the terminfo definition provided with minicom doesn't work for you, the font can be switched using `setfont'. -- Martin A. Godisch Sun, 30 Mar 2003 21:58:36 +0200 debian/changelog0000644000000000000000000005274212260757641011064 0ustar minicom (2.7-1) unstable; urgency=low * New upstream release, closes: #707564 (configurable status line). * Fixed history buffer message box text width, closes: #470582. * Added homepage control field. * Updated watch file, but it still doesn't work. * Updated standards version. -- Martin A. Godisch Wed, 01 Jan 2014 10:28:00 +0100 minicom (2.6.2-1) unstable; urgency=low * New upstream release, closes: #698407 (handling of long device names). -- Martin A. Godisch Thu, 07 Feb 2013 22:02:34 +0100 minicom (2.6.1-3) unstable; urgency=low * Fixed compiler warnings. Thanks to the gentle upstream maintainer. -- Martin A. Godisch Sun, 13 Jan 2013 14:30:37 +0100 minicom (2.6.1-2) unstable; urgency=low * Changed path delimiter handling, closes: #697624. Thanks to the gentle upstream maintainer. * Updated standards version: + Added build-arch and build-indep target to debian/rules. + Added $(shell dpkg-buildflags --export=configure) to configure call. * Fixed debian/watch, closes: #692880. -- Martin A. Godisch Thu, 10 Jan 2013 20:28:50 +0100 minicom (2.6.1-1) unstable; urgency=low * New upstream release, closes: #659351 (minicom stops receiving in -R utf-8 mode). -- Martin A. Godisch Sat, 11 Feb 2012 18:53:08 +0100 minicom (2.6-1) unstable; urgency=low * New upstream release. -- Martin A. Godisch Sun, 01 Jan 2012 17:27:25 +0100 minicom (2.5-2) unstable; urgency=low * Backported upstream fix to not extend ~ in non-path configs, closes: #621741, thanks to Florian Lohoff and Adam Lackorzynski. -- Martin A. Godisch Sat, 16 Apr 2011 14:21:27 +0200 minicom (2.5-1) unstable; urgency=low * New upstream release, closes: #610511 (string/word size limit to 89 characters), closes: #610512 (scripts never exit). * Removed some Debian patches which are now in upstream. -- Martin A. Godisch Fri, 04 Feb 2011 20:06:55 +0100 minicom (2.4-4) unstable; urgency=low * Updated package to source format 3.0 (quilt). * Updated standards version. -- Martin A. Godisch Sat, 11 Sep 2010 22:31:26 +0200 minicom (2.4-3) unstable; urgency=medium * Fixed failing package purge, closes: #591865. Thanks to Alexander Korsunsky. * Fixed setting localecho in config file (upstream backport), closes: #590900. Thanks to Peter De Wachter. -- Martin A. Godisch Sun, 05 Sep 2010 10:30:00 +0200 minicom (2.4-2) unstable; urgency=low * Backported upstream fix for FHS compliant lock-file format, closes: #578001. -- Martin A. Godisch Thu, 27 May 2010 01:38:13 +0200 minicom (2.4-1) unstable; urgency=low * New upstream release. -- Martin A. Godisch Sat, 26 Dec 2009 14:15:52 +0100 minicom (2.4~rc1-1) unstable; urgency=low * New upstream release, closes: #552892 (FTBFS: conflicting types for getline) -- Martin A. Godisch Sat, 21 Nov 2009 12:22:20 +0100 minicom (2.3-1) unstable; urgency=low * New upstream release, closes: #466961 (limited input field for history lines). -- Martin A. Godisch Sun, 24 Feb 2008 16:29:10 +0100 minicom (2.3~rc1-3) unstable; urgency=low * Changed string size, closes: #460485. * Added missing localization, closes: #460497. * Fixed single quotes in manpage, closes: #466962. * Updated standards version. -- Martin A. Godisch Sat, 23 Feb 2008 20:48:25 +0100 minicom (2.3~rc1-2) unstable; urgency=low * Fixed GNU/kFreeBSD build, thanks to Petr Salinger. * Enhanced xminicom, closes: #389028. * Fixed watch file. -- Martin A. Godisch Sun, 09 Dec 2007 12:37:10 +0100 minicom (2.3~rc1-1) unstable; urgency=low * New upstream release candidate, closes: #412561 (minicom can't read .dialdir created on amd64), closes: #416060 (wrong way to scan a directory and list files), closes: #419538 (SEGV with deep directory). Thanks to Ludovic Rousseau and Yasushi Shoji for patches. * Updated menu section. * Fixed clean target. -- Martin A. Godisch Sun, 07 Oct 2007 20:23:15 +0200 minicom (2.2-5) unstable; urgency=low * Fixed localization bug, closes: #405219. Thanks to upstream maintainer Adam Lackorzynski. -- Martin A. Godisch Sun, 07 Jan 2007 17:59:58 +0100 minicom (2.2-4) unstable; urgency=low * Added 04screenkeybmenu.diff, thanks to upstream maintainer Adam Lackorzynski. -- Martin A. Godisch Mon, 06 Nov 2006 18:01:05 +0100 minicom (2.2-3) unstable; urgency=low * Added upstream NEWS file, closes: #394827. * Fixed spelling errors, closes: #395449. -- Martin A. Godisch Fri, 27 Oct 2006 05:41:23 +0200 minicom (2.2-2) unstable; urgency=low * Fixed build script to build .gmo files. Thanks to Adam Lackorzynski. * Updated control file. -- Martin A. Godisch Fri, 20 Oct 2006 15:28:10 +0200 minicom (2.2-1) unstable; urgency=low * New upstream release, closes: #188184 (more rc file options), closes: #336879 (-8 flag isn't neccessary any longer), closes: #340899 (handling of long lines in config files). * Fixed preinst script, closes: #358635. * Fixed watch file. * Updated README.Debian. * Updated standards version. -- Martin A. Godisch Thu, 19 Oct 2006 18:54:10 +0200 minicom (2.1-10) unstable; urgency=low * Applied patch to prevent crash with very long lines, closes: #337178. Thanks to Christian 'Greek0' Aichinger. * Updated standards version, fixed debian/rules, debian/control, debian/changelog. -- Martin A. Godisch Fri, 04 Nov 2005 18:06:15 +0100 minicom (2.1-9) unstable; urgency=low * Fixed manual typos, closes: #301931. -- Martin A. Godisch Tue, 29 Mar 2005 09:32:42 +0200 minicom (2.1-8) unstable; urgency=low * Fixed FTBFS with gcc 4.0, closes: #287654. * Fixed POSIX compliance of debian/rules. * Added watch file -- Martin A. Godisch Sat, 01 Jan 2005 19:45:10 +0100 minicom (2.1-7) unstable; urgency=low * Updated Polish localization, thanks to Wiesiek, closes: #220396. * Updated package description and standards version. -- Martin A. Godisch Wed, 12 Nov 2003 19:17:17 +0100 minicom (2.1-6) unstable; urgency=low * Added SEE ALSO to minicom.1 and runscript.1, closes: #205503. -- Martin A. Godisch Fri, 15 Aug 2003 07:31:53 +0200 minicom (2.1-5) unstable; urgency=low * Enabled user config files without corresponding system-wide config files, closes: #204522. -- Martin A. Godisch Mon, 11 Aug 2003 06:24:23 +0200 minicom (2.1-4) unstable; urgency=low * Updated package description, closes: #201859. * Removed debug output, closes: #202896. * Removed debconf support, adjusted dependencies: + minicom/pr_port is done without confirmation, + minicom/configure is obsoleted by README.Debian. * Fixed removal of /etc/minicom. * Converted debian/changelog to UTF-8. * Updated standards version. -- Martin A. Godisch Sun, 27 Jul 2003 17:56:34 +0200 minicom (2.1-3) unstable; urgency=low * Fixed handling of white space in file names, closes: #199924. * Updated deb'configuration, made it optional. * Changed default value for minirc.* update to false. * Re-added lost *.gmo recreation. * Added patch to build-dependencies. -- Martin A. Godisch Fri, 04 Jul 2003 09:11:15 +0200 minicom (2.1-2) unstable; urgency=low * Added Spanish to 8bit workaround, closes: #193789. * Fixed configure output. -- Martin A. Godisch Mon, 19 May 2003 00:04:55 +0200 minicom (2.1-1) unstable; urgency=low * New upstream release. * Removed several patches which are now in the upstream source. * Moved xminicom.1 into the upstream source tree. * Moved patching into debian/rules for upstream CVS compatibility. * Added dependency on autotools-dev for up-to-date aux/config.*. * Updated standards version. -- Martin A. Godisch Sun, 18 May 2003 17:11:05 +0200 minicom (2.00.0-5) unstable; urgency=low * Re-inserted fixed russian translation, see #187951. Backported 8bit patch from CVS. -- Martin A. Godisch Wed, 30 Apr 2003 18:46:45 +0200 minicom (2.00.0-4) unstable; urgency=low * Removed russian translation, closes: #187951. I can reproduce this bug, but I don't know how to fix it, the l10n code and the po file look good. I notified the upstream maintainer about it, the translation will be put back when this issue is fixed. * New upstream maintainer, updated control, copyright, and README.Debian. * Removed debian/patches, patching will change a lot in the next upstream release. * Minor maintainer script cleanups. -- Martin A. Godisch Mon, 07 Apr 2003 17:53:04 +0200 minicom (2.00.0-3) unstable; urgency=low * Added ~ -> $HOME expansion for path name configuration, closes: #54946. * Fixed default value for minicom/pr_port. * Cosmetic fix for ./configure. -- Martin A. Godisch Thu, 20 Mar 2003 15:15:35 +0100 minicom (2.00.0-2) unstable; urgency=low * Fixed build failure on s390, thanks to Jordi Mallach, closes: #185540. * Changed charset in jp.po to euc-jp, see also 1.83.1-4.1, closes: #185541. -- Martin A. Godisch Thu, 20 Mar 2003 02:43:20 +0100 minicom (2.00.0-1) unstable; urgency=low * New maintainer upload, thanks for the NMUs, closes: #102443, #106444, #110838, #110886, #112258, #112389, closes: #113202, #113487, #120350, #57263, #119861. * New upstream release, closes: #153166, #147812, #158695. * Allowed users to change the serial port, closes: #18009 et al. * Added error reporting, closes: #111060 et al. * Extended user input range, closes: #44795. * Fixed escape key label, closes: #110833. Please complain if this is now broken under some other conditions. * Fixed endless loop in runscript, closes: #54944. * GNU/Hurd: added /dev/com0 to ./configure (not yet to configure.in), fixed several #ifdef's, thanks to Robert Millan and Jordi Mallach. * Maintainer script and debian/ cleanup, closes: #116928 et al, updated standards version, transition to po-debconf. * Added catalan debconf translation, thanks to Jordi Mallach. * Added spanish debconf translation, thanks to Ricardo Javier Cardenes. * Added french debconf translation, thanks to Christian Perrier, closes: #185493. * Added portuguese debconf translation, thanks to André Luís Lopes. * Added german debconf translation. * Added setfont note to README.Debian, closes: #15799. * Moved cs_CZ to cs, and fi_FI to fi, removed ja_JP.SJIS, fixed po/Makefile.in.in, removed all *.gmo files, minicom.pot, and cat-id-tbl.c in the debian/rules clean target. * Applied some patches from 1.83.1-5 and bugfixes from the upstream CVS tree, fixed several complier warnings, see debian/patches. * Recommends: lrzsz, I don't agree with #11140, see #151261 et al. * Added null-modem example configuration. -- Martin A. Godisch Wed, 19 Mar 2003 14:18:55 +0100 minicom (1.83.1-5) unstable; urgency=low * src/main.c: for LCK files, use the whole path minus /dev/ and replace slashes with underscores (closes: #153933). * Set Uploaders field to contain me and Jordi Mallach -- Miquel van Smoorenburg Wed, 31 Jul 2002 20:57:08 +0200 minicom (1.83.1-4.6) unstable; urgency=low * debian/{config,rules,templates}: remove all the stuff about the Meta-Key setting. It's wrong and unneeded, as the default can be set very easily using minicom -s (closes: #116928). -- Jordi Mallach Fri, 26 Jul 2002 17:09:58 +0200 minicom (1.83.1-4.5) unstable; urgency=low * Looks like dpkg won't update directory permissions on upgrades, so the "wrong perms on examples dir" bug wasn't getting fixed if -4.4 wasn't a new install. * debian/postinst: chmod 755 /usr/share/doc/minicom/examples (closes: #112258). * debian/menu: fix location of xminicom (closes: #119861). * src/xminicom: use x-terminal-emulator as first option. It won't set background or anything else than the window title (policy only asks that -e and -T are implemented). Use Xresources to customize. -- Jordi Mallach Tue, 20 Nov 2001 22:27:46 +0100 minicom (1.83.1-4.4) unstable; urgency=low * Non-Maintainer Upload. * debian/postinst: applied patch from Gergely Nagy so postinst doesn't add "Meta" lines to minirc.dfl each time minicom is upgraded (closes: #112389). * debian/{config,templates}: removed debconf notes about conffile moving, too much verbosity... (closes: #113202) * debian/templates.de: added German translation of debconf templates; thanks Sebastian Fetel (closes: #113487). * debian/rules: merge templates and install them in the target dir. * debian/control: added debconf-utils to Build-Depends. -- Jordi Mallach Mon, 8 Oct 2001 00:45:59 +0200 minicom (1.83.1-4.3) unstable; urgency=low * Non-Maintainer Upload. * Applied patch from Neal Walfield which fixes compilation issues for GNU/Hurd (closes: #106444). * debian/rules: create /usr/share/doc/minicom/examples with correct permissions (closes: #112258). -- Jordi Mallach Sat, 15 Sep 2001 15:54:24 +0200 minicom (1.83.1-4.2) unstable; urgency=medium * Non-Maintainer Upload. * Cleaning up the mess with some upgrades to -4.1: + debian/preinst: - fix the "mv" statement, making it not fail if there are no minirc files to move. - if during this upgrade, previous version was -4.1, check if /etc/minicom/minirc.dfl and /etc/minicom/minicom.users exist. If they do, probably the user moved them by hand after the upgrade, so copy the /etc ones to /etc/minicom/ with an .old suffix. Same if the files exist only in /etc (corner case if people reran apt). + debian/postrm: rmdir /etc/minicom after we've done the move of stuff to the old location. Hopefully, all of this closes: #110838. -- Jordi Mallach Sat, 1 Sep 2001 14:55:15 +0200 minicom (1.83.1-4.1) unstable; urgency=low * Non-Maintainer-Upload, approved by Miquel. * Fixed minicom's build problems: + debian/control: added Build-Dependency on gettext. + src/po/ja.po: changed charset to euc-jp. + src/po/Makefile: removed ko.mo and ja_JP.SJIS.mo from CATALOGS. About ja_JP.SJIS.mo, GOTO Masanori, a Japanese GNU translation team member said that "ja_JP.SJIS should die". Not a real fix, but the po maintainers have been contacted. If you're Korean and know how to fix the ko.po, please do so and send a bug report. Thanks. + while we are at it, move fi_FI.po to fi.po. + and hey, I found a Czech po in Minicom's webpage. * Minicom is FHS compliant since February (closes: #102443). * debian/conffiles: + removed /etc/minirc.dfl, which is modified by scripts, regenerated by minicom every now and then and raped by policy-violating monkeys. + move /etc/minicom.users to /etc/minicom. * debian/postinst: + rewrote it in shell. + kill the code which moved these files from /var/lib/minicom to /etc. I have checked all Debian releases from Buzz to Potato and these have never been in that location at release time. + remove cruft handled by Debconf (closes: #57263). + if /etc/minicom/minirc.dfl doesn't exist, copy the one in /usr/share/doc/minicom/examples. * debian/preinst: if upgrading from previous versions to this one, move minicom files in /etc to /etc/minicom (closes: #88660). * debian/postrm: + purge debconf's db changes. + restore /etc files if abort-install|abort-upgrade. + rm -rf /etc/minicom on purge. * debian/{config,templates}: added Debconf scripts and templates. * debian/rules: + install debconf files in the package. + install minirc.dfl in /usr/share/doc/minicom/examples. -- Jordi Mallach Fri, 31 Aug 2001 14:23:07 +0200 minicom (1.83.1-4) unstable; urgency=low * Don't include korean translation for now (ko.po) since it doesn't build into a .mo file anymore with the latest gettext (closes: #95538) * Include "developers" file (closes: #88124) -- Miquel van Smoorenburg Fri, 6 Jul 2001 16:34:20 +0200 minicom (1.83.1-3) unstable; urgency=low * Include both time.h and sys/time.h (closes: #89126) -- Miquel van Smoorenburg Fri, 6 Apr 2001 13:24:00 +0200 minicom (1.83.1-2) unstable; urgency=low * Fixes for glibc 2.2.2 which now has "lint" builtin or so it seems ;) (closes: #86982, #87023) -- Miquel van Smoorenburg Thu, 22 Feb 2001 17:51:37 +0100 minicom (1.83.1-1) unstable; urgency=low * New upstream version (closes: #68883, #65760, #66034, #66048, #65695) * Allow pts/n tty name. (closes: #75409) -- Miquel van Smoorenburg Wed, 21 Feb 2001 15:34:32 +0100 minicom (1.82.1-2) unstable; urgency=low * The upgrade from -1 to -2 was actually completely done by Jordi Mallach . Thanks a lot for fixing all those bugs, Jordi ! The rest of this changelog is his. * Applied patch from Brad Midgley to fix a timeout in PowerPC (closes: #74640). * Applied patch from Lenart Janos for minicom.h to fix minicom not building anymore in Debian. * Recompiled with libncurses5 (closes: #64701). * Several policy fixes: + debian/rules: install things in /usr/share/man, /usr/share/doc, /usr/bin (closes: #79745). Removed .note and .comment sections from binaries. + debian/{postinst,prerm}: add and remove /usr/doc -> /usr/share/doc symlinks. + debian/postrm: use "set -e". + debian/control: added Build-Depends, upped Standards-Version to current 3.5.1.0. + Copyright: fix location of the GPL and add URL for upstream sources. * debian/menu: added "hints" by suggestion of Yann Dirson in the BTS (closes: #80157). * Minicom is Priority: optional already (closes: #50762). * debian/rules: call dpkg-gencontrol with -isp. * man/minicom.1: added a note about minicom not being setuid root in Debian systems, and the existance of the `dialout' group. Changed /dev/cuaX notations to current /dev/ttySX (closes: #29628). -- Miquel van Smoorenburg Mon, 19 Feb 2001 22:48:14 +0100 minicom (1.82.1-1) unstable; urgency=low * New upstream version * Added Newline-delay in Terminal menu (config.c) and emulator code (vt100.c). Needed to program my PM3's with cut and paste .. * Fixes bugs: #30844: minicom: xminicom does not start, missing -tn (even if it was a bug, it would not be a bug in minicom) #31333: minicom 1.82-3 will not dial (that's not a bug, it's a misconfigured modem) #34161: zmodem download fails due to invalid rz switch #34975: minicom: minicom special characters do not work on linux console #34495: minicom 1.82.1 available -- Miquel van Smoorenburg Wed, 21 Apr 1999 22:44:59 +0200 minicom (1.82-3) frozen unstable; urgency=high * ncurses4 version, reuploaded to both frozen and unstable instead of just unstable. Argh. -- Miquel van Smoorenburg Fri, 6 Nov 1998 17:54:33 +0100 minicom (1.82-2) unstable; urgency=high * Link with ncurses4 -- Miquel van Smoorenburg Sat, 31 Oct 1998 19:37:17 +0100 minicom (1.82-1) unstable; urgency=low * New upstream version * remove debian/files debian/substvars in clean target so that building on other architectures doesn't try to access minicom_1.82-1_i386.deb :-( * Fixes bugs: #25378: minicom: doesn't remove debian/files #26313: minicom: non-maintainer upload (alpha) diffs #27098: Minicom 1.82 is available -- Miquel van Smoorenburg Mon, 5 Oct 1998 12:41:08 +0200 minicom (1.81.1-1) unstable; urgency=low * New upstream version * Fixes: #15426: minicom: changelog uncompressed #18836: ascii transfer with minicom #18469: minicom: add a menu file #22314: [Tiago F P Rodrigues <11108496@LIS.ULUSIADA.PT>] Overflows in minic #22321: Overflows in minicom (fwd) -- Miquel van Smoorenburg Tue, 19 May 1998 17:04:38 +0200 minicom (1.75-3) unstable; urgency=low * Libc6 version * Change default port to ttySx * Suggests: lrzsz instead of Recommends: * Remove -8 from rxvt invocation -- Miquel van Smoorenburg Wed, 15 Oct 1997 15:12:59 +0200 minicom (1.75-2) frozen unstable; urgency=medium * Fixed minor security hole (.dialdir got created world readable) * Fix crash in dialing directory * Upgrade to new source format (about time..) * Add extended description -- Miquel van Smoorenburg Mon, 28 Apr 1997 17:19:18 +0200 minicom (unknown) unknown unknown; urgency=unknown * Fixed pre/postinst script. * Switched to my new debian.rules style. -- Miquel van Smoorenburg Sat, 08 Jun 1996 00:00:00 +0000 minicom (1.73) unknown unknown; urgency=unknown * Created minicom 1.73 because of security risk * Added debian control files to upstream package. -- Miquel van Smoorenburg Wed, 18 Jan 1995 00:00:00 +0000 debian/copyright0000644000000000000000000000222111301731430011107 0ustar This package was debianized by Miquel van Smoorenburg . It's currently maintained by Martin A. Godisch and Jordi Mallach . The upstream sources were downloaded from http://alioth.debian.org/projects/minicom/. Copyright (c) 1991-1996 Miquel van Smoorenburg . This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/menu0000644000000000000000000000044611301731430010052 0ustar ?package(minicom):needs="text" section="Applications/Network/Communication" \ title="Minicom" command="/usr/bin/minicom" \ hints="Terminal" ?package(minicom):needs="x11" section="Applications/Network/Communication" \ title="Minicom (X11)" command="/usr/bin/xminicom" \ hints="Terminal" debian/minirc.nullmodem0000644000000000000000000000037311301731430012361 0ustar # Machine-generated file - use "minicom -s" to change parameters. pu port /dev/ttyS0 pu baudrate 9600 pu bits 8 pu parity N pu stopbits 1 pu scriptprog pu minit pu mreset debian/postinst0000644000000000000000000000063411301731430010770 0ustar #!/bin/sh set -e [ "$1" = configure ] || exit 0 umask 022 rm -f /etc/minicom/minirc.*.dpkg-tmp for i in `find /etc/minicom -name 'minirc.*' -type f ! -name '*~'`; do if grep -iq '^pr[[:space:]][[:space:]]*port[[:space:]]' $i; then sed 's/^pr\([[:space:]][[:space:]]*port[[:space:]]\)/pu\1/i' $i > $i.dpkg-tmp mv -fb $i.dpkg-tmp $i fi done if [ -x /usr/bin/update-menus ]; then update-menus fi exit 0 debian/postrm0000644000000000000000000000055511440650646010450 0ustar #!/bin/sh set -e if [ -x /usr/bin/update-menus ]; then update-menus fi if [ "$1" = purge ]; then if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi rm -f /etc/minicom.users* /etc/minicom/minirc.* if ! rmdir /etc/minicom 2> /dev/null; then echo "Cannot remove /etc/minicom, please do it manually." fi fi exit 0 debian/preinst0000644000000000000000000000160411301731430010567 0ustar #!/bin/sh # # This file contains compatibility stuff for upgrades # from minicom < 2.00.0 only. set -e [ "$1" = install ] || [ "$1" = upgrade ] || exit 0 umask 022 if [ -f /etc/minirc.dfl ]; then mkdir -p /etc/minicom if [ -e /etc/minicom/minirc.dfl ]; then mv -fb /etc/minirc.dfl /etc/minicom/minirc.dfl.very-old 2> /dev/null || true else mv -fb /etc/minirc.dfl /etc/minicom 2> /dev/null || true fi fi if [ -f /etc/minicom.users ]; then mkdir -p /etc/minicom if [ -e /etc/minicom/minicom.users ]; then mv -fb /etc/minicom.users /etc/minicom/minicom.users.very-old 2> /dev/null || true else mv -fb /etc/minicom.users /etc/minicom 2> /dev/null || true fi fi # see #120350 if [ -d /usr/share/doc/minicom/examples ]; then chmod 0755 /usr/share/doc/minicom/examples fi rm -f /etc/minicom.noconf \ /etc/minircdfl.moved-by-preinst \ /etc/minicom.users.moved-by-preinst exit 0 debian/rules0000755000000000000000000000672112260751334010257 0ustar #!/usr/bin/make -f # # $Id: rules,v 1.15.2.5 2005/11/05 12:01:25 godisch Exp $ BUILDDIR = debian/minicom DEBDIR = $(BUILDDIR)/DEBIAN DOCDIR = $(BUILDDIR)/usr/share/doc/minicom testdir = test -f src/minicom.c && test -f debian/rules testroot = test x`whoami` = xroot # FOR AUTOCONF 2.52 AND NEWER ONLY ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) CONFFLAGS += --build $(DEB_HOST_GNU_TYPE) else CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) endif CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif export CFLAGS clean: $(testdir) rm -f configure-stamp build-stamp cp -f /usr/share/misc/config.guess /usr/share/misc/config.sub . [ ! -f Makefile ] || $(MAKE) -i distclean rm -rf debian/minicom rm -f debian/files debian/substvars rm -f config.guess config.sub po/*.gmo po/stamp-po configure-stamp: configure $(testdir) cp -f /usr/share/misc/config.guess /usr/share/misc/config.sub . ./configure $(CONFFLAGS) --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc/minicom $(shell dpkg-buildflags --export=configure) touch configure-stamp build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: configure-stamp $(testdir) $(MAKE) touch build-stamp binary: binary-arch binary-indep: binary-arch: build install $(testdir) $(testroot) rm -rf debian/minicom $(MAKE) DESTDIR=$(CURDIR)/debian/minicom install chmod -R go=u-w $(BUILDDIR) ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) cd $(BUILDDIR)/usr/bin && strip -R .comment -R .note ascii-xfr minicom runscript endif install -p -D -m 0644 debian/menu $(BUILDDIR)/usr/share/menu/minicom find $(BUILDDIR)/usr/share/man -type f -print0 | xargs -0 gzip -9 install -d -m 0755 $(BUILDDIR)/etc/minicom $(DOCDIR)/examples $(DOCDIR)/intl $(DOCDIR)/term $(DOCDIR)/todo $(DOCDIR)/tables install -p -m 0644 doc/minirc.dfl extras/*login debian/minirc.nullmodem $(DOCDIR)/examples install -p -m 0644 AUTHORS NEWS debian/copyright debian/README.Debian $(DOCDIR) install -D -p -m 0644 ChangeLog $(DOCDIR)/changelog install -D -p -m 0644 doc/ChangeLog.old $(DOCDIR)/changelog.old install -D -p -m 0644 debian/changelog $(DOCDIR)/changelog.Debian install -p -m 0644 doc/COMPATABILITY.lrzsz doc/fselector.txt doc/HistSearch doc/Macros doc/minicom.FAQ doc/README.lrzsz $(DOCDIR) install -p -m 0644 ABOUT-NLS doc/japanese doc/Locales doc/pl-translation.txt doc/portugues-brasil doc/suomeksi $(DOCDIR)/intl install -p -m 0644 extras/tables/mc.* $(DOCDIR)/tables install -D -m 0644 extras/termcap/README $(DOCDIR)/term/README.termcap install -p -m 0644 extras/termcap/termcap.* $(DOCDIR)/term install -p -D -m 0644 extras/terminfo/README $(DOCDIR)/term/README.terminfo install -p -D -m 0644 extras/terminfo/minicom $(DOCDIR)/term/terminfo install -p -m 0644 TODO doc/TODO* doc/Todo* $(DOCDIR)/todo find $(DOCDIR) -type f \( -size +8 -o -name 'changelog*' \) -print0 | xargs -0 gzip -9 install -d -m 0755 $(DEBDIR) install -p -m 0644 debian/control $(DEBDIR) install -p -m 0755 debian/preinst debian/postinst debian/postrm $(DEBDIR) cd $(BUILDDIR) && find usr -type f -print0 | xargs -0 md5sum > DEBIAN/md5sums chmod 0644 $(DEBDIR)/md5sums dpkg-shlibdeps $(BUILDDIR)/usr/bin/ascii-xfr $(BUILDDIR)/usr/bin/minicom $(BUILDDIR)/usr/bin/runscript dpkg-gencontrol -isp -pminicom -P$(BUILDDIR) dpkg --build $(BUILDDIR) .. .PHONY: clean build build-arch build-indep install binary binary-arch binary-indep debian/watch0000644000000000000000000000012112260752500010210 0ustar version=3 https://alioth.debian.org/frs/?group_id=30018 .*/minicom-(.*)\.tar\.gz debian/source/0000755000000000000000000000000011525444306010472 5ustar debian/source/format0000644000000000000000000000001411442763375011710 0ustar 3.0 (quilt)