FreeBSD Bugzilla – Bug 163167
port devel/git does not install scripts with executable bit
Last modified: 2011-12-18 16:20:09 UTC
If git is installed with the option contrib modules a script to send email if someone pushes changes to the repository is installed:
This script has no executable bit that causes after every update of git problems with the hook. The file:
has the executable permisson flag.
So it seems to be removed on the install step of ports.
Install the contrib module without removing the executable bit.
How-To-Repeat: Install devel/git with contrib option enabled.
Over to maintainer (via the GNATS Auto Assign Tool)
wxs 2011-12-18 16:17:32 UTC
FreeBSD ports repository
devel/git Makefile pkg-plist
Switch to installing contrib files using COPYTREE_BIN instead of
COPYTREE_SHARE. The documentation in the hooks says you should set
executable permissions on the hook before setting it up in a repository,
but if you update git the permissions get reset. Just install the entire
contrib directory with executable bit set.
What we really need is a "COPYTREE_ASIS" that just leaves the permissions as
Note I am intentionally not bumping PORTREVISION as this is a minor change
and this port gets updated fairly regularly.
Submitted by: Matthias Fechner <email@example.com>
Revision Changes Path
1.122 +1 -1 ports/devel/git/Makefile
1.87 +2 -2 ports/devel/git/pkg-plist
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"
Committed. You will have to manually rebuild and reinstall git to get
this change or wait until the next significant update. Thanks!