7
0
forked from pool/libgit2
Commit Graph

39 Commits

Author SHA256 Message Date
ff9e1dcc63 Accepting request 676231 from home:darix:apps
-  Update to version 0.28.1:
   - The deprecated functions (git_buf_free and the giterr_ family
     of functions) are now exported properly. In the v0.28 release,
     they were not given the correct external attributes and they
     did not have the correct linkage visibility in the v0.28
     library.

OBS-URL: https://build.opensuse.org/request/show/676231
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=75
2019-02-14 20:46:14 +00:00
1e6433acdf Accepting request 674749 from GNOME:Factory
- Update to version 0.28.0:
  * Changes or improvements:
    - The library is now always built with cdecl calling
      conventions on Windows; the ability to build a stdcall
      library has been removed.
    - Reference log creation now honors
      core.logallrefupdates=always.
    - Fix some issues with the error-reporting in the OpenSSL
      backend.
    - HTTP proxy support is now builtin; libcurl is no longer used
      to support proxies and is removed as a dependency.
    - Certificate and credential callbacks can now return
      GIT_PASSTHROUGH to decline to act; libgit2 will behave as if
      there was no callback set in the first place.
    - The line-ending filtering logic - when checking out files -
      has been updated to match newer git (>= git 2.9) for proper
      interoperability.
    - Symbolic links are now supported on Windows when
      core.symlinks is set to true.
    - Submodules with names which attempt to perform path traversal
      now have their configuration ignored. Such names were blindly
      appended to the $GIT_DIR/modules and a malicious name could
      lead to an attacker writing to an arbitrary location. This
      matches git's handling of CVE-2018-11235.
    - Object validation is now performed during tree creation in
      the git_index_write_tree_to API.
    - Configuration variable may now be specified on the same line
      as a section header; previously this was erroneously a parser
      error.
    - When an HTTP server supports both NTLM and Negotiate
      authentication mechanisms, we would previously fail to
      authenticate with any mechanism.
    - The GIT_OPT_SET_PACK_MAX_OBJECTS option can now set the
      maximum number of objects allowed in a packfile being
      downloaded; this can help limit the maximum memory used when
      fetching from an untrusted remote.
    - Line numbers in diffs loaded from patch files were not being
      populated; they are now included in the results.
    - The repository's index is reloaded from disk at the beginning
      of git_merge operations to ensure that it is up-to-date.
    - Mailmap handling APIs have been introduced, and the new
      commit APIs git_commit_committer_with_mailmap and
      git_commit_author_with_mailmap will use the mailmap to
      resolve the committer and author information. In addition,
      blame will use the mailmap given when the
      GIT_BLAME_USE_MAILMAP option.
    - Ignore handling for files in ignored folders would be
      ignored.
    - Worktrees can now be backed by bare repositories.
    - Trailing spaces are supported in .gitignore files, these
      spaces were previously (and erroneously) treated as part of
      the pattern.
    - The library can now be built with mbedTLS support for HTTPS.
    - The diff status character 'T' will now be presented by the
      git_diff_status_char API for diff entries that change type.
    - Revision walks previously would sometimes include commits
      that should have been ignored; this is corrected.
    - Revision walks are now more efficient when the output is
      unsorted; we now avoid walking all the way to the beginning
      of history unnecessarily.
    - Error-handling around index extension loading has been fixed.
      We were previously always misreporting a truncated index.
  * API additions:
    - The index may now be iterated atomically using
      git_index_iterator.
    - Remote objects can now be created with extended options using
      the git_remote_create_with_opts API.
    - Diff objects can now be applied as changes to the working
      directory, index or both, emulating the git apply command.
      Additionally, git_apply_to_tree can apply those changes to a
      tree object as a fully in-memory operation.
    - You can now swap out memory allocators via the
      GIT_OPT_SET_ALLOCATOR option with git_libgit2_opts().
    - You can now ensure that functions do not discard unwritten
      changes to the index via the
      GIT_OPT_ENABLE_UNSAVED_INDEX_SAFETY option to
      git_libgit2_opts(). This will cause functions that implicitly
      re-read the index (eg, git_checkout) to fail if you have
      staged changes to the index but you have not written the
      index to disk. (Unless the checkout has the FORCE flag
      specified.)
    - At present, this defaults to off, but we intend to enable
      this more broadly in the future, as a warning or error. We
      encourage you to examine your code to ensure that you are not
      relying on the current behavior that implicitly removes
      staged changes.
    - Reference specifications can be parsed from an arbitrary
      string with the git_refspec_parse API.
    - You can now get the name and path of worktrees using the
      git_worktree_name and git_worktree_path APIs, respectively.
    - The ref field has been added to git_worktree_add_options to
      enable the creation of a worktree from a pre-existing branch.
    - It's now possible to analyze merge relationships between any
      two references, not just against HEAD, using
      git_merge_analysis_for_ref.
  * API removals:
    - The git_buf_free API is deprecated; it has been renamed to
      git_buf_dispose for consistency. The git_buf_free API will be
      retained for backward compatibility for the foreseeable
      future.
    - The git_otype enumeration and its members are deprecated and
      have been renamed for consistency. The GIT_OBJ_ enumeration
      values are now prefixed with GIT_OBJECT_. The old
      enumerations and macros will be retained for backward
      compatibility for the foreseeable future.
    - Several index-related APIs have been renamed for consistency.
      The GIT_IDXENTRY_ enumeration values and macros have been
      renamed to be prefixed with GIT_INDEX_ENTRY_. The
      GIT_INDEXCAP enumeration values are now prefixed with
      GIT_INDEX_CAPABILITY_. The old enumerations and macros will
      be retained for backward compatibility for the foreseeable
      future.
    - The error functions and enumeration values have been renamed
      for consistency. The giterr_ functions and values prefix have
      been renamed to be prefixed with git_error_; similarly,
      the GITERR_ constants have been renamed to be prefixed with
      GIT_ERROR_. The old enumerations and macros will be retained
      for backward compatibility for the foreseeable future.
  * Breaking API changes:
    - The default checkout strategy changed from DRY_RUN to SAFE.
    - Adding a symlink as .gitmodules into the index from the
      workdir or checking out such files is not allowed as this can
      make a Git implementation write outside of the repository and
      bypass the fsck checks for CVE-2018-11235.
