pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/stagit-gopher



Module Name:    pkgsrc
Committed By:   leot
Date:           Wed Jun 19 11:40:51 UTC 2019

Added Files:
        pkgsrc/net/stagit-gopher: DESCR Makefile PLIST distinfo

Log Message:
stagit-gopher: Import stagit-gopher-0.9.2 as net/stagit-gopher

stagit generates .gph geomyidae 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 line numbers.
- Show references: local branches and tags.
- Detect README and LICENSE file from HEAD and link it as a page.
- Detect submodules (.gitmodules file) from HEAD and link it as a page.
- Atom feed log (atom.xml).
- Make index page for multiple repositories with stagit-gopher-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 geomyidae Gopher server is required.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/stagit-gopher/DESCR \
    pkgsrc/net/stagit-gopher/Makefile pkgsrc/net/stagit-gopher/PLIST \
    pkgsrc/net/stagit-gopher/distinfo

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

Added files:

Index: pkgsrc/net/stagit-gopher/DESCR
diff -u /dev/null pkgsrc/net/stagit-gopher/DESCR:1.1
--- /dev/null   Wed Jun 19 11:40:51 2019
+++ pkgsrc/net/stagit-gopher/DESCR      Wed Jun 19 11:40:51 2019
@@ -0,0 +1,14 @@
+stagit generates .gph geomyidae 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 line numbers.
+- Show references: local branches and tags.
+- Detect README and LICENSE file from HEAD and link it as a page.
+- Detect submodules (.gitmodules file) from HEAD and link it as a page.
+- Atom feed log (atom.xml).
+- Make index page for multiple repositories with stagit-gopher-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 geomyidae Gopher server is required.
Index: pkgsrc/net/stagit-gopher/Makefile
diff -u /dev/null pkgsrc/net/stagit-gopher/Makefile:1.1
--- /dev/null   Wed Jun 19 11:40:51 2019
+++ pkgsrc/net/stagit-gopher/Makefile   Wed Jun 19 11:40:51 2019
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2019/06/19 11:40:51 leot Exp $
+
+DISTNAME=      stagit-gopher-0.9.2
+CATEGORIES=    net
+MASTER_SITES=  https://codemadness.org/releases/stagit-gopher/
+
+MAINTAINER=    leot%NetBSD.org@localhost
+HOMEPAGE=      https://codemadness.org/git/stagit-gopher/file/README.html
+COMMENT=       Static git page generator for gopher
+LICENSE=       mit
+
+USE_LANGUAGES= c99
+
+SUBST_CLASSES+=                makefile
+SUBST_STAGE.makefile=  pre-configure
+SUBST_MESSAGE.makefile=        Adjust config.mk
+SUBST_FILES.makefile=  config.mk
+SUBST_SED.makefile+=   -e '/^CFLAGS/ s,-O2,,'
+SUBST_SED.makefile+=   -e 's,^CFLAGS *= ,CFLAGS += ,'
+SUBST_SED.makefile+=   -e 's,^LDFLAGS *= ,LDFLAGS += ,'
+
+MAKE_FLAGS+=   PREFIX=${PREFIX}
+MAKE_FLAGS+=   MANPREFIX=${PREFIX}/${PKGMANDIR}
+MAKE_FLAGS+=   GITINC=${PREFIX}/include
+MAKE_FLAGS+=   GITLIB=${PREFIX}/lib
+
+.include "../../devel/libgit2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/stagit-gopher/PLIST
diff -u /dev/null pkgsrc/net/stagit-gopher/PLIST:1.1
--- /dev/null   Wed Jun 19 11:40:51 2019
+++ pkgsrc/net/stagit-gopher/PLIST      Wed Jun 19 11:40:51 2019
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2019/06/19 11:40:51 leot Exp $
+bin/stagit-gopher
+bin/stagit-gopher-index
+man/man1/stagit-gopher-index.1
+man/man1/stagit-gopher.1
+share/doc/stagit-gopher/README
+share/doc/stagit-gopher/example_create.sh
+share/doc/stagit-gopher/example_post-receive.sh
Index: pkgsrc/net/stagit-gopher/distinfo
diff -u /dev/null pkgsrc/net/stagit-gopher/distinfo:1.1
--- /dev/null   Wed Jun 19 11:40:51 2019
+++ pkgsrc/net/stagit-gopher/distinfo   Wed Jun 19 11:40:51 2019
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/06/19 11:40:51 leot Exp $
+
+SHA1 (stagit-gopher-0.9.2.tar.gz) = 292e5c7ba313d1c4de32c98c4b8e943408f76f53
+RMD160 (stagit-gopher-0.9.2.tar.gz) = 4ecaaeca5283735958c9624b32530386d5475b6e
+SHA512 (stagit-gopher-0.9.2.tar.gz) = 6b14cf6870124ed9b91ded7ba4d1d9e4c4956a899d90594c01d885eff52218c6ba7b57741cddd24cb2846377d4f077239e3f654b386cca967da2678625fc10e7
+Size (stagit-gopher-0.9.2.tar.gz) = 16907 bytes



Home | Main Index | Thread Index | Old Index