* Re: [PR PATCH] [Updated] New package: abuild-3.7.0
2021-04-29 16:02 [PR PATCH] New package: abuild-3.7.0 paper42
@ 2021-04-29 16:11 ` paper42
2021-04-30 10:43 ` q66
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: paper42 @ 2021-04-29 16:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1620 bytes --]
There is an updated pull request by paper42 against master on the void-packages repository
https://github.com/paper42/void-packages 0001-New-package-abuild-3.7.0.patch
https://github.com/void-linux/void-packages/pull/30582
New package: abuild-3.7.0
<!-- Mark items with [x] where applicable -->
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/30582.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-0001-New-package-abuild-3.7.0.patch-30582.patch --]
[-- Type: text/x-diff, Size: 1247 bytes --]
From 831ee59e562f6fc09bd217039d5c1e6a896ec080 Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Sat, 24 Apr 2021 00:50:29 +0200
Subject: [PATCH] New package: abuild-3.7.0
---
srcpkgs/abuild/template | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 srcpkgs/abuild/template
diff --git a/srcpkgs/abuild/template b/srcpkgs/abuild/template
new file mode 100644
index 000000000000..c922cd246f29
--- /dev/null
+++ b/srcpkgs/abuild/template
@@ -0,0 +1,21 @@
+# Template file for 'abuild'
+pkgname=abuild
+version=3.7.0
+revision=1
+build_style=gnu-makefile
+hostmakedepends="pkgconf"
+makedepends="openssl-devel zlib-devel"
+depends="fakeroot pax-utils apk-tools attr pkgconf patch lzip"
+short_desc="Script to build Alpine Packages"
+maintainer="Paper <paper@tilde.institute>"
+license="GPL-2.0-only"
+homepage="https://git.alpinelinux.org/cgit/abuild/"
+distfiles="https://git.alpinelinux.org/abuild/snapshot/abuild-$version.tar.xz"
+checksum=8e0524b847dab54b04f786779ae55067c14aef9c268cb85fcd969def8ff8ac25
+system_groups="abuild"
+make_dirs="/var/cache/distfiles 0775 root abuild"
+make_check=no # expects an apk based system
+
+pre_build() {
+ vsed -i abuild.in -e 's,#!/bin/ash -e$,#!/bin/sh,'
+}
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: New package: abuild-3.7.0
2021-04-29 16:02 [PR PATCH] New package: abuild-3.7.0 paper42
2021-04-29 16:11 ` [PR PATCH] [Updated] " paper42
@ 2021-04-30 10:43 ` q66
2021-05-03 9:48 ` [PR PATCH] [Updated] " paper42
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: q66 @ 2021-04-30 10:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 238 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/30582#issuecomment-830008101
Comment:
substituting ash for sh is no good, it will cause issues (e.g. `/bin/abuild: 2109: Bad substitution`)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PR PATCH] [Updated] New package: abuild-3.7.0
2021-04-29 16:02 [PR PATCH] New package: abuild-3.7.0 paper42
2021-04-29 16:11 ` [PR PATCH] [Updated] " paper42
2021-04-30 10:43 ` q66
@ 2021-05-03 9:48 ` paper42
2021-05-03 9:48 ` paper42
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: paper42 @ 2021-05-03 9:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1620 bytes --]
There is an updated pull request by paper42 against master on the void-packages repository
https://github.com/paper42/void-packages 0001-New-package-abuild-3.7.0.patch
https://github.com/void-linux/void-packages/pull/30582
New package: abuild-3.7.0
<!-- Mark items with [x] where applicable -->
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/30582.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-0001-New-package-abuild-3.7.0.patch-30582.patch --]
[-- Type: text/x-diff, Size: 1254 bytes --]
From 4a500776b166033136aac1433b7878cfdca75683 Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Sat, 24 Apr 2021 00:50:29 +0200
Subject: [PATCH] New package: abuild-3.7.0
---
srcpkgs/abuild/template | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 srcpkgs/abuild/template
diff --git a/srcpkgs/abuild/template b/srcpkgs/abuild/template
new file mode 100644
index 000000000000..4eb3df8dbcde
--- /dev/null
+++ b/srcpkgs/abuild/template
@@ -0,0 +1,21 @@
+# Template file for 'abuild'
+pkgname=abuild
+version=3.7.0
+revision=1
+build_style=gnu-makefile
+hostmakedepends="pkgconf"
+makedepends="openssl-devel zlib-devel"
+depends="bash fakeroot pax-utils apk-tools attr pkgconf patch lzip"
+short_desc="Script to build Alpine Packages"
+maintainer="Paper <paper@tilde.institute>"
+license="GPL-2.0-only"
+homepage="https://git.alpinelinux.org/cgit/abuild/"
+distfiles="https://git.alpinelinux.org/abuild/snapshot/abuild-$version.tar.xz"
+checksum=8e0524b847dab54b04f786779ae55067c14aef9c268cb85fcd969def8ff8ac25
+system_groups="abuild"
+make_dirs="/var/cache/distfiles 0775 root abuild"
+make_check=no # expects an apk based system
+
+pre_build() {
+ vsed -i abuild.in -e 's,#!/bin/ash -e$,#!/bin/bash,'
+}
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: New package: abuild-3.7.0
2021-04-29 16:02 [PR PATCH] New package: abuild-3.7.0 paper42
` (2 preceding siblings ...)
2021-05-03 9:48 ` [PR PATCH] [Updated] " paper42
@ 2021-05-03 9:48 ` paper42
2021-05-03 12:13 ` q66
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: paper42 @ 2021-05-03 9:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 195 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/30582#issuecomment-831150864
Comment:
thank you for noticing, I substituted ash for bash now
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: New package: abuild-3.7.0
2021-04-29 16:02 [PR PATCH] New package: abuild-3.7.0 paper42
` (3 preceding siblings ...)
2021-05-03 9:48 ` paper42
@ 2021-05-03 12:13 ` q66
2021-05-03 12:38 ` q66
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: q66 @ 2021-05-03 12:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 488 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/30582#issuecomment-831220022
Comment:
i'm not sure if packaging this is otherwise worthwhile either - i'm using abuild on other distros (with bash it works) but it requires an `apk` installation with a database initialized (which you have to do entirely by hand) and only is safe to use for `rootbld` builds (so it has a high potential of messing up people's systems if used "incorrectly")
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: New package: abuild-3.7.0
2021-04-29 16:02 [PR PATCH] New package: abuild-3.7.0 paper42
` (4 preceding siblings ...)
2021-05-03 12:13 ` q66
@ 2021-05-03 12:38 ` q66
2021-05-04 16:00 ` paper42
2021-05-04 21:45 ` [PR PATCH] [Closed]: " paper42
7 siblings, 0 replies; 9+ messages in thread
From: q66 @ 2021-05-03 12:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 605 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/30582#issuecomment-831220022
Comment:
i'm not sure if packaging this is otherwise worthwhile either - i'm using abuild on other distros (with bash it works) but it requires an `apk` installation with a database initialized (which you have to do entirely by hand) and only is safe to use for `rootbld` builds (so it has a high potential of messing up people's systems if used "incorrectly"; and you still need to patch the script for that to work because it uses apk to check if abuild-rootbld is installed)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: New package: abuild-3.7.0
2021-04-29 16:02 [PR PATCH] New package: abuild-3.7.0 paper42
` (5 preceding siblings ...)
2021-05-03 12:38 ` q66
@ 2021-05-04 16:00 ` paper42
2021-05-04 21:45 ` [PR PATCH] [Closed]: " paper42
7 siblings, 0 replies; 9+ messages in thread
From: paper42 @ 2021-05-04 16:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 427 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/30582#issuecomment-832055252
Comment:
I used abuild for fetching and getting checksums of distfiles and used dabuild (abuild in a docker container) for building. I am starting to think dabuild isn't that much slower than abuild even for simple actions like getting the checksum. I am starting to doubt it is worth packaging.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PR PATCH] [Closed]: New package: abuild-3.7.0
2021-04-29 16:02 [PR PATCH] New package: abuild-3.7.0 paper42
` (6 preceding siblings ...)
2021-05-04 16:00 ` paper42
@ 2021-05-04 21:45 ` paper42
7 siblings, 0 replies; 9+ messages in thread
From: paper42 @ 2021-05-04 21:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1436 bytes --]
There's a closed pull request on the void-packages repository
New package: abuild-3.7.0
https://github.com/void-linux/void-packages/pull/30582
Description:
<!-- Mark items with [x] where applicable -->
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
-->
^ permalink raw reply [flat|nested] 9+ messages in thread