mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
Lots of changes, the most visible of which is: With the default Makefile settings, most of the programs are now installed outside your $PATH, except for "git", "gitk" and some server side programs that need to be accessible for technical reasons. Invoking a git subcommand as "git-xyzzy" from the command line has been deprecated since early 2006 (and officially announced in 1.5.4 release notes); use of them from your scripts after adding output from "git --exec-path" to the $PATH is still supported in this release, but users are again strongly encouraged to adjust their scripts to use "git xyzzy" form, as we will stop installing "git-xyzzy" hardlinks for built-in commands in later releases. The 1.6.0 Release Notes: http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.6.0.txt The 1.6.0.1 Release Notes: http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.6.0.1.txt
29 lines
472 B
Bash
29 lines
472 B
Bash
#! /bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: git_daemon
|
|
# REQUIRE: DAEMON
|
|
# KEYWORD: shutdown
|
|
|
|
#
|
|
# Add the following lines to /etc/rc.conf to enable git_daemon:
|
|
#
|
|
#git_daemon_enable="YES"
|
|
|
|
. %%RC_SUBR%%
|
|
|
|
name="git_daemon"
|
|
rcvar=`set_rcvar`
|
|
|
|
load_rc_config $name
|
|
|
|
: ${git_daemon_enable:=NO}
|
|
: ${git_daemon_directory:=%%PREFIX%%/git}
|
|
: ${git_daemon_flags:="--syslog"}
|
|
|
|
command="%%PREFIX%%/libexec/git-core/git-daemon"
|
|
command_args="${git_daemon_directory} &"
|
|
|
|
run_rc_command "$1"
|