- Bump sover to 28 following upstreams changes.

OBS-URL: https://build.opensuse.org/request/show/674749
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=74
2019-02-14 15:28:32 +00:00
6afb899c36 Accepting request 646487 from home:AndreasStieger:branches:devel:libraries:c_c++
libgit2 0.27.7 bsc#1114729

OBS-URL: https://build.opensuse.org/request/show/646487
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=72
2018-11-07 07:44:06 +00:00
Ismail Dönmez
590b3ba269 Accepting request 640400 from home:AndreasStieger:branches:devel:libraries:c_c++
libgit2 0.27.5 CVE-2018-17456 bsc#1110949

OBS-URL: https://build.opensuse.org/request/show/640400
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=70
2018-10-08 08:26:41 +00:00
b8d8ec6dd4 Accepting request 630722 from home:pluskalm:branches:devel:libraries:c_c++
- Use pkgconfig style of dependencies, refresh dependencies
- Use more of cmake macros

OBS-URL: https://build.opensuse.org/request/show/630722
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=68
2018-08-23 07:42:48 +00:00
Ismail Dönmez
7d981fcdec Accepting request 628948 from home:AndreasStieger:branches:devel:libraries:c_c++
- libgit2 0.27.4:
  * fix out-of-bounds reads when processing smart-protocol "ng" 
    packets (bsc#1104641)

OBS-URL: https://build.opensuse.org/request/show/628948
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=66
2018-08-13 11:37:25 +00:00
0438b86677 Accepting request 621935 from home:AndreasStieger:branches:devel:libraries:c_c++
- libgit2 0.27.3:
  * CVE-2018-10887 (bsc#1100613), CVE-2018-10888 (bsc#1100612):
    Specially crafted delta object in packfiles could trigger an
    integer overflow, bypassing input validation and causing the
    object database to contain copies of system memory. This may
    allow denial of service or, potentially, an information leak
- includes changes from 0.27.2:
  * various API and correctnes fixes
  * Fixes related to handling of .gitmodules
- includes changes from 0.27.1:
  * CVE-2018-11235: insufficient validation of submodule names from
    .gitmodules allowed writes to arbitrary paths (bsc#1095219)
  * disallow .gitmodules files as symlinks.

OBS-URL: https://build.opensuse.org/request/show/621935
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=64
2018-07-11 08:06:48 +00:00
Ismail Dönmez
1509d80c10 Accepting request 600076 from home:darix:apps
- update to 0.27.0:

OBS-URL: https://build.opensuse.org/request/show/600076
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=58
2018-04-23 14:03:11 +00:00
7ad3a9a7e8 Accepting request 586751 from home:kbabioch:branches:devel:libraries:c_c++
- Update to 0.26.3:
  * Fix cloning of the libgit2 project with git clone --recursive by removing an
    invalid submodule from our testing data.
  * Fix endianness of the port in p_getaddrinfo().
  * Fix handling of negative gitignore rules with wildcards.
  * Fix handling of case-insensitive negative gitignore rules.
  * Fix resolving references to a tag if the reference is stored with its fully
    resolved OID in the packed-refs file.
  * Fix checkout not treating worktree files as modified when only their mode has
    changed.
  * Fix rename detection with GIT_DIFF_FIND_RENAMES_FROM_REWRITES.
  * Fixes memory handling issues when reading crafted repository index files.
    The issues allow for possible denial of service due to allocation of large
    memory and out-of-bound reads.
    (CVE-2018-8098 bnc#1085257 CVE-2018-8099 bnc#1085256)
  * Updates the bundled zlib to 1.2.11. Users who build the bundled zlib are
    vulnerable to security issues in the prior version.

OBS-URL: https://build.opensuse.org/request/show/586751
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=56
2018-03-14 18:50:35 +00:00
e89d5b7f7b Accepting request 584453 from GNOME:Factory
- Modernize spec-file by calling spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/584453
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=54
2018-03-08 14:23:24 +00:00
eff9a48461 Accepting request 541248 from home:mimi_vx:branches:devel:libraries:c_c++
- remove unneeded dependency (python is used only for testsuite, which
    isn't used during build)

OBS-URL: https://build.opensuse.org/request/show/541248
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=52
2017-11-13 11:01:23 +00:00
ff8cd721a9 Accepting request 514723 from home:AndreasStieger:branches:devel:libraries:c_c++
libgit2 0.26.0

OBS-URL: https://build.opensuse.org/request/show/514723
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=50
2017-08-08 13:01:24 +00:00
30e879854b Accepting request 459324 from home:AndreasStieger:branches:devel:libraries:c_c++
libgit2 0.25.1

OBS-URL: https://build.opensuse.org/request/show/459324
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=48
2017-02-20 20:36:34 +00:00
ab9a9e2c73 Accepting request 449627 from home:AndreasStieger:branches:devel:libraries:c_c++
libgit2 0.24.6, including the following security fixes:
  * bsc#1019036: edge cases in the Git Smart Protocol can lead to
    attempting to parse outside of the buffer
    CVE-2016-10128,CVE-2016-10129
  * bsc#1019037: MITM possible due to lack of parameter for
    certificate parameter
    CVE-2016-10130,CVE-2017-5338,CVE-2017-5339
- includes changes from 0.24.5:
  * add support for OpenSSL 1.1.0 for BIO filter

OBS-URL: https://build.opensuse.org/request/show/449627
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=46
2017-01-11 10:26:26 +00:00
13f6ea4351 Accepting request 443050 from home:AndreasStieger:branches:devel:libraries:c_c++
- libgit2 0.24.3, fixing the following vulnerabilities:
  * CVE-2016-8568, CVE-2016-8569: invalid memory accesses parsing
    object files (bsc#1003810)
  * various bug fixes from the 0.24.2 release

OBS-URL: https://build.opensuse.org/request/show/443050
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=44
2016-12-01 15:35:01 +00:00
75703d2da4 Accepting request 401925 from GNOME:Factory
1

OBS-URL: https://build.opensuse.org/request/show/401925
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=42
2016-06-14 14:07:03 +00:00
820e526bb4 + various compatible backported bug fixes
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=40
2016-04-21 10:44:02 +00:00
d294c20d8a Accepting request 390859 from home:AndreasStieger:branches:devel:libraries:c_c++
0.24.1

OBS-URL: https://build.opensuse.org/request/show/390859
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=39
2016-04-21 10:43:40 +00:00
Ismail Dönmez
5ab90943db Accepting request 373935 from GNOME:Next
Update to 0.24.0 - Needs to go to staging :G, scheduling with GNOME 3.20

OBS-URL: https://build.opensuse.org/request/show/373935
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=37
2016-03-16 19:07:23 +00:00
Ismail Dönmez
74c3509a8b Accepting request 346856 from home:AndreasStieger:branches:devel:libraries:c_c++
libgit2 0.23.4

OBS-URL: https://build.opensuse.org/request/show/346856
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=35
2015-11-30 17:28:10 +00:00
ca7b574409 Accepting request 336939 from home:AndreasStieger:branches:devel:libraries:c_c++
libgit2 0.23.3

OBS-URL: https://build.opensuse.org/request/show/336939
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=33
2015-10-07 11:31:01 +00:00
2c54abae58 Accepting request 330363 from GNOME:Next
Fix .pc file - makes libgit2-glib build again

OBS-URL: https://build.opensuse.org/request/show/330363
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=30
2015-09-10 16:16:51 +00:00
Ismail Dönmez
b61c4045d7 Accepting request 329591 from home:AndreasStieger:branches:devel:libraries:c_c++
0.23.2, and use system libraries instead of bundled ones

OBS-URL: https://build.opensuse.org/request/show/329591
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=28
2015-09-08 07:31:54 +00:00
Ismail Dönmez
5ac5b4904b Accepting request 328937 from GNOME:Next
Scripted push of project GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/328937
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=27
2015-09-04 11:00:14 +00:00
3352140038 Accepting request 283059 from home:dimstar:branches:GNOME:Factory
update to version 0.22.1

OBS-URL: https://build.opensuse.org/request/show/283059
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=26
2015-01-28 08:23:07 +00:00
701e071286 Accepting request 257260 from home:sumski:hazard:to:your:stereo
Add baselibs.conf, needed for ktexteditor-32bit


please sync to 13.2, tnx!

OBS-URL: https://build.opensuse.org/request/show/257260
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=24
2014-10-17 07:23:19 +00:00
040d3088bf Accepting request 240283 from home:dimstar:branches:GNOME:Factory
Update to 0.21.0 - with SSH support enabled

OBS-URL: https://build.opensuse.org/request/show/240283
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=22
2014-07-10 22:28:36 +00:00
15ecf81f29 Accepting request 222388 from GNOME:Next
- Build libgit2 threadsafe:
  + Pass -DTHREADSAFE:BOOL=ON to cmake call.

OBS-URL: https://build.opensuse.org/request/show/222388
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=20
2014-02-14 20:07:33 +00:00
f737150414 Accepting request 208340 from GNOME:Next
- Update to version 0.20.0:
  + Blame APIs.
  + Filter APIs.
  + Public git_buffer APIs.
  + Merge conflict support in Checkout.
  + Simplified Clone options and git_clone_into.
  + Config iterator APIs and updated Config multivar API.
  + Diff API reorganization and renaming, with Patch API split off.
  + Indexer API renaming and improvements.
  + ODB backend API cleanup.
  + Improves progress callbacks for Packbuilder, Push, Fetch (and
    any other Remote operation).
  + Public Pathspec matching APIs.
  + Reflog API and RefDB Backend API cleanup.
  + Remote API extensions.
  + SSH Transport configuration cleanup.
  + Submodule status improvements.
  + Pluggable Transport APIs.
  + Lots of other small features (e.g. decomposed unicode support on
    MacOS, revwalk simplifying by first parent),
  + Bug fixes (e.g. junction support on Win32, redirect handling
    in HTTP transport) and performance improvements.
  + Lots of new examples (init, status, log, blame, etc.) and
    relicensing of example code under CC0 license.

OBS-URL: https://build.opensuse.org/request/show/208340
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=18
2013-11-26 10:57:15 +00:00
Sascha Peilicke
d76eca75ad Accepting request 182548 from home:dimstar:branches:GNOME:Factory
- Update to version 0.19.0:
  + New (threadsafe) cache for objects.
  + Iterator for Status.
  + New Merge APIs.
  + SSH support on *NIX.
  + Function context on diff.
  + Namespaces support.
  + Index add/update/remove with wildcard support.
  + Iterator for References.
  + Fetch and push refspecs for Remotes.
  + Rename support in Status.
  + New 'sys/` namespace for external headers with low-level APIs.

OBS-URL: https://build.opensuse.org/request/show/182548
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=16
2013-07-09 07:41:34 +00:00
Stephan Kulow
45a6177d20 Accepting request 180690 from home:dimstar:branches:GNOME:Factory
- Update to version 0.18:
Update required for libgit2-glib, a new lib depending on libgit2 and used by gedit-plugins.

OBS-URL: https://build.opensuse.org/request/show/180690
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=14
2013-06-24 08:35:32 +00:00
Ismail Dönmez
e40b40b337 Accepting request 132201 from home:cgiboudeaux:branches:devel:libraries:c_c++
Update to 0.17.0

OBS-URL: https://build.opensuse.org/request/show/132201
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=12
2012-08-31 16:09:32 +00:00
Ismail Dönmez
6e417e601d - Fix license to be GPL-2.0-with-GCC-exception
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=10
2012-05-07 10:12:49 +00:00
Ismail Dönmez
70fff9b8b7 Accepting request 113872 from home:cgiboudeaux:branches:devel:libraries:c_c++
Update to 0.16.0

OBS-URL: https://build.opensuse.org/request/show/113872
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=8
2012-04-16 12:43:18 +00:00
ab1eb54b50 Provide pkgconfig symbols
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=6
2012-01-31 17:13:48 +00:00
Sascha Peilicke
5a4001f725 - Change license to 'GPL-2.0 with linking', fixes bnc#726789
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=4
2011-10-27 09:58:18 +00:00
Sascha Peilicke
ed78cd2d6a - Update to version 0.15.0:
* Upstream doesn't provide changes

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=3
2011-10-26 12:43:26 +00:00
Sascha Peilicke
3a7b29d623 - Update to version 0.15.0
- Removed outdated %clean section

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=2
2011-10-26 12:22:33 +00:00
50efe4f233 Accepting request 58715 from home:saschpe
ok

OBS-URL: https://build.opensuse.org/request/show/58715
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=1
2011-02-02 11:23:07 +00:00