Hi, This updates stagit from 0.8 to 0.9.1.
Port changes: - Respect system LDFLAGS. - Use the main releases location (2f30 is a mirror). - Remove now unneeded config.mk patch: stagit now checks #ifdef __OpenBSD__ for pledge(2). stagit project changes: - Fix compile for API change in new libgit2 0.28+ (libgit changed giterr_last() to git_error_last()). - Change order of commits in log from most recent to old to applied order. - Improve indication of changes, prefix with letters similar to CVS. - Improve heuristic of file rename changes. - Detect more filenames for README and LICENSE files: .md and COPYING. - Improve stylesheet (CSS). - Minor documentation improvements. Patch below: diff --git a/www/stagit/Makefile b/www/stagit/Makefile index 55f23797597..dc73aad1198 100644 --- a/www/stagit/Makefile +++ b/www/stagit/Makefile @@ -2,11 +2,11 @@ COMMENT = static git page generator -DISTNAME = stagit-0.8 +DISTNAME = stagit-0.9.1 CATEGORIES = www -HOMEPAGE = https://git.2f30.org/stagit/ +HOMEPAGE = https://codemadness.org/ # MIT/X Consortium License PERMIT_PACKAGE_CDROM = Yes @@ -16,13 +16,12 @@ WANTLIB = c git2 LIB_DEPENDS = devel/libgit2/libgit2>=0.22 -MASTER_SITES = https://dl.2f30.org/releases/ +MASTER_SITES = https://codemadness.org/releases/stagit/ MAKE_FLAGS= CC='${CC}' \ - CFLAGS='${CFLAGS}' \ - COMPATOBJ='' \ - GITINC=${LOCALBASE}/include \ - GITLIB=${LOCALBASE}/lib + CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lgit2" \ + COMPATOBJ='' NO_TEST = Yes diff --git a/www/stagit/distinfo b/www/stagit/distinfo index 83181d38808..00a44d5cc0b 100644 --- a/www/stagit/distinfo +++ b/www/stagit/distinfo @@ -1,2 +1,2 @@ -SHA256 (stagit-0.8.tar.gz) = 3w0+/hopdY5BUh1Ku8cSvPv+++uDeUXylRIf9oC8KKY= -SIZE (stagit-0.8.tar.gz) = 17378 +SHA256 (stagit-0.9.1.tar.gz) = hRDMfq5rusctjMYQkuYi0fpxkvGevJrH/lkZIwC/55A= +SIZE (stagit-0.9.1.tar.gz) = 18426 diff --git a/www/stagit/patches/patch-config_mk b/www/stagit/patches/patch-config_mk deleted file mode 100644 index 34fae97ad5a..00000000000 --- a/www/stagit/patches/patch-config_mk +++ /dev/null @@ -1,9 +0,0 @@ -Index: config.mk ---- config.mk.orig -+++ config.mk -@@ -29,4 +29,4 @@ LDFLAGS = -s ${LIBS} - CPPFLAGS = -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE ${INCS} - - # OpenBSD 5.9+: use pledge(2) --#CPPFLAGS = -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE -DUSE_PLEDGE ${INCS} -+CPPFLAGS += -DUSE_PLEDGE diff --git a/www/stagit/pkg/PLIST b/www/stagit/pkg/PLIST index a92f071a033..6ecd7bc1368 100644 --- a/www/stagit/pkg/PLIST +++ b/www/stagit/pkg/PLIST @@ -3,10 +3,10 @@ @bin bin/stagit-index @man man/man1/stagit-index.1 @man man/man1/stagit.1 -share/stagit/ -share/stagit/README -share/stagit/example_create.sh -share/stagit/example_post-receive.sh -share/stagit/favicon.png -share/stagit/logo.png -share/stagit/style.css +share/doc/stagit/ +share/doc/stagit/README +share/doc/stagit/example_create.sh +share/doc/stagit/example_post-receive.sh +share/doc/stagit/favicon.png +share/doc/stagit/logo.png +share/doc/stagit/style.css -- Kind regards, Hiltjo