Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Dec 2011 17:29:40 GMT
From:      Matthias Fechner <idefix@fechner.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163167: port devel/git does not install scripts with executable bit
Message-ID:  <201112101729.pBAHTeJZ062522@red.freebsd.org>
Resent-Message-ID: <201112101730.pBAHUBwi053136@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163167
>Category:       ports
>Synopsis:       port devel/git does not install scripts with executable bit
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 10 17:30:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Fechner
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD server.idefix.lan 8.2-STABLE FreeBSD 8.2-STABLE #6: Fri Sep 30 21:57:23 CEST 2011     root@server.idefix.lan:/usr/obj/usr/src/sys/SERVER2_I4B  amd64
>Description:
If git is installed with the option contrib modules a script to send email if someone pushes changes to the repository is installed:
/usr/local/share/git-core/contrib/hooks/post-receive-email

This script has no executable bit that causes after every update of git problems with the hook. The file:
/usr/ports/devel/git/work/git-1.7.8/contrib/hooks/post-receive-email

has the executable permisson flag.
So it seems to be removed on the install step of ports.
>How-To-Repeat:
Install devel/git with contrib option enabled.
>Fix:
Install the contrib module without removing the executable bit.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112101729.pBAHTeJZ062522>