4 2

[alpine-aports] [PATCH] testing/mail: new aport

Steffen (Daode) Nurpmeso
Details
Message ID
<0b4257172cbf508689c8309f9563242232aee9fc.1506701755.git.steffen@sdaoden.eu>
Sender timestamp
1506701755
DKIM signature
missing
Download raw message
Patch: +50 -0
https://www.sdaoden.eu/code.html#s-mailx
SysV/BSD/POSIX mail(x) utility to send and receive Internet mail
---
 testing/mail/APKBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 testing/mail/APKBUILD

diff --git a/testing/mail/APKBUILD b/testing/mail/APKBUILD
new file mode 100644
index 0000000..f8056ff
--- /dev/null
+++ b/testing/mail/APKBUILD
@@ -0,0 +1,50 @@
+# Maintainer: Steffen Nurpmeso <steffen@sdaoden.eu>
+pkgname=mail
+pkgver=14.9.4
+pkgrel=0
+pkgdesc="SysV/BSD/POSIX mail(x) utility to send and receive Internet mail"
+url="https://www.sdaoden.eu/code.html#s-mailx"
+arch="all"
+license="BSD"
+makedepends="libressl-dev ncurses-dev krb5-dev"
+subpackages="$pkgname-doc"
+# XXX use $pkgname after v15
+source="https://ftp.sdaoden.eu/s-nail-$pkgver.tar.xz"
+
+builddir="$srcdir/s-nail-$pkgver"
+options=suid
+
+# LD_LIBRARY_PATH is included via -rpath, so use system defaults only.
+# And ensure no other paths sneak in.
+unset LIBRARY_PATH LD_RUN_PATH
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+C_INCLUDE_PATH=/usr/include
+LD_LIBRARY_PATH=/lib:/usr/lib
+export PATH C_INCLUDE_PATH LD_LIBRARY_PATH
+
+build() {
+	cd "$builddir"
+	make \
+		VAL_SID= VAL_MAILX=mail \
+		VAL_PREFIX=/usr \
+		VAL_SYSCONFDIR=/etc \
+		OPT_AUTOCC=no \
+		config || return 1
+	make build # XXX unite with config in v14.9.5
+}
+
+check() {
+	cd "$builddir"
+	unset LOGNAME USER # XXX drop that in v14.9.5
+	make test
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+	chmod u+s $pkgdir/usr/libexec/mail-privsep
+
+	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="96fd351d604d31dec6a03614448aa08eec885d7f01ee43e5edbd69a61579fa5b744f1cf1029680da4d415dc5f448334284f3bfa71f9449c05679b43079f98497  s-nail-14.9.4.tar.xz"
-- 
2.14.2


--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Steffen Nurpmeso
Details
Message ID
<20171004221831.-k8Ur%steffen@sdaoden.eu>
In-Reply-To
<0b4257172cbf508689c8309f9563242232aee9fc.1506701755.git.steffen@sdaoden.eu> (view parent)
Sender timestamp
1507155511
DKIM signature
missing
Download raw message
i wrote:
 |https://www.sdaoden.eu/code.html#s-mailx
 |SysV/BSD/POSIX mail(x) utility to send and receive Internet mail

Oh, there is already s-nail in testing/!  Wow!  I did not know
that.  I will send a recipe update for that, then, it is very much
worth it (the update at least).
Thank you!

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

[alpine-aports] [PATCH] testing/s-nail: update to v14.9.4

Steffen Nurpmeso
Details
Message ID
<75b4115a2fc2b8ea3a4cd43ce8affd19998f3dda.1507160007.git.steffen@sdaoden.eu>
In-Reply-To
<20171004221831.-k8Ur%steffen@sdaoden.eu> (view parent)
Sender timestamp
1507160007
DKIM signature
missing
Download raw message
Patch: +26 -7
https://www.sdaoden.eu/code.html#s-mailx
SysV/BSD/POSIX mail(x) utility to send and receive Internet mail
---
 testing/s-nail/APKBUILD | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

diff --git a/testing/s-nail/APKBUILD b/testing/s-nail/APKBUILD
index e650cf2..e71e049 100644
--- a/testing/s-nail/APKBUILD
+++ b/testing/s-nail/APKBUILD
@@ -1,32 +1,51 @@
+# Contributor: Steffen Nurpmeso <steffen@sdaoden.eu>
 # Contributor: Ivan Tham <pickfire@riseup.net>
 # Maintainer: Ivan Tham <pickfire@riseup.net>
 pkgname=s-nail
-pkgver=14.8.16
+pkgver=14.9.4
 pkgrel=0
-pkgdesc="An incarnation of BSD Mail / POSIX mailx"
-url="https://www.sdaoden.eu/code.html#s-nail"
+pkgdesc="SysV/BSD/POSIX mail(x) utility to send and receive Internet mail"
+url="https://www.sdaoden.eu/code.html#s-mailx"
 arch="all"
 license="BSD"
-makedepends="libressl-dev libidn-dev"
+makedepends="libressl-dev libidn-dev ncurses-dev krb5-dev"
 options="suid"
 replaces="mailx"
 subpackages="$pkgname-doc"
 source="https://ftp.sdaoden.eu/s-nail-$pkgver.tar.xz"
 builddir="$srcdir/"$pkgname-$pkgver
 
+# LD_LIBRARY_PATH is included via -rpath, so use system defaults only.
+# And ensure no other paths sneak in.
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+C_INCLUDE_PATH=/usr/include
+LD_LIBRARY_PATH=/lib:/usr/lib
+LIBRARY_PATH=$LD_LIBRARY_PATH
+LD_RUN_PATH=$LD_LIBRARY_PATH
+export PATH C_INCLUDE_PATH LD_LIBRARY_PATH
+
 build() {
 	cd "$builddir"
-	make SID= NAIL=mail PREFIX=/usr SYSCONFDIR=/etc WANT_AUTOCC=0 all
+	make \
+		VAL_SID= VAL_MAILX=mail \
+		VAL_PREFIX=/usr \
+		VAL_SYSCONFDIR=/etc \
+		OPT_AUTOCC=no \
+		config || return 1
+	make build # XXX unite with config in v14.9.5
 }
 
 check() {
 	cd "$builddir"
+	unset LOGNAME USER # XXX drop that in v14.9.5
 	make test
 }
 
 package() {
 	cd "$builddir"
-	make -f mk.mk install DESTDIR="$pkgdir" LIBEXECDIR=/usr/lib/s-nail
+	make DESTDIR="$pkgdir" install
+
+	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
 }
 
-sha512sums="c6e431df0325cb2561bdc6dd507155829ab48cc8731971139d75058a1bfbd010eab3a1077b5c45ac7850d3b71ab45cf4df7ab62b1b6a1bf97b098b5278161b15  s-nail-14.8.16.tar.xz"
+sha512sums="96fd351d604d31dec6a03614448aa08eec885d7f01ee43e5edbd69a61579fa5b744f1cf1029680da4d415dc5f448334284f3bfa71f9449c05679b43079f98497  s-nail-14.9.4.tar.xz"
-- 
2.14.2


--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

[alpine-aports] Re: [PATCH] testing/s-nail: update to v14.9.4

Ivan Tham
Details
Message ID
<20171005134158.R10oi%pickfire@riseup.net>
In-Reply-To
<75b4115a2fc2b8ea3a4cd43ce8affd19998f3dda.1507160007.git.steffen@sdaoden.eu> (view parent)
Sender timestamp
1507210918
DKIM signature
missing
Download raw message
Steffen Nurpmeso <steffen@sdaoden.eu> wrote:

> https://www.sdaoden.eu/code.html#s-mailx
> SysV/BSD/POSIX mail(x) utility to send and receive Internet mail
> ---
>  testing/s-nail/APKBUILD | 33 ++++++++++++++++++++++++++-------
>  1 file changed, 26 insertions(+), 7 deletions(-)
> 
> diff --git a/testing/s-nail/APKBUILD b/testing/s-nail/APKBUILD
> index e650cf2..e71e049 100644
> --- a/testing/s-nail/APKBUILD
> +++ b/testing/s-nail/APKBUILD
> @@ -1,32 +1,51 @@
> +# Contributor: Steffen Nurpmeso <steffen@sdaoden.eu>
>  # Contributor: Ivan Tham <pickfire@riseup.net>
>  # Maintainer: Ivan Tham <pickfire@riseup.net>
>  pkgname=s-nail
> -pkgver=14.8.16
> +pkgver=14.9.4
>  pkgrel=0
> -pkgdesc="An incarnation of BSD Mail / POSIX mailx"
> -url="https://www.sdaoden.eu/code.html#s-nail"
> +pkgdesc="SysV/BSD/POSIX mail(x) utility to send and receive Internet mail"
> +url="https://www.sdaoden.eu/code.html#s-mailx"
>  arch="all"
>  license="BSD"
> -makedepends="libressl-dev libidn-dev"
> +makedepends="libressl-dev libidn-dev ncurses-dev krb5-dev"
>  options="suid"
>  replaces="mailx"
>  subpackages="$pkgname-doc"
>  source="https://ftp.sdaoden.eu/s-nail-$pkgver.tar.xz"
>  builddir="$srcdir/"$pkgname-$pkgver
>  
> +# LD_LIBRARY_PATH is included via -rpath, so use system defaults only.
> +# And ensure no other paths sneak in.
> +PATH=/sbin:/usr/sbin:/bin:/usr/bin
> +C_INCLUDE_PATH=/usr/include
> +LD_LIBRARY_PATH=/lib:/usr/lib
> +LIBRARY_PATH=$LD_LIBRARY_PATH
> +LD_RUN_PATH=$LD_LIBRARY_PATH
> +export PATH C_INCLUDE_PATH LD_LIBRARY_PATH
> +
>  build() {
>  	cd "$builddir"
> -	make SID= NAIL=mail PREFIX=/usr SYSCONFDIR=/etc WANT_AUTOCC=0 all
> +	make \
> +		VAL_SID= VAL_MAILX=mail \
> +		VAL_PREFIX=/usr \
> +		VAL_SYSCONFDIR=/etc \
> +		OPT_AUTOCC=no \
> +		config || return 1
> +	make build # XXX unite with config in v14.9.5
>  }
>  
>  check() {
>  	cd "$builddir"
> +	unset LOGNAME USER # XXX drop that in v14.9.5
>  	make test
>  }
>  
>  package() {
>  	cd "$builddir"
> -	make -f mk.mk install DESTDIR="$pkgdir" LIBEXECDIR=/usr/lib/s-nail
> +	make DESTDIR="$pkgdir" install
> +
> +	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
>  }
>  
> -sha512sums="c6e431df0325cb2561bdc6dd507155829ab48cc8731971139d75058a1bfbd010eab3a1077b5c45ac7850d3b71ab45cf4df7ab62b1b6a1bf97b098b5278161b15  s-nail-14.8.16.tar.xz"
> +sha512sums="96fd351d604d31dec6a03614448aa08eec885d7f01ee43e5edbd69a61579fa5b744f1cf1029680da4d415dc5f448334284f3bfa71f9449c05679b43079f98497  s-nail-14.9.4.tar.xz"
> -- 
> 2.14.2
> 
> 
> --steffen
> |
> |Der Kragenbaer,                The moon bear,
> |der holt sich munter           he cheerfully and one by one
> |einen nach dem anderen runter  wa.ks himself off
> |(By Robert Gernhardt)

As well, please add built-in SMTP and IMAP support into it. That's one of the reason
why I build my own APKFILE. T_T


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

[alpine-aports] [PATCH] testing/s-nail: update to v14.9.5

Steffen Nurpmeso
Details
Message ID
<ce41ebe15c11bc3a93b20e7752391b6e258effdd.1508628709.git.steffen@sdaoden.eu>
In-Reply-To
<75b4115a2fc2b8ea3a4cd43ce8affd19998f3dda.1507160007.git.steffen@sdaoden.eu> (view parent)
Sender timestamp
1508628709
DKIM signature
missing
Download raw message
Patch: +25 -7
---
 testing/s-nail/APKBUILD | 32 +++++++++++++++++++++++++-------
 1 file changed, 25 insertions(+), 7 deletions(-)

diff --git a/testing/s-nail/APKBUILD b/testing/s-nail/APKBUILD
index e650cf26..2f393ad9 100644
--- a/testing/s-nail/APKBUILD
+++ b/testing/s-nail/APKBUILD
@@ -1,22 +1,38 @@
+# Contributor: Steffen Nurpmeso <steffen@sdaoden.eu>
 # Contributor: Ivan Tham <pickfire@riseup.net>
 # Maintainer: Ivan Tham <pickfire@riseup.net>
 pkgname=s-nail
-pkgver=14.8.16
+pkgver=14.9.5
 pkgrel=0
-pkgdesc="An incarnation of BSD Mail / POSIX mailx"
-url="https://www.sdaoden.eu/code.html#s-nail"
+pkgdesc="SysV/BSD/POSIX mail(x) utility to send and receive Internet mail"
+url="https://www.sdaoden.eu/code.html#s-mailx"
 arch="all"
 license="BSD"
-makedepends="libressl-dev libidn-dev"
+makedepends="libressl-dev libidn-dev ncurses-dev krb5-dev"
 options="suid"
 replaces="mailx"
 subpackages="$pkgname-doc"
 source="https://ftp.sdaoden.eu/s-nail-$pkgver.tar.xz"
 builddir="$srcdir/"$pkgname-$pkgver
 
+# LD_LIBRARY_PATH is included via -rpath, so use system defaults only.
+# And ensure no other paths sneak in.
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+C_INCLUDE_PATH=/usr/include
+LD_LIBRARY_PATH=/lib:/usr/lib
+LIBRARY_PATH=$LD_LIBRARY_PATH
+LD_RUN_PATH=$LD_LIBRARY_PATH
+export PATH C_INCLUDE_PATH LD_LIBRARY_PATH
+
 build() {
 	cd "$builddir"
-	make SID= NAIL=mail PREFIX=/usr SYSCONFDIR=/etc WANT_AUTOCC=0 all
+	make \
+		VAL_SID= VAL_MAILX=mail \
+		VAL_PREFIX=/usr \
+		VAL_SYSCONFDIR=/etc \
+		OPT_AUTOCC=no \
+		config &&
+	make build # XXX unite with config in v14.9.6
 }
 
 check() {
@@ -26,7 +42,9 @@ check() {
 
 package() {
 	cd "$builddir"
-	make -f mk.mk install DESTDIR="$pkgdir" LIBEXECDIR=/usr/lib/s-nail
+	make DESTDIR="$pkgdir" install
+
+	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
 }
 
-sha512sums="c6e431df0325cb2561bdc6dd507155829ab48cc8731971139d75058a1bfbd010eab3a1077b5c45ac7850d3b71ab45cf4df7ab62b1b6a1bf97b098b5278161b15  s-nail-14.8.16.tar.xz"
+sha512sums="96b81c9a9d993f094f5a4f7a726d4b37e9640262cd68120403d92591044576651f14560760504d5ebfa81954f6c97e33f976c0a486be4bd6e04516bdbc80e9a5  s-nail-14.9.5.tar.xz"
-- 
2.14.2


--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---