Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] docker: install manpages
@ 2022-11-18 14:10 dataCobra
  2022-11-19  4:10 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 1 reply; 2+ messages in thread
From: dataCobra @ 2022-11-18 14:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

There is a new pull request by dataCobra against master on the void-packages repository

https://github.com/dataCobra/void-packages docker
https://github.com/void-linux/void-packages/pull/40597

docker: install manpages
#### Testing the changes
- I tested the changes in this PR: **YES**

I've added the mechanism to build and install the manpages for docker.


A patch file from https://github.com/void-linux/void-packages/pull/40597.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-docker-40597.patch --]
[-- Type: text/x-diff, Size: 1604 bytes --]

From ce67e0645157f2a61004fb83518e2c3f55c1f8b5 Mon Sep 17 00:00:00 2001
From: dataCobra <datacobra@thinkbot.de>
Date: Fri, 18 Nov 2022 14:58:02 +0100
Subject: [PATCH] docker: install manpages

---
 srcpkgs/docker-cli/template | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/docker-cli/template b/srcpkgs/docker-cli/template
index 0a07c5de340b..90344faee2b5 100644
--- a/srcpkgs/docker-cli/template
+++ b/srcpkgs/docker-cli/template
@@ -1,14 +1,14 @@
 # Template file for 'docker-cli'
 pkgname=docker-cli
 version=20.10.21
-revision=1
+revision=2
 build_style=go
 go_package="github.com/docker/cli/cmd/docker"
 go_import_path="github.com/docker/cli"
 _cli_ver_path="github.com/docker/cli/cli/version"
 go_ldflags="-X \"${_cli_ver_path}.Version=${version}\"
  -X \"${_cli_ver_path}.GitCommit=tag v${version}\""
-hostmakedepends="pkg-config"
+hostmakedepends="pkg-config go-md2man"
 depends="git"
 short_desc="Command-line interface for the Docker daemon"
 maintainer="Andrea Brancaleoni <abc@pompel.me>"
@@ -22,10 +22,21 @@ pre_build() {
 	go_ldflags+=" -X \"${_cli_ver_path}.BuildTime=$(date +%Y-%m-%dT%H:%M:%SZ)\""
 }
 
+post_build() {
+	./man/md2man-all.sh
+}
+
 post_install() {
 	vcompletion contrib/completion/fish/docker.fish fish docker
 	vcompletion contrib/completion/zsh/_docker zsh docker
 	vcompletion contrib/completion/bash/docker bash docker
+
+	vman man/man1/docker-run.1
+	vman man/man1/docker.1
+	vman man/man1/docker-build.1
+	vman man/man5/Dockerfile.5
+	vman man/man5/docker-config-json.5
+	vman man/man8/dockerd.8
 }
 
 docker_package() {

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: docker: install manpages
  2022-11-18 14:10 [PR PATCH] docker: install manpages dataCobra
@ 2022-11-19  4:10 ` classabbyamp
  0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2022-11-19  4:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]

There's a merged pull request on the void-packages repository

docker: install manpages
https://github.com/void-linux/void-packages/pull/40597

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

I've added the mechanism to build and install the manpages for docker.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-19  4:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-18 14:10 [PR PATCH] docker: install manpages dataCobra
2022-11-19  4:10 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).