[gentoo-commits] repo/gentoo:master commit in: net-mail/asmail/

2023-12-11 Thread Joonas Niilola
commit: 45b01767c49d8664976e3edd7c6f0582bd5b0016
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Dec 11 13:02:34 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Dec 11 13:02:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45b01767

net-mail/asmail: add missing die on 2.1-r3

Signed-off-by: Joonas Niilola  gentoo.org>

 net-mail/asmail/asmail-2.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/asmail/asmail-2.1-r3.ebuild 
b/net-mail/asmail/asmail-2.1-r3.ebuild
index c417c16fb169..29c8a3a37716 100644
--- a/net-mail/asmail/asmail-2.1-r3.ebuild
+++ b/net-mail/asmail/asmail-2.1-r3.ebuild
@@ -31,7 +31,7 @@ PATCHES=(
 
 src_prepare() {
default
-   cd "${S}/autoconf"
+   cd "${S}/autoconf" || die
eautoreconf
cp "${S}/autoconf/configure" "${S}/" || die
 }



[gentoo-commits] repo/gentoo:master commit in: net-mail/asmail/, net-mail/asmail/files/

2023-12-11 Thread Joonas Niilola
commit: dc84a57f23f427c7b560bcdb3f28f9364a995456
Author: Pascal Jäger  leimstift  de>
AuthorDate: Tue Sep 19 08:59:32 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Dec 11 13:01:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc84a57f

net-mail/asmail: revbump, fix clang16 bugs

Closes: https://bugs.gentoo.org/877115
Closes: https://bugs.gentoo.org/900170
Signed-off-by: Pascal Jäger  leimstift.de>
Closes: https://github.com/gentoo/gentoo/pull/32921
Signed-off-by: Joonas Niilola  gentoo.org>

 net-mail/asmail/asmail-2.1-r3.ebuild   | 57 
 .../asmail/files/asmail-2.1-update-autotools.patch | 61 ++
 2 files changed, 118 insertions(+)

diff --git a/net-mail/asmail/asmail-2.1-r3.ebuild 
b/net-mail/asmail/asmail-2.1-r3.ebuild
new file mode 100644
index ..c417c16fb169
--- /dev/null
+++ b/net-mail/asmail/asmail-2.1-r3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="A small mail monitor similar to xbiff"
+HOMEPAGE="https://tigr.net/afterstep/applets/;
+SRC_URI="https://tigr.net/afterstep/download/${PN}/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="jpeg"
+
+RDEPEND="
+   dev-libs/openssl:0=
+   x11-libs/libXext
+   x11-libs/libX11
+   x11-libs/libXpm
+   x11-libs/libICE
+   x11-libs/libSM
+   jpeg? ( media-libs/libjpeg-turbo:0 )"
+DEPEND="${RDEPEND}
+   x11-base/xorg-proto"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-update-autotools.patch
+)
+
+src_prepare() {
+   default
+   cd "${S}/autoconf"
+   eautoreconf
+   cp "${S}/autoconf/configure" "${S}/" || die
+}
+
+src_configure() {
+   tc-export CC
+   econf $(use_enable jpeg) --with-xpm-library=/usr/$(get_libdir)
+}
+
+src_install() {
+   dobin ${PN}
+
+   newman ${PN}.man ${PN}.1
+   newman ${PN}rc.man ${PN}rc.5
+
+   insinto /usr/share/${PN}/pixmaps
+   doins pixmaps/cloud-e/*.xpm
+
+   insinto /usr/share/${PN}
+   doins -r sounds
+
+   dodoc ${PN}rc.s* CHANGES *.txt README* TODO
+}

diff --git a/net-mail/asmail/files/asmail-2.1-update-autotools.patch 
b/net-mail/asmail/files/asmail-2.1-update-autotools.patch
new file mode 100644
index ..287b36480111
--- /dev/null
+++ b/net-mail/asmail/files/asmail-2.1-update-autotools.patch
@@ -0,0 +1,61 @@
+I order to compile this package with clang we need to run autoreconf. Newer 
autotools complain about
+the several declarations of the same header.
+
+MD5 calculation is split from libssl into libcrypto. 
+
+Bug: https://bugs.gentoo.org/880913
+Bug: https://bugs.gentoo.org/900170
+
+--- a/autoconf/Makefile.defines.in
 b/autoconf/Makefile.defines.in
+@@ -38,7 +38,8 @@ LIBS_XEXTS   =
+ LIBS_AFTERSTEP= -lXt
+ LIBS_PTHREAD  = -lpthread -lrt
+ LIBS_SSL  = @HAVESSL@
+-LIBRARIES = $(LIBS_X) $(LIBS_XPM) $(LIBS_XEXTS) $(LIBS_PTHREAD) 
$(LIBS_SSL)
++LIBS_CRYPTO   = @HAVECRYPTO@
++LIBRARIES = $(LIBS_X) $(LIBS_XPM) $(LIBS_XEXTS) $(LIBS_PTHREAD) 
$(LIBS_SSL) $(LIBS_CRYPTO)
+ 
+ AFTER_BIN_DIR = @bindir@
+ AFTER_MAN_DIR = @mandir@/man1
+--- a/autoconf/configure.in
 b/autoconf/configure.in
+@@ -1,3 +1,4 @@
++
+ dnl# -*- sh -*-
+ dnl# Process this file with autoconf to produce a configure script.
+ dnl#
+@@ -61,7 +62,6 @@ AC_CHECK_HEADERS(sys/statvfs.h sys/vfs.h sys/mount.h ustat.h)
+ AC_CHECK_HEADERS(machine/soundcard.h linux/soundcard.h linux/radio.h)
+ AC_CHECK_HEADERS(pthread.h)
+ AC_CHECK_HEADERS(openssl/ssl.h)
+-AC_CONFIG_HEADER(config.h)
+ 
+ dnl# Check for X
+ 
+@@ -110,8 +110,12 @@ AC_CHECK_LIB(ssl, SSL_CTX_new, [SSL_LIB="-lssl" 
HAVESSL="-lssl"],,)
+ MD5_OBJ=""
+ if test "x$HAVESSL" = "x"; then
+   MD5_OBJ="md5c.o"
++else
++  AC_CHECK_HEADERS(openssl/md5.h)
+ fi
+ 
++AC_CHECK_LIB(crypto, MD5, [CRYPTO_LIB="-lcrypto" HAVECRYPTO="-lcrypto"],,)
++
+ dnl# Variable strings declaration
+ 
+ AC_SUBST(version)
+@@ -129,11 +133,10 @@ AC_SUBST(with_gnustep_lib)
+ AC_SUBST(with_afterdir)
+ AC_SUBST(HAVESSL)
+ AC_SUBST(MD5_OBJ)
++AC_SUBST(HAVECRYPTO)
+ 
+ dnl# Write results
+ 
+-AC_CONFIG_HEADER(config.h)
+-
+ dnl# Common parts of the Makefile
+ MAKEFILEDEFINES=./autoconf/Makefile.defines
+ MAKEFILECOMMON=./autoconf/Makefile.common



[gentoo-commits] repo/gentoo:master commit in: net-mail/asmail/

2021-11-25 Thread Marek Szuba
commit: c5e0c1dd1a45bb1928d4150e317408afb5c06d03
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Nov 25 21:30:27 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Nov 25 21:30:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e0c1dd

net-mail/asmail: update EAPI 5 -> 8

This also drops net-mail/asmail to ~arch-only - I have a feeling that a
package which has been stabilised on x86 but not on amd64 has not seen
much use lately, and we are trying to reduce arch-tester load on
now-exotic architectures.

Signed-off-by: Marek Szuba  gentoo.org>

 .../{asmail-2.1-r1.ebuild => asmail-2.1-r2.ebuild}   | 16 ++--
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/net-mail/asmail/asmail-2.1-r1.ebuild 
b/net-mail/asmail/asmail-2.1-r2.ebuild
similarity index 76%
rename from net-mail/asmail/asmail-2.1-r1.ebuild
rename to net-mail/asmail/asmail-2.1-r2.ebuild
index 4d88997e613f..8a15dabe5212 100644
--- a/net-mail/asmail/asmail-2.1-r1.ebuild
+++ b/net-mail/asmail/asmail-2.1-r2.ebuild
@@ -1,17 +1,17 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=8
 
-inherit epatch toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="A small mail monitor similar to xbiff"
-HOMEPAGE="http://www.tigr.net;
-SRC_URI="http://www.tigr.net/afterstep/download/${PN}/${P}.tar.gz;
+HOMEPAGE="https://tigr.net/afterstep/applets/;
+SRC_URI="https://tigr.net/afterstep/download/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
+KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="jpeg"
 
 RDEPEND="
@@ -25,8 +25,12 @@ RDEPEND="
 DEPEND="${RDEPEND}
x11-base/xorg-proto"
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.1-ldflags.patch
+)
+
 src_prepare() {
-   epatch "${FILESDIR}"/${P}-ldflags.patch
+   default
sed -i -e "/LIB/s/-lssl/-lssl -lcrypto/g" \
configure
 }



[gentoo-commits] repo/gentoo:master commit in: net-mail/asmail/

2021-05-02 Thread Mikle Kolyada
commit: 686742046b1c46d29b14b702828bb8bc92142c26
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May  2 12:47:21 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May  2 12:47:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68674204

net-mail/asmail: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-mail/asmail/asmail-2.1-r1.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/net-mail/asmail/asmail-2.1-r1.ebuild 
b/net-mail/asmail/asmail-2.1-r1.ebuild
index d018d7a0ea8..4d88997e613 100644
--- a/net-mail/asmail/asmail-2.1-r1.ebuild
+++ b/net-mail/asmail/asmail-2.1-r1.ebuild
@@ -12,11 +12,10 @@ 
SRC_URI="http://www.tigr.net/afterstep/download/${PN}/${P}.tar.gz;
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc x86"
-IUSE="jpeg libressl"
+IUSE="jpeg"
 
 RDEPEND="
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
+   dev-libs/openssl:0=
x11-libs/libXext
x11-libs/libX11
x11-libs/libXpm



[gentoo-commits] repo/gentoo:master commit in: net-mail/asmail/

2019-10-07 Thread Michał Górny
commit: 6482fcd2bfb5af9585d99a6ec9b98fefc684df4a
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  7 09:03:48 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  7 09:09:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6482fcd2

net-mail/asmail: Drop old (EAPI=0)

Signed-off-by: Michał Górny  gentoo.org>

 net-mail/asmail/asmail-2.1.ebuild | 49 ---
 1 file changed, 49 deletions(-)

diff --git a/net-mail/asmail/asmail-2.1.ebuild 
b/net-mail/asmail/asmail-2.1.ebuild
deleted file mode 100644
index 3adcfa115c3..000
--- a/net-mail/asmail/asmail-2.1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit toolchain-funcs eutils
-
-DESCRIPTION="a small mail monitor similar to xbiff"
-HOMEPAGE="http://www.tigr.net;
-SRC_URI="http://www.tigr.net/afterstep/download/${PN}/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
-IUSE="jpeg"
-
-RDEPEND="dev-libs/openssl
-   x11-libs/libXext
-   x11-libs/libX11
-   x11-libs/libXpm
-   x11-libs/libICE
-   x11-libs/libSM
-   jpeg? ( virtual/jpeg )"
-DEPEND="${RDEPEND}
-   x11-base/xorg-proto"
-
-src_compile() {
-   epatch "${FILESDIR}"/${P}-ldflags.patch
-   sed -i -e "/LIB/s/-lssl/-lssl -lcrypto/g" \
-   configure
-   tc-export CC
-   econf $(use_enable jpeg)
-   emake || die "emake failed."
-}
-
-src_install() {
-   dobin ${PN}
-
-   newman ${PN}.man ${PN}.1
-   newman ${PN}rc.man ${PN}rc.5
-
-   insinto /usr/share/${PN}/pixmaps
-   doins pixmaps/cloud-e/*.xpm
-
-   insinto /usr/share/${PN}
-   doins -r sounds
-
-   dodoc ${PN}rc.s* CHANGES *.txt README* TODO
-}



[gentoo-commits] repo/gentoo:master commit in: net-mail/asmail/

2019-10-07 Thread Agostino Sarubbo
commit: 18f6cdd919cb2a0d8bcecfd6181c258a92850627
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Oct  7 08:58:54 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Oct  7 08:58:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18f6cdd9

net-mail/asmail: x86 stable wrt bug #696338

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-mail/asmail/asmail-2.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-mail/asmail/asmail-2.1-r1.ebuild 
b/net-mail/asmail/asmail-2.1-r1.ebuild
index 0aaf3d03b70..352f73df004 100644
--- a/net-mail/asmail/asmail-2.1-r1.ebuild
+++ b/net-mail/asmail/asmail-2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -11,7 +11,7 @@ 
SRC_URI="http://www.tigr.net/afterstep/download/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc x86"
 IUSE="jpeg libressl"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/asmail/

2018-05-11 Thread Matt Turner
commit: 67608e6957976627e4605f1898b31b1817c620fb
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Fri May 11 23:35:03 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat May 12 00:32:38 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67608e69

net-mail/asmail: Update dependencies (x11-proto/* -> x11-base/xorg-proto).

 net-mail/asmail/asmail-2.1-r1.ebuild | 4 ++--
 net-mail/asmail/asmail-2.1.ebuild| 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-mail/asmail/asmail-2.1-r1.ebuild 
b/net-mail/asmail/asmail-2.1-r1.ebuild
index ca22bcd63a6..0aaf3d03b70 100644
--- a/net-mail/asmail/asmail-2.1-r1.ebuild
+++ b/net-mail/asmail/asmail-2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -24,7 +24,7 @@ RDEPEND="
x11-libs/libSM
jpeg? ( virtual/jpeg:= )"
 DEPEND="${RDEPEND}
-   x11-proto/xextproto"
+   x11-base/xorg-proto"
 
 src_prepare() {
epatch "${FILESDIR}"/${P}-ldflags.patch

diff --git a/net-mail/asmail/asmail-2.1.ebuild 
b/net-mail/asmail/asmail-2.1.ebuild
index 93fc38e7cdd..3adcfa115c3 100644
--- a/net-mail/asmail/asmail-2.1.ebuild
+++ b/net-mail/asmail/asmail-2.1.ebuild
@@ -22,7 +22,7 @@ RDEPEND="dev-libs/openssl
x11-libs/libSM
jpeg? ( virtual/jpeg )"
 DEPEND="${RDEPEND}
-   x11-proto/xextproto"
+   x11-base/xorg-proto"
 
 src_compile() {
epatch "${FILESDIR}"/${P}-ldflags.patch



[gentoo-commits] repo/gentoo:master commit in: net-mail/asmail/

2016-06-03 Thread Anthony G. Basile
commit: 213181cf7be56f4dd643acc95d6634a5c947d28f
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Jun  3 17:05:08 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Jun  3 17:06:07 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=213181cf

net-mail/asmail: add libressl and bump to EAP=5

Package-Manager: portage-2.2.28

 net-mail/asmail/asmail-2.1-r1.ebuild | 54 
 1 file changed, 54 insertions(+)

diff --git a/net-mail/asmail/asmail-2.1-r1.ebuild 
b/net-mail/asmail/asmail-2.1-r1.ebuild
new file mode 100644
index 000..4802e2e
--- /dev/null
+++ b/net-mail/asmail/asmail-2.1-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="a small mail monitor similar to xbiff"
+HOMEPAGE="http://www.tigr.net;
+SRC_URI="http://www.tigr.net/afterstep/download/${PN}/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="jpeg libressl"
+
+RDEPEND="
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   x11-libs/libXext
+   x11-libs/libX11
+   x11-libs/libXpm
+   x11-libs/libICE
+   x11-libs/libSM
+   jpeg? ( virtual/jpeg:= )"
+DEPEND="${RDEPEND}
+   x11-proto/xextproto"
+
+src_prepare() {
+   epatch "${FILESDIR}"/${P}-ldflags.patch
+   sed -i -e "/LIB/s/-lssl/-lssl -lcrypto/g" \
+   configure
+}
+
+src_configure() {
+   tc-export CC
+   econf $(use_enable jpeg)
+}
+
+src_install() {
+   dobin ${PN}
+
+   newman ${PN}.man ${PN}.1
+   newman ${PN}rc.man ${PN}rc.5
+
+   insinto /usr/share/${PN}/pixmaps
+   doins pixmaps/cloud-e/*.xpm
+
+   insinto /usr/share/${PN}
+   doins -r sounds
+
+   dodoc ${PN}rc.s* CHANGES *.txt README* TODO
+}