mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
- Fix a nasty bug where PREFIX/bin could get chmod'ed to 700
Reported by: pointyhat via kris Submitted by: Craig Edwards <brain@inspircd.org> (maintainer, based on) Pointy hat to: sat
This commit is contained in:
parent
00a806a2f3
commit
71b0a9d1a8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193424
@ -29,6 +29,10 @@ CONFIGURE_ARGS= --with-cc=${CXX} --config-dir=${PREFIX}/etc/inspircd \
|
||||
--prefix=${PREFIX}/inspircd --binary-dir=${PREFIX}/bin \
|
||||
--enable-remote-ipv6 --disable-interactive
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/INSTMODE/s|700|755|;/install -d.*BINPATH/d'\
|
||||
${WRKSRC}/.Makefile.inc
|
||||
|
||||
# 1.0.6 Makefile forgets to make these directories
|
||||
# during install. We make these ourselves. This may
|
||||
# be fixed in a later version of InspIRCd.
|
||||
@ -42,6 +46,5 @@ post-install:
|
||||
@${STRIP_CMD} ${PREFIX}/lib/inspircd/modules/*.so
|
||||
@${STRIP_CMD} ${PREFIX}/lib/inspircd/*.so
|
||||
@${STRIP_CMD} ${PREFIX}/bin/inspircd
|
||||
@${CHMOD} -R a+rX ${PREFIX}/bin/inspircd ${PREFIX}/inspircd/ ${PREFIX}/lib/inspircd/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user