- update to 0.17.0

This commit is contained in:
jasper 2012-08-12 17:19:47 +00:00
parent 112dc86963
commit bbe828fed3
4 changed files with 31 additions and 29 deletions

View File

@ -1,16 +1,16 @@
# $OpenBSD: Makefile,v 1.3 2011/08/28 16:59:22 naddy Exp $
# $OpenBSD: Makefile,v 1.4 2012/08/12 17:19:47 jasper Exp $
COMMENT= the Git library, take 2
DISTNAME= libgit2-0.14.0
REVISION= 0
SHARED_LIBS += git2 1.0 # 0.14
DISTNAME= libgit2-0.17.0
SHARED_LIBS += git2 2.0 # 0.17
MODULES= devel/cmake
MASTER_SITES= https://github.com/downloads/libgit2/libgit2/
WANTLIB+= z
do-regress:
cd ${WRKSRC} && ./libgit2_test
NO_REGRESS= Yes
.include <bsd.port.mk>

View File

@ -1,5 +1,2 @@
MD5 (libgit/libgit2-0.14.0.tar.gz) = suTXzW21l0ISO2fn1gmQGw==
RMD160 (libgit/libgit2-0.14.0.tar.gz) = LNjwH5IPUfuyGAsrddjh8NnrSYU=
SHA1 (libgit/libgit2-0.14.0.tar.gz) = Vz/dlk+iNCoucgWqrPmIC1NByhM=
SHA256 (libgit/libgit2-0.14.0.tar.gz) = a8H6eCueb7V6Muf+AWTRmawNu8mtLUaj6QqR/QgYGwo=
SIZE (libgit/libgit2-0.14.0.tar.gz) = 912776
SHA256 (libgit/libgit2-0.17.0.tar.gz) = Bo7tC4/oUqfMVarkbSKZ6cnj4AutwcKT1yqd0SIiYBg=
SIZE (libgit/libgit2-0.17.0.tar.gz) = 2096159

View File

@ -1,21 +1,16 @@
$OpenBSD: patch-CMakeLists_txt,v 1.3 2011/08/28 16:59:22 naddy Exp $
$OpenBSD: patch-CMakeLists_txt,v 1.4 2012/08/12 17:19:47 jasper Exp $
Don't clobber CFLAGS.
-Wextra is not available with gcc < 4.
--- CMakeLists.txt.orig Thu Jul 14 03:26:08 2011
+++ CMakeLists.txt Sun Aug 28 18:43:17 2011
@@ -53,12 +53,10 @@ IF (MSVC)
SET(CMAKE_C_FLAGS_DEBUG "/Od /DEBUG /MTd")
SET(CMAKE_C_FLAGS_RELEASE "/MT /O2")
--- CMakeLists.txt.orig Mon Jul 23 09:41:36 2012
+++ CMakeLists.txt Mon Jul 23 09:42:22 2012
@@ -70,7 +70,7 @@ IF (MSVC)
# Precompiled headers
ELSE ()
- SET(CMAKE_C_FLAGS "-Wall -Wextra")
+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
- SET(CMAKE_C_FLAGS "-O2 -g -D_GNU_SOURCE -fvisibility=hidden -Wall -Wextra -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wmissing-prototypes ${CMAKE_C_FLAGS}")
+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -g -D_GNU_SOURCE -fvisibility=hidden -Wall -Wno-missing-field-initializers -Wstrict-aliasing=2 -Wstrict-prototypes -Wmissing-prototypes ${CMAKE_C_FLAGS}")
SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
IF (NOT MINGW) # MinGW always does PIC and complains if we tell it to
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
ENDIF ()
- SET(CMAKE_C_FLAGS_DEBUG "-g -O0")
- SET(CMAKE_C_FLAGS_RELEASE "-O2")
ENDIF()
# Build Debug by default

View File

@ -1,14 +1,20 @@
@comment $OpenBSD: PLIST,v 1.2 2011/08/25 07:11:20 jasper Exp $
@comment $OpenBSD: PLIST,v 1.3 2012/08/12 17:19:47 jasper Exp $
include/git2/
include/git2.h
include/git2/attr.h
include/git2/blob.h
include/git2/branch.h
include/git2/commit.h
include/git2/common.h
include/git2/config.h
include/git2/diff.h
include/git2/errors.h
include/git2/index.h
include/git2/indexer.h
include/git2/inttypes.h
include/git2/merge.h
include/git2/net.h
include/git2/notes.h
include/git2/object.h
include/git2/odb.h
include/git2/odb_backend.h
@ -21,10 +27,14 @@ include/git2/repository.h
include/git2/revwalk.h
include/git2/signature.h
include/git2/status.h
include/git2/stdint.h
include/git2/submodule.h
include/git2/tag.h
include/git2/thread-utils.h
include/git2/transport.h
include/git2/threads.h
include/git2/tree.h
include/git2/types.h
include/git2/zlib.h
include/git2/version.h
include/git2/windows.h
@lib lib/libgit2.so.${LIBgit2_VERSION}
lib/pkgconfig/
lib/pkgconfig/libgit2.pc