pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import stagit 0.8 as wip/stagit.



Module Name:	pkgsrc-wip
Committed By:	Frederic Cambus <fred%statdns.com@localhost>
Pushed By:	fcambus
Date:		Mon Jan 28 15:07:49 2019 +0100
Changeset:	5fc9cdd0a049c37c09b2a60f0a2ddeb164642b9f

Added Files:
	stagit/DESCR
	stagit/Makefile
	stagit/PLIST
	stagit/distinfo
	stagit/patches/patch-config.mk

Log Message:
Import stagit 0.8 as wip/stagit.

stagit generates HTML pages for a Git repository, and supports the following
features:

- Log of all commits from HEAD.
- Log and diffstat per commit.
- Show file tree with linkable line numbers.
- Show references: local branches and tags.
- Detect README and LICENSE file from HEAD and link it as a webpage.
- Detect submodules (.gitmodules file) from HEAD and link it as a webpage.
- Atom feed log (atom.xml).
- Make index page for multiple repositories with stagit-index.
- After generating the pages (relatively slow) serving the files is very fast,
  simple and requires little resources (because the content is static), only
  a HTTP file server is required.
- Usable with text-browsers such as dillo, links, lynx and w3m.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5fc9cdd0a049c37c09b2a60f0a2ddeb164642b9f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 stagit/DESCR                   | 15 +++++++++++++++
 stagit/Makefile                | 17 +++++++++++++++++
 stagit/PLIST                   | 11 +++++++++++
 stagit/distinfo                |  7 +++++++
 stagit/patches/patch-config.mk | 15 +++++++++++++++
 5 files changed, 65 insertions(+)

diffs:
diff --git a/stagit/DESCR b/stagit/DESCR
new file mode 100644
index 0000000000..1305b208af
--- /dev/null
+++ b/stagit/DESCR
@@ -0,0 +1,15 @@
+stagit generates HTML pages for a Git repository, and supports the following
+features:
+
+- Log of all commits from HEAD.
+- Log and diffstat per commit.
+- Show file tree with linkable line numbers.
+- Show references: local branches and tags.
+- Detect README and LICENSE file from HEAD and link it as a webpage.
+- Detect submodules (.gitmodules file) from HEAD and link it as a webpage.
+- Atom feed log (atom.xml).
+- Make index page for multiple repositories with stagit-index.
+- After generating the pages (relatively slow) serving the files is very fast,
+  simple and requires little resources (because the content is static), only
+  a HTTP file server is required.
+- Usable with text-browsers such as dillo, links, lynx and w3m.
diff --git a/stagit/Makefile b/stagit/Makefile
new file mode 100644
index 0000000000..1b4abad84f
--- /dev/null
+++ b/stagit/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+DISTNAME=	stagit-0.8
+CATEGORIES=	www
+MASTER_SITES=	https://dl.2f30.org/releases/
+
+MAINTAINER=	fred%statdns.com@localhost
+HOMEPAGE=	https://git.2f30.org/stagit/
+COMMENT=	Static git page generator
+LICENSE=	mit
+
+MAKE_FLAGS+=	PREFIX=${PREFIX}
+MAKE_FLAGS+=	GITINC=${PREFIX}/include
+MAKE_FLAGS+=	GITLIB=${PREFIX}/lib
+
+.include "../../devel/libgit2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/stagit/PLIST b/stagit/PLIST
new file mode 100644
index 0000000000..af6e16decf
--- /dev/null
+++ b/stagit/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+bin/stagit
+bin/stagit-index
+man/man1/stagit-index.1
+man/man1/stagit.1
+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
diff --git a/stagit/distinfo b/stagit/distinfo
new file mode 100644
index 0000000000..868cdf8fca
--- /dev/null
+++ b/stagit/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (stagit-0.8.tar.gz) = c62de9c522433fb36835f9abba5fece7d09349cd
+RMD160 (stagit-0.8.tar.gz) = 8331b537fdaace2ebea4c8f972ca36501c0757f7
+SHA512 (stagit-0.8.tar.gz) = e18ebb47d678d16066ac31086eef81dda15d75b3dd086bf7cecdd675044ef266aa8c66d684d04d6bca9b202c5d3c8398cea41e0bac7c34e217f572d354755f02
+Size (stagit-0.8.tar.gz) = 17378 bytes
+SHA1 (patch-config.mk) = e1858b143fe686f21722b92e4fb4301707adcd3e
diff --git a/stagit/patches/patch-config.mk b/stagit/patches/patch-config.mk
new file mode 100644
index 0000000000..14f94444e4
--- /dev/null
+++ b/stagit/patches/patch-config.mk
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Do not overwrite LDFLAGS, so rpath is set correctly.
+
+--- config.mk.orig	2018-04-08 12:24:12.000000000 +0000
++++ config.mk
+@@ -20,7 +20,7 @@ LIBS = -L${GITLIB} -lgit2
+ 
+ # optimized
+ CFLAGS = -O2 -std=c99 ${INCS}
+-LDFLAGS = -s ${LIBS}
++LDFLAGS += -s ${LIBS}
+ 
+ # optimized static
+ #CFLAGS = -static -O2 -std=c99 ${INCS}


Home | Main Index | Thread Index | Old Index