Package: git-core Version: 1:1.5.1.1-1 Severity: normal Tags: patch Git attempts to read system-wide configuration information from /usr/etc/gitconfig, rather than /etc/gitconfig. This occurs because ETC_GITCONFIG in the Makefile defaults to $(prefix)/etc/gitconfig , and debian/rules sets prefix=/usr but does not set ETC_GITCONFIG. The attached patch explicitly sets ETC_GITCONFIG=/etc/gitconfig.
Also, INSTALLDIRS=vendor no longer has any effect on the build system, and neither "INSTALLDIRS" nor "vendor" appears anywhere other than debian/rules and the RPM spec files. The attached patch removes INSTALLDIRS=vendor. - Josh Triplett -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.21-rc2test (PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages git-core depends on: ii libc6 2.5-2 GNU C Library: Shared libraries ii libcurl3-gnutls 7.15.5-1 Multi-protocol file transfer libra ii libdigest-sha1-perl 2.11-2 NIST SHA-1 message digest algorith ii liberror-perl 0.15-8 Perl module for error/exception ha ii libexpat1 1.95.8-3.4 XML parsing C library - runtime li ii perl-modules 5.8.8-7 Core Perl modules ii zlib1g 1:1.2.3-13 compression library - runtime Versions of packages git-core recommends: ii curl 7.15.5-1 Get a file from an HTTP, HTTPS, FT ii git-doc 1:1.5.1.1-1 fast, scalable, distributed revisi ii less 394-4 Pager program similar to more ii openssh-client [ssh-client] 1:4.3p2-10 Secure shell client, an rlogin/rsh ii patch 2.5.9-4 Apply a diff file to an original ii rsync 2.6.9-3 fast remote file copy program (lik -- no debconf information
diff -Naur git-core-1.5.1.1.orig/debian/rules git-core-1.5.1.1/debian/rules --- git-core-1.5.1.1.orig/debian/rules 2007-04-23 17:33:29.000000000 -0700 +++ git-core-1.5.1.1/debian/rules 2007-04-23 18:01:55.000000000 -0700 @@ -6,7 +6,7 @@ CFLAGS =-g -Wall STRIP =strip OPTS =NO_OPENSSL=1 GITWEB_CONFIG=/etc/gitweb.conf prefix=/usr \ - mandir=/usr/share/man INSTALLDIRS=vendor + mandir=/usr/share/man ETC_GITCONFIG=/etc/gitconfig ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) STRIP =: strip