sys-apps/setserial-2.17-r2 used /etc/rc.d/config/serial file as source for function setports(), where typically were 'setserial' commands with parameters. in 2.17-r3 configuration moved to /etc/serial.conf (good), but now it allows only arguments for setserial and not stty, which i used to setup some terminal properties (for example rows & cols). it seems to me that serial.conf is right place to configure more options than only port parameters, so i think that serial.conf format should be extended to allow more options. currently, i just added some lines to /etc/init.d/serial, which is not the right way of configuring system. Reproducible: Always Steps to Reproduce: 1.use /etc/rc.d/config/setserial with new ebuild 2. 3. Actual Results: syntax errors Expected Results: configured serial line Portage 2.0.51.22-r3 (hardened/x86, gcc-3.3.6, glibc-2.3.5-r1, 2.4.31-hardened i 686) ================================================================= System uname: 2.4.31-hardened i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 dev-lang/python: 2.2.3-r1, 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.4.3-r1, 1.5.18-r1 virtual/os-headers: 2.4.19-r1, 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" LANG="ru_RU.KOI8-R" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 berkdb cli crypt ctype dba dlloader doc gd gdbm hardened hardenedph p iconv imap innodb jpeg lvm lvm2 maildir mode-owner mysql ncurses nls pam pcre pdo pear perl pic png python readline session simplexml soap ssl tcpd tiff truet ype userlocales x86 xml xml2 xsl zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
only way to extend it without breaking existing support would be to allow a keyword, say 'stty', in the file: <device> <args> stty <device> <args> then the init.d would check to see if device == stty and if so, run stty instead of setserial
In CVS now. Sorry about the 2 year delay.
better late than never ;-)