pkgsrc/x11/eterm/Makefile

43 lines
1.2 KiB
Makefile
Raw Normal View History

2021-05-24 21:49:01 +02:00
# $NetBSD: Makefile,v 1.86 2021/05/24 19:55:59 wiz Exp $
DISTNAME= Eterm-0.9.6
PKGNAME= ${DISTNAME:S/^E/e/}
2021-05-24 21:49:01 +02:00
PKGREVISION= 2
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=eterm/}
DISTFILES= ${DEFAULT_DISTFILES} ${PIXMAP_FILES}
PIXMAP_FILES= Eterm-bg-0.9.5.tar.gz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.eterm.org/
COMMENT= Enlightened terminal emulator for the X Window System
LICENSE= mit
2009-09-20 14:51:42 +02:00
USE_TOOLS+= perl:run
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
Update Eterm to 0.9.5. Changes in pkgsrc: * remove patch-ac. It is noted for CVE-2008-1142. but the CVE is for rxvt. CVE-2008-1692 is for Eterm and fixed by this release. * add xim option and enabled by default * enable mult-charset and auto-encoding * replace bg images with currently distributed one. Changes in upsteram: Wed Oct 18 13:35:18 2006 Michael Jennings (mej) Fixed a typo and some logic errors in libscream located by Mike Frysinger <vapier@gentoo.org>. ---------------------------------------------------------------------- Mon Oct 30 16:11:47 2006 Michael Jennings (mej) Patch from Jason McCarver <slam@parasite.cc> to support -S/--sticky option for "sticky" (i.e., present on all desktops) startup. ---------------------------------------------------------------------- Tue Jul 3 20:48:46 2007 Michael Jennings (mej) Remove some cruft from kEsetroot. ---------------------------------------------------------------------- Wed May 14 12:42:51 2008 Michael Jennings (mej) Patch from Kim Woelders <kim@woelders.dk>: There is a race problem with Eterm during startup related to the shell LINES/COLUMNS env vars. If the WM changes the window size (e.g. due to saved settings) before mapping the window, sometimes the shell will set LINES and COLUMNS according to the old/incorrect size and sometimes to the new/correct size, depending on wheter the call to tt_winsize() at command.c line 2322 (by the shell child process) or the tt_resize() (by the Eterm process) due to the ConfigureNotify caused by the resize (or WM ICCCM ConfigureNotify) operation happens first. The call in question was added by Azundris for Escreen. So far Escreen seems to be behaving properly with this patch applied, but all my Eterm windows (Escreen and otherwise) are pre-sized with -g anyway. So I'm going to keep my eye on it for awhile. In case of trouble, change the "#if 0" to "#ifdef ESCREEN" to revert to previous behavior when in Escreen mode. Normal operation should not require the call in question. ---------------------------------------------------------------------- Wed May 14 14:54:16 2008 Michael Jennings (mej) Modified patch from hsim@gmx.li to allow setting of the "Urgent" hint on beep. ---------------------------------------------------------------------- Wed May 14 15:26:13 2008 Michael Jennings (mej) Patch from Emmanuel Anne <emmanuel.anne@gmail.com> to fix cut/paste with KDE applications. ---------------------------------------------------------------------- Wed May 14 16:09:04 2008 Michael Jennings (mej) (Correct) fix for CVE-2008-1692. Eterm no longer defaults to using ":0" for $DISPLAY due to the possibility that an attacker can create a fake X server on a shared system, intercept the Eterm X connection, and send fake keystrokes to the victim's Eterm to execute arbitrary commands as that user. The previous fix, while it did indeed correct the vulnerability, broke the --display option. The original fix from Bernhard Link was more correct, albeit not quite on target.
2009-09-21 09:29:30 +02:00
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
Update Eterm to 0.9.5. Changes in pkgsrc: * remove patch-ac. It is noted for CVE-2008-1142. but the CVE is for rxvt. CVE-2008-1692 is for Eterm and fixed by this release. * add xim option and enabled by default * enable mult-charset and auto-encoding * replace bg images with currently distributed one. Changes in upsteram: Wed Oct 18 13:35:18 2006 Michael Jennings (mej) Fixed a typo and some logic errors in libscream located by Mike Frysinger <vapier@gentoo.org>. ---------------------------------------------------------------------- Mon Oct 30 16:11:47 2006 Michael Jennings (mej) Patch from Jason McCarver <slam@parasite.cc> to support -S/--sticky option for "sticky" (i.e., present on all desktops) startup. ---------------------------------------------------------------------- Tue Jul 3 20:48:46 2007 Michael Jennings (mej) Remove some cruft from kEsetroot. ---------------------------------------------------------------------- Wed May 14 12:42:51 2008 Michael Jennings (mej) Patch from Kim Woelders <kim@woelders.dk>: There is a race problem with Eterm during startup related to the shell LINES/COLUMNS env vars. If the WM changes the window size (e.g. due to saved settings) before mapping the window, sometimes the shell will set LINES and COLUMNS according to the old/incorrect size and sometimes to the new/correct size, depending on wheter the call to tt_winsize() at command.c line 2322 (by the shell child process) or the tt_resize() (by the Eterm process) due to the ConfigureNotify caused by the resize (or WM ICCCM ConfigureNotify) operation happens first. The call in question was added by Azundris for Escreen. So far Escreen seems to be behaving properly with this patch applied, but all my Eterm windows (Escreen and otherwise) are pre-sized with -g anyway. So I'm going to keep my eye on it for awhile. In case of trouble, change the "#if 0" to "#ifdef ESCREEN" to revert to previous behavior when in Escreen mode. Normal operation should not require the call in question. ---------------------------------------------------------------------- Wed May 14 14:54:16 2008 Michael Jennings (mej) Modified patch from hsim@gmx.li to allow setting of the "Urgent" hint on beep. ---------------------------------------------------------------------- Wed May 14 15:26:13 2008 Michael Jennings (mej) Patch from Emmanuel Anne <emmanuel.anne@gmail.com> to fix cut/paste with KDE applications. ---------------------------------------------------------------------- Wed May 14 16:09:04 2008 Michael Jennings (mej) (Correct) fix for CVE-2008-1692. Eterm no longer defaults to using ":0" for $DISPLAY due to the possibility that an attacker can create a fake X server on a shared system, intercept the Eterm X connection, and send fake keystrokes to the victim's Eterm to execute arbitrary commands as that user. The previous fix, while it did indeed correct the vulnerability, broke the --display option. The original fix from Bernhard Link was more correct, albeit not quite on target.
2009-09-21 09:29:30 +02:00
CONFIGURE_ARGS+= --enable-multi-charset=unicode
CONFIGURE_ARGS+= --enable-auto-encoding
CONFIGURE_ARGS+= --enable-trans
CONFIGURE_ARGS+= --disable-utmp
PKG_SYSCONFSUBDIR= Eterm
OWN_DIRS= ${PKG_SYSCONFDIR}/themes
EXTRACT_DIR.${PIXMAP_FILES}= ${WRKSRC}
2005-06-01 21:44:07 +02:00
.include "options.mk"
2004-02-11 07:12:20 +01:00
.include "../../devel/libast/buildlink3.mk"
.include "../../graphics/imlib2/buildlink3.mk"
.include "../../x11/libICE/buildlink3.mk"
2007-01-14 12:07:34 +01:00
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXres/buildlink3.mk"
2019-09-09 11:58:40 +02:00
.include "../../x11/libXt/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.prefs.mk"
BUILDLINK_DEPMETHOD.iconv?= build
.include "../../mk/bsd.pkg.mk"