Sun Sep 20 16:46:08 2020 UTC ()
sysutils/bup: Add todo notes

- man pages
- resolve 'bup ftp' crash with NetBSD editline


(gdt)
diff -r1.46 -r1.47 pkgsrc/sysutils/bup/Makefile

cvs diff -r1.46 -r1.47 pkgsrc/sysutils/bup/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/bup/Makefile 2020/09/20 16:44:54 1.46
+++ pkgsrc/sysutils/bup/Makefile 2020/09/20 16:46:08 1.47
@@ -1,29 +1,30 @@ @@ -1,29 +1,30 @@
1# $NetBSD: Makefile,v 1.46 2020/09/20 16:44:54 gdt Exp $ 1# $NetBSD: Makefile,v 1.47 2020/09/20 16:46:08 gdt Exp $
2 2
3DISTNAME= bup-0.31 3DISTNAME= bup-0.31
4CATEGORIES= sysutils 4CATEGORIES= sysutils
5MASTER_SITES= ${MASTER_SITE_GITHUB:=bup/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=bup/}
6# bup has two problems that make packaging difficult. One is that 6# bup has two problems that make packaging difficult. One is that
7# building man pages requires non-portable tools (pandoc). The other 7# building man pages requires non-portable tools (pandoc). The other
8# is that it is hosted on github, which makes hosting tarballs 8# is that it is hosted on github, which makes hosting tarballs
9# difficult. The combination of this leads to having a branch "man" 9# difficult. The combination of this leads to having a branch "man"
10# in bup's git which has autogenerated man pages. The third problem 10# in bup's git which has autogenerated man pages. The third problem
11# is that github.mk assumes that there is one distfile. 11# is that github.mk assumes that there is one distfile.
12 12
13# (Note to future updating self) We would like to fetch the following files: 13# (Note to future updating self) We would like to fetch the following files:
14# https://github.com/bup/bup/archive/0.30.tar.gz 14# https://github.com/bup/bup/archive/0.30.tar.gz
15# https://github.com/bup/bup/archive/28876cde4a3dac518e773860aa7969c106f5390d.tar.gz 15# https://github.com/bup/bup/archive/28876cde4a3dac518e773860aa7969c106f5390d.tar.gz
16 16
 17# \todo Update man pages to 0.31.
17# EXTRACT_SUFX default value is set too late, so using it in SITES.* fails. 18# EXTRACT_SUFX default value is set too late, so using it in SITES.* fails.
18EXTRACT_SUFX= .tar.gz 19EXTRACT_SUFX= .tar.gz
19MAN_TAG= bd52b8fffc37788fc00071a8e46842e60ef30926 20MAN_TAG= bd52b8fffc37788fc00071a8e46842e60ef30926
20MAN_UNPACK= bup-${MAN_TAG} 21MAN_UNPACK= bup-${MAN_TAG}
21MAN_DISTFILE= bup-man-${MAN_TAG}${EXTRACT_SUFX} 22MAN_DISTFILE= bup-man-${MAN_TAG}${EXTRACT_SUFX}
22SITES.${MAN_DISTFILE}= -${MASTER_SITE_GITHUB:=bup/bup/archive/}${MAN_TAG}${EXTRACT_SUFX} 23SITES.${MAN_DISTFILE}= -${MASTER_SITE_GITHUB:=bup/bup/archive/}${MAN_TAG}${EXTRACT_SUFX}
23# Upstream provides html, but we choose not to include it in the package. 24# Upstream provides html, but we choose not to include it in the package.
24#HTML_TAG= 66eccb7eb49575d006d193276018d9551ac5b4d4 25#HTML_TAG= 66eccb7eb49575d006d193276018d9551ac5b4d4
25DISTFILES= ${DEFAULT_DISTFILES} ${MAN_DISTFILE} 26DISTFILES= ${DEFAULT_DISTFILES} ${MAN_DISTFILE}
26 27
27MAINTAINER= gdt@NetBSD.org 28MAINTAINER= gdt@NetBSD.org
28HOMEPAGE= https://github.com/bup/bup 29HOMEPAGE= https://github.com/bup/bup
29COMMENT= Highly efficient file backup system based on the git packfile format 30COMMENT= Highly efficient file backup system based on the git packfile format
@@ -69,17 +70,18 @@ REPLACE_BASH+= t/test-rm-between-index- @@ -69,17 +70,18 @@ REPLACE_BASH+= t/test-rm-between-index-
69REPLACE_BASH+= t/test-save-creates-no-unrefs.sh 70REPLACE_BASH+= t/test-save-creates-no-unrefs.sh
70REPLACE_BASH+= t/test.sh 71REPLACE_BASH+= t/test.sh
71REPLACE_BASH+= wvtest-bup.sh 72REPLACE_BASH+= wvtest-bup.sh
72 73
73INSTALLATION_DIRS+= ${PKGMANDIR}/man1 share/doc/${PKGBASE} 74INSTALLATION_DIRS+= ${PKGMANDIR}/man1 share/doc/${PKGBASE}
74 75
75post-install: 76post-install:
76 ${INSTALL_DATA} ${DOCDIR}/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 77 ${INSTALL_DATA} ${DOCDIR}/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
77 ${INSTALL_DATA} ${WRKSRC}/DESIGN ${DESTDIR}${PREFIX}/share/doc/bup 78 ${INSTALL_DATA} ${WRKSRC}/DESIGN ${DESTDIR}${PREFIX}/share/doc/bup
78 ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/bup 79 ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/bup
79 80
80.include "options.mk" 81.include "options.mk"
81 82
 83# \todo Investigate "bup ftp" crash with NetBSD editline and resolve.
82READLINE_DEFAULT= readline 84READLINE_DEFAULT= readline
83.include "../../mk/readline.buildlink3.mk" 85.include "../../mk/readline.buildlink3.mk"
84.include "../../lang/python/application.mk" 86.include "../../lang/python/application.mk"
85.include "../../mk/bsd.pkg.mk" 87.include "../../mk/bsd.pkg.mk"