Received: by mail.netbsd.org (Postfix, from userid 605) id 222C484DBC; Wed, 19 Jun 2019 10:05:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9C18184DC5 for ; Wed, 19 Jun 2019 10:04:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id bccJ8FLMYSnL for ; Wed, 19 Jun 2019 10:04:59 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id E651784D78 for ; Wed, 19 Jun 2019 10:04:58 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id E336CFBF4; Wed, 19 Jun 2019 10:04:58 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1560938698148150" MIME-Version: 1.0 Date: Wed, 19 Jun 2019 10:04:58 +0000 From: "Frederic Cambus" Subject: CVS commit: pkgsrc/www/stagit To: pkgsrc-changes@NetBSD.org Reply-To: fcambus@netbsd.org X-Mailer: log_accum Message-Id: <20190619100458.E336CFBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1560938698148150 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: fcambus Date: Wed Jun 19 10:04:58 UTC 2019 Added Files: pkgsrc/www/stagit: DESCR Makefile PLIST distinfo Log Message: www/stagit: import stagit-0.9.2. 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. OK kamil@, leot@ To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/www/stagit/DESCR pkgsrc/www/stagit/Makefile \ pkgsrc/www/stagit/PLIST pkgsrc/www/stagit/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1560938698148150 Content-Disposition: inline Content-Length: 3112 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/www/stagit/DESCR diff -u /dev/null pkgsrc/www/stagit/DESCR:1.1 --- /dev/null Wed Jun 19 10:04:58 2019 +++ pkgsrc/www/stagit/DESCR Wed Jun 19 10:04:58 2019 @@ -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. Index: pkgsrc/www/stagit/Makefile diff -u /dev/null pkgsrc/www/stagit/Makefile:1.1 --- /dev/null Wed Jun 19 10:04:58 2019 +++ pkgsrc/www/stagit/Makefile Wed Jun 19 10:04:58 2019 @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2019/06/19 10:04:58 fcambus Exp $ + +DISTNAME= stagit-0.9.2 +CATEGORIES= www +MASTER_SITES= https://codemadness.org/releases/stagit/ + +MAINTAINER= fcambus@NetBSD.org +HOMEPAGE= https://codemadness.org/git/stagit/file/README.html +COMMENT= Static git page generator +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/www/stagit/PLIST diff -u /dev/null pkgsrc/www/stagit/PLIST:1.1 --- /dev/null Wed Jun 19 10:04:58 2019 +++ pkgsrc/www/stagit/PLIST Wed Jun 19 10:04:58 2019 @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1 2019/06/19 10:04:58 fcambus Exp $ +bin/stagit +bin/stagit-index +man/man1/stagit-index.1 +man/man1/stagit.1 +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 Index: pkgsrc/www/stagit/distinfo diff -u /dev/null pkgsrc/www/stagit/distinfo:1.1 --- /dev/null Wed Jun 19 10:04:58 2019 +++ pkgsrc/www/stagit/distinfo Wed Jun 19 10:04:58 2019 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2019/06/19 10:04:58 fcambus Exp $ + +SHA1 (stagit-0.9.2.tar.gz) = 288674c4b8f15473ca2e769105d8c1c06fce5387 +RMD160 (stagit-0.9.2.tar.gz) = 2cbc32171fec7ce30fdf0fbb9da42588cc6716b6 +SHA512 (stagit-0.9.2.tar.gz) = 30a1c43672c94bcf85af25e2c2d0137a1014c625361dc53f78f8a31b194d9a678372d0cc98e6fa8ea3ddd1d632bdbc8ecb37f40e0bac44fa05dfdf981417fe2c +Size (stagit-0.9.2.tar.gz) = 18525 bytes --_----------=_1560938698148150--