ttyrec project release version 1.0.8 on 2006-06-11. Enclosed is an ebuild for that release (no any notable changes since 1.0.6 ebuild file)
Created attachment 98262 [details] ebuild file for 1.0.8
ttyrec-1.0.8 does not work on my env. $ ttyrec open(fd, O_RDWR): Bad address
I've experienced the same issue with 1.0.6-r1 on an hardened/amd64 system. Portage 2.1.2.7 (hardened/amd64/multilib, gcc-4.1.1, glibc-2.5-r3, 2.6.16-hardened-r11 x86_64) ================================================================= System uname: 2.6.16-hardened-r11 x86_64 Dual-Core AMD Opteron(tm) Processor 8218 Gentoo Base System release 1.12.9 Timestamp of tree: Mon, 11 Jun 2007 01:47:01 +0000 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo /usr" CXXFLAGS="-march=opteron -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl adns amd64 apache2 async berkdb bzip2 caps chroot cracklib crypt curl ecc extensions fam fuse gcc64 glibc-omitfp hardened hpn idea idn iproute2 ipv6 ithreads jbig jpeg justify kerberos keyscrub ldap mbox midi mpe multilib multiuser ncurses netboot nls no-old-linux nptl nptlonly oav pam pcre perl pic png python readline sqlite sse2 ssl sysfs syslog tcpd threads tiff unicode usb webdav winbind xattr xml xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
This works for hardened/i386, don't have an amd64 hardened one I can test on. Should be simple to hard-mask for the one platform until someone steps up and modifies the original code to work right.
in cvs.