* [PR PATCH] drist: update to 2.0, New package: drist1
@ 2020-09-11 19:35 PaperMountainStudio
2020-09-11 19:42 ` Duncaen
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: PaperMountainStudio @ 2020-09-11 19:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 411 bytes --]
There is a new pull request by PaperMountainStudio against master on the void-packages repository
https://github.com/PaperMountainStudio/void-packages drist2
https://github.com/void-linux/void-packages/pull/24834
drist: update to 2.0, New package: drist1
Scripts written for drist v1 are not compatible with drist v2,
A patch file from https://github.com/void-linux/void-packages/pull/24834.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-drist2-24834.patch --]
[-- Type: text/x-diff, Size: 4082 bytes --]
From 6b725a84fda6a354ab9aed5c15c6e08ef6f2c9dd Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Fri, 11 Sep 2020 21:32:25 +0200
Subject: [PATCH 1/2] drist: update to 2.02
---
srcpkgs/drist/INSTALL.md | 2 ++
srcpkgs/drist/patches/fix_permissions.patch | 14 --------------
srcpkgs/drist/template | 20 +++++++++++++-------
3 files changed, 15 insertions(+), 21 deletions(-)
create mode 100644 srcpkgs/drist/INSTALL.md
delete mode 100644 srcpkgs/drist/patches/fix_permissions.patch
diff --git a/srcpkgs/drist/INSTALL.md b/srcpkgs/drist/INSTALL.md
new file mode 100644
index 00000000000..78a3c65c3ea
--- /dev/null
+++ b/srcpkgs/drist/INSTALL.md
@@ -0,0 +1,2 @@
+CAUTION: version 2 of drist is not compatible with v1 scripts.
+drist v1 is still present in package called drist1
diff --git a/srcpkgs/drist/patches/fix_permissions.patch b/srcpkgs/drist/patches/fix_permissions.patch
deleted file mode 100644
index 5bc7421ce56..00000000000
--- a/srcpkgs/drist/patches/fix_permissions.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- Makefile
-+++ Makefile
-@@ -11,9 +11,9 @@
-
- install:
- @echo installing executable to "${DESTDIR}${PREFIX}/bin"
-- @install -D "${BIN}" "${DESTDIR}${BINDIR}/${BIN}"
-+ @install -D -m 755 "${BIN}" "${DESTDIR}${BINDIR}/${BIN}"
- @echo installing manual page to ${DESTDIR}${MANDIR}/man1
-- @install -D "${BIN}.1" "${DESTDIR}${MANDIR}/man1/${BIN}.1"
-+ @install -D -m 644 "${BIN}.1" "${DESTDIR}${MANDIR}/man1/${BIN}.1"
-
- uninstall:
- @echo removing executable file from "${DESTDIR}${PREFIX}/bin"
diff --git a/srcpkgs/drist/template b/srcpkgs/drist/template
index 89f39b7eec8..baec5ce33f1 100644
--- a/srcpkgs/drist/template
+++ b/srcpkgs/drist/template
@@ -1,9 +1,8 @@
# Template file for 'drist'
pkgname=drist
-version=1.04
+version=2.02
revision=1
-archs=noarch
-wrksrc=$pkgname-v$version
+wrksrc="$pkgname-v$version"
build_style=gnu-makefile
depends="openssh rsync"
short_desc="Remote deployment tool"
@@ -11,10 +10,17 @@ maintainer="Paper <paper@tilde.institute>"
license="BSD-2-Clause"
homepage="gopher://bitreich.org/1/scm/drist/"
distfiles="ftp://bitreich.org/releases/drist/drist-v$version.tgz"
-checksum=174e243b4ae41a3c3c9919b351f6fbe0c94e07b9b728310c78bfa767e810910d
+checksum=329107d1ee63d0514c907a893dfc5b8beb166f643ec5300e044e9493d4961711
+alternatives="
+ drist:/usr/bin/drist:/usr/bin/drist2
+ drist:/usr/share/examples/drist:/usr/share/examples/drist2
+ drist:/usr/share/man/man1/drist.1:/usr/share/man/man1/drist2.1
+"
-post_install() {
+do_install() {
+ vbin drist drist2
+ vman drist.1 drist2.1
+ vmkdir usr/share/examples/drist2/
+ vcopy examples usr/share/examples/drist2/
vlicense LICENSE
- vmkdir usr/share/drist
- vcopy examples /usr/share/drist/
}
From f0801306cf61afa614479c4e15a94e987c784a95 Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Fri, 11 Sep 2020 21:33:51 +0200
Subject: [PATCH 2/2] New package: drist 1.05.
---
srcpkgs/drist1/template | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 srcpkgs/drist1/template
diff --git a/srcpkgs/drist1/template b/srcpkgs/drist1/template
new file mode 100644
index 00000000000..36220e20f37
--- /dev/null
+++ b/srcpkgs/drist1/template
@@ -0,0 +1,26 @@
+# Template file for 'drist1'
+pkgname=drist1
+version=1.05
+revision=1
+wrksrc="drist-v$version"
+build_style=gnu-makefile
+depends="openssh rsync"
+short_desc="Remote deployment tool (v1)"
+maintainer="Paper <paper@tilde.institute>"
+license="BSD-2-Clause"
+homepage="gopher://bitreich.org/1/scm/drist/"
+distfiles="ftp://bitreich.org/releases/drist/drist-v$version.tgz"
+checksum=26b972d433fc6ca54a074634da7049f15a9bbc9717925f6983eb37cdc228abee
+alternatives="
+ drist:/usr/bin/drist:/usr/bin/drist1
+ drist:/usr/share/examples/drist:/usr/share/examples/drist1
+ drist:/usr/share/man/man1/drist.1:/usr/share/man/man1/drist1.1
+"
+
+do_install() {
+ vbin drist drist1
+ vman drist.1 drist1.1
+ vmkdir usr/share/examples/drist1/
+ vcopy examples usr/share/examples/drist1/
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: drist: update to 2.0, New package: drist1
2020-09-11 19:35 [PR PATCH] drist: update to 2.0, New package: drist1 PaperMountainStudio
@ 2020-09-11 19:42 ` Duncaen
2020-09-11 19:45 ` PaperMountainStudio
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Duncaen @ 2020-09-11 19:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 181 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/pull/24834#issuecomment-691279613
Comment:
What about dropping the package instead?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: drist: update to 2.0, New package: drist1
2020-09-11 19:35 [PR PATCH] drist: update to 2.0, New package: drist1 PaperMountainStudio
2020-09-11 19:42 ` Duncaen
@ 2020-09-11 19:45 ` PaperMountainStudio
2020-09-11 19:50 ` PaperMountainStudio
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: PaperMountainStudio @ 2020-09-11 19:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 268 bytes --]
New comment by PaperMountainStudio on void-packages repository
https://github.com/void-linux/void-packages/pull/24834#issuecomment-691280746
Comment:
Which one do you mean? Dropping entire drist? Updating to v2 without v1 available or creating a new package drist2?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: drist: update to 2.0, New package: drist1
2020-09-11 19:35 [PR PATCH] drist: update to 2.0, New package: drist1 PaperMountainStudio
2020-09-11 19:42 ` Duncaen
2020-09-11 19:45 ` PaperMountainStudio
@ 2020-09-11 19:50 ` PaperMountainStudio
2020-09-11 19:54 ` Duncaen
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: PaperMountainStudio @ 2020-09-11 19:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 269 bytes --]
New comment by PaperMountainStudio on void-packages repository
https://github.com/void-linux/void-packages/pull/24834#issuecomment-691280746
Comment:
Which one do you mean? Dropping entire drist? Updating to v2 without v1 available? or creating a new package drist2?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: drist: update to 2.0, New package: drist1
2020-09-11 19:35 [PR PATCH] drist: update to 2.0, New package: drist1 PaperMountainStudio
` (2 preceding siblings ...)
2020-09-11 19:50 ` PaperMountainStudio
@ 2020-09-11 19:54 ` Duncaen
2020-09-11 20:00 ` PaperMountainStudio
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Duncaen @ 2020-09-11 19:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 320 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/pull/24834#issuecomment-691284510
Comment:
I'm not a fan of the requirements, but I think this is a good example for why they exist.
https://github.com/void-linux/void-packages/blob/master/Manual.md#quality_requirements
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: drist: update to 2.0, New package: drist1
2020-09-11 19:35 [PR PATCH] drist: update to 2.0, New package: drist1 PaperMountainStudio
` (3 preceding siblings ...)
2020-09-11 19:54 ` Duncaen
@ 2020-09-11 20:00 ` PaperMountainStudio
2020-09-11 20:31 ` Anachron
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: PaperMountainStudio @ 2020-09-11 20:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 270 bytes --]
New comment by PaperMountainStudio on void-packages repository
https://github.com/void-linux/void-packages/pull/24834#issuecomment-691286602
Comment:
That's fair, I think we can drop it. I can manage my own repository. Should we wait for opinion of other maintainers?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: drist: update to 2.0, New package: drist1
2020-09-11 19:35 [PR PATCH] drist: update to 2.0, New package: drist1 PaperMountainStudio
` (4 preceding siblings ...)
2020-09-11 20:00 ` PaperMountainStudio
@ 2020-09-11 20:31 ` Anachron
2020-09-11 20:52 ` Duncaen
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Anachron @ 2020-09-11 20:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 264 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/pull/24834#issuecomment-691298444
Comment:
Why not keep the original drist pkg on 1.0 and the new one is 2.x? No breakage required. And some day we can deprecate it.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: drist: update to 2.0, New package: drist1
2020-09-11 19:35 [PR PATCH] drist: update to 2.0, New package: drist1 PaperMountainStudio
` (5 preceding siblings ...)
2020-09-11 20:31 ` Anachron
@ 2020-09-11 20:52 ` Duncaen
2020-09-12 6:12 ` Anachron
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Duncaen @ 2020-09-11 20:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 235 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/pull/24834#issuecomment-691306420
Comment:
Why add compatibility, alternatives and _2_ packages for a 150 line shell script 2 people use.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: drist: update to 2.0, New package: drist1
2020-09-11 19:35 [PR PATCH] drist: update to 2.0, New package: drist1 PaperMountainStudio
` (6 preceding siblings ...)
2020-09-11 20:52 ` Duncaen
@ 2020-09-12 6:12 ` Anachron
2020-09-12 6:12 ` Anachron
2020-09-12 7:05 ` [PR PATCH] [Closed]: " PaperMountainStudio
9 siblings, 0 replies; 11+ messages in thread
From: Anachron @ 2020-09-12 6:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 201 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/pull/24834#issuecomment-691422149
Comment:
By that logic we would need to delete hundreds of packages.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: drist: update to 2.0, New package: drist1
2020-09-11 19:35 [PR PATCH] drist: update to 2.0, New package: drist1 PaperMountainStudio
` (7 preceding siblings ...)
2020-09-12 6:12 ` Anachron
@ 2020-09-12 6:12 ` Anachron
2020-09-12 7:05 ` [PR PATCH] [Closed]: " PaperMountainStudio
9 siblings, 0 replies; 11+ messages in thread
From: Anachron @ 2020-09-12 6:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 201 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/pull/24834#issuecomment-691422149
Comment:
By that logic we would need to delete hundreds of packages.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Closed]: drist: update to 2.0, New package: drist1
2020-09-11 19:35 [PR PATCH] drist: update to 2.0, New package: drist1 PaperMountainStudio
` (8 preceding siblings ...)
2020-09-12 6:12 ` Anachron
@ 2020-09-12 7:05 ` PaperMountainStudio
9 siblings, 0 replies; 11+ messages in thread
From: PaperMountainStudio @ 2020-09-12 7:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 237 bytes --]
There's a closed pull request on the void-packages repository
drist: update to 2.0, New package: drist1
https://github.com/void-linux/void-packages/pull/24834
Description:
Scripts written for drist v1 are not compatible with drist v2,
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2020-09-12 7:05 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-11 19:35 [PR PATCH] drist: update to 2.0, New package: drist1 PaperMountainStudio
2020-09-11 19:42 ` Duncaen
2020-09-11 19:45 ` PaperMountainStudio
2020-09-11 19:50 ` PaperMountainStudio
2020-09-11 19:54 ` Duncaen
2020-09-11 20:00 ` PaperMountainStudio
2020-09-11 20:31 ` Anachron
2020-09-11 20:52 ` Duncaen
2020-09-12 6:12 ` Anachron
2020-09-12 6:12 ` Anachron
2020-09-12 7:05 ` [PR PATCH] [Closed]: " PaperMountainStudio
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).