~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
5 2

[PATCH v2] testing/tre: new aport

Al-Hassan Abdel-Raouf <alhassanaraouf@disroot.org>
Details
Message ID
<20201014133001.11101-1-alhassanaraouf@disroot.org>
DKIM signature
missing
Download raw message
Patch: +22 -0
https://laurikari.net/tre
POSIX compliant regexp matching library.
Includes agrep for approximate grepping.
---
 testing/tre/APKBUILD | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 testing/tre/APKBUILD

diff --git a/testing/tre/APKBUILD b/testing/tre/APKBUILD
new file mode 100644
index 0000000000..eddfb91bd3
--- /dev/null
+++ b/testing/tre/APKBUILD
@@ -0,0 +1,22 @@
# Contributor:
# Maintainer:
pkgname=tre
pkgver=0.8.0
pkgrel=0
pkgdesc="POSIX compliant regexp matching library. Includes agrep for approximate grepping."
url="https://laurikari.net/tre"
arch="all"
license="BSD"
subpackages="$pkgname-doc $pkgname-dev"
source="https://laurikari.net/tre/tre-$pkgver.tar.bz2"

build() {
	./configure --prefix=/usr --enable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="db7465993e0d25eee8e52f974427b8a040234cf0f017769eb94ee88bc6261821336aad7f762bfa82db7e2212d8449bc221592586f061c528a59a550773cbc263  tre-0.8.0.tar.bz2"
-- 
2.28.0
Details
Message ID
<20201014142244.1b04260f@enterprise>
In-Reply-To
<20201014133001.11101-1-alhassanaraouf@disroot.org> (view parent)
DKIM signature
missing
Download raw message
On Wed, 14 Oct 2020 15:30:01 +0200
Al-Hassan Abdel-Raouf <alhassanaraouf@disroot.org> wrote:

> https://laurikari.net/tre
> POSIX compliant regexp matching library.
> Includes agrep for approximate grepping.
> ---
>  testing/tre/APKBUILD | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 testing/tre/APKBUILD
> 
> diff --git a/testing/tre/APKBUILD b/testing/tre/APKBUILD
> new file mode 100644
> index 0000000000..eddfb91bd3
> --- /dev/null
> +++ b/testing/tre/APKBUILD
> @@ -0,0 +1,22 @@
> +# Contributor:
> +# Maintainer:

Why no Maintainer ?

> +pkgname=tre
> +pkgver=0.8.0
> +pkgrel=0
> +pkgdesc="POSIX compliant regexp matching library. Includes agrep for
> approximate grepping." +url="https://laurikari.net/tre"
> +arch="all"
> +license="BSD"

Need to use an SPDX identifier

> +subpackages="$pkgname-doc $pkgname-dev"
> +source="https://laurikari.net/tre/tre-$pkgver.tar.bz2"
> +
> +build() {
> +	./configure --prefix=/usr --enable-static

Please also pass --build=$CBUILD and --host=$CHOST

> +	make
> +}
> +
> +package() {
> +	make DESTDIR="$pkgdir" install
> +}
> +
> +sha512sums="db7465993e0d25eee8e52f974427b8a040234cf0f017769eb94ee88bc6261821336aad7f762bfa82db7e2212d8449bc221592586f061c528a59a550773cbc263
>  tre-0.8.0.tar.bz2"
Al-Hassan Abdel-Raouf <alhassanaraouf@disroot.org>
Details
Message ID
<20201014220500.GA12175@alhassan-pc.my.domain>
In-Reply-To
<20201014133001.11101-1-alhassanaraouf@disroot.org> (view parent)
DKIM signature
missing
Download raw message
sorry for late replay

i can be the maintainer if it's okay to be one week behind from any program update to update the package
because sometimes i can access computer on weekdays
Al-Hassan Abdel-Raouf <alhassanaraouf@disroot.org>
Details
Message ID
<20201014220614.GB12175@alhassan-pc.my.domain>
In-Reply-To
<20201014133001.11101-1-alhassanaraouf@disroot.org> (view parent)
DKIM signature
missing
Download raw message
> because sometimes i can access computer on weekdays

can't
Al-Hassan Abdel-Raouf <alhassanaraouf@disroot.org>
Details
Message ID
<20201014221128.GC12175@alhassan-pc.my.domain>
In-Reply-To
<20201014133001.11101-1-alhassanaraouf@disroot.org> (view parent)
DKIM signature
missing
Download raw message
also i get error when passing --build=$CBUILD and --host=$CHOST to configure

and compile fine without them, maybe you can help me

The Error Message:

```
checking build system type... x86_64-unknown-linux-gnu
checking host system type... Invalid configuration `x86_64-alpine-linux-musl': machine `x86_64-alpine-linux' not recognized
configure: error: /bin/sh utils/config.sub x86_64-alpine-linux-musl failed'`'`
```
Details
Message ID
<20201014202603.7ad23f52@enterprise>
In-Reply-To
<20201014221128.GC12175@alhassan-pc.my.domain> (view parent)
DKIM signature
missing
Download raw message
On Thu, 15 Oct 2020 00:11:28 +0200
Al-Hassan Abdel-Raouf <alhassanaraouf@disroot.org> wrote:

> also i get error when passing --build=$CBUILD and --host=$CHOST to
> configure
> 
> and compile fine without them, maybe you can help me
> 
> The Error Message:
> 
> ```
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... Invalid configuration
> `x86_64-alpine-linux-musl': machine `x86_64-alpine-linux' not
> recognized configure: error: /bin/sh utils/config.sub
> x86_64-alpine-linux-musl failed'`'` ```


Add update_config_guess inside prepare()

```sh
prepare() {
    default_prepare
    update_config_guess
}
```
Reply to thread Export thread (mbox)