Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
$NetBSD: patch-init.d_40vcs-init,v 1.1 2013/05/27 08:36:00 sbd Exp $
Change '/etc' to ${ETCKEEPER_DIR}
--- init.d/40vcs-init.orig 2011-02-22 20:19:36.000000000 +0000
+++ init.d/40vcs-init
@@ -3,15 +3,15 @@ set -e
if [ "$VCS" = git ] && [ ! -e .git ]; then
git init
- echo "$(hostname) /etc repository" > .git/description
+ echo "$(hostname) ${ETCKEEPER_DIR} repository" > .git/description
elif [ "$VCS" = hg ] && [ ! -e .hg ]; then
hg init
echo "[web]" > .hg/hgrc
- echo "description = $(hostname) /etc repository" >> .hg/hgrc
+ echo "description = $(hostname) ${ETCKEEPER_DIR} repository" >> .hg/hgrc
elif [ "$VCS" = bzr ] && [ ! -e .bzr ]; then
bzr init
- bzr nick "$(hostname) /etc repository"
+ bzr nick "$(hostname) ${ETCKEEPER_DIR} repository"
elif [ "$VCS" = darcs ] && [ ! -e _darcs ]; then
darcs initialize
- echo "$(hostname) /etc repository" > _darcs/prefs/motd
+ echo "$(hostname) ${ETCKEEPER_DIR} repository" > _darcs/prefs/motd
fi