[-]
[+]
|
Deleted |
git.spec
|
@@ -1,1636 +0,0 @@
-#
-# spec file for package git
-#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
-
-%define gitexecdir %_libexecdir/git
-%define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services
-
-Name: git
-BuildRequires: asciidoc
-BuildRequires: curl
-BuildRequires: fdupes
-BuildRequires: libcurl-devel
-BuildRequires: libexpat-devel
-BuildRequires: libopenssl-devel
-BuildRequires: perl-Error
-BuildRequires: python
-BuildRequires: sgml-skel
-BuildRequires: xmlto
-Version: 1.8.1.1
-Release: 1.1
-Summary: Fast, scalable, distributed revision control system
-License: GPL-2.0
-Group: Development/Tools/Version Control
-Url: http://git-scm.com
-Source0: http://git-core.googlecode.com/files/%name-%{version}.tar.gz
-Source1: apache2-gitweb.conf
-Source2: sysconfig.git-daemon
-Source3: git-daemon.init
-Source4: git.xinetd
-Source5: usr.share.git-web.gitweb.cgi
-Source6: susefirewall-git-daemon
-Patch2: git-python-install-fix.diff
-Patch3: completion-wordbreaks.diff
-# CVE-2011-2186, bnc#698456
-Patch4: git-prevent_xss-default.diff
-# fix broken bash copmletion with colored egrep (bnc#779536)
-Patch5: git-bash-completion-egrep-color-fix.diff
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Requires: git-core = %{version}
-Recommends: git-svn git-cvs git-email gitk git-gui git-web
-Suggests: git-daemon
-
-%description
-Git is a fast, scalable, distributed revision control system with an
-unusually rich command set that provides both high-level operations and
-full access to internals.
-
-This package itself only provides the README of git but with the
-packages it requires, it brings you a complete Git environment
-including GTK and email interfaces and tools for importing source code
-repositories from other revision control systems such as subversion,
-CVS, and GNU arch.
-
-%package core
-Summary: Core git tools
-Group: Development/Tools/Version Control
-Requires: less
-Requires: openssh
-Requires: perl-Error
-Requires: perl-base = %{perl_version}
-Requires: rsync
-
-%description core
-Git is a fast, scalable, distributed revision control system with an
-unusually rich command set that provides both high-level operations and
-full access to internals.
-
-These are the core tools with minimal dependencies.
-
-%package svn
-Summary: Git tools for importing Subversion repositories
-Group: Development/Tools/Version Control
-Requires: git-core = %{version}
-Requires: subversion
-Requires: subversion-perl
-
-%description svn
-Tools for importing Subversion repositories to the Git version control
-system.
-
-%package cvs
-Summary: Git tools for importing CVS repositories
-Group: Development/Tools/Version Control
-Requires: cvs
-Requires: cvsps
-Requires: git-core = %{version}
-Requires: perl-DBD-SQLite
-
-%description cvs
-Tools for importing CVS repositories to the Git version control system.
-
-%package arch
-Summary: Git tools for importing Arch repositories
-Group: Development/Tools/Version Control
-Requires: git-core = %{version}
-# Requires: tla
-
-%description arch
-Tools for importing GNU Arch repositories to the GIT version control
-system.
-
-%package email
-Summary: Git tools for sending email
-Group: Development/Tools/Version Control
-Requires: git-core = %{version}
-# For sending mails over secure SMTP:
-Recommends: perl-Net-SMTP-SSL, perl-Authen-SASL
-
-%description email
-Email interface for the GIT version control system.
-
-%package daemon
-Summary: Simple Server for Git Repositories
-Group: Development/Tools/Version Control
-Requires: git-core = %{version}
-PreReq: /usr/sbin/useradd %fillup_prereq %insserv_prereq
-
-%description daemon
-A really simple TCP git daemon. In the default configuration it allows
-read only access to repositories in /srv/git/ that contain the
-'git-daemon-export-ok' file.
-%package -n gitk
-Summary: Git revision tree visualiser
-Group: Development/Tools/Version Control
-Requires: git-core = %{version}
-Requires: tk >= 8.4
-Supplements: packageand(git-core:tk)
-
-%description -n gitk
-Grapical tool for visualization of revision trees of projects
-maintained in the Git version control system. It name gitk indicates
-that it's written using the Tk Widget set.
-
-A simple Tk based graphical interface for common Git operations is
-found in the package git-gui.
-
-%package gui
-Summary: Grapical tool for common git operations
-Group: Development/Tools/Version Control
-Requires: git-core = %{version}
-Requires: tk >= 8.4
-Supplements: packageand(git-core:tk)
-
-%description gui
-A Tcl/Tk based graphical user interface to Git. git-gui focuses on
-allowing users to make changes to their repository by making new
-commits, amending existing ones, creating branches, performing local
-merges, and fetching/pushing to remote repositories.
-
-Unlike gitk, git-gui focuses on commit generation and single file
-annotation, and does not show project history. It does however supply
-menu actions to start a gitk session from within git-gui.
-
-%package web
-Summary: Git Web Interface
-Group: Development/Tools/Version Control
-Requires: git-core = %{version}
-Supplements: packageand(git-core:apache2)
-
-%description web
-CGI script that allows browsing git repositories via web interface.
-
-The apache2 configuration contained in this package installs a virtual
-directory /git/ that calls the cgi script.
-
-%package remote-helpers
-Summary: Python package for remote helper scripts
-Group: Development/Tools/Version Control
-Requires: git-core = %{version}
-Requires: python
-
-%description remote-helpers
-This package contains the building blocks for remote helpers written in Python.
-
-%prep
-%setup -q
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-
-%build
-cat > .make <<'EOF'
-#!/bin/bash
-make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
|
[-]
[+]
|
Deleted |
completion-wordbreaks.diff
^
|
@@ -1,23 +0,0 @@
----
- contrib/completion/git-completion.bash | 10 ++++++----
- 1 file changed, 6 insertions(+), 4 deletions(-)
-
---- a/contrib/completion/git-completion.bash
-+++ b/contrib/completion/git-completion.bash
-@@ -23,10 +23,12 @@
- # 3) Consider changing your PS1 to also show the current branch,
- # see git-prompt.sh for details.
-
--case "$COMP_WORDBREAKS" in
--*:*) : great ;;
--*) COMP_WORDBREAKS="$COMP_WORDBREAKS:"
--esac
-+# SUSE-specific: We trust the system is consistent and do not let individual
-+# scripts play ping-pong with the global $COMP_WORDBREAKS value.
-+#case "$COMP_WORDBREAKS" in
-+#*:*) : great ;;
-+#*) COMP_WORDBREAKS="$COMP_WORDBREAKS:"
-+#esac
-
- # __gitdir accepts 0 or 1 arguments (i.e., location)
- # returns location of .git repo
|
[-]
[+]
|
Deleted |
git-bash-completion-egrep-color-fix.diff
^
|
@@ -1,15 +0,0 @@
----
- contrib/completion/git-completion.bash | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/contrib/completion/git-completion.bash
-+++ b/contrib/completion/git-completion.bash
-@@ -815,7 +815,7 @@ __git_complete_strategy ()
- __git_list_all_commands ()
- {
- local i IFS=" "$'\n'
-- for i in $(git help -a|egrep '^ [a-zA-Z0-9]')
-+ for i in $(git help -a|egrep --color=never '^ [a-zA-Z0-9]')
- do
- case $i in
- *--*) : helper pattern;;
|
[-]
[+]
|
Deleted |
git-prevent_xss-default.diff
^
|
@@ -1,38 +0,0 @@
-From: Jakub Narebski <jnareb@...il.com>
-Subject: [PATCH] gitweb: Enable $prevent_xss by default
-
-This fixes issue CVE-2011-2186 originally reported in
-https://launchpad.net/bugs/777804
-
-Reported-by: dave b <db.pub.mail@...il.com>
-Signed-off-by: Jakub Narebski <jnareb@...il.com>
----
- git-instaweb.sh | 4 ++++
- gitweb/README | 5 +++--
- gitweb/gitweb.perl | 2 +-
- 3 files changed, 8 insertions(+), 3 deletions(-)
-
---- a/git-instaweb.sh
-+++ b/git-instaweb.sh
-@@ -583,6 +583,10 @@
- our \$git_temp = "$fqgitdir/gitweb/tmp";
- our \$projects_list = \$projectroot;
-
-+# we can trust our own repository, so disable XSS prevention
-+# to enable some extra features
-+our \$prevent_xss = 0;
-+
- \$feature{'remote_heads'}{'default'} = [1];
- EOF
- }
---- a/gitweb/gitweb.perl
-+++ b/gitweb/gitweb.perl
-@@ -170,7 +170,7 @@
-
- # Disables features that would allow repository owners to inject script into
- # the gitweb domain.
--our $prevent_xss = 0;
-+our $prevent_xss = 1;
-
- # Path to the highlight executable to use (must be the one from
- # http://www.andre-simon.de due to assumptions about parameters and output).
|
[-]
[+]
|
Deleted |
git-python-install-fix.diff
^
|
@@ -1,27 +0,0 @@
----
- Makefile | 2 +-
- git_remote_helpers/Makefile | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
---- a/git_remote_helpers/Makefile
-+++ b/git_remote_helpers/Makefile
-@@ -29,7 +29,7 @@
- $(QUIET)$(PYTHON_PATH) $(pysetupfile) $(QUIETSETUP) build
-
- install: $(pysetupfile)
-- $(PYTHON_PATH) $(pysetupfile) install --prefix $(DESTDIR_SQ)$(prefix)
-+ $(PYTHON_PATH) $(pysetupfile) install --prefix $(prefix) --root $(DESTDIR_SQ)
-
- instlibdir: $(pysetupfile)
- @echo "$(DESTDIR_SQ)$(prefix)/$(PYLIBDIR)"
---- a/Makefile
-+++ b/Makefile
-@@ -1800,7 +1800,7 @@
- $(patsubst %.py,%,$(SCRIPT_PYTHON)): % : %.py
- $(QUIET_GEN)$(RM) $@ $@+ && \
- INSTLIBDIR=`MAKEFLAGS= $(MAKE) -C git_remote_helpers -s \
-- --no-print-directory prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' \
-+ --no-print-directory prefix='$(prefix_SQ)' DESTDIR=\
- instlibdir` && \
- sed -e '1s|#!.*python|#!$(PYTHON_PATH_SQ)|' \
- -e 's|\(os\.getenv("GITPYTHONLIB"\)[^)]*)|\1,"@@INSTLIBDIR@@")|' \
|
[-]
[+]
|
Deleted |
apache2-gitweb.conf
^
|
@@ -1,10 +0,0 @@
-Alias /git "/usr/share/gitweb/"
-
-<Directory "/usr/share/gitweb">
- Options ExecCGI
- AllowOverride None
- AddHandler cgi-script .cgi
- DirectoryIndex gitweb.cgi
- Order allow,deny
- Allow from all
-</Directory>
|
|
Deleted |
git-1.8.1.1.tar.gz
^
|
[-]
[+]
|
Deleted |
git-daemon.init
^
|
@@ -1,133 +0,0 @@
-#!/bin/sh
-#
-# SUSE system startup script for git-daemon
-# Copyright (C) 1995-2008 SUSE / Novell Inc.
-#
-# This library is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or (at
-# your option) any later version.
-#
-# This library is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307,
-# USA.
-#
-# /etc/init.d/git-daemon
-# and its symbolic link
-# /usr/sbin/rcgit-daemon
-#
-### BEGIN INIT INFO
-# Provides: git-daemon
-# Required-Start: $syslog $remote_fs $network
-# Required-Stop: $syslog $remote_fs
-# Default-Start: 3 5
-# Default-Stop: 0 1 2 6
-# Short-Description: server for git repositories
-# Description: server for git repositories
-### END INIT INFO
-
-if test -x /usr/lib64/git/git-daemon; then
- git_daemon=/usr/lib64/git/git-daemon
-elif test -x /usr/lib/git/git-daemon; then
- git_daemon=/usr/lib/git/git-daemon
-else
- echo "git-daemon not installed"
- if [ "$1" = "stop" ]; then
- exit 0
- else
- exit 5
- fi
-fi
-
-pidfile=/var/run/git-daemon.pid
-
-# Check for existence of needed config file and read it
-git_daemon_config=/etc/sysconfig/git-daemon
-test -r $git_daemon_config || { echo "$git_daemon_config not existing";
- if [ "$1" = "stop" ]; then exit 0;
- else exit 6; fi; }
-
-# Read config
-. $git_daemon_config
-
-: ${GIT_DAEMON_BASE_PATH:=/srv/git}
-
-: ${GIT_DAEMON_USER:=git-daemon}
-: ${GIT_DAEMON_GROUP:=nogroup}
-
-. /etc/rc.status
-
-# Reset status of this service
-rc_reset
-
-case "$1" in
- start)
- echo -n "Starting git-daemon "
- /sbin/startproc -p $pidfile $git_daemon \
- --syslog \
- --detach \
- --reuseaddr \
- --user=${GIT_DAEMON_USER} \
- --group=${GIT_DAEMON_GROUP} \
- --pid-file=$pidfile \
- --base-path="$GIT_DAEMON_BASE_PATH" \
- $GIT_DAEMON_ARGS
-
- rc_status -v
- ;;
- stop)
- echo -n "Shutting down git-daemon "
- /sbin/killproc -p $pidfile $git_daemon -TERM
- rc_status -v
- ;;
- try-restart|condrestart)
- if test "$1" = "condrestart"; then
- echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}"
- fi
- $0 status
- if test $? = 0; then
- $0 restart
- else
- rc_reset # Not running is not a failure.
- fi
- rc_status
- ;;
- restart)
- ## Stop the service and regardless of whether it was
- ## running or not, start it again.
- $0 stop
- $0 start
-
- # Remember status and be quiet
- rc_status
- ;;
- force-reload)
- $0 try-restart
- rc_status
- ;;
- reload)
- echo -n "Reload service git-daemon "
- ## does not support reload
- rc_failed 3
- rc_status -v
- ;;
- status)
- echo -n "Checking for service git-daemon "
- /sbin/checkproc -p $pidfile $git_daemon
- rc_status -v
- ;;
- probe)
- test $git_daemon_config -nt $pidfile && echo reload
- ;;
- *)
- echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe}"
- exit 1
- ;;
-esac
-rc_exit
|
[-]
[+]
|
Deleted |
git.xinetd
^
|
@@ -1,16 +0,0 @@
-# default: off
-# description: The git server offers access to git repositories
-service git
-{
- disable = yes
- socket_type = stream
- protocol = tcp
- wait = no
- user = git-daemon
- group = nogroup
- server = /usr/bin/git
- server_args = daemon --syslog --inetd --base-path=/srv/git
- type = UNLISTED
- port = 9418
- log_on_failure += USERID
-}
|
[-]
[+]
|
Deleted |
susefirewall-git-daemon
^
|
@@ -1,4 +0,0 @@
-## Name: git-daemon
-## Description: Open ports for git-daemon
-
-TCP="git"
|
[-]
[+]
|
Deleted |
sysconfig.git-daemon
^
|
@@ -1,34 +0,0 @@
-## Path: Network/git-daemon
-## Description: git daemon configuration
-## ServiceRestart: git-daemon
-
-## Type: string
-## Default:
-#
-# base path for exported directories
-#
-# defaults to "/srv/git" if not set
-#
-GIT_DAEMON_BASE_PATH=""
-
-## Type: string
-## Default:
-#
-# additional arguments for git-daemon. See manual page
-GIT_DAEMON_ARGS=""
-
-## Type: string
-## Default:
-#
-# defaults to "git-daemon" if not set
-#
-# User to run git-daemon as.
-GIT_DAEMON_USER=""
-
-## Type: string
-## Default:
-#
-# defaults to "nogroup" if not set
-#
-# Group to run git-daemon as.
-GIT_DAEMON_GROUP=""
|
[-]
[+]
|
Deleted |
usr.share.git-web.gitweb.cgi
^
|
@@ -1,23 +0,0 @@
-# Last Modified: Fri Dec 19 11:03:49 2008
-#include <tunables/global>
-
-/usr/share/gitweb/gitweb.cgi {
- #include <abstractions/base>
- #include <abstractions/bash>
- #include <abstractions/nameservice>
- #include <abstractions/perl>
-
- /bin/bash rix,
- /dev/tty rw,
- /etc/gitweb.conf r,
- /etc/mime.types r,
- /proc/meminfo r,
- /proc/sys/kernel/ngroups_max r,
- /srv/git/ r,
- /srv/git/** r,
- /usr/bin/perl ix,
- /usr/lib/git/git rix,
- /usr/bin/git-receive-pack rix,
- /usr/share/gitweb/* r,
- /usr/share/gitweb/static/* r,
-}
|