summaryrefslogtreecommitdiff
path: root/cvs-fast-export/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'cvs-fast-export/APKBUILD')
-rw-r--r--cvs-fast-export/APKBUILD56
1 files changed, 56 insertions, 0 deletions
diff --git a/cvs-fast-export/APKBUILD b/cvs-fast-export/APKBUILD
new file mode 100644
index 0000000..3c7bc19
--- /dev/null
+++ b/cvs-fast-export/APKBUILD
@@ -0,0 +1,56 @@
+# Contributor: TBK <alpine@jjtc.eu>
+# Maintainer: TBK <alpine@jjtc.eu>
+pkgname=cvs-fast-export
+pkgver=1.68
+pkgrel=0
+pkgdesc="Export RCS or CVS history as a fast-import stream"
+url="http://www.catb.org/esr/cvs-fast-export/"
+arch="all"
+license="GPL-2.0-or-later"
+depends="cvs rcs"
+makedepends="asciidoctor bison flex libxslt"
+checkdepends="python3"
+subpackages="$pkgname-doc $pkgname-tools::noarch"
+source="https://gitlab.com/esr/cvs-fast-export/-/archive/$pkgver/cvs-fast-export-$pkgver.tar.gz
+ 0001-Allow-in-branch-names.patch
+ 0002-Address-GitLab-issue-69-Segfault-due-to-uninitialize.patch
+ 0003-xalloc.xmalloc-argument-cleanup.patch
+ 0004-Address-GitLab-bug-70-xmalloc-xcalloc-bad-parameter-.patch
+ 0005-xcalloc-argument-cleanup.patch
+ "
+options="!check" # take 50 years
+
+build() {
+ # "make all" will run the commands below + html.
+ # html can not run in parallel because the ".adoc.html"
+ # rules reuse the "docbook-xsl.css" file name.
+ make cvs-fast-export man
+}
+
+check() {
+ # v1.55 - More then one job and the tests
+ # are executed in the wrong order!
+ make -j 1 check
+}
+
+package() {
+ make DESTDIR="$pkgdir" prefix=/usr install
+}
+
+tools() {
+ pkgdesc="$pkgdesc (extra tools)"
+ depends="$pkgname=$pkgver-r$pkgrel git python3 rsync"
+
+ amove \
+ usr/bin/cvsconvert \
+ usr/bin/cvssync
+}
+
+sha512sums="
+f967c3d2cda2c5ba4c14fdd33923807690d7b8e85e19aceb6f9580cb74a15af32291324675cdd10d72cbd160a0e18be980bb0442e99e9cd63daad8d76dd848f6 cvs-fast-export-1.68.tar.gz
+5cafafb64d010cca9b5f3d394dcb93e1ab12315064c2dbbbebdfec42dd4fbd00126d44521f423338ed05163e493f3d4f458953bae2fbdb29c2bfa08f13822d0f 0001-Allow-in-branch-names.patch
+46ad8751ec7c7581780650309e18c4ccacc2dca94ca4a0d0d7976b04034222e644964637e45db490d12e1547e2863527031794ab89d3132cf738a600c9843219 0002-Address-GitLab-issue-69-Segfault-due-to-uninitialize.patch
+48d698ca403d9fff8624a6ce09238f441ff4225664d8bdf9824dc2d9d857ceffd6495ad7a7c0b5f4c7e0c8c8d1dbd84504996a992dca559f7386924d3e6c1ec4 0003-xalloc.xmalloc-argument-cleanup.patch
+a9f4a526901cb7ee26e543628cf63e7eb3e9cbe64a67057541f529c49169a243a9b2b5daa3b6c2fe5c7080fcac636a0ede8e247ccf34fd9cf0af15bdb297af47 0004-Address-GitLab-bug-70-xmalloc-xcalloc-bad-parameter-.patch
+ce5bfad4edbf0fdf0bc3692b2cfc1a220a01f8026c127533efb5166e2f61496c3a67455db3fbb5c69ab0299979a19960ae2265d64df8c47bbce48684313f5cd3 0005-xcalloc-argument-cleanup.patch
+"