Replace a 644 -> 755 hack and remove in the UPDATING to a better solution by

using 'exec sh foobar' instead 'exec foobar'. The 644 is need for some users
that are using noexec mounted home directory, which the 755 will block them.
Bump the PORTREVISION.

Bugs tracker:	http://tinyurl.com/2lazb6 (sourceforge.net)
Obtained from:	Fluxbox SVN
Submitted by:	Mark Tiefenbruck (Fluxbox developer)
This commit is contained in:
Jeremy Messenger 2007-03-29 19:34:17 +00:00
parent 1b2bb4d396
commit 573a68172f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188780
3 changed files with 10 additions and 14 deletions

View File

@ -38,17 +38,6 @@ upgrades.
linux application is running) and remove from /etc/make.conf the line
containing the OVERRIDE_LINUX_BASE_PORT variable.
20070327:
AFFECTS: users of x11-wm/fluxbox
AUTHOR: mezz@FreeBSD.org
In 1.0rc3, they have changed ~/.fluxbox/startup from 755 to 644 that has
caused not possible to start up your Fluxbox if you remove ~/.fluxbox or
you are a first time user. The solution is to update your Fluxbox to
1.0rc3_1 and do this:
chmod 755 ~/.fluxbox/startup
20070327:
AFFECTS: users of lang/tcl-tk-wrapper, lang/tcl*, x11-toolkits/tk*
AUTHOR: martin@matuska.org

View File

@ -7,7 +7,7 @@
PORTNAME= fluxbox
PORTVERSION= 1.0rc3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -167,8 +167,6 @@ post-patch:
${WRKSRC}/util/fluxbox-generate_menu.in
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
s|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/util/fbsetbg
@${REINPLACE_CMD} -e 's|644|755|g' \
${WRKSRC}/util/startfluxbox.in
.if defined(WITHOUT_NLS)
@${REINPLACE_CMD} -e 's|HAVE_ICONV=yes|HAVE_ICONV=no|g' \
${WRKSRC}/configure

View File

@ -0,0 +1,9 @@
--- util/startfluxbox.in 2006/10/27 07:04:51 4600
+++ util/startfluxbox.in 2007/03/28 02:56:21 4798
@@ -86,5 +86,5 @@
) > "$startup"
fi
chmod 644 "$startup"
- exec "$startup"
+ exec sh "$startup"
fi