* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2016-07-07 0:03 Anthony G. Basile
0 siblings, 0 replies; 41+ messages in thread
From: Anthony G. Basile @ 2016-07-07 0:03 UTC (permalink / raw
To: gentoo-commits
commit: 76d1eccd7a65f9f7cfd5c81b406ddbca11a84a63
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 7 00:06:28 2016 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Jul 7 00:06:28 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76d1eccd
net-libs/axtls: remove older versions
Package-Manager: portage-2.2.28
net-libs/axtls/Manifest | 3 -
net-libs/axtls/axtls-1.5.0.ebuild | 177 --------------------------------------
net-libs/axtls/axtls-1.5.1.ebuild | 177 --------------------------------------
net-libs/axtls/axtls-1.5.2.ebuild | 177 --------------------------------------
4 files changed, 534 deletions(-)
diff --git a/net-libs/axtls/Manifest b/net-libs/axtls/Manifest
index 6a5f8dc..5deb48c 100644
--- a/net-libs/axtls/Manifest
+++ b/net-libs/axtls/Manifest
@@ -1,5 +1,2 @@
-DIST axTLS-1.5.0.tar.gz 1302393 SHA256 7ff27d1eb1ad1630e1a3431278d72857c1124edd9a15a07a79709bc77d8bb710 SHA512 526e3c408c960e7e48dd791c6cf94a3dbc62a36c0453e4705529490160cacd5ca1c663fab153a899618e78516714e3afb7a93dae075d2717eb9a91e63f3e9c04 WHIRLPOOL 5fc0e9f4d3f8994dc2909f85261aac538b9563b3dee787d8d6a0942f087041893217a0b9237d5c0824c3a64bb8272bb30d2c4fcdbd11a879107f20892c8f180f
-DIST axTLS-1.5.1.tar.gz 1305575 SHA256 860a2754c497109854889e78eb2efdf00661f3b5dbb5e130bd5d8441a2f6ea50 SHA512 4b35e151d222496f5e4ab9c849ca9b14a245590a07f07132eab2fa633dac4cf7abfe29344f643fa182c9c443a139d3230d4b3554d3ff0932410ab36ae3666d92 WHIRLPOOL c1072aa94a7916db38d26902bac175d17e4f8fe1a431956d0b366f9cd913c89c145d119c823d9c1bfa51d54aa191ca43386b4312bea3a16f61d9df4ff2eb6b68
-DIST axTLS-1.5.2.tar.gz 1309632 SHA256 c4568cdf3e326c6fee2d7d16b4e13e05a29cecf49c1774c7858fe83cde01f8bb SHA512 138c1134c949fb85335454907c8fa74f18860d16371aba7d4d46faa4fb0e9cbf41d259cf72389f439d8d6436dc200951001a53e996793ba59254f5ddefe99999 WHIRLPOOL 36b889c4aa5e3c2c0da20a189ec7342db86b757acbb5c9c8a12262d95ceabb490ac97fa608efd66757e74e6347e0f5ff5bd5c76ac453d9dbdc115c45b8e35ad4
DIST axTLS-1.5.3.tar.gz 1309853 SHA256 367ce7918b9e7738d853d5eaaa9d4fbdb362c5b323d4c0622a72d891f6b8d8e6 SHA512 d37fb1341259b079ed234512a96656d67e005c50d9f8e0c856fb140c9da35267624e065134e0cc8310f70e5cf5d196c7dd34f01e2a7a5cc29e77e7ca46c25281 WHIRLPOOL 92de1a06da740adf0238550d36a75216bace6c7fb867e82d38f2ca2362dcf0e41810191933aa788ffda080367b6beb312f1a9a240ab687a6c4f324988d36a81c
DIST axTLS-1.5.4.tar.gz 1296351 SHA256 24d50cc4f5908d06cfacb2a3916d91ed75c5b1441809e47bc45e1053d6ba5d91 SHA512 0e52ca22199b3c7eb45641c7fdbe607f79fcea25f12d1ee0535a6a7c7579ee42777d27ce6474866eca19287bd11a1de76f5c39f715eb06e9e4cf3324b31bbbb2 WHIRLPOOL 29d2b5e72165c28c0e9084677f44b52116ec5da5efabc2fed79479800cbfe43c5dd4bf7390951b5168a63af0acd1cb5635fecac7d4ef42d570a1ef6d5e7edb6f
diff --git a/net-libs/axtls/axtls-1.5.0.ebuild b/net-libs/axtls/axtls-1.5.0.ebuild
deleted file mode 100644
index b0149d2..0000000
--- a/net-libs/axtls/axtls-1.5.0.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
-
-################################################################################
-# axtls CONFIG MINI-HOWTO
-#
-# Note: axtls is highly configurable and uses mconf, like the linux kernel.
-# You can configure it in a couple of ways:
-#
-# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
-# you want, and possibly a lot more.
-#
-# 2) You can create your own configuration file by doing
-#
-# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
-# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
-# make menuconfig
-#
-# Now configure axtls as you want. Finally save your config file:
-#
-# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
-#
-# where ${PV} is the current version. You can then run emerge again with
-# your configuration by doing
-#
-# USE="savedconfig" emerge axtls
-#
-################################################################################
-
-MY_PN=${PN/tls/TLS}
-
-DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
-HOMEPAGE="http://axtls.sourceforge.net/"
-SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${PN}-code"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm hppa ~mips ppc ppc64 ~s390 x86"
-
-IUSE="httpd cgi-lua cgi-php static static-libs doc"
-
-# TODO: add ipv6, and c#, java, lua, perl bindings
-# Currently these all have some issue
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="
- httpd? (
- cgi-lua? ( dev-lang/lua )
- cgi-php? ( dev-lang/php[cgi] )
- )"
-
-#Note1: static, cgi-* makes no sense if httpd is not given
-REQUIRED_USE="
- static? ( httpd )
- cgi-lua? ( httpd )
- cgi-php? ( httpd )"
-
-AXTLS_GROUP="axtls"
-AXTLS_USER="axtls"
-
-pkg_setup() {
- use httpd && {
- ebegin "Creating axtls user and group"
- enewgroup ${AXTLS_GROUP}
- enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
- }
-}
-
-src_prepare() {
- tc-export AR CC
-
- epatch "${FILESDIR}/explicit-libdir-r1.patch"
-
- #We want CONFIG_DEBUG to avoid stripping
- #but not for debugging info
- sed -i -e 's: -g::' config/Rules.mak || die
- sed -i -e 's: -g::' config/makefile.conf || die
-
- multilib_copy_sources
-}
-
-use_flag_config() {
- cp "${FILESDIR}"/config config/.config || die
-
- #Respect CFLAGS/LDFLAGS
- sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
- config/.config || die
- sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
- config/.config || die
-
- #The logic is that the default config file enables everything and we disable
- #here with sed unless a USE flags says to keep it
- if use httpd; then
- if ! use static; then
- sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
- config/.config || die
- fi
- if ! use cgi-php && ! use cgi-lua; then
- sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
- config/.config || die
- fi
- if ! use cgi-php; then
- sed -i -e 's:,.php::' config/.config || die
- fi
- if ! use cgi-lua; then
- sed -i -e 's:\.lua,::' \
- -e 's:lua:php:' \
- -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
- config/.config || die
- fi
- else
- sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
- config/.config || die
- fi
-
- yes "n" | emake -j1 oldconfig > /dev/null || die
-}
-
-multilib_src_configure() {
- #Per-ABI substitutions.
- sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
- Makefile || die
-
- #Use CC as the host compiler for mconf
- sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
- config/Rules.mak || die
-
- if use savedconfig; then
- restore_config config/.config
- if [[ -f config/.config ]]; then
- ewarn "Using saved config, all other USE flags ignored"
- else
- ewarn "No saved config, seeding with the default"
- cp "${FILESDIR}"/config config/.config || die
- fi
- yes "" | emake -j1 oldconfig > /dev/null || die
- else
- use_flag_config
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use savedconfig; then
- save_config config/.config
- fi
-
- emake PREFIX="${ED}/usr" install
-
- if ! use static-libs; then
- rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
- fi
-
- # The build system needs to install before it builds docs
- if multilib_is_native_abi && use doc; then
- emake docs
- dodoc -r docsrc/html
- fi
-}
-
-multilib_src_install_all() {
- if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
- mv "${ED}"/usr/bin/{,ax}htpasswd || die
- fi
-
- if use httpd; then
- newinitd "${FILESDIR}"/axhttpd.initd axhttpd
- newconfd "${FILESDIR}"/axhttpd.confd axhttpd
- fi
-
- docompress -x /usr/share/doc/${PF}/README
- dodoc README
-}
diff --git a/net-libs/axtls/axtls-1.5.1.ebuild b/net-libs/axtls/axtls-1.5.1.ebuild
deleted file mode 100644
index b0149d2..0000000
--- a/net-libs/axtls/axtls-1.5.1.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
-
-################################################################################
-# axtls CONFIG MINI-HOWTO
-#
-# Note: axtls is highly configurable and uses mconf, like the linux kernel.
-# You can configure it in a couple of ways:
-#
-# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
-# you want, and possibly a lot more.
-#
-# 2) You can create your own configuration file by doing
-#
-# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
-# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
-# make menuconfig
-#
-# Now configure axtls as you want. Finally save your config file:
-#
-# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
-#
-# where ${PV} is the current version. You can then run emerge again with
-# your configuration by doing
-#
-# USE="savedconfig" emerge axtls
-#
-################################################################################
-
-MY_PN=${PN/tls/TLS}
-
-DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
-HOMEPAGE="http://axtls.sourceforge.net/"
-SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${PN}-code"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm hppa ~mips ppc ppc64 ~s390 x86"
-
-IUSE="httpd cgi-lua cgi-php static static-libs doc"
-
-# TODO: add ipv6, and c#, java, lua, perl bindings
-# Currently these all have some issue
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="
- httpd? (
- cgi-lua? ( dev-lang/lua )
- cgi-php? ( dev-lang/php[cgi] )
- )"
-
-#Note1: static, cgi-* makes no sense if httpd is not given
-REQUIRED_USE="
- static? ( httpd )
- cgi-lua? ( httpd )
- cgi-php? ( httpd )"
-
-AXTLS_GROUP="axtls"
-AXTLS_USER="axtls"
-
-pkg_setup() {
- use httpd && {
- ebegin "Creating axtls user and group"
- enewgroup ${AXTLS_GROUP}
- enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
- }
-}
-
-src_prepare() {
- tc-export AR CC
-
- epatch "${FILESDIR}/explicit-libdir-r1.patch"
-
- #We want CONFIG_DEBUG to avoid stripping
- #but not for debugging info
- sed -i -e 's: -g::' config/Rules.mak || die
- sed -i -e 's: -g::' config/makefile.conf || die
-
- multilib_copy_sources
-}
-
-use_flag_config() {
- cp "${FILESDIR}"/config config/.config || die
-
- #Respect CFLAGS/LDFLAGS
- sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
- config/.config || die
- sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
- config/.config || die
-
- #The logic is that the default config file enables everything and we disable
- #here with sed unless a USE flags says to keep it
- if use httpd; then
- if ! use static; then
- sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
- config/.config || die
- fi
- if ! use cgi-php && ! use cgi-lua; then
- sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
- config/.config || die
- fi
- if ! use cgi-php; then
- sed -i -e 's:,.php::' config/.config || die
- fi
- if ! use cgi-lua; then
- sed -i -e 's:\.lua,::' \
- -e 's:lua:php:' \
- -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
- config/.config || die
- fi
- else
- sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
- config/.config || die
- fi
-
- yes "n" | emake -j1 oldconfig > /dev/null || die
-}
-
-multilib_src_configure() {
- #Per-ABI substitutions.
- sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
- Makefile || die
-
- #Use CC as the host compiler for mconf
- sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
- config/Rules.mak || die
-
- if use savedconfig; then
- restore_config config/.config
- if [[ -f config/.config ]]; then
- ewarn "Using saved config, all other USE flags ignored"
- else
- ewarn "No saved config, seeding with the default"
- cp "${FILESDIR}"/config config/.config || die
- fi
- yes "" | emake -j1 oldconfig > /dev/null || die
- else
- use_flag_config
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use savedconfig; then
- save_config config/.config
- fi
-
- emake PREFIX="${ED}/usr" install
-
- if ! use static-libs; then
- rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
- fi
-
- # The build system needs to install before it builds docs
- if multilib_is_native_abi && use doc; then
- emake docs
- dodoc -r docsrc/html
- fi
-}
-
-multilib_src_install_all() {
- if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
- mv "${ED}"/usr/bin/{,ax}htpasswd || die
- fi
-
- if use httpd; then
- newinitd "${FILESDIR}"/axhttpd.initd axhttpd
- newconfd "${FILESDIR}"/axhttpd.confd axhttpd
- fi
-
- docompress -x /usr/share/doc/${PF}/README
- dodoc README
-}
diff --git a/net-libs/axtls/axtls-1.5.2.ebuild b/net-libs/axtls/axtls-1.5.2.ebuild
deleted file mode 100644
index ea6a5d6..0000000
--- a/net-libs/axtls/axtls-1.5.2.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
-
-################################################################################
-# axtls CONFIG MINI-HOWTO
-#
-# Note: axtls is highly configurable and uses mconf, like the linux kernel.
-# You can configure it in a couple of ways:
-#
-# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
-# you want, and possibly a lot more.
-#
-# 2) You can create your own configuration file by doing
-#
-# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
-# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
-# make menuconfig
-#
-# Now configure axtls as you want. Finally save your config file:
-#
-# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
-#
-# where ${PV} is the current version. You can then run emerge again with
-# your configuration by doing
-#
-# USE="savedconfig" emerge axtls
-#
-################################################################################
-
-MY_PN=${PN/tls/TLS}
-
-DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
-HOMEPAGE="http://axtls.sourceforge.net/"
-SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${PN}-code"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
-
-IUSE="httpd cgi-lua cgi-php static static-libs doc"
-
-# TODO: add ipv6, and c#, java, lua, perl bindings
-# Currently these all have some issue
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="
- httpd? (
- cgi-lua? ( dev-lang/lua )
- cgi-php? ( dev-lang/php[cgi] )
- )"
-
-#Note1: static, cgi-* makes no sense if httpd is not given
-REQUIRED_USE="
- static? ( httpd )
- cgi-lua? ( httpd )
- cgi-php? ( httpd )"
-
-AXTLS_GROUP="axtls"
-AXTLS_USER="axtls"
-
-pkg_setup() {
- use httpd && {
- ebegin "Creating axtls user and group"
- enewgroup ${AXTLS_GROUP}
- enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
- }
-}
-
-src_prepare() {
- tc-export AR CC
-
- epatch "${FILESDIR}/explicit-libdir-r1.patch"
-
- #We want CONFIG_DEBUG to avoid stripping
- #but not for debugging info
- sed -i -e 's: -g::' config/Rules.mak || die
- sed -i -e 's: -g::' config/makefile.conf || die
-
- multilib_copy_sources
-}
-
-use_flag_config() {
- cp "${FILESDIR}"/config config/.config || die
-
- #Respect CFLAGS/LDFLAGS
- sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
- config/.config || die
- sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
- config/.config || die
-
- #The logic is that the default config file enables everything and we disable
- #here with sed unless a USE flags says to keep it
- if use httpd; then
- if ! use static; then
- sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
- config/.config || die
- fi
- if ! use cgi-php && ! use cgi-lua; then
- sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
- config/.config || die
- fi
- if ! use cgi-php; then
- sed -i -e 's:,.php::' config/.config || die
- fi
- if ! use cgi-lua; then
- sed -i -e 's:\.lua,::' \
- -e 's:lua:php:' \
- -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
- config/.config || die
- fi
- else
- sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
- config/.config || die
- fi
-
- yes "n" | emake -j1 oldconfig > /dev/null || die
-}
-
-multilib_src_configure() {
- #Per-ABI substitutions.
- sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
- Makefile || die
-
- #Use CC as the host compiler for mconf
- sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
- config/Rules.mak || die
-
- if use savedconfig; then
- restore_config config/.config
- if [[ -f config/.config ]]; then
- ewarn "Using saved config, all other USE flags ignored"
- else
- ewarn "No saved config, seeding with the default"
- cp "${FILESDIR}"/config config/.config || die
- fi
- yes "" | emake -j1 oldconfig > /dev/null || die
- else
- use_flag_config
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use savedconfig; then
- save_config config/.config
- fi
-
- emake PREFIX="${ED}/usr" install
-
- if ! use static-libs; then
- rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
- fi
-
- # The build system needs to install before it builds docs
- if multilib_is_native_abi && use doc; then
- emake docs
- dodoc -r docsrc/html
- fi
-}
-
-multilib_src_install_all() {
- if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
- mv "${ED}"/usr/bin/{,ax}htpasswd || die
- fi
-
- if use httpd; then
- newinitd "${FILESDIR}"/axhttpd.initd axhttpd
- newconfd "${FILESDIR}"/axhttpd.confd axhttpd
- fi
-
- docompress -x /usr/share/doc/${PF}/README
- dodoc README
-}
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2022-09-09 7:59 David Seifert
0 siblings, 0 replies; 41+ messages in thread
From: David Seifert @ 2022-09-09 7:59 UTC (permalink / raw
To: gentoo-commits
commit: 27de68f739ed2bae841d1e1d8b86d87e865d0ad1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 9 07:59:20 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Sep 9 07:59:20 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27de68f7
net-libs/axtls: drop multilib, static-libs
No multilib or static-libs reverse dependencies.
Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
...s-2.1.5-r101.ebuild => axtls-2.1.5-r102.ebuild} | 30 +++++++++-------------
1 file changed, 12 insertions(+), 18 deletions(-)
diff --git a/net-libs/axtls/axtls-2.1.5-r101.ebuild b/net-libs/axtls/axtls-2.1.5-r102.ebuild
similarity index 87%
rename from net-libs/axtls/axtls-2.1.5-r101.ebuild
rename to net-libs/axtls/axtls-2.1.5-r102.ebuild
index 5f09e2c9f169..046f79d41d75 100644
--- a/net-libs/axtls/axtls-2.1.5-r101.ebuild
+++ b/net-libs/axtls/axtls-2.1.5-r102.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
LUA_COMPAT=( lua5-{1..4} luajit )
-inherit lua-single multilib-minimal savedconfig toolchain-funcs
+inherit lua-single savedconfig toolchain-funcs
################################################################################
# axtls CONFIG MINI-HOWTO
@@ -44,7 +44,7 @@ LICENSE="BSD GPL-2"
SLOT="0/1"
KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~s390 ~sparc x86"
-IUSE="httpd cgi-lua cgi-php static static-libs doc"
+IUSE="httpd cgi-lua cgi-php static doc"
# TODO: add ipv6, and c#, java, lua, perl bindings
# Currently these all have some issue
@@ -72,14 +72,12 @@ src_prepare() {
eapply "${FILESDIR}/explicit-libdir-r1.patch"
- #We want CONFIG_DEBUG to avoid stripping
- #but not for debugging info
+ # We want CONFIG_DEBUG to avoid stripping
+ # but not for debugging info
sed -i -e 's: -g::' config/Rules.mak || die
sed -i -e 's: -g::' config/makefile.conf || die
eapply_user
-
- multilib_copy_sources
}
use_flag_config() {
@@ -122,12 +120,12 @@ use_flag_config() {
emake -j1 oldconfig < <(yes n) > /dev/null
}
-multilib_src_configure() {
- #Per-ABI substitutions.
+src_configure() {
+ # Per-ABI substitutions.
sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
Makefile || die
- #Use CC as the host compiler for mconf
+ # Use CC as the host compiler for mconf
sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
config/Rules.mak || die
@@ -145,25 +143,21 @@ multilib_src_configure() {
fi
}
-multilib_src_install() {
- if multilib_is_native_abi && use savedconfig; then
+src_install() {
+ if use savedconfig; then
save_config config/.config
fi
emake PREFIX="${ED}/usr" install
- if ! use static-libs; then
- rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
- fi
+ rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
# The build system needs to install before it builds docs
- if multilib_is_native_abi && use doc; then
+ if use doc; then
emake docs
dodoc -r docsrc/html
fi
-}
-multilib_src_install_all() {
if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
mv "${ED}"/usr/bin/{,ax}htpasswd || die
fi
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2021-07-20 19:03 Conrad Kostecki
0 siblings, 0 replies; 41+ messages in thread
From: Conrad Kostecki @ 2021-07-20 19:03 UTC (permalink / raw
To: gentoo-commits
commit: bd08444cc2d907f5e2bde79fd4a771e777f8b555
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 18 19:34:28 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Jul 20 19:03:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd08444c
net-libs/axtls: drop old version
Closes: https://bugs.gentoo.org/781401
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
net-libs/axtls/axtls-2.1.5-r100.ebuild | 185 ---------------------------------
1 file changed, 185 deletions(-)
diff --git a/net-libs/axtls/axtls-2.1.5-r100.ebuild b/net-libs/axtls/axtls-2.1.5-r100.ebuild
deleted file mode 100644
index d9a47694270..00000000000
--- a/net-libs/axtls/axtls-2.1.5-r100.ebuild
+++ /dev/null
@@ -1,185 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-{1..4} luajit )
-
-inherit lua-single multilib-minimal savedconfig toolchain-funcs user
-
-################################################################################
-# axtls CONFIG MINI-HOWTO
-#
-# Note: axtls is highly configurable and uses mconf, like the linux kernel.
-# You can configure it in a couple of ways:
-#
-# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
-# you want, and possibly a lot more.
-#
-# 2) You can create your own configuration file by doing
-#
-# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
-# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
-# make menuconfig
-#
-# Now configure axtls as you want. Finally save your config file:
-#
-# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
-#
-# where ${PV} is the current version. You can then run emerge again with
-# your configuration by doing
-#
-# USE="savedconfig" emerge axtls
-#
-################################################################################
-
-MY_PN=${PN/tls/TLS}
-
-DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
-HOMEPAGE="http://axtls.sourceforge.net/"
-SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${PN}-code"
-
-LICENSE="BSD GPL-2"
-SLOT="0/1"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~s390 ~sparc x86"
-
-IUSE="httpd cgi-lua cgi-php static static-libs doc"
-
-# TODO: add ipv6, and c#, java, lua, perl bindings
-# Currently these all have some issue
-BDEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="
- httpd? (
- cgi-lua? ( ${LUA_DEPS} )
- cgi-php? ( dev-lang/php[cgi] )
- )"
-
-#Note1: static, cgi-* makes no sense if httpd is not given
-REQUIRED_USE="
- static? ( httpd )
- cgi-lua? ( httpd ${LUA_REQUIRED_USE} )
- cgi-php? ( httpd )"
-
-AXTLS_GROUP="axtls"
-AXTLS_USER="axtls"
-
-pkg_setup() {
- use cgi-lua && lua-single_pkg_setup
-
- use httpd && {
- ebegin "Creating axtls user and group"
- enewgroup ${AXTLS_GROUP}
- enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
- }
-}
-
-src_prepare() {
- tc-export AR CC
-
- eapply "${FILESDIR}/explicit-libdir-r1.patch"
-
- #We want CONFIG_DEBUG to avoid stripping
- #but not for debugging info
- sed -i -e 's: -g::' config/Rules.mak || die
- sed -i -e 's: -g::' config/makefile.conf || die
-
- eapply_user
-
- multilib_copy_sources
-}
-
-use_flag_config() {
- cp "${FILESDIR}"/config config/.config || die
-
- #Respect CFLAGS/LDFLAGS
- sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
- config/.config || die
- sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDFLAGS}\":" \
- config/.config || die
-
- #The logic is that the default config file enables everything and we disable
- #here with sed unless a USE flags says to keep it
- if use httpd; then
- if ! use static; then
- sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
- config/.config || die
- fi
- if ! use cgi-php && ! use cgi-lua; then
- sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
- config/.config || die
- fi
- if ! use cgi-php; then
- sed -i -e 's:,.php::' config/.config || die
- fi
- if ! use cgi-lua; then
- sed -i -e 's:\.lua,::' \
- -e 's:lua:php:' \
- -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
- config/.config || die
- fi
- if use cgi-lua; then
- sed -i -e "s:/usr/bin/lua:${LUA}:" config/.config || die
- fi
- else
- sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
- config/.config || die
- fi
-
- emake -j1 oldconfig < <(yes n) > /dev/null
-}
-
-multilib_src_configure() {
- #Per-ABI substitutions.
- sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
- Makefile || die
-
- #Use CC as the host compiler for mconf
- sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
- config/Rules.mak || die
-
- if use savedconfig; then
- restore_config config/.config
- if [[ -f config/.config ]]; then
- ewarn "Using saved config, all other USE flags ignored"
- else
- ewarn "No saved config, seeding with the default"
- cp "${FILESDIR}"/config config/.config || die
- fi
- emake -j1 oldconfig < <(yes '') > /dev/null
- else
- use_flag_config
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use savedconfig; then
- save_config config/.config
- fi
-
- emake PREFIX="${ED}/usr" install
-
- if ! use static-libs; then
- rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
- fi
-
- # The build system needs to install before it builds docs
- if multilib_is_native_abi && use doc; then
- emake docs
- dodoc -r docsrc/html
- fi
-}
-
-multilib_src_install_all() {
- if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
- mv "${ED}"/usr/bin/{,ax}htpasswd || die
- fi
-
- if use httpd; then
- newinitd "${FILESDIR}"/axhttpd.initd axhttpd
- newconfd "${FILESDIR}"/axhttpd.confd axhttpd
- fi
-
- docompress -x /usr/share/doc/${PF}/README
- dodoc README
-}
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2021-07-20 19:03 Conrad Kostecki
0 siblings, 0 replies; 41+ messages in thread
From: Conrad Kostecki @ 2021-07-20 19:03 UTC (permalink / raw
To: gentoo-commits
commit: ed03daa1c5e6f43ba79681c724c463048ed8957b
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 18 19:32:39 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Jul 20 19:03:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed03daa1
net-libs/axtls: migrate to GLEP 81
Bug: https://bugs.gentoo.org/781401
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
net-libs/axtls/axtls-2.1.5-r101.ebuild | 178 +++++++++++++++++++++++++++++++++
1 file changed, 178 insertions(+)
diff --git a/net-libs/axtls/axtls-2.1.5-r101.ebuild b/net-libs/axtls/axtls-2.1.5-r101.ebuild
new file mode 100644
index 00000000000..5f09e2c9f16
--- /dev/null
+++ b/net-libs/axtls/axtls-2.1.5-r101.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit lua-single multilib-minimal savedconfig toolchain-funcs
+
+################################################################################
+# axtls CONFIG MINI-HOWTO
+#
+# Note: axtls is highly configurable and uses mconf, like the linux kernel.
+# You can configure it in a couple of ways:
+#
+# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
+# you want, and possibly a lot more.
+#
+# 2) You can create your own configuration file by doing
+#
+# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
+# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
+# make menuconfig
+#
+# Now configure axtls as you want. Finally save your config file:
+#
+# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
+#
+# where ${PV} is the current version. You can then run emerge again with
+# your configuration by doing
+#
+# USE="savedconfig" emerge axtls
+#
+################################################################################
+
+MY_PN=${PN/tls/TLS}
+
+DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
+HOMEPAGE="http://axtls.sourceforge.net/"
+SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${PN}-code"
+
+LICENSE="BSD GPL-2"
+SLOT="0/1"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~s390 ~sparc x86"
+
+IUSE="httpd cgi-lua cgi-php static static-libs doc"
+
+# TODO: add ipv6, and c#, java, lua, perl bindings
+# Currently these all have some issue
+BDEPEND="doc? ( app-doc/doxygen )"
+RDEPEND="
+ httpd? (
+ acct-group/axtls
+ acct-user/axtls
+ cgi-lua? ( ${LUA_DEPS} )
+ cgi-php? ( dev-lang/php[cgi] )
+ )"
+
+#Note1: static, cgi-* makes no sense if httpd is not given
+REQUIRED_USE="
+ static? ( httpd )
+ cgi-lua? ( httpd ${LUA_REQUIRED_USE} )
+ cgi-php? ( httpd )"
+
+pkg_setup() {
+ use cgi-lua && lua-single_pkg_setup
+}
+
+src_prepare() {
+ tc-export AR CC
+
+ eapply "${FILESDIR}/explicit-libdir-r1.patch"
+
+ #We want CONFIG_DEBUG to avoid stripping
+ #but not for debugging info
+ sed -i -e 's: -g::' config/Rules.mak || die
+ sed -i -e 's: -g::' config/makefile.conf || die
+
+ eapply_user
+
+ multilib_copy_sources
+}
+
+use_flag_config() {
+ cp "${FILESDIR}"/config config/.config || die
+
+ #Respect CFLAGS/LDFLAGS
+ sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
+ config/.config || die
+ sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDFLAGS}\":" \
+ config/.config || die
+
+ #The logic is that the default config file enables everything and we disable
+ #here with sed unless a USE flags says to keep it
+ if use httpd; then
+ if ! use static; then
+ sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
+ config/.config || die
+ fi
+ if ! use cgi-php && ! use cgi-lua; then
+ sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
+ config/.config || die
+ fi
+ if ! use cgi-php; then
+ sed -i -e 's:,.php::' config/.config || die
+ fi
+ if ! use cgi-lua; then
+ sed -i -e 's:\.lua,::' \
+ -e 's:lua:php:' \
+ -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
+ config/.config || die
+ fi
+ if use cgi-lua; then
+ sed -i -e "s:/usr/bin/lua:${LUA}:" config/.config || die
+ fi
+ else
+ sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
+ config/.config || die
+ fi
+
+ emake -j1 oldconfig < <(yes n) > /dev/null
+}
+
+multilib_src_configure() {
+ #Per-ABI substitutions.
+ sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
+ Makefile || die
+
+ #Use CC as the host compiler for mconf
+ sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
+ config/Rules.mak || die
+
+ if use savedconfig; then
+ restore_config config/.config
+ if [[ -f config/.config ]]; then
+ ewarn "Using saved config, all other USE flags ignored"
+ else
+ ewarn "No saved config, seeding with the default"
+ cp "${FILESDIR}"/config config/.config || die
+ fi
+ emake -j1 oldconfig < <(yes '') > /dev/null
+ else
+ use_flag_config
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi && use savedconfig; then
+ save_config config/.config
+ fi
+
+ emake PREFIX="${ED}/usr" install
+
+ if ! use static-libs; then
+ rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
+ fi
+
+ # The build system needs to install before it builds docs
+ if multilib_is_native_abi && use doc; then
+ emake docs
+ dodoc -r docsrc/html
+ fi
+}
+
+multilib_src_install_all() {
+ if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
+ mv "${ED}"/usr/bin/{,ax}htpasswd || die
+ fi
+
+ if use httpd; then
+ newinitd "${FILESDIR}"/axhttpd.initd axhttpd
+ newconfd "${FILESDIR}"/axhttpd.confd axhttpd
+ fi
+
+ docompress -x /usr/share/doc/${PF}/README
+ dodoc README
+}
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2021-03-25 23:52 Conrad Kostecki
0 siblings, 0 replies; 41+ messages in thread
From: Conrad Kostecki @ 2021-03-25 23:52 UTC (permalink / raw
To: gentoo-commits
commit: 55439b38efab2508412b70dbd32d6d1a4751aaae
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 25 23:51:35 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Mar 25 23:52:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55439b38
net-libs/axtls: drop old version
Dropping old versions, which do not support slotted lua, while current
stables does.
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
net-libs/axtls/axtls-2.1.5-r1.ebuild | 178 -----------------------------------
net-libs/axtls/axtls-2.1.5.ebuild | 178 -----------------------------------
2 files changed, 356 deletions(-)
diff --git a/net-libs/axtls/axtls-2.1.5-r1.ebuild b/net-libs/axtls/axtls-2.1.5-r1.ebuild
deleted file mode 100644
index f628f4d67de..00000000000
--- a/net-libs/axtls/axtls-2.1.5-r1.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit multilib multilib-minimal savedconfig toolchain-funcs user
-
-################################################################################
-# axtls CONFIG MINI-HOWTO
-#
-# Note: axtls is highly configurable and uses mconf, like the linux kernel.
-# You can configure it in a couple of ways:
-#
-# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
-# you want, and possibly a lot more.
-#
-# 2) You can create your own configuration file by doing
-#
-# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
-# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
-# make menuconfig
-#
-# Now configure axtls as you want. Finally save your config file:
-#
-# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
-#
-# where ${PV} is the current version. You can then run emerge again with
-# your configuration by doing
-#
-# USE="savedconfig" emerge axtls
-#
-################################################################################
-
-MY_PN=${PN/tls/TLS}
-
-DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
-HOMEPAGE="http://axtls.sourceforge.net/"
-SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${PN}-code"
-
-LICENSE="BSD GPL-2"
-SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-
-IUSE="httpd cgi-lua cgi-php static static-libs doc"
-
-# TODO: add ipv6, and c#, java, lua, perl bindings
-# Currently these all have some issue
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="
- httpd? (
- cgi-lua? ( dev-lang/lua:0= )
- cgi-php? ( dev-lang/php[cgi] )
- )"
-
-#Note1: static, cgi-* makes no sense if httpd is not given
-REQUIRED_USE="
- static? ( httpd )
- cgi-lua? ( httpd )
- cgi-php? ( httpd )"
-
-AXTLS_GROUP="axtls"
-AXTLS_USER="axtls"
-
-pkg_setup() {
- use httpd && {
- ebegin "Creating axtls user and group"
- enewgroup ${AXTLS_GROUP}
- enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
- }
-}
-
-src_prepare() {
- tc-export AR CC
-
- eapply "${FILESDIR}/explicit-libdir-r1.patch"
-
- #We want CONFIG_DEBUG to avoid stripping
- #but not for debugging info
- sed -i -e 's: -g::' config/Rules.mak || die
- sed -i -e 's: -g::' config/makefile.conf || die
-
- eapply_user
-
- multilib_copy_sources
-}
-
-use_flag_config() {
- cp "${FILESDIR}"/config config/.config || die
-
- #Respect CFLAGS/LDFLAGS
- sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
- config/.config || die
- sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDFLAGS}\":" \
- config/.config || die
-
- #The logic is that the default config file enables everything and we disable
- #here with sed unless a USE flags says to keep it
- if use httpd; then
- if ! use static; then
- sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
- config/.config || die
- fi
- if ! use cgi-php && ! use cgi-lua; then
- sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
- config/.config || die
- fi
- if ! use cgi-php; then
- sed -i -e 's:,.php::' config/.config || die
- fi
- if ! use cgi-lua; then
- sed -i -e 's:\.lua,::' \
- -e 's:lua:php:' \
- -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
- config/.config || die
- fi
- else
- sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
- config/.config || die
- fi
-
- emake -j1 oldconfig < <(yes n) > /dev/null
-}
-
-multilib_src_configure() {
- #Per-ABI substitutions.
- sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
- Makefile || die
-
- #Use CC as the host compiler for mconf
- sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
- config/Rules.mak || die
-
- if use savedconfig; then
- restore_config config/.config
- if [[ -f config/.config ]]; then
- ewarn "Using saved config, all other USE flags ignored"
- else
- ewarn "No saved config, seeding with the default"
- cp "${FILESDIR}"/config config/.config || die
- fi
- emake -j1 oldconfig < <(yes '') > /dev/null
- else
- use_flag_config
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use savedconfig; then
- save_config config/.config
- fi
-
- emake PREFIX="${ED}/usr" install
-
- if ! use static-libs; then
- rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
- fi
-
- # The build system needs to install before it builds docs
- if multilib_is_native_abi && use doc; then
- emake docs
- dodoc -r docsrc/html
- fi
-}
-
-multilib_src_install_all() {
- if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
- mv "${ED}"/usr/bin/{,ax}htpasswd || die
- fi
-
- if use httpd; then
- newinitd "${FILESDIR}"/axhttpd.initd axhttpd
- newconfd "${FILESDIR}"/axhttpd.confd axhttpd
- fi
-
- docompress -x /usr/share/doc/${PF}/README
- dodoc README
-}
diff --git a/net-libs/axtls/axtls-2.1.5.ebuild b/net-libs/axtls/axtls-2.1.5.ebuild
deleted file mode 100644
index 87f9e7cb335..00000000000
--- a/net-libs/axtls/axtls-2.1.5.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit multilib multilib-minimal savedconfig toolchain-funcs user
-
-################################################################################
-# axtls CONFIG MINI-HOWTO
-#
-# Note: axtls is highly configurable and uses mconf, like the linux kernel.
-# You can configure it in a couple of ways:
-#
-# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
-# you want, and possibly a lot more.
-#
-# 2) You can create your own configuration file by doing
-#
-# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
-# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
-# make menuconfig
-#
-# Now configure axtls as you want. Finally save your config file:
-#
-# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
-#
-# where ${PV} is the current version. You can then run emerge again with
-# your configuration by doing
-#
-# USE="savedconfig" emerge axtls
-#
-################################################################################
-
-MY_PN=${PN/tls/TLS}
-
-DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
-HOMEPAGE="http://axtls.sourceforge.net/"
-SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${PN}-code"
-
-LICENSE="BSD GPL-2"
-SLOT="0/1"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~s390 ~sparc x86"
-
-IUSE="httpd cgi-lua cgi-php static static-libs doc"
-
-# TODO: add ipv6, and c#, java, lua, perl bindings
-# Currently these all have some issue
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="
- httpd? (
- cgi-lua? ( dev-lang/lua:0= )
- cgi-php? ( dev-lang/php[cgi] )
- )"
-
-#Note1: static, cgi-* makes no sense if httpd is not given
-REQUIRED_USE="
- static? ( httpd )
- cgi-lua? ( httpd )
- cgi-php? ( httpd )"
-
-AXTLS_GROUP="axtls"
-AXTLS_USER="axtls"
-
-pkg_setup() {
- use httpd && {
- ebegin "Creating axtls user and group"
- enewgroup ${AXTLS_GROUP}
- enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
- }
-}
-
-src_prepare() {
- tc-export AR CC
-
- eapply "${FILESDIR}/explicit-libdir-r1.patch"
-
- #We want CONFIG_DEBUG to avoid stripping
- #but not for debugging info
- sed -i -e 's: -g::' config/Rules.mak || die
- sed -i -e 's: -g::' config/makefile.conf || die
-
- eapply_user
-
- multilib_copy_sources
-}
-
-use_flag_config() {
- cp "${FILESDIR}"/config config/.config || die
-
- #Respect CFLAGS/LDFLAGS
- sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
- config/.config || die
- sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
- config/.config || die
-
- #The logic is that the default config file enables everything and we disable
- #here with sed unless a USE flags says to keep it
- if use httpd; then
- if ! use static; then
- sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
- config/.config || die
- fi
- if ! use cgi-php && ! use cgi-lua; then
- sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
- config/.config || die
- fi
- if ! use cgi-php; then
- sed -i -e 's:,.php::' config/.config || die
- fi
- if ! use cgi-lua; then
- sed -i -e 's:\.lua,::' \
- -e 's:lua:php:' \
- -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
- config/.config || die
- fi
- else
- sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
- config/.config || die
- fi
-
- emake -j1 oldconfig < <(yes n) > /dev/null
-}
-
-multilib_src_configure() {
- #Per-ABI substitutions.
- sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
- Makefile || die
-
- #Use CC as the host compiler for mconf
- sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
- config/Rules.mak || die
-
- if use savedconfig; then
- restore_config config/.config
- if [[ -f config/.config ]]; then
- ewarn "Using saved config, all other USE flags ignored"
- else
- ewarn "No saved config, seeding with the default"
- cp "${FILESDIR}"/config config/.config || die
- fi
- emake -j1 oldconfig < <(yes '') > /dev/null
- else
- use_flag_config
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use savedconfig; then
- save_config config/.config
- fi
-
- emake PREFIX="${ED}/usr" install
-
- if ! use static-libs; then
- rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
- fi
-
- # The build system needs to install before it builds docs
- if multilib_is_native_abi && use doc; then
- emake docs
- dodoc -r docsrc/html
- fi
-}
-
-multilib_src_install_all() {
- if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
- mv "${ED}"/usr/bin/{,ax}htpasswd || die
- fi
-
- if use httpd; then
- newinitd "${FILESDIR}"/axhttpd.initd axhttpd
- newconfd "${FILESDIR}"/axhttpd.confd axhttpd
- fi
-
- docompress -x /usr/share/doc/${PF}/README
- dodoc README
-}
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2021-01-24 3:52 Sam James
0 siblings, 0 replies; 41+ messages in thread
From: Sam James @ 2021-01-24 3:52 UTC (permalink / raw
To: gentoo-commits
commit: d090cd3a57e5cd55fb7ebde52305fee3e83af342
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 24 03:51:46 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 03:52:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d090cd3a
net-libs/axtls: Stabilize 2.1.5-r100 ppc, #766528
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/axtls/axtls-2.1.5-r100.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-2.1.5-r100.ebuild b/net-libs/axtls/axtls-2.1.5-r100.ebuild
index c1f95672cee..c56626d589a 100644
--- a/net-libs/axtls/axtls-2.1.5-r100.ebuild
+++ b/net-libs/axtls/axtls-2.1.5-r100.ebuild
@@ -42,7 +42,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ~ppc ppc64 ~s390 ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~s390 ~sparc x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2021-01-23 22:51 Sam James
0 siblings, 0 replies; 41+ messages in thread
From: Sam James @ 2021-01-23 22:51 UTC (permalink / raw
To: gentoo-commits
commit: bdd2f53a511509001f1426035d0c6f3678a700be
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 23 22:50:18 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 23 22:50:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdd2f53a
net-libs/axtls: Stabilize 2.1.5-r100 arm, #766528
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/axtls/axtls-2.1.5-r100.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-2.1.5-r100.ebuild b/net-libs/axtls/axtls-2.1.5-r100.ebuild
index 7261801996d..a257b0540cd 100644
--- a/net-libs/axtls/axtls-2.1.5-r100.ebuild
+++ b/net-libs/axtls/axtls-2.1.5-r100.ebuild
@@ -42,7 +42,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2021-01-23 4:20 Sam James
0 siblings, 0 replies; 41+ messages in thread
From: Sam James @ 2021-01-23 4:20 UTC (permalink / raw
To: gentoo-commits
commit: 470fa5e106722e990a61e9262dc7800ea0c3a4d4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 23 04:19:47 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 23 04:19:47 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=470fa5e1
net-libs/axtls: Stabilize 2.1.5-r100 x86, #766528
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/axtls/axtls-2.1.5-r100.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-2.1.5-r100.ebuild b/net-libs/axtls/axtls-2.1.5-r100.ebuild
index e14639e4d3c..7261801996d 100644
--- a/net-libs/axtls/axtls-2.1.5-r100.ebuild
+++ b/net-libs/axtls/axtls-2.1.5-r100.ebuild
@@ -42,7 +42,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2021-01-23 4:09 Sam James
0 siblings, 0 replies; 41+ messages in thread
From: Sam James @ 2021-01-23 4:09 UTC (permalink / raw
To: gentoo-commits
commit: b5a718830783bdcaf5dc2d8d81fa6d8535cf3dc7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 23 04:09:33 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 23 04:09:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5a71883
net-libs/axtls: Stabilize 2.1.5-r100 amd64, #766528
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/axtls/axtls-2.1.5-r100.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-libs/axtls/axtls-2.1.5-r100.ebuild b/net-libs/axtls/axtls-2.1.5-r100.ebuild
index aa38483db9f..e14639e4d3c 100644
--- a/net-libs/axtls/axtls-2.1.5-r100.ebuild
+++ b/net-libs/axtls/axtls-2.1.5-r100.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -42,7 +42,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2020-12-21 12:08 Marek Szuba
0 siblings, 0 replies; 41+ messages in thread
From: Marek Szuba @ 2020-12-21 12:08 UTC (permalink / raw
To: gentoo-commits
commit: acf4d96d58ff7184e641a151385633789ee15aa5
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 21 12:06:34 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Dec 21 12:08:33 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acf4d96d
net-libs/axtls-2.1.5-r100: fix accidental whitespace mangling
Thanks to Arfrever for having spotted and reported it.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
net-libs/axtls/axtls-2.1.5-r100.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-2.1.5-r100.ebuild b/net-libs/axtls/axtls-2.1.5-r100.ebuild
index a988deef75d..aa38483db9f 100644
--- a/net-libs/axtls/axtls-2.1.5-r100.ebuild
+++ b/net-libs/axtls/axtls-2.1.5-r100.ebuild
@@ -105,7 +105,8 @@ use_flag_config() {
sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
config/.config || die
fi
- if ! use cgi-php && ! use cgi-lua; then sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
+ if ! use cgi-php && ! use cgi-lua; then
+ sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
config/.config || die
fi
if ! use cgi-php; then
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2020-06-14 11:21 Sergei Trofimovich
0 siblings, 0 replies; 41+ messages in thread
From: Sergei Trofimovich @ 2020-06-14 11:21 UTC (permalink / raw
To: gentoo-commits
commit: ad96274e09f86500db4a53bab26f846b4940f0f8
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 14 11:21:17 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jun 14 11:21:17 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad96274e
net-libs/axtls: fix s/LDLAGS/LDFLAGS typo
Closes: https://bugs.gentoo.org/724580
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
net-libs/axtls/axtls-2.1.5-r1.ebuild | 178 +++++++++++++++++++++++++++++++++++
1 file changed, 178 insertions(+)
diff --git a/net-libs/axtls/axtls-2.1.5-r1.ebuild b/net-libs/axtls/axtls-2.1.5-r1.ebuild
new file mode 100644
index 00000000000..894290b4d92
--- /dev/null
+++ b/net-libs/axtls/axtls-2.1.5-r1.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit multilib multilib-minimal savedconfig toolchain-funcs user
+
+################################################################################
+# axtls CONFIG MINI-HOWTO
+#
+# Note: axtls is highly configurable and uses mconf, like the linux kernel.
+# You can configure it in a couple of ways:
+#
+# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
+# you want, and possibly a lot more.
+#
+# 2) You can create your own configuration file by doing
+#
+# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
+# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
+# make menuconfig
+#
+# Now configure axtls as you want. Finally save your config file:
+#
+# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
+#
+# where ${PV} is the current version. You can then run emerge again with
+# your configuration by doing
+#
+# USE="savedconfig" emerge axtls
+#
+################################################################################
+
+MY_PN=${PN/tls/TLS}
+
+DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
+HOMEPAGE="http://axtls.sourceforge.net/"
+SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${PN}-code"
+
+LICENSE="BSD GPL-2"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+IUSE="httpd cgi-lua cgi-php static static-libs doc"
+
+# TODO: add ipv6, and c#, java, lua, perl bindings
+# Currently these all have some issue
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND="
+ httpd? (
+ cgi-lua? ( dev-lang/lua )
+ cgi-php? ( dev-lang/php[cgi] )
+ )"
+
+#Note1: static, cgi-* makes no sense if httpd is not given
+REQUIRED_USE="
+ static? ( httpd )
+ cgi-lua? ( httpd )
+ cgi-php? ( httpd )"
+
+AXTLS_GROUP="axtls"
+AXTLS_USER="axtls"
+
+pkg_setup() {
+ use httpd && {
+ ebegin "Creating axtls user and group"
+ enewgroup ${AXTLS_GROUP}
+ enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
+ }
+}
+
+src_prepare() {
+ tc-export AR CC
+
+ eapply "${FILESDIR}/explicit-libdir-r1.patch"
+
+ #We want CONFIG_DEBUG to avoid stripping
+ #but not for debugging info
+ sed -i -e 's: -g::' config/Rules.mak || die
+ sed -i -e 's: -g::' config/makefile.conf || die
+
+ eapply_user
+
+ multilib_copy_sources
+}
+
+use_flag_config() {
+ cp "${FILESDIR}"/config config/.config || die
+
+ #Respect CFLAGS/LDFLAGS
+ sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
+ config/.config || die
+ sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDFLAGS}\":" \
+ config/.config || die
+
+ #The logic is that the default config file enables everything and we disable
+ #here with sed unless a USE flags says to keep it
+ if use httpd; then
+ if ! use static; then
+ sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
+ config/.config || die
+ fi
+ if ! use cgi-php && ! use cgi-lua; then
+ sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
+ config/.config || die
+ fi
+ if ! use cgi-php; then
+ sed -i -e 's:,.php::' config/.config || die
+ fi
+ if ! use cgi-lua; then
+ sed -i -e 's:\.lua,::' \
+ -e 's:lua:php:' \
+ -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
+ config/.config || die
+ fi
+ else
+ sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
+ config/.config || die
+ fi
+
+ emake -j1 oldconfig < <(yes n) > /dev/null
+}
+
+multilib_src_configure() {
+ #Per-ABI substitutions.
+ sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
+ Makefile || die
+
+ #Use CC as the host compiler for mconf
+ sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
+ config/Rules.mak || die
+
+ if use savedconfig; then
+ restore_config config/.config
+ if [[ -f config/.config ]]; then
+ ewarn "Using saved config, all other USE flags ignored"
+ else
+ ewarn "No saved config, seeding with the default"
+ cp "${FILESDIR}"/config config/.config || die
+ fi
+ emake -j1 oldconfig < <(yes '') > /dev/null
+ else
+ use_flag_config
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi && use savedconfig; then
+ save_config config/.config
+ fi
+
+ emake PREFIX="${ED}/usr" install
+
+ if ! use static-libs; then
+ rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
+ fi
+
+ # The build system needs to install before it builds docs
+ if multilib_is_native_abi && use doc; then
+ emake docs
+ dodoc -r docsrc/html
+ fi
+}
+
+multilib_src_install_all() {
+ if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
+ mv "${ED}"/usr/bin/{,ax}htpasswd || die
+ fi
+
+ if use httpd; then
+ newinitd "${FILESDIR}"/axhttpd.initd axhttpd
+ newconfd "${FILESDIR}"/axhttpd.confd axhttpd
+ fi
+
+ docompress -x /usr/share/doc/${PF}/README
+ dodoc README
+}
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2020-04-24 0:53 Anthony G. Basile
0 siblings, 0 replies; 41+ messages in thread
From: Anthony G. Basile @ 2020-04-24 0:53 UTC (permalink / raw
To: gentoo-commits
commit: f7e232a1011c1b3d39036507462c712f35bc79bb
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 24 00:52:51 2020 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Apr 24 00:52:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e232a1
net-libs/axtls: cleanup vulnerable versions, bug #717808
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
net-libs/axtls/Manifest | 3 -
net-libs/axtls/axtls-1.5.3.ebuild | 176 -------------------------------------
net-libs/axtls/axtls-2.1.3.ebuild | 178 --------------------------------------
net-libs/axtls/axtls-2.1.4.ebuild | 178 --------------------------------------
4 files changed, 535 deletions(-)
diff --git a/net-libs/axtls/Manifest b/net-libs/axtls/Manifest
index 27afd37d043..4c15ca2006b 100644
--- a/net-libs/axtls/Manifest
+++ b/net-libs/axtls/Manifest
@@ -1,4 +1 @@
-DIST axTLS-1.5.3.tar.gz 1309853 BLAKE2B 8a7db4df4775dc73e35c3a9b2a7bbee783d96f36c122393b72b47a4ed4e66f41e4736dcb7ed8eee4d756760957feafc113a5a4c6df58847b94721b1fb8560196 SHA512 d37fb1341259b079ed234512a96656d67e005c50d9f8e0c856fb140c9da35267624e065134e0cc8310f70e5cf5d196c7dd34f01e2a7a5cc29e77e7ca46c25281
-DIST axTLS-2.1.3.tar.gz 1316776 BLAKE2B f60502d34a9d23ac772e1bbe05dc9350ab2385fb3c42480117120923647f122ef7a955289b656b8a70b3ac9817b1bcf947f541739b8d01ebe1eb4340f8d9cf38 SHA512 aa116b671bf0fa059cb77f9e5c0307c48ab476b7ce7017f1d4b2e6362d9d527e534908cb30ec3667eec8c49566f950de3ae4ec0adf5b603fb4efb571eaffc596
-DIST axTLS-2.1.4.tar.gz 1316768 BLAKE2B 3ff302c59313ee80d18a0d5390c591e6259625e62707cc0c7c677add1f7fddffa5b4dc46860ee18dd96fcc227b3cac1179ab290f8af50ac91fe2841fff977cd4 SHA512 ce301719a12f5b836e3c67a169119d2836382b7b97d39f4010b8b8a644a6751b9f948a6c91f8dc6c39d19f5723311af7aca8958f9052e72cb38a9907247af3e6
DIST axTLS-2.1.5.tar.gz 1318286 BLAKE2B a4f7cb551f3569fbc9a3a7e0e8faa929a5310fdb412283487fedd4a58e36a65529ebd9aec859027ca6df8e69db85b9f908b56f8d37284548b3984da10774ca3d SHA512 d208b174c31a144a779185e77834a34b0fdd15e8cadf4665b8fd76dcb3207955ed687f3d86d1e60f85d108ecccfd900a76e6d045d16a7182001e0b58da09be18
diff --git a/net-libs/axtls/axtls-1.5.3.ebuild b/net-libs/axtls/axtls-1.5.3.ebuild
deleted file mode 100644
index 1f02d467d12..00000000000
--- a/net-libs/axtls/axtls-1.5.3.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
-
-################################################################################
-# axtls CONFIG MINI-HOWTO
-#
-# Note: axtls is highly configurable and uses mconf, like the linux kernel.
-# You can configure it in a couple of ways:
-#
-# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
-# you want, and possibly a lot more.
-#
-# 2) You can create your own configuration file by doing
-#
-# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
-# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
-# make menuconfig
-#
-# Now configure axtls as you want. Finally save your config file:
-#
-# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
-#
-# where ${PV} is the current version. You can then run emerge again with
-# your configuration by doing
-#
-# USE="savedconfig" emerge axtls
-#
-################################################################################
-
-MY_PN=${PN/tls/TLS}
-
-DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
-HOMEPAGE="http://axtls.sourceforge.net/"
-SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${PN}-code"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm hppa ~mips ppc ppc64 ~s390 x86"
-
-IUSE="httpd cgi-lua cgi-php static static-libs doc"
-
-# TODO: add ipv6, and c#, java, lua, perl bindings
-# Currently these all have some issue
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="
- httpd? (
- cgi-lua? ( dev-lang/lua )
- cgi-php? ( dev-lang/php[cgi] )
- )"
-
-#Note1: static, cgi-* makes no sense if httpd is not given
-REQUIRED_USE="
- static? ( httpd )
- cgi-lua? ( httpd )
- cgi-php? ( httpd )"
-
-AXTLS_GROUP="axtls"
-AXTLS_USER="axtls"
-
-pkg_setup() {
- use httpd && {
- ebegin "Creating axtls user and group"
- enewgroup ${AXTLS_GROUP}
- enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
- }
-}
-
-src_prepare() {
- tc-export AR CC
-
- epatch "${FILESDIR}/explicit-libdir-r1.patch"
-
- #We want CONFIG_DEBUG to avoid stripping
- #but not for debugging info
- sed -i -e 's: -g::' config/Rules.mak || die
- sed -i -e 's: -g::' config/makefile.conf || die
-
- multilib_copy_sources
-}
-
-use_flag_config() {
- cp "${FILESDIR}"/config config/.config || die
-
- #Respect CFLAGS/LDFLAGS
- sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
- config/.config || die
- sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
- config/.config || die
-
- #The logic is that the default config file enables everything and we disable
- #here with sed unless a USE flags says to keep it
- if use httpd; then
- if ! use static; then
- sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
- config/.config || die
- fi
- if ! use cgi-php && ! use cgi-lua; then
- sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
- config/.config || die
- fi
- if ! use cgi-php; then
- sed -i -e 's:,.php::' config/.config || die
- fi
- if ! use cgi-lua; then
- sed -i -e 's:\.lua,::' \
- -e 's:lua:php:' \
- -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
- config/.config || die
- fi
- else
- sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
- config/.config || die
- fi
-
- emake -j1 oldconfig < <(yes n) > /dev/null
-}
-
-multilib_src_configure() {
- #Per-ABI substitutions.
- sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
- Makefile || die
-
- #Use CC as the host compiler for mconf
- sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
- config/Rules.mak || die
-
- if use savedconfig; then
- restore_config config/.config
- if [[ -f config/.config ]]; then
- ewarn "Using saved config, all other USE flags ignored"
- else
- ewarn "No saved config, seeding with the default"
- cp "${FILESDIR}"/config config/.config || die
- fi
- emake -j1 oldconfig < <(yes '') > /dev/null
- else
- use_flag_config
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use savedconfig; then
- save_config config/.config
- fi
-
- emake PREFIX="${ED}/usr" install
-
- if ! use static-libs; then
- rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
- fi
-
- # The build system needs to install before it builds docs
- if multilib_is_native_abi && use doc; then
- emake docs
- dodoc -r docsrc/html
- fi
-}
-
-multilib_src_install_all() {
- if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
- mv "${ED}"/usr/bin/{,ax}htpasswd || die
- fi
-
- if use httpd; then
- newinitd "${FILESDIR}"/axhttpd.initd axhttpd
- newconfd "${FILESDIR}"/axhttpd.confd axhttpd
- fi
-
- docompress -x /usr/share/doc/${PF}/README
- dodoc README
-}
diff --git a/net-libs/axtls/axtls-2.1.3.ebuild b/net-libs/axtls/axtls-2.1.3.ebuild
deleted file mode 100644
index b856997fc61..00000000000
--- a/net-libs/axtls/axtls-2.1.3.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit multilib multilib-minimal savedconfig toolchain-funcs user
-
-################################################################################
-# axtls CONFIG MINI-HOWTO
-#
-# Note: axtls is highly configurable and uses mconf, like the linux kernel.
-# You can configure it in a couple of ways:
-#
-# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
-# you want, and possibly a lot more.
-#
-# 2) You can create your own configuration file by doing
-#
-# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
-# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
-# make menuconfig
-#
-# Now configure axtls as you want. Finally save your config file:
-#
-# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
-#
-# where ${PV} is the current version. You can then run emerge again with
-# your configuration by doing
-#
-# USE="savedconfig" emerge axtls
-#
-################################################################################
-
-MY_PN=${PN/tls/TLS}
-
-DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
-HOMEPAGE="http://axtls.sourceforge.net/"
-SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${PN}-code"
-
-LICENSE="BSD GPL-2"
-SLOT="0/1"
-KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 s390 ~sparc x86"
-
-IUSE="httpd cgi-lua cgi-php static static-libs doc"
-
-# TODO: add ipv6, and c#, java, lua, perl bindings
-# Currently these all have some issue
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="
- httpd? (
- cgi-lua? ( dev-lang/lua )
- cgi-php? ( dev-lang/php[cgi] )
- )"
-
-#Note1: static, cgi-* makes no sense if httpd is not given
-REQUIRED_USE="
- static? ( httpd )
- cgi-lua? ( httpd )
- cgi-php? ( httpd )"
-
-AXTLS_GROUP="axtls"
-AXTLS_USER="axtls"
-
-pkg_setup() {
- use httpd && {
- ebegin "Creating axtls user and group"
- enewgroup ${AXTLS_GROUP}
- enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
- }
-}
-
-src_prepare() {
- tc-export AR CC
-
- eapply "${FILESDIR}/explicit-libdir-r1.patch"
-
- #We want CONFIG_DEBUG to avoid stripping
- #but not for debugging info
- sed -i -e 's: -g::' config/Rules.mak || die
- sed -i -e 's: -g::' config/makefile.conf || die
-
- eapply_user
-
- multilib_copy_sources
-}
-
-use_flag_config() {
- cp "${FILESDIR}"/config config/.config || die
-
- #Respect CFLAGS/LDFLAGS
- sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
- config/.config || die
- sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
- config/.config || die
-
- #The logic is that the default config file enables everything and we disable
- #here with sed unless a USE flags says to keep it
- if use httpd; then
- if ! use static; then
- sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
- config/.config || die
- fi
- if ! use cgi-php && ! use cgi-lua; then
- sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
- config/.config || die
- fi
- if ! use cgi-php; then
- sed -i -e 's:,.php::' config/.config || die
- fi
- if ! use cgi-lua; then
- sed -i -e 's:\.lua,::' \
- -e 's:lua:php:' \
- -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
- config/.config || die
- fi
- else
- sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
- config/.config || die
- fi
-
- emake -j1 oldconfig < <(yes n) > /dev/null
-}
-
-multilib_src_configure() {
- #Per-ABI substitutions.
- sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
- Makefile || die
-
- #Use CC as the host compiler for mconf
- sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
- config/Rules.mak || die
-
- if use savedconfig; then
- restore_config config/.config
- if [[ -f config/.config ]]; then
- ewarn "Using saved config, all other USE flags ignored"
- else
- ewarn "No saved config, seeding with the default"
- cp "${FILESDIR}"/config config/.config || die
- fi
- emake -j1 oldconfig < <(yes '') > /dev/null
- else
- use_flag_config
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use savedconfig; then
- save_config config/.config
- fi
-
- emake PREFIX="${ED}/usr" install
-
- if ! use static-libs; then
- rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
- fi
-
- # The build system needs to install before it builds docs
- if multilib_is_native_abi && use doc; then
- emake docs
- dodoc -r docsrc/html
- fi
-}
-
-multilib_src_install_all() {
- if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
- mv "${ED}"/usr/bin/{,ax}htpasswd || die
- fi
-
- if use httpd; then
- newinitd "${FILESDIR}"/axhttpd.initd axhttpd
- newconfd "${FILESDIR}"/axhttpd.confd axhttpd
- fi
-
- docompress -x /usr/share/doc/${PF}/README
- dodoc README
-}
diff --git a/net-libs/axtls/axtls-2.1.4.ebuild b/net-libs/axtls/axtls-2.1.4.ebuild
deleted file mode 100644
index dcd2852e823..00000000000
--- a/net-libs/axtls/axtls-2.1.4.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit multilib multilib-minimal savedconfig toolchain-funcs user
-
-################################################################################
-# axtls CONFIG MINI-HOWTO
-#
-# Note: axtls is highly configurable and uses mconf, like the linux kernel.
-# You can configure it in a couple of ways:
-#
-# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
-# you want, and possibly a lot more.
-#
-# 2) You can create your own configuration file by doing
-#
-# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
-# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
-# make menuconfig
-#
-# Now configure axtls as you want. Finally save your config file:
-#
-# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
-#
-# where ${PV} is the current version. You can then run emerge again with
-# your configuration by doing
-#
-# USE="savedconfig" emerge axtls
-#
-################################################################################
-
-MY_PN=${PN/tls/TLS}
-
-DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
-HOMEPAGE="http://axtls.sourceforge.net/"
-SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${PN}-code"
-
-LICENSE="BSD GPL-2"
-SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-
-IUSE="httpd cgi-lua cgi-php static static-libs doc"
-
-# TODO: add ipv6, and c#, java, lua, perl bindings
-# Currently these all have some issue
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="
- httpd? (
- cgi-lua? ( dev-lang/lua )
- cgi-php? ( dev-lang/php[cgi] )
- )"
-
-#Note1: static, cgi-* makes no sense if httpd is not given
-REQUIRED_USE="
- static? ( httpd )
- cgi-lua? ( httpd )
- cgi-php? ( httpd )"
-
-AXTLS_GROUP="axtls"
-AXTLS_USER="axtls"
-
-pkg_setup() {
- use httpd && {
- ebegin "Creating axtls user and group"
- enewgroup ${AXTLS_GROUP}
- enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
- }
-}
-
-src_prepare() {
- tc-export AR CC
-
- eapply "${FILESDIR}/explicit-libdir-r1.patch"
-
- #We want CONFIG_DEBUG to avoid stripping
- #but not for debugging info
- sed -i -e 's: -g::' config/Rules.mak || die
- sed -i -e 's: -g::' config/makefile.conf || die
-
- eapply_user
-
- multilib_copy_sources
-}
-
-use_flag_config() {
- cp "${FILESDIR}"/config config/.config || die
-
- #Respect CFLAGS/LDFLAGS
- sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
- config/.config || die
- sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
- config/.config || die
-
- #The logic is that the default config file enables everything and we disable
- #here with sed unless a USE flags says to keep it
- if use httpd; then
- if ! use static; then
- sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
- config/.config || die
- fi
- if ! use cgi-php && ! use cgi-lua; then
- sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
- config/.config || die
- fi
- if ! use cgi-php; then
- sed -i -e 's:,.php::' config/.config || die
- fi
- if ! use cgi-lua; then
- sed -i -e 's:\.lua,::' \
- -e 's:lua:php:' \
- -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
- config/.config || die
- fi
- else
- sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
- config/.config || die
- fi
-
- emake -j1 oldconfig < <(yes n) > /dev/null
-}
-
-multilib_src_configure() {
- #Per-ABI substitutions.
- sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
- Makefile || die
-
- #Use CC as the host compiler for mconf
- sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
- config/Rules.mak || die
-
- if use savedconfig; then
- restore_config config/.config
- if [[ -f config/.config ]]; then
- ewarn "Using saved config, all other USE flags ignored"
- else
- ewarn "No saved config, seeding with the default"
- cp "${FILESDIR}"/config config/.config || die
- fi
- emake -j1 oldconfig < <(yes '') > /dev/null
- else
- use_flag_config
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use savedconfig; then
- save_config config/.config
- fi
-
- emake PREFIX="${ED}/usr" install
-
- if ! use static-libs; then
- rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
- fi
-
- # The build system needs to install before it builds docs
- if multilib_is_native_abi && use doc; then
- emake docs
- dodoc -r docsrc/html
- fi
-}
-
-multilib_src_install_all() {
- if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
- mv "${ED}"/usr/bin/{,ax}htpasswd || die
- fi
-
- if use httpd; then
- newinitd "${FILESDIR}"/axhttpd.initd axhttpd
- newconfd "${FILESDIR}"/axhttpd.confd axhttpd
- fi
-
- docompress -x /usr/share/doc/${PF}/README
- dodoc README
-}
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2020-04-20 9:50 Agostino Sarubbo
0 siblings, 0 replies; 41+ messages in thread
From: Agostino Sarubbo @ 2020-04-20 9:50 UTC (permalink / raw
To: gentoo-commits
commit: c05ded0eba1e8cbb3c95ba1ba43a79696f3a414a
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 20 09:49:55 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Apr 20 09:49:55 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c05ded0e
net-libs/axtls: ppc64 stable wrt bug #717808
Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-libs/axtls/axtls-2.1.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-2.1.5.ebuild b/net-libs/axtls/axtls-2.1.5.ebuild
index cc4310a0066..a90dcc9ac7d 100644
--- a/net-libs/axtls/axtls-2.1.5.ebuild
+++ b/net-libs/axtls/axtls-2.1.5.ebuild
@@ -40,7 +40,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ~ppc64 ~s390 ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~s390 ~sparc x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2020-04-20 9:48 Agostino Sarubbo
0 siblings, 0 replies; 41+ messages in thread
From: Agostino Sarubbo @ 2020-04-20 9:48 UTC (permalink / raw
To: gentoo-commits
commit: 4351c1d73db22a1d5a6fc38ef9d8e228a607b7ad
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 20 09:47:29 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Apr 20 09:47:29 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4351c1d7
net-libs/axtls: ppc stable wrt bug #717808
Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-libs/axtls/axtls-2.1.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-2.1.5.ebuild b/net-libs/axtls/axtls-2.1.5.ebuild
index 6ecefa379fd..cc4310a0066 100644
--- a/net-libs/axtls/axtls-2.1.5.ebuild
+++ b/net-libs/axtls/axtls-2.1.5.ebuild
@@ -40,7 +40,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ppc ~ppc64 ~s390 ~sparc x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2020-04-19 12:16 Agostino Sarubbo
0 siblings, 0 replies; 41+ messages in thread
From: Agostino Sarubbo @ 2020-04-19 12:16 UTC (permalink / raw
To: gentoo-commits
commit: 20ae78fe6c9fe9070161cb9e4bd08a34513a4d40
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 19 12:16:00 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Apr 19 12:16:00 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20ae78fe
net-libs/axtls: x86 stable wrt bug #717808
Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-libs/axtls/axtls-2.1.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-2.1.5.ebuild b/net-libs/axtls/axtls-2.1.5.ebuild
index 89007879d92..6ecefa379fd 100644
--- a/net-libs/axtls/axtls-2.1.5.ebuild
+++ b/net-libs/axtls/axtls-2.1.5.ebuild
@@ -40,7 +40,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2020-04-19 12:14 Agostino Sarubbo
0 siblings, 0 replies; 41+ messages in thread
From: Agostino Sarubbo @ 2020-04-19 12:14 UTC (permalink / raw
To: gentoo-commits
commit: e697c80cb192e69301c0c9a36833b40360a730c5
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 19 12:14:17 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Apr 19 12:14:17 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e697c80c
net-libs/axtls: arm stable wrt bug #717808
Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-libs/axtls/axtls-2.1.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-2.1.5.ebuild b/net-libs/axtls/axtls-2.1.5.ebuild
index 97e0f9f50e3..89007879d92 100644
--- a/net-libs/axtls/axtls-2.1.5.ebuild
+++ b/net-libs/axtls/axtls-2.1.5.ebuild
@@ -40,7 +40,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2020-04-18 9:18 Agostino Sarubbo
0 siblings, 0 replies; 41+ messages in thread
From: Agostino Sarubbo @ 2020-04-18 9:18 UTC (permalink / raw
To: gentoo-commits
commit: 78918d695e32f7b23d7e5c77805ae6d023aa2f89
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 18 09:18:17 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Apr 18 09:18:17 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78918d69
net-libs/axtls: amd64 stable wrt bug #717808
Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-libs/axtls/axtls-2.1.5.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-libs/axtls/axtls-2.1.5.ebuild b/net-libs/axtls/axtls-2.1.5.ebuild
index 674385dd40d..97e0f9f50e3 100644
--- a/net-libs/axtls/axtls-2.1.5.ebuild
+++ b/net-libs/axtls/axtls-2.1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -40,7 +40,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2019-03-15 20:41 Anthony G. Basile
0 siblings, 0 replies; 41+ messages in thread
From: Anthony G. Basile @ 2019-03-15 20:41 UTC (permalink / raw
To: gentoo-commits
commit: 40d957e0baec355f907d83bc1aa93c7d2e06f115
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 20:36:58 2019 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 20:40:57 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40d957e0
net-libs/axtls: version bump to 2.1.5
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
net-libs/axtls/Manifest | 1 +
net-libs/axtls/axtls-2.1.5.ebuild | 178 ++++++++++++++++++++++++++++++++++++++
2 files changed, 179 insertions(+)
diff --git a/net-libs/axtls/Manifest b/net-libs/axtls/Manifest
index 4de2c6e83b5..54c033cd5a8 100644
--- a/net-libs/axtls/Manifest
+++ b/net-libs/axtls/Manifest
@@ -3,3 +3,4 @@ DIST axTLS-2.1.1.tar.gz 1305982 BLAKE2B 37f6a233139ed290fd96787644eb9c40de57f4dd
DIST axTLS-2.1.2.tar.gz 1317506 BLAKE2B e331ac1028fa59821e8213c30349839d324e62a24e3cb602050f87dab4ce044964bf04aa5dda1b533fc623ed300bb3a8987c4f5faa7e06c7b5b13e62a46c9d2d SHA512 29e915c0b8549cf93f0664525c84281dd64159dcb3703badec382d203d0209b4f97d7cb875c710610da8e50a7e28d2b94ac161d1fd5fb625d492b15869333ada
DIST axTLS-2.1.3.tar.gz 1316776 BLAKE2B f60502d34a9d23ac772e1bbe05dc9350ab2385fb3c42480117120923647f122ef7a955289b656b8a70b3ac9817b1bcf947f541739b8d01ebe1eb4340f8d9cf38 SHA512 aa116b671bf0fa059cb77f9e5c0307c48ab476b7ce7017f1d4b2e6362d9d527e534908cb30ec3667eec8c49566f950de3ae4ec0adf5b603fb4efb571eaffc596
DIST axTLS-2.1.4.tar.gz 1316768 BLAKE2B 3ff302c59313ee80d18a0d5390c591e6259625e62707cc0c7c677add1f7fddffa5b4dc46860ee18dd96fcc227b3cac1179ab290f8af50ac91fe2841fff977cd4 SHA512 ce301719a12f5b836e3c67a169119d2836382b7b97d39f4010b8b8a644a6751b9f948a6c91f8dc6c39d19f5723311af7aca8958f9052e72cb38a9907247af3e6
+DIST axTLS-2.1.5.tar.gz 1318286 BLAKE2B a4f7cb551f3569fbc9a3a7e0e8faa929a5310fdb412283487fedd4a58e36a65529ebd9aec859027ca6df8e69db85b9f908b56f8d37284548b3984da10774ca3d SHA512 d208b174c31a144a779185e77834a34b0fdd15e8cadf4665b8fd76dcb3207955ed687f3d86d1e60f85d108ecccfd900a76e6d045d16a7182001e0b58da09be18
diff --git a/net-libs/axtls/axtls-2.1.5.ebuild b/net-libs/axtls/axtls-2.1.5.ebuild
new file mode 100644
index 00000000000..490ad132093
--- /dev/null
+++ b/net-libs/axtls/axtls-2.1.5.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit multilib multilib-minimal savedconfig toolchain-funcs user
+
+################################################################################
+# axtls CONFIG MINI-HOWTO
+#
+# Note: axtls is highly configurable and uses mconf, like the linux kernel.
+# You can configure it in a couple of ways:
+#
+# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
+# you want, and possibly a lot more.
+#
+# 2) You can create your own configuration file by doing
+#
+# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
+# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
+# make menuconfig
+#
+# Now configure axtls as you want. Finally save your config file:
+#
+# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
+#
+# where ${PV} is the current version. You can then run emerge again with
+# your configuration by doing
+#
+# USE="savedconfig" emerge axtls
+#
+################################################################################
+
+MY_PN=${PN/tls/TLS}
+
+DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
+HOMEPAGE="http://axtls.sourceforge.net/"
+SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${PN}-code"
+
+LICENSE="BSD GPL-2"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+IUSE="httpd cgi-lua cgi-php static static-libs doc"
+
+# TODO: add ipv6, and c#, java, lua, perl bindings
+# Currently these all have some issue
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND="
+ httpd? (
+ cgi-lua? ( dev-lang/lua )
+ cgi-php? ( dev-lang/php[cgi] )
+ )"
+
+#Note1: static, cgi-* makes no sense if httpd is not given
+REQUIRED_USE="
+ static? ( httpd )
+ cgi-lua? ( httpd )
+ cgi-php? ( httpd )"
+
+AXTLS_GROUP="axtls"
+AXTLS_USER="axtls"
+
+pkg_setup() {
+ use httpd && {
+ ebegin "Creating axtls user and group"
+ enewgroup ${AXTLS_GROUP}
+ enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
+ }
+}
+
+src_prepare() {
+ tc-export AR CC
+
+ eapply "${FILESDIR}/explicit-libdir-r1.patch"
+
+ #We want CONFIG_DEBUG to avoid stripping
+ #but not for debugging info
+ sed -i -e 's: -g::' config/Rules.mak || die
+ sed -i -e 's: -g::' config/makefile.conf || die
+
+ eapply_user
+
+ multilib_copy_sources
+}
+
+use_flag_config() {
+ cp "${FILESDIR}"/config config/.config || die
+
+ #Respect CFLAGS/LDFLAGS
+ sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
+ config/.config || die
+ sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
+ config/.config || die
+
+ #The logic is that the default config file enables everything and we disable
+ #here with sed unless a USE flags says to keep it
+ if use httpd; then
+ if ! use static; then
+ sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
+ config/.config || die
+ fi
+ if ! use cgi-php && ! use cgi-lua; then
+ sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
+ config/.config || die
+ fi
+ if ! use cgi-php; then
+ sed -i -e 's:,.php::' config/.config || die
+ fi
+ if ! use cgi-lua; then
+ sed -i -e 's:\.lua,::' \
+ -e 's:lua:php:' \
+ -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
+ config/.config || die
+ fi
+ else
+ sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
+ config/.config || die
+ fi
+
+ yes "n" | emake -j1 oldconfig > /dev/null || die
+}
+
+multilib_src_configure() {
+ #Per-ABI substitutions.
+ sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
+ Makefile || die
+
+ #Use CC as the host compiler for mconf
+ sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
+ config/Rules.mak || die
+
+ if use savedconfig; then
+ restore_config config/.config
+ if [[ -f config/.config ]]; then
+ ewarn "Using saved config, all other USE flags ignored"
+ else
+ ewarn "No saved config, seeding with the default"
+ cp "${FILESDIR}"/config config/.config || die
+ fi
+ yes "" | emake -j1 oldconfig > /dev/null || die
+ else
+ use_flag_config
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi && use savedconfig; then
+ save_config config/.config
+ fi
+
+ emake PREFIX="${ED}/usr" install
+
+ if ! use static-libs; then
+ rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
+ fi
+
+ # The build system needs to install before it builds docs
+ if multilib_is_native_abi && use doc; then
+ emake docs
+ dodoc -r docsrc/html
+ fi
+}
+
+multilib_src_install_all() {
+ if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
+ mv "${ED}"/usr/bin/{,ax}htpasswd || die
+ fi
+
+ if use httpd; then
+ newinitd "${FILESDIR}"/axhttpd.initd axhttpd
+ newconfd "${FILESDIR}"/axhttpd.confd axhttpd
+ fi
+
+ docompress -x /usr/share/doc/${PF}/README
+ dodoc README
+}
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2019-03-15 20:41 Anthony G. Basile
0 siblings, 0 replies; 41+ messages in thread
From: Anthony G. Basile @ 2019-03-15 20:41 UTC (permalink / raw
To: gentoo-commits
commit: 73b3615e0c8b71ea32fbd5fc8fc9c39e92fa96d8
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 20:40:45 2019 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 20:40:59 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73b3615e
net-libs/axtls: remove older unstable versions
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
net-libs/axtls/Manifest | 2 -
net-libs/axtls/axtls-2.1.1.ebuild | 176 --------------------------------------
net-libs/axtls/axtls-2.1.2.ebuild | 176 --------------------------------------
3 files changed, 354 deletions(-)
diff --git a/net-libs/axtls/Manifest b/net-libs/axtls/Manifest
index 54c033cd5a8..27afd37d043 100644
--- a/net-libs/axtls/Manifest
+++ b/net-libs/axtls/Manifest
@@ -1,6 +1,4 @@
DIST axTLS-1.5.3.tar.gz 1309853 BLAKE2B 8a7db4df4775dc73e35c3a9b2a7bbee783d96f36c122393b72b47a4ed4e66f41e4736dcb7ed8eee4d756760957feafc113a5a4c6df58847b94721b1fb8560196 SHA512 d37fb1341259b079ed234512a96656d67e005c50d9f8e0c856fb140c9da35267624e065134e0cc8310f70e5cf5d196c7dd34f01e2a7a5cc29e77e7ca46c25281
-DIST axTLS-2.1.1.tar.gz 1305982 BLAKE2B 37f6a233139ed290fd96787644eb9c40de57f4ddbf0615bf5fa314907ac497e2be26d66cef0245c5859038e4f2ec4edcca7c6b31d754e2d1989bfeb83cbf9587 SHA512 55619d5e02ce466bab223ebc1036ef39c6491d11126ed70f2712a427de2c7e396086a97d3607c9cb69685ade0763e2e55f2c94f9ba746d8ce7b34b0d1996f51a
-DIST axTLS-2.1.2.tar.gz 1317506 BLAKE2B e331ac1028fa59821e8213c30349839d324e62a24e3cb602050f87dab4ce044964bf04aa5dda1b533fc623ed300bb3a8987c4f5faa7e06c7b5b13e62a46c9d2d SHA512 29e915c0b8549cf93f0664525c84281dd64159dcb3703badec382d203d0209b4f97d7cb875c710610da8e50a7e28d2b94ac161d1fd5fb625d492b15869333ada
DIST axTLS-2.1.3.tar.gz 1316776 BLAKE2B f60502d34a9d23ac772e1bbe05dc9350ab2385fb3c42480117120923647f122ef7a955289b656b8a70b3ac9817b1bcf947f541739b8d01ebe1eb4340f8d9cf38 SHA512 aa116b671bf0fa059cb77f9e5c0307c48ab476b7ce7017f1d4b2e6362d9d527e534908cb30ec3667eec8c49566f950de3ae4ec0adf5b603fb4efb571eaffc596
DIST axTLS-2.1.4.tar.gz 1316768 BLAKE2B 3ff302c59313ee80d18a0d5390c591e6259625e62707cc0c7c677add1f7fddffa5b4dc46860ee18dd96fcc227b3cac1179ab290f8af50ac91fe2841fff977cd4 SHA512 ce301719a12f5b836e3c67a169119d2836382b7b97d39f4010b8b8a644a6751b9f948a6c91f8dc6c39d19f5723311af7aca8958f9052e72cb38a9907247af3e6
DIST axTLS-2.1.5.tar.gz 1318286 BLAKE2B a4f7cb551f3569fbc9a3a7e0e8faa929a5310fdb412283487fedd4a58e36a65529ebd9aec859027ca6df8e69db85b9f908b56f8d37284548b3984da10774ca3d SHA512 d208b174c31a144a779185e77834a34b0fdd15e8cadf4665b8fd76dcb3207955ed687f3d86d1e60f85d108ecccfd900a76e6d045d16a7182001e0b58da09be18
diff --git a/net-libs/axtls/axtls-2.1.1.ebuild b/net-libs/axtls/axtls-2.1.1.ebuild
deleted file mode 100644
index 26c6da07983..00000000000
--- a/net-libs/axtls/axtls-2.1.1.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
-
-################################################################################
-# axtls CONFIG MINI-HOWTO
-#
-# Note: axtls is highly configurable and uses mconf, like the linux kernel.
-# You can configure it in a couple of ways:
-#
-# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
-# you want, and possibly a lot more.
-#
-# 2) You can create your own configuration file by doing
-#
-# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
-# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
-# make menuconfig
-#
-# Now configure axtls as you want. Finally save your config file:
-#
-# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
-#
-# where ${PV} is the current version. You can then run emerge again with
-# your configuration by doing
-#
-# USE="savedconfig" emerge axtls
-#
-################################################################################
-
-MY_PN=${PN/tls/TLS}
-
-DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
-HOMEPAGE="http://axtls.sourceforge.net/"
-SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${PN}-code"
-
-LICENSE="BSD GPL-2"
-SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
-
-IUSE="httpd cgi-lua cgi-php static static-libs doc"
-
-# TODO: add ipv6, and c#, java, lua, perl bindings
-# Currently these all have some issue
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="
- httpd? (
- cgi-lua? ( dev-lang/lua )
- cgi-php? ( dev-lang/php[cgi] )
- )"
-
-#Note1: static, cgi-* makes no sense if httpd is not given
-REQUIRED_USE="
- static? ( httpd )
- cgi-lua? ( httpd )
- cgi-php? ( httpd )"
-
-AXTLS_GROUP="axtls"
-AXTLS_USER="axtls"
-
-pkg_setup() {
- use httpd && {
- ebegin "Creating axtls user and group"
- enewgroup ${AXTLS_GROUP}
- enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
- }
-}
-
-src_prepare() {
- tc-export AR CC
-
- epatch "${FILESDIR}/explicit-libdir-r1.patch"
-
- #We want CONFIG_DEBUG to avoid stripping
- #but not for debugging info
- sed -i -e 's: -g::' config/Rules.mak || die
- sed -i -e 's: -g::' config/makefile.conf || die
-
- multilib_copy_sources
-}
-
-use_flag_config() {
- cp "${FILESDIR}"/config config/.config || die
-
- #Respect CFLAGS/LDFLAGS
- sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
- config/.config || die
- sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
- config/.config || die
-
- #The logic is that the default config file enables everything and we disable
- #here with sed unless a USE flags says to keep it
- if use httpd; then
- if ! use static; then
- sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
- config/.config || die
- fi
- if ! use cgi-php && ! use cgi-lua; then
- sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
- config/.config || die
- fi
- if ! use cgi-php; then
- sed -i -e 's:,.php::' config/.config || die
- fi
- if ! use cgi-lua; then
- sed -i -e 's:\.lua,::' \
- -e 's:lua:php:' \
- -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
- config/.config || die
- fi
- else
- sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
- config/.config || die
- fi
-
- yes "n" | emake -j1 oldconfig > /dev/null || die
-}
-
-multilib_src_configure() {
- #Per-ABI substitutions.
- sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
- Makefile || die
-
- #Use CC as the host compiler for mconf
- sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
- config/Rules.mak || die
-
- if use savedconfig; then
- restore_config config/.config
- if [[ -f config/.config ]]; then
- ewarn "Using saved config, all other USE flags ignored"
- else
- ewarn "No saved config, seeding with the default"
- cp "${FILESDIR}"/config config/.config || die
- fi
- yes "" | emake -j1 oldconfig > /dev/null || die
- else
- use_flag_config
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use savedconfig; then
- save_config config/.config
- fi
-
- emake PREFIX="${ED}/usr" install
-
- if ! use static-libs; then
- rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
- fi
-
- # The build system needs to install before it builds docs
- if multilib_is_native_abi && use doc; then
- emake docs
- dodoc -r docsrc/html
- fi
-}
-
-multilib_src_install_all() {
- if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
- mv "${ED}"/usr/bin/{,ax}htpasswd || die
- fi
-
- if use httpd; then
- newinitd "${FILESDIR}"/axhttpd.initd axhttpd
- newconfd "${FILESDIR}"/axhttpd.confd axhttpd
- fi
-
- docompress -x /usr/share/doc/${PF}/README
- dodoc README
-}
diff --git a/net-libs/axtls/axtls-2.1.2.ebuild b/net-libs/axtls/axtls-2.1.2.ebuild
deleted file mode 100644
index 26c6da07983..00000000000
--- a/net-libs/axtls/axtls-2.1.2.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
-
-################################################################################
-# axtls CONFIG MINI-HOWTO
-#
-# Note: axtls is highly configurable and uses mconf, like the linux kernel.
-# You can configure it in a couple of ways:
-#
-# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
-# you want, and possibly a lot more.
-#
-# 2) You can create your own configuration file by doing
-#
-# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
-# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
-# make menuconfig
-#
-# Now configure axtls as you want. Finally save your config file:
-#
-# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
-#
-# where ${PV} is the current version. You can then run emerge again with
-# your configuration by doing
-#
-# USE="savedconfig" emerge axtls
-#
-################################################################################
-
-MY_PN=${PN/tls/TLS}
-
-DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
-HOMEPAGE="http://axtls.sourceforge.net/"
-SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${PN}-code"
-
-LICENSE="BSD GPL-2"
-SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
-
-IUSE="httpd cgi-lua cgi-php static static-libs doc"
-
-# TODO: add ipv6, and c#, java, lua, perl bindings
-# Currently these all have some issue
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="
- httpd? (
- cgi-lua? ( dev-lang/lua )
- cgi-php? ( dev-lang/php[cgi] )
- )"
-
-#Note1: static, cgi-* makes no sense if httpd is not given
-REQUIRED_USE="
- static? ( httpd )
- cgi-lua? ( httpd )
- cgi-php? ( httpd )"
-
-AXTLS_GROUP="axtls"
-AXTLS_USER="axtls"
-
-pkg_setup() {
- use httpd && {
- ebegin "Creating axtls user and group"
- enewgroup ${AXTLS_GROUP}
- enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
- }
-}
-
-src_prepare() {
- tc-export AR CC
-
- epatch "${FILESDIR}/explicit-libdir-r1.patch"
-
- #We want CONFIG_DEBUG to avoid stripping
- #but not for debugging info
- sed -i -e 's: -g::' config/Rules.mak || die
- sed -i -e 's: -g::' config/makefile.conf || die
-
- multilib_copy_sources
-}
-
-use_flag_config() {
- cp "${FILESDIR}"/config config/.config || die
-
- #Respect CFLAGS/LDFLAGS
- sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
- config/.config || die
- sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
- config/.config || die
-
- #The logic is that the default config file enables everything and we disable
- #here with sed unless a USE flags says to keep it
- if use httpd; then
- if ! use static; then
- sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
- config/.config || die
- fi
- if ! use cgi-php && ! use cgi-lua; then
- sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
- config/.config || die
- fi
- if ! use cgi-php; then
- sed -i -e 's:,.php::' config/.config || die
- fi
- if ! use cgi-lua; then
- sed -i -e 's:\.lua,::' \
- -e 's:lua:php:' \
- -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
- config/.config || die
- fi
- else
- sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
- config/.config || die
- fi
-
- yes "n" | emake -j1 oldconfig > /dev/null || die
-}
-
-multilib_src_configure() {
- #Per-ABI substitutions.
- sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
- Makefile || die
-
- #Use CC as the host compiler for mconf
- sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
- config/Rules.mak || die
-
- if use savedconfig; then
- restore_config config/.config
- if [[ -f config/.config ]]; then
- ewarn "Using saved config, all other USE flags ignored"
- else
- ewarn "No saved config, seeding with the default"
- cp "${FILESDIR}"/config config/.config || die
- fi
- yes "" | emake -j1 oldconfig > /dev/null || die
- else
- use_flag_config
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use savedconfig; then
- save_config config/.config
- fi
-
- emake PREFIX="${ED}/usr" install
-
- if ! use static-libs; then
- rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
- fi
-
- # The build system needs to install before it builds docs
- if multilib_is_native_abi && use doc; then
- emake docs
- dodoc -r docsrc/html
- fi
-}
-
-multilib_src_install_all() {
- if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
- mv "${ED}"/usr/bin/{,ax}htpasswd || die
- fi
-
- if use httpd; then
- newinitd "${FILESDIR}"/axhttpd.initd axhttpd
- newconfd "${FILESDIR}"/axhttpd.confd axhttpd
- fi
-
- docompress -x /usr/share/doc/${PF}/README
- dodoc README
-}
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2018-07-21 19:47 Mikle Kolyada
0 siblings, 0 replies; 41+ messages in thread
From: Mikle Kolyada @ 2018-07-21 19:47 UTC (permalink / raw
To: gentoo-commits
commit: 391f25c43b41accc63a131bc4f769c4437eceb7f
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 21 19:47:29 2018 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Jul 21 19:47:29 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=391f25c4
net-libs/axtls: mark s390 stable
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-libs/axtls/axtls-2.1.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-2.1.3.ebuild b/net-libs/axtls/axtls-2.1.3.ebuild
index 28715dc93e1..06c5a89a4df 100644
--- a/net-libs/axtls/axtls-2.1.3.ebuild
+++ b/net-libs/axtls/axtls-2.1.3.ebuild
@@ -40,7 +40,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 ~s390 ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 s390 ~sparc x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2018-01-04 16:52 Mikle Kolyada
0 siblings, 0 replies; 41+ messages in thread
From: Mikle Kolyada @ 2018-01-04 16:52 UTC (permalink / raw
To: gentoo-commits
commit: 3ec1e1fd4cfa0290c099e14dda2552ea1de05ec9
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 4 16:51:49 2018 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Thu Jan 4 16:52:15 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ec1e1fd
net-libs/axtls: amd64 stable wrt bug #630760
Package-Manager: Portage-2.3.13, Repoman-2.3.3
net-libs/axtls/axtls-2.1.3.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-libs/axtls/axtls-2.1.3.ebuild b/net-libs/axtls/axtls-2.1.3.ebuild
index 48eafc5ea5b..28715dc93e1 100644
--- a/net-libs/axtls/axtls-2.1.3.ebuild
+++ b/net-libs/axtls/axtls-2.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -40,7 +40,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="~amd64 arm ~arm64 hppa ~mips ppc ppc64 ~s390 ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 ~s390 ~sparc x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2017-10-26 18:54 Thomas Deutschmann
0 siblings, 0 replies; 41+ messages in thread
From: Thomas Deutschmann @ 2017-10-26 18:54 UTC (permalink / raw
To: gentoo-commits
commit: 557751deb752cce05c0800508211558cd90faa57
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 26 18:47:41 2017 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Oct 26 18:53:57 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=557751de
net-libs/axtls: x86 stable (bug #630760)
Package-Manager: Portage-2.3.11, Repoman-2.3.3
net-libs/axtls/axtls-2.1.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-2.1.3.ebuild b/net-libs/axtls/axtls-2.1.3.ebuild
index a701820d392..48eafc5ea5b 100644
--- a/net-libs/axtls/axtls-2.1.3.ebuild
+++ b/net-libs/axtls/axtls-2.1.3.ebuild
@@ -40,7 +40,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="~amd64 arm ~arm64 hppa ~mips ppc ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 hppa ~mips ppc ppc64 ~s390 ~sparc x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2017-09-24 16:16 Sergei Trofimovich
0 siblings, 0 replies; 41+ messages in thread
From: Sergei Trofimovich @ 2017-09-24 16:16 UTC (permalink / raw
To: gentoo-commits
commit: d8bb91fe5615dc30963e6b4f9d2d3124f98a4eb3
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 24 12:36:31 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Sep 24 16:16:29 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8bb91fe
net-libs/axtls: stable 2.1.3 for ppc, bug #630760
Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc"
net-libs/axtls/axtls-2.1.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-2.1.3.ebuild b/net-libs/axtls/axtls-2.1.3.ebuild
index af1e0e06575..a701820d392 100644
--- a/net-libs/axtls/axtls-2.1.3.ebuild
+++ b/net-libs/axtls/axtls-2.1.3.ebuild
@@ -40,7 +40,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="~amd64 arm ~arm64 hppa ~mips ~ppc ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 hppa ~mips ppc ppc64 ~s390 ~sparc ~x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2017-09-24 10:46 Sergei Trofimovich
0 siblings, 0 replies; 41+ messages in thread
From: Sergei Trofimovich @ 2017-09-24 10:46 UTC (permalink / raw
To: gentoo-commits
commit: fcd81eb0a22e0ef2d64f4b254b79fb1170f8ea31
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 24 10:45:57 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Sep 24 10:45:57 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcd81eb0
net-libs/axtls: stable 2.1.3 for hppa, bug #630760
Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="hppa"
net-libs/axtls/axtls-2.1.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-2.1.3.ebuild b/net-libs/axtls/axtls-2.1.3.ebuild
index 3611b0f3fc9..af1e0e06575 100644
--- a/net-libs/axtls/axtls-2.1.3.ebuild
+++ b/net-libs/axtls/axtls-2.1.3.ebuild
@@ -40,7 +40,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ~ppc ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 hppa ~mips ~ppc ppc64 ~s390 ~sparc ~x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2017-09-23 13:55 Sergei Trofimovich
0 siblings, 0 replies; 41+ messages in thread
From: Sergei Trofimovich @ 2017-09-23 13:55 UTC (permalink / raw
To: gentoo-commits
commit: 7a92879057b0fbd16ef98699191db913b128acb0
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 23 13:49:12 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Sep 23 13:55:16 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a928790
net-libs/axtls: stable 2.1.3 for ppc64, bug #630760
Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc64"
net-libs/axtls/axtls-2.1.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-2.1.3.ebuild b/net-libs/axtls/axtls-2.1.3.ebuild
index 50b1d4e7969..3611b0f3fc9 100644
--- a/net-libs/axtls/axtls-2.1.3.ebuild
+++ b/net-libs/axtls/axtls-2.1.3.ebuild
@@ -40,7 +40,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ~ppc ppc64 ~s390 ~sparc ~x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2017-09-23 12:35 Sergei Trofimovich
0 siblings, 0 replies; 41+ messages in thread
From: Sergei Trofimovich @ 2017-09-23 12:35 UTC (permalink / raw
To: gentoo-commits
commit: 1ec294501cdc18cf73350ac1e1184ef1ad19bec4
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 23 12:33:44 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Sep 23 12:35:05 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ec29450
net-libs/axtls: ~sparc keyworded (thanks to Dakon)
Package-Manager: Portage-2.3.10, Repoman-2.3.3
net-libs/axtls/axtls-2.1.3.ebuild | 2 +-
net-libs/axtls/axtls-2.1.4.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-libs/axtls/axtls-2.1.3.ebuild b/net-libs/axtls/axtls-2.1.3.ebuild
index 1562d185bbb..50b1d4e7969 100644
--- a/net-libs/axtls/axtls-2.1.3.ebuild
+++ b/net-libs/axtls/axtls-2.1.3.ebuild
@@ -40,7 +40,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
diff --git a/net-libs/axtls/axtls-2.1.4.ebuild b/net-libs/axtls/axtls-2.1.4.ebuild
index e1336b9174a..b9c459a225e 100644
--- a/net-libs/axtls/axtls-2.1.4.ebuild
+++ b/net-libs/axtls/axtls-2.1.4.ebuild
@@ -40,7 +40,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2017-09-22 5:50 Markus Meier
0 siblings, 0 replies; 41+ messages in thread
From: Markus Meier @ 2017-09-22 5:50 UTC (permalink / raw
To: gentoo-commits
commit: 147352782fb78a730368e39ea714213ed4a9196c
Author: Markus Meier <maekke <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 22 05:49:57 2017 +0000
Commit: Markus Meier <maekke <AT> gentoo <DOT> org>
CommitDate: Fri Sep 22 05:49:57 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14735278
net-libs/axtls: arm stable, bug #630760
Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"
net-libs/axtls/axtls-2.1.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-2.1.3.ebuild b/net-libs/axtls/axtls-2.1.3.ebuild
index e1336b9174a..1562d185bbb 100644
--- a/net-libs/axtls/axtls-2.1.3.ebuild
+++ b/net-libs/axtls/axtls-2.1.3.ebuild
@@ -40,7 +40,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2017-09-12 1:20 Anthony G. Basile
0 siblings, 0 replies; 41+ messages in thread
From: Anthony G. Basile @ 2017-09-12 1:20 UTC (permalink / raw
To: gentoo-commits
commit: 080e8f85b4356e530eeeec66bb4ab6c3b3358561
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 12 01:19:44 2017 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Sep 12 01:20:08 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=080e8f85
net-libs/axtls: version bump to 2.1.4
Package-Manager: Portage-2.3.6, Repoman-2.3.1
net-libs/axtls/Manifest | 1 +
net-libs/axtls/axtls-2.1.4.ebuild | 178 ++++++++++++++++++++++++++++++++++++++
2 files changed, 179 insertions(+)
diff --git a/net-libs/axtls/Manifest b/net-libs/axtls/Manifest
index 8db6feb4887..9f706c1f432 100644
--- a/net-libs/axtls/Manifest
+++ b/net-libs/axtls/Manifest
@@ -2,3 +2,4 @@ DIST axTLS-1.5.3.tar.gz 1309853 SHA256 367ce7918b9e7738d853d5eaaa9d4fbdb362c5b32
DIST axTLS-2.1.1.tar.gz 1305982 SHA256 6ea445bb7f3ce072242df7f687f531c9d18079681990f93cd4f65f43ef2057a1 SHA512 55619d5e02ce466bab223ebc1036ef39c6491d11126ed70f2712a427de2c7e396086a97d3607c9cb69685ade0763e2e55f2c94f9ba746d8ce7b34b0d1996f51a WHIRLPOOL 0e05ec073735f0ed334cb6d84c901c162f413a26485a79ec166ee5bbf9ed02708056093d31d5a00bd4374727a6eb08146f538ede04450145101d5eeb03409986
DIST axTLS-2.1.2.tar.gz 1317506 SHA256 38deea2ba07104c7d0e719e06f8bdc35990ac55e5926a26628f7ac240677fd2e SHA512 29e915c0b8549cf93f0664525c84281dd64159dcb3703badec382d203d0209b4f97d7cb875c710610da8e50a7e28d2b94ac161d1fd5fb625d492b15869333ada WHIRLPOOL b6164acd82bb48a8020ab695642aa85b4a7782f2488cf25ec1c21618c4ec5e1ac16496057ebe21f158b29c2bd1133c40a089c1c5740e8a9f8817be585186b83b
DIST axTLS-2.1.3.tar.gz 1316776 SHA256 555ce7adf743c97ca7562e4e5644f8d678c9d88139aeeadb758282f1d37db8a9 SHA512 aa116b671bf0fa059cb77f9e5c0307c48ab476b7ce7017f1d4b2e6362d9d527e534908cb30ec3667eec8c49566f950de3ae4ec0adf5b603fb4efb571eaffc596 WHIRLPOOL 366c8e1109ffe1082ca8a89758ec38b7b01ec9b24c5885171b1a36a4323b5915c81f78f50b4ce2999e14dc907cee624ad52256ffeccccaf5771e4545186b242c
+DIST axTLS-2.1.4.tar.gz 1316768 SHA256 e53dd20e2b619349bc48b631176a38742ea600333fd0349df83c6366b7be05bb SHA512 ce301719a12f5b836e3c67a169119d2836382b7b97d39f4010b8b8a644a6751b9f948a6c91f8dc6c39d19f5723311af7aca8958f9052e72cb38a9907247af3e6 WHIRLPOOL 6304f783df3006393ed01c82b011d3acf93d4ece675974f41e261a6ea20371378eaee8f6ca396b66694950583c59554a5b1c784d26c5fa02714483805ab3fb46
diff --git a/net-libs/axtls/axtls-2.1.4.ebuild b/net-libs/axtls/axtls-2.1.4.ebuild
new file mode 100644
index 00000000000..e1336b9174a
--- /dev/null
+++ b/net-libs/axtls/axtls-2.1.4.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit multilib multilib-minimal savedconfig toolchain-funcs user
+
+################################################################################
+# axtls CONFIG MINI-HOWTO
+#
+# Note: axtls is highly configurable and uses mconf, like the linux kernel.
+# You can configure it in a couple of ways:
+#
+# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
+# you want, and possibly a lot more.
+#
+# 2) You can create your own configuration file by doing
+#
+# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
+# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
+# make menuconfig
+#
+# Now configure axtls as you want. Finally save your config file:
+#
+# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
+#
+# where ${PV} is the current version. You can then run emerge again with
+# your configuration by doing
+#
+# USE="savedconfig" emerge axtls
+#
+################################################################################
+
+MY_PN=${PN/tls/TLS}
+
+DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
+HOMEPAGE="http://axtls.sourceforge.net/"
+SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${PN}-code"
+
+LICENSE="BSD GPL-2"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
+
+IUSE="httpd cgi-lua cgi-php static static-libs doc"
+
+# TODO: add ipv6, and c#, java, lua, perl bindings
+# Currently these all have some issue
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND="
+ httpd? (
+ cgi-lua? ( dev-lang/lua )
+ cgi-php? ( dev-lang/php[cgi] )
+ )"
+
+#Note1: static, cgi-* makes no sense if httpd is not given
+REQUIRED_USE="
+ static? ( httpd )
+ cgi-lua? ( httpd )
+ cgi-php? ( httpd )"
+
+AXTLS_GROUP="axtls"
+AXTLS_USER="axtls"
+
+pkg_setup() {
+ use httpd && {
+ ebegin "Creating axtls user and group"
+ enewgroup ${AXTLS_GROUP}
+ enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
+ }
+}
+
+src_prepare() {
+ tc-export AR CC
+
+ eapply "${FILESDIR}/explicit-libdir-r1.patch"
+
+ #We want CONFIG_DEBUG to avoid stripping
+ #but not for debugging info
+ sed -i -e 's: -g::' config/Rules.mak || die
+ sed -i -e 's: -g::' config/makefile.conf || die
+
+ eapply_user
+
+ multilib_copy_sources
+}
+
+use_flag_config() {
+ cp "${FILESDIR}"/config config/.config || die
+
+ #Respect CFLAGS/LDFLAGS
+ sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
+ config/.config || die
+ sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
+ config/.config || die
+
+ #The logic is that the default config file enables everything and we disable
+ #here with sed unless a USE flags says to keep it
+ if use httpd; then
+ if ! use static; then
+ sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
+ config/.config || die
+ fi
+ if ! use cgi-php && ! use cgi-lua; then
+ sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
+ config/.config || die
+ fi
+ if ! use cgi-php; then
+ sed -i -e 's:,.php::' config/.config || die
+ fi
+ if ! use cgi-lua; then
+ sed -i -e 's:\.lua,::' \
+ -e 's:lua:php:' \
+ -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
+ config/.config || die
+ fi
+ else
+ sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
+ config/.config || die
+ fi
+
+ yes "n" | emake -j1 oldconfig > /dev/null || die
+}
+
+multilib_src_configure() {
+ #Per-ABI substitutions.
+ sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
+ Makefile || die
+
+ #Use CC as the host compiler for mconf
+ sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
+ config/Rules.mak || die
+
+ if use savedconfig; then
+ restore_config config/.config
+ if [[ -f config/.config ]]; then
+ ewarn "Using saved config, all other USE flags ignored"
+ else
+ ewarn "No saved config, seeding with the default"
+ cp "${FILESDIR}"/config config/.config || die
+ fi
+ yes "" | emake -j1 oldconfig > /dev/null || die
+ else
+ use_flag_config
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi && use savedconfig; then
+ save_config config/.config
+ fi
+
+ emake PREFIX="${ED}/usr" install
+
+ if ! use static-libs; then
+ rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
+ fi
+
+ # The build system needs to install before it builds docs
+ if multilib_is_native_abi && use doc; then
+ emake docs
+ dodoc -r docsrc/html
+ fi
+}
+
+multilib_src_install_all() {
+ if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
+ mv "${ED}"/usr/bin/{,ax}htpasswd || die
+ fi
+
+ if use httpd; then
+ newinitd "${FILESDIR}"/axhttpd.initd axhttpd
+ newconfd "${FILESDIR}"/axhttpd.confd axhttpd
+ fi
+
+ docompress -x /usr/share/doc/${PF}/README
+ dodoc README
+}
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2017-06-26 7:54 Alexis Ballier
0 siblings, 0 replies; 41+ messages in thread
From: Alexis Ballier @ 2017-06-26 7:54 UTC (permalink / raw
To: gentoo-commits
commit: 4473ff14a29a78e9cfaa51c5f79a2711d7b409b1
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 26 07:53:30 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Jun 26 07:53:30 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4473ff14
net-libs/axtls: keyword ~arm64
Package-Manager: Portage-2.3.6, Repoman-2.3.2
net-libs/axtls/axtls-2.1.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-2.1.3.ebuild b/net-libs/axtls/axtls-2.1.3.ebuild
index 1987c82e3c3..e1336b9174a 100644
--- a/net-libs/axtls/axtls-2.1.3.ebuild
+++ b/net-libs/axtls/axtls-2.1.3.ebuild
@@ -40,7 +40,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2017-02-22 14:36 Anthony G. Basile
0 siblings, 0 replies; 41+ messages in thread
From: Anthony G. Basile @ 2017-02-22 14:36 UTC (permalink / raw
To: gentoo-commits
commit: 147194f61c4160265076dcb19c6ed9bf2001a4a6
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 22 14:36:27 2017 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 14:36:27 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=147194f6
net-libs/axtls: version bump to 2.1.3
Package-Manager: portage-2.3.3
net-libs/axtls/Manifest | 1 +
net-libs/axtls/axtls-2.1.3.ebuild | 179 ++++++++++++++++++++++++++++++++++++++
2 files changed, 180 insertions(+)
diff --git a/net-libs/axtls/Manifest b/net-libs/axtls/Manifest
index 825aca2238..8db6feb488 100644
--- a/net-libs/axtls/Manifest
+++ b/net-libs/axtls/Manifest
@@ -1,3 +1,4 @@
DIST axTLS-1.5.3.tar.gz 1309853 SHA256 367ce7918b9e7738d853d5eaaa9d4fbdb362c5b323d4c0622a72d891f6b8d8e6 SHA512 d37fb1341259b079ed234512a96656d67e005c50d9f8e0c856fb140c9da35267624e065134e0cc8310f70e5cf5d196c7dd34f01e2a7a5cc29e77e7ca46c25281 WHIRLPOOL 92de1a06da740adf0238550d36a75216bace6c7fb867e82d38f2ca2362dcf0e41810191933aa788ffda080367b6beb312f1a9a240ab687a6c4f324988d36a81c
DIST axTLS-2.1.1.tar.gz 1305982 SHA256 6ea445bb7f3ce072242df7f687f531c9d18079681990f93cd4f65f43ef2057a1 SHA512 55619d5e02ce466bab223ebc1036ef39c6491d11126ed70f2712a427de2c7e396086a97d3607c9cb69685ade0763e2e55f2c94f9ba746d8ce7b34b0d1996f51a WHIRLPOOL 0e05ec073735f0ed334cb6d84c901c162f413a26485a79ec166ee5bbf9ed02708056093d31d5a00bd4374727a6eb08146f538ede04450145101d5eeb03409986
DIST axTLS-2.1.2.tar.gz 1317506 SHA256 38deea2ba07104c7d0e719e06f8bdc35990ac55e5926a26628f7ac240677fd2e SHA512 29e915c0b8549cf93f0664525c84281dd64159dcb3703badec382d203d0209b4f97d7cb875c710610da8e50a7e28d2b94ac161d1fd5fb625d492b15869333ada WHIRLPOOL b6164acd82bb48a8020ab695642aa85b4a7782f2488cf25ec1c21618c4ec5e1ac16496057ebe21f158b29c2bd1133c40a089c1c5740e8a9f8817be585186b83b
+DIST axTLS-2.1.3.tar.gz 1316776 SHA256 555ce7adf743c97ca7562e4e5644f8d678c9d88139aeeadb758282f1d37db8a9 SHA512 aa116b671bf0fa059cb77f9e5c0307c48ab476b7ce7017f1d4b2e6362d9d527e534908cb30ec3667eec8c49566f950de3ae4ec0adf5b603fb4efb571eaffc596 WHIRLPOOL 366c8e1109ffe1082ca8a89758ec38b7b01ec9b24c5885171b1a36a4323b5915c81f78f50b4ce2999e14dc907cee624ad52256ffeccccaf5771e4545186b242c
diff --git a/net-libs/axtls/axtls-2.1.3.ebuild b/net-libs/axtls/axtls-2.1.3.ebuild
new file mode 100644
index 0000000000..772d513a9c
--- /dev/null
+++ b/net-libs/axtls/axtls-2.1.3.ebuild
@@ -0,0 +1,179 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit multilib multilib-minimal savedconfig toolchain-funcs user
+
+################################################################################
+# axtls CONFIG MINI-HOWTO
+#
+# Note: axtls is highly configurable and uses mconf, like the linux kernel.
+# You can configure it in a couple of ways:
+#
+# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
+# you want, and possibly a lot more.
+#
+# 2) You can create your own configuration file by doing
+#
+# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
+# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
+# make menuconfig
+#
+# Now configure axtls as you want. Finally save your config file:
+#
+# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
+#
+# where ${PV} is the current version. You can then run emerge again with
+# your configuration by doing
+#
+# USE="savedconfig" emerge axtls
+#
+################################################################################
+
+MY_PN=${PN/tls/TLS}
+
+DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
+HOMEPAGE="http://axtls.sourceforge.net/"
+SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${PN}-code"
+
+LICENSE="BSD GPL-2"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
+
+IUSE="httpd cgi-lua cgi-php static static-libs doc"
+
+# TODO: add ipv6, and c#, java, lua, perl bindings
+# Currently these all have some issue
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND="
+ httpd? (
+ cgi-lua? ( dev-lang/lua )
+ cgi-php? ( dev-lang/php[cgi] )
+ )"
+
+#Note1: static, cgi-* makes no sense if httpd is not given
+REQUIRED_USE="
+ static? ( httpd )
+ cgi-lua? ( httpd )
+ cgi-php? ( httpd )"
+
+AXTLS_GROUP="axtls"
+AXTLS_USER="axtls"
+
+pkg_setup() {
+ use httpd && {
+ ebegin "Creating axtls user and group"
+ enewgroup ${AXTLS_GROUP}
+ enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
+ }
+}
+
+src_prepare() {
+ tc-export AR CC
+
+ eapply "${FILESDIR}/explicit-libdir-r1.patch"
+
+ #We want CONFIG_DEBUG to avoid stripping
+ #but not for debugging info
+ sed -i -e 's: -g::' config/Rules.mak || die
+ sed -i -e 's: -g::' config/makefile.conf || die
+
+ eapply_user
+
+ multilib_copy_sources
+}
+
+use_flag_config() {
+ cp "${FILESDIR}"/config config/.config || die
+
+ #Respect CFLAGS/LDFLAGS
+ sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
+ config/.config || die
+ sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
+ config/.config || die
+
+ #The logic is that the default config file enables everything and we disable
+ #here with sed unless a USE flags says to keep it
+ if use httpd; then
+ if ! use static; then
+ sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
+ config/.config || die
+ fi
+ if ! use cgi-php && ! use cgi-lua; then
+ sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
+ config/.config || die
+ fi
+ if ! use cgi-php; then
+ sed -i -e 's:,.php::' config/.config || die
+ fi
+ if ! use cgi-lua; then
+ sed -i -e 's:\.lua,::' \
+ -e 's:lua:php:' \
+ -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
+ config/.config || die
+ fi
+ else
+ sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
+ config/.config || die
+ fi
+
+ yes "n" | emake -j1 oldconfig > /dev/null || die
+}
+
+multilib_src_configure() {
+ #Per-ABI substitutions.
+ sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
+ Makefile || die
+
+ #Use CC as the host compiler for mconf
+ sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
+ config/Rules.mak || die
+
+ if use savedconfig; then
+ restore_config config/.config
+ if [[ -f config/.config ]]; then
+ ewarn "Using saved config, all other USE flags ignored"
+ else
+ ewarn "No saved config, seeding with the default"
+ cp "${FILESDIR}"/config config/.config || die
+ fi
+ yes "" | emake -j1 oldconfig > /dev/null || die
+ else
+ use_flag_config
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi && use savedconfig; then
+ save_config config/.config
+ fi
+
+ emake PREFIX="${ED}/usr" install
+
+ if ! use static-libs; then
+ rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
+ fi
+
+ # The build system needs to install before it builds docs
+ if multilib_is_native_abi && use doc; then
+ emake docs
+ dodoc -r docsrc/html
+ fi
+}
+
+multilib_src_install_all() {
+ if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
+ mv "${ED}"/usr/bin/{,ax}htpasswd || die
+ fi
+
+ if use httpd; then
+ newinitd "${FILESDIR}"/axhttpd.initd axhttpd
+ newconfd "${FILESDIR}"/axhttpd.confd axhttpd
+ fi
+
+ docompress -x /usr/share/doc/${PF}/README
+ dodoc README
+}
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2016-12-31 18:37 Anthony G. Basile
0 siblings, 0 replies; 41+ messages in thread
From: Anthony G. Basile @ 2016-12-31 18:37 UTC (permalink / raw
To: gentoo-commits
commit: 7385e7538952b6261dc259a7d81de5b7958d0fe8
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 31 18:36:31 2016 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Dec 31 18:37:51 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7385e753
net-libs/axtls: version bump to 2.1.2
Package-Manager: portage-2.3.0
net-libs/axtls/Manifest | 1 +
net-libs/axtls/axtls-2.1.2.ebuild | 177 ++++++++++++++++++++++++++++++++++++++
2 files changed, 178 insertions(+)
diff --git a/net-libs/axtls/Manifest b/net-libs/axtls/Manifest
index e92d634..825aca2 100644
--- a/net-libs/axtls/Manifest
+++ b/net-libs/axtls/Manifest
@@ -1,2 +1,3 @@
DIST axTLS-1.5.3.tar.gz 1309853 SHA256 367ce7918b9e7738d853d5eaaa9d4fbdb362c5b323d4c0622a72d891f6b8d8e6 SHA512 d37fb1341259b079ed234512a96656d67e005c50d9f8e0c856fb140c9da35267624e065134e0cc8310f70e5cf5d196c7dd34f01e2a7a5cc29e77e7ca46c25281 WHIRLPOOL 92de1a06da740adf0238550d36a75216bace6c7fb867e82d38f2ca2362dcf0e41810191933aa788ffda080367b6beb312f1a9a240ab687a6c4f324988d36a81c
DIST axTLS-2.1.1.tar.gz 1305982 SHA256 6ea445bb7f3ce072242df7f687f531c9d18079681990f93cd4f65f43ef2057a1 SHA512 55619d5e02ce466bab223ebc1036ef39c6491d11126ed70f2712a427de2c7e396086a97d3607c9cb69685ade0763e2e55f2c94f9ba746d8ce7b34b0d1996f51a WHIRLPOOL 0e05ec073735f0ed334cb6d84c901c162f413a26485a79ec166ee5bbf9ed02708056093d31d5a00bd4374727a6eb08146f538ede04450145101d5eeb03409986
+DIST axTLS-2.1.2.tar.gz 1317506 SHA256 38deea2ba07104c7d0e719e06f8bdc35990ac55e5926a26628f7ac240677fd2e SHA512 29e915c0b8549cf93f0664525c84281dd64159dcb3703badec382d203d0209b4f97d7cb875c710610da8e50a7e28d2b94ac161d1fd5fb625d492b15869333ada WHIRLPOOL b6164acd82bb48a8020ab695642aa85b4a7782f2488cf25ec1c21618c4ec5e1ac16496057ebe21f158b29c2bd1133c40a089c1c5740e8a9f8817be585186b83b
diff --git a/net-libs/axtls/axtls-2.1.2.ebuild b/net-libs/axtls/axtls-2.1.2.ebuild
new file mode 100644
index 00000000..644832b
--- /dev/null
+++ b/net-libs/axtls/axtls-2.1.2.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
+
+################################################################################
+# axtls CONFIG MINI-HOWTO
+#
+# Note: axtls is highly configurable and uses mconf, like the linux kernel.
+# You can configure it in a couple of ways:
+#
+# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
+# you want, and possibly a lot more.
+#
+# 2) You can create your own configuration file by doing
+#
+# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
+# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
+# make menuconfig
+#
+# Now configure axtls as you want. Finally save your config file:
+#
+# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
+#
+# where ${PV} is the current version. You can then run emerge again with
+# your configuration by doing
+#
+# USE="savedconfig" emerge axtls
+#
+################################################################################
+
+MY_PN=${PN/tls/TLS}
+
+DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
+HOMEPAGE="http://axtls.sourceforge.net/"
+SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${PN}-code"
+
+LICENSE="BSD GPL-2"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
+
+IUSE="httpd cgi-lua cgi-php static static-libs doc"
+
+# TODO: add ipv6, and c#, java, lua, perl bindings
+# Currently these all have some issue
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND="
+ httpd? (
+ cgi-lua? ( dev-lang/lua )
+ cgi-php? ( dev-lang/php[cgi] )
+ )"
+
+#Note1: static, cgi-* makes no sense if httpd is not given
+REQUIRED_USE="
+ static? ( httpd )
+ cgi-lua? ( httpd )
+ cgi-php? ( httpd )"
+
+AXTLS_GROUP="axtls"
+AXTLS_USER="axtls"
+
+pkg_setup() {
+ use httpd && {
+ ebegin "Creating axtls user and group"
+ enewgroup ${AXTLS_GROUP}
+ enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
+ }
+}
+
+src_prepare() {
+ tc-export AR CC
+
+ epatch "${FILESDIR}/explicit-libdir-r1.patch"
+
+ #We want CONFIG_DEBUG to avoid stripping
+ #but not for debugging info
+ sed -i -e 's: -g::' config/Rules.mak || die
+ sed -i -e 's: -g::' config/makefile.conf || die
+
+ multilib_copy_sources
+}
+
+use_flag_config() {
+ cp "${FILESDIR}"/config config/.config || die
+
+ #Respect CFLAGS/LDFLAGS
+ sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
+ config/.config || die
+ sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
+ config/.config || die
+
+ #The logic is that the default config file enables everything and we disable
+ #here with sed unless a USE flags says to keep it
+ if use httpd; then
+ if ! use static; then
+ sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
+ config/.config || die
+ fi
+ if ! use cgi-php && ! use cgi-lua; then
+ sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
+ config/.config || die
+ fi
+ if ! use cgi-php; then
+ sed -i -e 's:,.php::' config/.config || die
+ fi
+ if ! use cgi-lua; then
+ sed -i -e 's:\.lua,::' \
+ -e 's:lua:php:' \
+ -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
+ config/.config || die
+ fi
+ else
+ sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
+ config/.config || die
+ fi
+
+ yes "n" | emake -j1 oldconfig > /dev/null || die
+}
+
+multilib_src_configure() {
+ #Per-ABI substitutions.
+ sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
+ Makefile || die
+
+ #Use CC as the host compiler for mconf
+ sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
+ config/Rules.mak || die
+
+ if use savedconfig; then
+ restore_config config/.config
+ if [[ -f config/.config ]]; then
+ ewarn "Using saved config, all other USE flags ignored"
+ else
+ ewarn "No saved config, seeding with the default"
+ cp "${FILESDIR}"/config config/.config || die
+ fi
+ yes "" | emake -j1 oldconfig > /dev/null || die
+ else
+ use_flag_config
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi && use savedconfig; then
+ save_config config/.config
+ fi
+
+ emake PREFIX="${ED}/usr" install
+
+ if ! use static-libs; then
+ rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
+ fi
+
+ # The build system needs to install before it builds docs
+ if multilib_is_native_abi && use doc; then
+ emake docs
+ dodoc -r docsrc/html
+ fi
+}
+
+multilib_src_install_all() {
+ if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
+ mv "${ED}"/usr/bin/{,ax}htpasswd || die
+ fi
+
+ if use httpd; then
+ newinitd "${FILESDIR}"/axhttpd.initd axhttpd
+ newconfd "${FILESDIR}"/axhttpd.confd axhttpd
+ fi
+
+ docompress -x /usr/share/doc/${PF}/README
+ dodoc README
+}
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2016-12-22 0:41 Anthony G. Basile
0 siblings, 0 replies; 41+ messages in thread
From: Anthony G. Basile @ 2016-12-22 0:41 UTC (permalink / raw
To: gentoo-commits
commit: 20bebd7d2b1c8c290739bf74cb3761ccef12452c
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 22 00:41:27 2016 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Dec 22 00:41:41 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20bebd7d
net-libs/axtls: remove older unstable versions
Package-Manager: portage-2.3.0
net-libs/axtls/Manifest | 3 -
net-libs/axtls/axtls-1.5.4.ebuild | 177 --------------------------------------
net-libs/axtls/axtls-2.0.0.ebuild | 177 --------------------------------------
net-libs/axtls/axtls-2.0.1.ebuild | 177 --------------------------------------
4 files changed, 534 deletions(-)
diff --git a/net-libs/axtls/Manifest b/net-libs/axtls/Manifest
index a092cd8..e92d634 100644
--- a/net-libs/axtls/Manifest
+++ b/net-libs/axtls/Manifest
@@ -1,5 +1,2 @@
DIST axTLS-1.5.3.tar.gz 1309853 SHA256 367ce7918b9e7738d853d5eaaa9d4fbdb362c5b323d4c0622a72d891f6b8d8e6 SHA512 d37fb1341259b079ed234512a96656d67e005c50d9f8e0c856fb140c9da35267624e065134e0cc8310f70e5cf5d196c7dd34f01e2a7a5cc29e77e7ca46c25281 WHIRLPOOL 92de1a06da740adf0238550d36a75216bace6c7fb867e82d38f2ca2362dcf0e41810191933aa788ffda080367b6beb312f1a9a240ab687a6c4f324988d36a81c
-DIST axTLS-1.5.4.tar.gz 1296351 SHA256 24d50cc4f5908d06cfacb2a3916d91ed75c5b1441809e47bc45e1053d6ba5d91 SHA512 0e52ca22199b3c7eb45641c7fdbe607f79fcea25f12d1ee0535a6a7c7579ee42777d27ce6474866eca19287bd11a1de76f5c39f715eb06e9e4cf3324b31bbbb2 WHIRLPOOL 29d2b5e72165c28c0e9084677f44b52116ec5da5efabc2fed79479800cbfe43c5dd4bf7390951b5168a63af0acd1cb5635fecac7d4ef42d570a1ef6d5e7edb6f
-DIST axTLS-2.0.0.tar.gz 1303303 SHA256 921f7f678678d418496546978d57e7e8d00529040f4c4a7124323ced9ca703f4 SHA512 40bf0420ed45ea5c858573c66c435a2ee96b516d9fd4b6e2df74fdeec308a4562e61ed5511abb528c9a7d882831d79b290fd416f6643ca2859a62d707e92f009 WHIRLPOOL 57a59e18501e381a52da07c9a07d239f3e93bbcc9c760a2dd425e1bfb736d1f4cd130c1a2fae329689a1b967313f1588e1d1f521d8e33bf41c29db1aa735f379
-DIST axTLS-2.0.1.tar.gz 1303430 SHA256 6065adf95cf2d47fece86a91a48dfbdfeaa48e5ead9a1812231ecb1dcc8a2216 SHA512 f350df1fb3b1f662ffc489785d45535f9a3bbae26258d723952105fd2e49aa6866df93563d08de5371f7bcf1bc1e4f118e0d08d63d3409265b18bf01be4ac010 WHIRLPOOL b706eabc7fa347aab73bd4e48c2d5e9a6f0a403733c739cbc09e441e22c7734be5c3d238d45832db9c46e4755ed0987be4ab198afae8b01c115c3cfaf50a44ee
DIST axTLS-2.1.1.tar.gz 1305982 SHA256 6ea445bb7f3ce072242df7f687f531c9d18079681990f93cd4f65f43ef2057a1 SHA512 55619d5e02ce466bab223ebc1036ef39c6491d11126ed70f2712a427de2c7e396086a97d3607c9cb69685ade0763e2e55f2c94f9ba746d8ce7b34b0d1996f51a WHIRLPOOL 0e05ec073735f0ed334cb6d84c901c162f413a26485a79ec166ee5bbf9ed02708056093d31d5a00bd4374727a6eb08146f538ede04450145101d5eeb03409986
diff --git a/net-libs/axtls/axtls-1.5.4.ebuild b/net-libs/axtls/axtls-1.5.4.ebuild
deleted file mode 100644
index ba142a9..00000000
--- a/net-libs/axtls/axtls-1.5.4.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
-
-################################################################################
-# axtls CONFIG MINI-HOWTO
-#
-# Note: axtls is highly configurable and uses mconf, like the linux kernel.
-# You can configure it in a couple of ways:
-#
-# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
-# you want, and possibly a lot more.
-#
-# 2) You can create your own configuration file by doing
-#
-# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
-# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
-# make menuconfig
-#
-# Now configure axtls as you want. Finally save your config file:
-#
-# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
-#
-# where ${PV} is the current version. You can then run emerge again with
-# your configuration by doing
-#
-# USE="savedconfig" emerge axtls
-#
-################################################################################
-
-MY_PN=${PN/tls/TLS}
-
-DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
-HOMEPAGE="http://axtls.sourceforge.net/"
-SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${PN}-code"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
-
-IUSE="httpd cgi-lua cgi-php static static-libs doc"
-
-# TODO: add ipv6, and c#, java, lua, perl bindings
-# Currently these all have some issue
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="
- httpd? (
- cgi-lua? ( dev-lang/lua )
- cgi-php? ( dev-lang/php[cgi] )
- )"
-
-#Note1: static, cgi-* makes no sense if httpd is not given
-REQUIRED_USE="
- static? ( httpd )
- cgi-lua? ( httpd )
- cgi-php? ( httpd )"
-
-AXTLS_GROUP="axtls"
-AXTLS_USER="axtls"
-
-pkg_setup() {
- use httpd && {
- ebegin "Creating axtls user and group"
- enewgroup ${AXTLS_GROUP}
- enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
- }
-}
-
-src_prepare() {
- tc-export AR CC
-
- epatch "${FILESDIR}/explicit-libdir-r1.patch"
-
- #We want CONFIG_DEBUG to avoid stripping
- #but not for debugging info
- sed -i -e 's: -g::' config/Rules.mak || die
- sed -i -e 's: -g::' config/makefile.conf || die
-
- multilib_copy_sources
-}
-
-use_flag_config() {
- cp "${FILESDIR}"/config config/.config || die
-
- #Respect CFLAGS/LDFLAGS
- sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
- config/.config || die
- sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
- config/.config || die
-
- #The logic is that the default config file enables everything and we disable
- #here with sed unless a USE flags says to keep it
- if use httpd; then
- if ! use static; then
- sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
- config/.config || die
- fi
- if ! use cgi-php && ! use cgi-lua; then
- sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
- config/.config || die
- fi
- if ! use cgi-php; then
- sed -i -e 's:,.php::' config/.config || die
- fi
- if ! use cgi-lua; then
- sed -i -e 's:\.lua,::' \
- -e 's:lua:php:' \
- -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
- config/.config || die
- fi
- else
- sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
- config/.config || die
- fi
-
- yes "n" | emake -j1 oldconfig > /dev/null || die
-}
-
-multilib_src_configure() {
- #Per-ABI substitutions.
- sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
- Makefile || die
-
- #Use CC as the host compiler for mconf
- sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
- config/Rules.mak || die
-
- if use savedconfig; then
- restore_config config/.config
- if [[ -f config/.config ]]; then
- ewarn "Using saved config, all other USE flags ignored"
- else
- ewarn "No saved config, seeding with the default"
- cp "${FILESDIR}"/config config/.config || die
- fi
- yes "" | emake -j1 oldconfig > /dev/null || die
- else
- use_flag_config
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use savedconfig; then
- save_config config/.config
- fi
-
- emake PREFIX="${ED}/usr" install
-
- if ! use static-libs; then
- rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
- fi
-
- # The build system needs to install before it builds docs
- if multilib_is_native_abi && use doc; then
- emake docs
- dodoc -r docsrc/html
- fi
-}
-
-multilib_src_install_all() {
- if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
- mv "${ED}"/usr/bin/{,ax}htpasswd || die
- fi
-
- if use httpd; then
- newinitd "${FILESDIR}"/axhttpd.initd axhttpd
- newconfd "${FILESDIR}"/axhttpd.confd axhttpd
- fi
-
- docompress -x /usr/share/doc/${PF}/README
- dodoc README
-}
diff --git a/net-libs/axtls/axtls-2.0.0.ebuild b/net-libs/axtls/axtls-2.0.0.ebuild
deleted file mode 100644
index ba142a9..00000000
--- a/net-libs/axtls/axtls-2.0.0.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
-
-################################################################################
-# axtls CONFIG MINI-HOWTO
-#
-# Note: axtls is highly configurable and uses mconf, like the linux kernel.
-# You can configure it in a couple of ways:
-#
-# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
-# you want, and possibly a lot more.
-#
-# 2) You can create your own configuration file by doing
-#
-# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
-# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
-# make menuconfig
-#
-# Now configure axtls as you want. Finally save your config file:
-#
-# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
-#
-# where ${PV} is the current version. You can then run emerge again with
-# your configuration by doing
-#
-# USE="savedconfig" emerge axtls
-#
-################################################################################
-
-MY_PN=${PN/tls/TLS}
-
-DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
-HOMEPAGE="http://axtls.sourceforge.net/"
-SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${PN}-code"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
-
-IUSE="httpd cgi-lua cgi-php static static-libs doc"
-
-# TODO: add ipv6, and c#, java, lua, perl bindings
-# Currently these all have some issue
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="
- httpd? (
- cgi-lua? ( dev-lang/lua )
- cgi-php? ( dev-lang/php[cgi] )
- )"
-
-#Note1: static, cgi-* makes no sense if httpd is not given
-REQUIRED_USE="
- static? ( httpd )
- cgi-lua? ( httpd )
- cgi-php? ( httpd )"
-
-AXTLS_GROUP="axtls"
-AXTLS_USER="axtls"
-
-pkg_setup() {
- use httpd && {
- ebegin "Creating axtls user and group"
- enewgroup ${AXTLS_GROUP}
- enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
- }
-}
-
-src_prepare() {
- tc-export AR CC
-
- epatch "${FILESDIR}/explicit-libdir-r1.patch"
-
- #We want CONFIG_DEBUG to avoid stripping
- #but not for debugging info
- sed -i -e 's: -g::' config/Rules.mak || die
- sed -i -e 's: -g::' config/makefile.conf || die
-
- multilib_copy_sources
-}
-
-use_flag_config() {
- cp "${FILESDIR}"/config config/.config || die
-
- #Respect CFLAGS/LDFLAGS
- sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
- config/.config || die
- sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
- config/.config || die
-
- #The logic is that the default config file enables everything and we disable
- #here with sed unless a USE flags says to keep it
- if use httpd; then
- if ! use static; then
- sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
- config/.config || die
- fi
- if ! use cgi-php && ! use cgi-lua; then
- sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
- config/.config || die
- fi
- if ! use cgi-php; then
- sed -i -e 's:,.php::' config/.config || die
- fi
- if ! use cgi-lua; then
- sed -i -e 's:\.lua,::' \
- -e 's:lua:php:' \
- -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
- config/.config || die
- fi
- else
- sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
- config/.config || die
- fi
-
- yes "n" | emake -j1 oldconfig > /dev/null || die
-}
-
-multilib_src_configure() {
- #Per-ABI substitutions.
- sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
- Makefile || die
-
- #Use CC as the host compiler for mconf
- sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
- config/Rules.mak || die
-
- if use savedconfig; then
- restore_config config/.config
- if [[ -f config/.config ]]; then
- ewarn "Using saved config, all other USE flags ignored"
- else
- ewarn "No saved config, seeding with the default"
- cp "${FILESDIR}"/config config/.config || die
- fi
- yes "" | emake -j1 oldconfig > /dev/null || die
- else
- use_flag_config
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use savedconfig; then
- save_config config/.config
- fi
-
- emake PREFIX="${ED}/usr" install
-
- if ! use static-libs; then
- rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
- fi
-
- # The build system needs to install before it builds docs
- if multilib_is_native_abi && use doc; then
- emake docs
- dodoc -r docsrc/html
- fi
-}
-
-multilib_src_install_all() {
- if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
- mv "${ED}"/usr/bin/{,ax}htpasswd || die
- fi
-
- if use httpd; then
- newinitd "${FILESDIR}"/axhttpd.initd axhttpd
- newconfd "${FILESDIR}"/axhttpd.confd axhttpd
- fi
-
- docompress -x /usr/share/doc/${PF}/README
- dodoc README
-}
diff --git a/net-libs/axtls/axtls-2.0.1.ebuild b/net-libs/axtls/axtls-2.0.1.ebuild
deleted file mode 100644
index ba142a9..00000000
--- a/net-libs/axtls/axtls-2.0.1.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
-
-################################################################################
-# axtls CONFIG MINI-HOWTO
-#
-# Note: axtls is highly configurable and uses mconf, like the linux kernel.
-# You can configure it in a couple of ways:
-#
-# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
-# you want, and possibly a lot more.
-#
-# 2) You can create your own configuration file by doing
-#
-# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
-# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
-# make menuconfig
-#
-# Now configure axtls as you want. Finally save your config file:
-#
-# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
-#
-# where ${PV} is the current version. You can then run emerge again with
-# your configuration by doing
-#
-# USE="savedconfig" emerge axtls
-#
-################################################################################
-
-MY_PN=${PN/tls/TLS}
-
-DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
-HOMEPAGE="http://axtls.sourceforge.net/"
-SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${PN}-code"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
-
-IUSE="httpd cgi-lua cgi-php static static-libs doc"
-
-# TODO: add ipv6, and c#, java, lua, perl bindings
-# Currently these all have some issue
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="
- httpd? (
- cgi-lua? ( dev-lang/lua )
- cgi-php? ( dev-lang/php[cgi] )
- )"
-
-#Note1: static, cgi-* makes no sense if httpd is not given
-REQUIRED_USE="
- static? ( httpd )
- cgi-lua? ( httpd )
- cgi-php? ( httpd )"
-
-AXTLS_GROUP="axtls"
-AXTLS_USER="axtls"
-
-pkg_setup() {
- use httpd && {
- ebegin "Creating axtls user and group"
- enewgroup ${AXTLS_GROUP}
- enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
- }
-}
-
-src_prepare() {
- tc-export AR CC
-
- epatch "${FILESDIR}/explicit-libdir-r1.patch"
-
- #We want CONFIG_DEBUG to avoid stripping
- #but not for debugging info
- sed -i -e 's: -g::' config/Rules.mak || die
- sed -i -e 's: -g::' config/makefile.conf || die
-
- multilib_copy_sources
-}
-
-use_flag_config() {
- cp "${FILESDIR}"/config config/.config || die
-
- #Respect CFLAGS/LDFLAGS
- sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
- config/.config || die
- sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
- config/.config || die
-
- #The logic is that the default config file enables everything and we disable
- #here with sed unless a USE flags says to keep it
- if use httpd; then
- if ! use static; then
- sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
- config/.config || die
- fi
- if ! use cgi-php && ! use cgi-lua; then
- sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
- config/.config || die
- fi
- if ! use cgi-php; then
- sed -i -e 's:,.php::' config/.config || die
- fi
- if ! use cgi-lua; then
- sed -i -e 's:\.lua,::' \
- -e 's:lua:php:' \
- -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
- config/.config || die
- fi
- else
- sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
- config/.config || die
- fi
-
- yes "n" | emake -j1 oldconfig > /dev/null || die
-}
-
-multilib_src_configure() {
- #Per-ABI substitutions.
- sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
- Makefile || die
-
- #Use CC as the host compiler for mconf
- sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
- config/Rules.mak || die
-
- if use savedconfig; then
- restore_config config/.config
- if [[ -f config/.config ]]; then
- ewarn "Using saved config, all other USE flags ignored"
- else
- ewarn "No saved config, seeding with the default"
- cp "${FILESDIR}"/config config/.config || die
- fi
- yes "" | emake -j1 oldconfig > /dev/null || die
- else
- use_flag_config
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use savedconfig; then
- save_config config/.config
- fi
-
- emake PREFIX="${ED}/usr" install
-
- if ! use static-libs; then
- rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
- fi
-
- # The build system needs to install before it builds docs
- if multilib_is_native_abi && use doc; then
- emake docs
- dodoc -r docsrc/html
- fi
-}
-
-multilib_src_install_all() {
- if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
- mv "${ED}"/usr/bin/{,ax}htpasswd || die
- fi
-
- if use httpd; then
- newinitd "${FILESDIR}"/axhttpd.initd axhttpd
- newconfd "${FILESDIR}"/axhttpd.confd axhttpd
- fi
-
- docompress -x /usr/share/doc/${PF}/README
- dodoc README
-}
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2016-12-22 0:41 Anthony G. Basile
0 siblings, 0 replies; 41+ messages in thread
From: Anthony G. Basile @ 2016-12-22 0:41 UTC (permalink / raw
To: gentoo-commits
commit: 31006d86d92ee9fa2037f89ef5981d0b0886f474
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 22 00:40:30 2016 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Dec 22 00:41:39 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31006d86
net-libs/axtls: version bump to 2.1.1
Package-Manager: portage-2.3.0
net-libs/axtls/Manifest | 1 +
net-libs/axtls/axtls-2.1.1.ebuild | 177 ++++++++++++++++++++++++++++++++++++++
2 files changed, 178 insertions(+)
diff --git a/net-libs/axtls/Manifest b/net-libs/axtls/Manifest
index bd7ff8b..a092cd8 100644
--- a/net-libs/axtls/Manifest
+++ b/net-libs/axtls/Manifest
@@ -2,3 +2,4 @@ DIST axTLS-1.5.3.tar.gz 1309853 SHA256 367ce7918b9e7738d853d5eaaa9d4fbdb362c5b32
DIST axTLS-1.5.4.tar.gz 1296351 SHA256 24d50cc4f5908d06cfacb2a3916d91ed75c5b1441809e47bc45e1053d6ba5d91 SHA512 0e52ca22199b3c7eb45641c7fdbe607f79fcea25f12d1ee0535a6a7c7579ee42777d27ce6474866eca19287bd11a1de76f5c39f715eb06e9e4cf3324b31bbbb2 WHIRLPOOL 29d2b5e72165c28c0e9084677f44b52116ec5da5efabc2fed79479800cbfe43c5dd4bf7390951b5168a63af0acd1cb5635fecac7d4ef42d570a1ef6d5e7edb6f
DIST axTLS-2.0.0.tar.gz 1303303 SHA256 921f7f678678d418496546978d57e7e8d00529040f4c4a7124323ced9ca703f4 SHA512 40bf0420ed45ea5c858573c66c435a2ee96b516d9fd4b6e2df74fdeec308a4562e61ed5511abb528c9a7d882831d79b290fd416f6643ca2859a62d707e92f009 WHIRLPOOL 57a59e18501e381a52da07c9a07d239f3e93bbcc9c760a2dd425e1bfb736d1f4cd130c1a2fae329689a1b967313f1588e1d1f521d8e33bf41c29db1aa735f379
DIST axTLS-2.0.1.tar.gz 1303430 SHA256 6065adf95cf2d47fece86a91a48dfbdfeaa48e5ead9a1812231ecb1dcc8a2216 SHA512 f350df1fb3b1f662ffc489785d45535f9a3bbae26258d723952105fd2e49aa6866df93563d08de5371f7bcf1bc1e4f118e0d08d63d3409265b18bf01be4ac010 WHIRLPOOL b706eabc7fa347aab73bd4e48c2d5e9a6f0a403733c739cbc09e441e22c7734be5c3d238d45832db9c46e4755ed0987be4ab198afae8b01c115c3cfaf50a44ee
+DIST axTLS-2.1.1.tar.gz 1305982 SHA256 6ea445bb7f3ce072242df7f687f531c9d18079681990f93cd4f65f43ef2057a1 SHA512 55619d5e02ce466bab223ebc1036ef39c6491d11126ed70f2712a427de2c7e396086a97d3607c9cb69685ade0763e2e55f2c94f9ba746d8ce7b34b0d1996f51a WHIRLPOOL 0e05ec073735f0ed334cb6d84c901c162f413a26485a79ec166ee5bbf9ed02708056093d31d5a00bd4374727a6eb08146f538ede04450145101d5eeb03409986
diff --git a/net-libs/axtls/axtls-2.1.1.ebuild b/net-libs/axtls/axtls-2.1.1.ebuild
new file mode 100644
index 00000000..644832b
--- /dev/null
+++ b/net-libs/axtls/axtls-2.1.1.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
+
+################################################################################
+# axtls CONFIG MINI-HOWTO
+#
+# Note: axtls is highly configurable and uses mconf, like the linux kernel.
+# You can configure it in a couple of ways:
+#
+# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
+# you want, and possibly a lot more.
+#
+# 2) You can create your own configuration file by doing
+#
+# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
+# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
+# make menuconfig
+#
+# Now configure axtls as you want. Finally save your config file:
+#
+# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
+#
+# where ${PV} is the current version. You can then run emerge again with
+# your configuration by doing
+#
+# USE="savedconfig" emerge axtls
+#
+################################################################################
+
+MY_PN=${PN/tls/TLS}
+
+DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
+HOMEPAGE="http://axtls.sourceforge.net/"
+SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${PN}-code"
+
+LICENSE="BSD GPL-2"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
+
+IUSE="httpd cgi-lua cgi-php static static-libs doc"
+
+# TODO: add ipv6, and c#, java, lua, perl bindings
+# Currently these all have some issue
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND="
+ httpd? (
+ cgi-lua? ( dev-lang/lua )
+ cgi-php? ( dev-lang/php[cgi] )
+ )"
+
+#Note1: static, cgi-* makes no sense if httpd is not given
+REQUIRED_USE="
+ static? ( httpd )
+ cgi-lua? ( httpd )
+ cgi-php? ( httpd )"
+
+AXTLS_GROUP="axtls"
+AXTLS_USER="axtls"
+
+pkg_setup() {
+ use httpd && {
+ ebegin "Creating axtls user and group"
+ enewgroup ${AXTLS_GROUP}
+ enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
+ }
+}
+
+src_prepare() {
+ tc-export AR CC
+
+ epatch "${FILESDIR}/explicit-libdir-r1.patch"
+
+ #We want CONFIG_DEBUG to avoid stripping
+ #but not for debugging info
+ sed -i -e 's: -g::' config/Rules.mak || die
+ sed -i -e 's: -g::' config/makefile.conf || die
+
+ multilib_copy_sources
+}
+
+use_flag_config() {
+ cp "${FILESDIR}"/config config/.config || die
+
+ #Respect CFLAGS/LDFLAGS
+ sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
+ config/.config || die
+ sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
+ config/.config || die
+
+ #The logic is that the default config file enables everything and we disable
+ #here with sed unless a USE flags says to keep it
+ if use httpd; then
+ if ! use static; then
+ sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
+ config/.config || die
+ fi
+ if ! use cgi-php && ! use cgi-lua; then
+ sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
+ config/.config || die
+ fi
+ if ! use cgi-php; then
+ sed -i -e 's:,.php::' config/.config || die
+ fi
+ if ! use cgi-lua; then
+ sed -i -e 's:\.lua,::' \
+ -e 's:lua:php:' \
+ -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
+ config/.config || die
+ fi
+ else
+ sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
+ config/.config || die
+ fi
+
+ yes "n" | emake -j1 oldconfig > /dev/null || die
+}
+
+multilib_src_configure() {
+ #Per-ABI substitutions.
+ sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
+ Makefile || die
+
+ #Use CC as the host compiler for mconf
+ sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
+ config/Rules.mak || die
+
+ if use savedconfig; then
+ restore_config config/.config
+ if [[ -f config/.config ]]; then
+ ewarn "Using saved config, all other USE flags ignored"
+ else
+ ewarn "No saved config, seeding with the default"
+ cp "${FILESDIR}"/config config/.config || die
+ fi
+ yes "" | emake -j1 oldconfig > /dev/null || die
+ else
+ use_flag_config
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi && use savedconfig; then
+ save_config config/.config
+ fi
+
+ emake PREFIX="${ED}/usr" install
+
+ if ! use static-libs; then
+ rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
+ fi
+
+ # The build system needs to install before it builds docs
+ if multilib_is_native_abi && use doc; then
+ emake docs
+ dodoc -r docsrc/html
+ fi
+}
+
+multilib_src_install_all() {
+ if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
+ mv "${ED}"/usr/bin/{,ax}htpasswd || die
+ fi
+
+ if use httpd; then
+ newinitd "${FILESDIR}"/axhttpd.initd axhttpd
+ newconfd "${FILESDIR}"/axhttpd.confd axhttpd
+ fi
+
+ docompress -x /usr/share/doc/${PF}/README
+ dodoc README
+}
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2016-08-31 21:59 Anthony G. Basile
0 siblings, 0 replies; 41+ messages in thread
From: Anthony G. Basile @ 2016-08-31 21:59 UTC (permalink / raw
To: gentoo-commits
commit: 7e65233a587d12728d90abcdce4c36a4316ca187
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 31 21:50:22 2016 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Aug 31 21:59:20 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e65233a
net-libs/axtls: version bump to 2.0.1
Package-Manager: portage-2.2.28
net-libs/axtls/Manifest | 1 +
net-libs/axtls/axtls-2.0.1.ebuild | 177 ++++++++++++++++++++++++++++++++++++++
2 files changed, 178 insertions(+)
diff --git a/net-libs/axtls/Manifest b/net-libs/axtls/Manifest
index b3f129a..bd7ff8b 100644
--- a/net-libs/axtls/Manifest
+++ b/net-libs/axtls/Manifest
@@ -1,3 +1,4 @@
DIST axTLS-1.5.3.tar.gz 1309853 SHA256 367ce7918b9e7738d853d5eaaa9d4fbdb362c5b323d4c0622a72d891f6b8d8e6 SHA512 d37fb1341259b079ed234512a96656d67e005c50d9f8e0c856fb140c9da35267624e065134e0cc8310f70e5cf5d196c7dd34f01e2a7a5cc29e77e7ca46c25281 WHIRLPOOL 92de1a06da740adf0238550d36a75216bace6c7fb867e82d38f2ca2362dcf0e41810191933aa788ffda080367b6beb312f1a9a240ab687a6c4f324988d36a81c
DIST axTLS-1.5.4.tar.gz 1296351 SHA256 24d50cc4f5908d06cfacb2a3916d91ed75c5b1441809e47bc45e1053d6ba5d91 SHA512 0e52ca22199b3c7eb45641c7fdbe607f79fcea25f12d1ee0535a6a7c7579ee42777d27ce6474866eca19287bd11a1de76f5c39f715eb06e9e4cf3324b31bbbb2 WHIRLPOOL 29d2b5e72165c28c0e9084677f44b52116ec5da5efabc2fed79479800cbfe43c5dd4bf7390951b5168a63af0acd1cb5635fecac7d4ef42d570a1ef6d5e7edb6f
DIST axTLS-2.0.0.tar.gz 1303303 SHA256 921f7f678678d418496546978d57e7e8d00529040f4c4a7124323ced9ca703f4 SHA512 40bf0420ed45ea5c858573c66c435a2ee96b516d9fd4b6e2df74fdeec308a4562e61ed5511abb528c9a7d882831d79b290fd416f6643ca2859a62d707e92f009 WHIRLPOOL 57a59e18501e381a52da07c9a07d239f3e93bbcc9c760a2dd425e1bfb736d1f4cd130c1a2fae329689a1b967313f1588e1d1f521d8e33bf41c29db1aa735f379
+DIST axTLS-2.0.1.tar.gz 1303430 SHA256 6065adf95cf2d47fece86a91a48dfbdfeaa48e5ead9a1812231ecb1dcc8a2216 SHA512 f350df1fb3b1f662ffc489785d45535f9a3bbae26258d723952105fd2e49aa6866df93563d08de5371f7bcf1bc1e4f118e0d08d63d3409265b18bf01be4ac010 WHIRLPOOL b706eabc7fa347aab73bd4e48c2d5e9a6f0a403733c739cbc09e441e22c7734be5c3d238d45832db9c46e4755ed0987be4ab198afae8b01c115c3cfaf50a44ee
diff --git a/net-libs/axtls/axtls-2.0.1.ebuild b/net-libs/axtls/axtls-2.0.1.ebuild
new file mode 100644
index 00000000..ba142a9
--- /dev/null
+++ b/net-libs/axtls/axtls-2.0.1.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
+
+################################################################################
+# axtls CONFIG MINI-HOWTO
+#
+# Note: axtls is highly configurable and uses mconf, like the linux kernel.
+# You can configure it in a couple of ways:
+#
+# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
+# you want, and possibly a lot more.
+#
+# 2) You can create your own configuration file by doing
+#
+# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
+# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
+# make menuconfig
+#
+# Now configure axtls as you want. Finally save your config file:
+#
+# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
+#
+# where ${PV} is the current version. You can then run emerge again with
+# your configuration by doing
+#
+# USE="savedconfig" emerge axtls
+#
+################################################################################
+
+MY_PN=${PN/tls/TLS}
+
+DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
+HOMEPAGE="http://axtls.sourceforge.net/"
+SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${PN}-code"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
+
+IUSE="httpd cgi-lua cgi-php static static-libs doc"
+
+# TODO: add ipv6, and c#, java, lua, perl bindings
+# Currently these all have some issue
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND="
+ httpd? (
+ cgi-lua? ( dev-lang/lua )
+ cgi-php? ( dev-lang/php[cgi] )
+ )"
+
+#Note1: static, cgi-* makes no sense if httpd is not given
+REQUIRED_USE="
+ static? ( httpd )
+ cgi-lua? ( httpd )
+ cgi-php? ( httpd )"
+
+AXTLS_GROUP="axtls"
+AXTLS_USER="axtls"
+
+pkg_setup() {
+ use httpd && {
+ ebegin "Creating axtls user and group"
+ enewgroup ${AXTLS_GROUP}
+ enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
+ }
+}
+
+src_prepare() {
+ tc-export AR CC
+
+ epatch "${FILESDIR}/explicit-libdir-r1.patch"
+
+ #We want CONFIG_DEBUG to avoid stripping
+ #but not for debugging info
+ sed -i -e 's: -g::' config/Rules.mak || die
+ sed -i -e 's: -g::' config/makefile.conf || die
+
+ multilib_copy_sources
+}
+
+use_flag_config() {
+ cp "${FILESDIR}"/config config/.config || die
+
+ #Respect CFLAGS/LDFLAGS
+ sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
+ config/.config || die
+ sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
+ config/.config || die
+
+ #The logic is that the default config file enables everything and we disable
+ #here with sed unless a USE flags says to keep it
+ if use httpd; then
+ if ! use static; then
+ sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
+ config/.config || die
+ fi
+ if ! use cgi-php && ! use cgi-lua; then
+ sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
+ config/.config || die
+ fi
+ if ! use cgi-php; then
+ sed -i -e 's:,.php::' config/.config || die
+ fi
+ if ! use cgi-lua; then
+ sed -i -e 's:\.lua,::' \
+ -e 's:lua:php:' \
+ -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
+ config/.config || die
+ fi
+ else
+ sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
+ config/.config || die
+ fi
+
+ yes "n" | emake -j1 oldconfig > /dev/null || die
+}
+
+multilib_src_configure() {
+ #Per-ABI substitutions.
+ sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
+ Makefile || die
+
+ #Use CC as the host compiler for mconf
+ sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
+ config/Rules.mak || die
+
+ if use savedconfig; then
+ restore_config config/.config
+ if [[ -f config/.config ]]; then
+ ewarn "Using saved config, all other USE flags ignored"
+ else
+ ewarn "No saved config, seeding with the default"
+ cp "${FILESDIR}"/config config/.config || die
+ fi
+ yes "" | emake -j1 oldconfig > /dev/null || die
+ else
+ use_flag_config
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi && use savedconfig; then
+ save_config config/.config
+ fi
+
+ emake PREFIX="${ED}/usr" install
+
+ if ! use static-libs; then
+ rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
+ fi
+
+ # The build system needs to install before it builds docs
+ if multilib_is_native_abi && use doc; then
+ emake docs
+ dodoc -r docsrc/html
+ fi
+}
+
+multilib_src_install_all() {
+ if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
+ mv "${ED}"/usr/bin/{,ax}htpasswd || die
+ fi
+
+ if use httpd; then
+ newinitd "${FILESDIR}"/axhttpd.initd axhttpd
+ newconfd "${FILESDIR}"/axhttpd.confd axhttpd
+ fi
+
+ docompress -x /usr/share/doc/${PF}/README
+ dodoc README
+}
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2016-08-17 18:23 Anthony G. Basile
0 siblings, 0 replies; 41+ messages in thread
From: Anthony G. Basile @ 2016-08-17 18:23 UTC (permalink / raw
To: gentoo-commits
commit: d3aac0a0acc1613b60cc367b153fdb27834cbc19
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 17 18:18:55 2016 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Aug 17 18:23:21 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3aac0a0
net-libs/axtls: version bump to 2.0.0
Package-Manager: portage-2.2.28
net-libs/axtls/Manifest | 1 +
net-libs/axtls/axtls-2.0.0.ebuild | 177 ++++++++++++++++++++++++++++++++++++++
2 files changed, 178 insertions(+)
diff --git a/net-libs/axtls/Manifest b/net-libs/axtls/Manifest
index 5deb48c..b3f129a 100644
--- a/net-libs/axtls/Manifest
+++ b/net-libs/axtls/Manifest
@@ -1,2 +1,3 @@
DIST axTLS-1.5.3.tar.gz 1309853 SHA256 367ce7918b9e7738d853d5eaaa9d4fbdb362c5b323d4c0622a72d891f6b8d8e6 SHA512 d37fb1341259b079ed234512a96656d67e005c50d9f8e0c856fb140c9da35267624e065134e0cc8310f70e5cf5d196c7dd34f01e2a7a5cc29e77e7ca46c25281 WHIRLPOOL 92de1a06da740adf0238550d36a75216bace6c7fb867e82d38f2ca2362dcf0e41810191933aa788ffda080367b6beb312f1a9a240ab687a6c4f324988d36a81c
DIST axTLS-1.5.4.tar.gz 1296351 SHA256 24d50cc4f5908d06cfacb2a3916d91ed75c5b1441809e47bc45e1053d6ba5d91 SHA512 0e52ca22199b3c7eb45641c7fdbe607f79fcea25f12d1ee0535a6a7c7579ee42777d27ce6474866eca19287bd11a1de76f5c39f715eb06e9e4cf3324b31bbbb2 WHIRLPOOL 29d2b5e72165c28c0e9084677f44b52116ec5da5efabc2fed79479800cbfe43c5dd4bf7390951b5168a63af0acd1cb5635fecac7d4ef42d570a1ef6d5e7edb6f
+DIST axTLS-2.0.0.tar.gz 1303303 SHA256 921f7f678678d418496546978d57e7e8d00529040f4c4a7124323ced9ca703f4 SHA512 40bf0420ed45ea5c858573c66c435a2ee96b516d9fd4b6e2df74fdeec308a4562e61ed5511abb528c9a7d882831d79b290fd416f6643ca2859a62d707e92f009 WHIRLPOOL 57a59e18501e381a52da07c9a07d239f3e93bbcc9c760a2dd425e1bfb736d1f4cd130c1a2fae329689a1b967313f1588e1d1f521d8e33bf41c29db1aa735f379
diff --git a/net-libs/axtls/axtls-2.0.0.ebuild b/net-libs/axtls/axtls-2.0.0.ebuild
new file mode 100644
index 0000000..ba142a9
--- /dev/null
+++ b/net-libs/axtls/axtls-2.0.0.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
+
+################################################################################
+# axtls CONFIG MINI-HOWTO
+#
+# Note: axtls is highly configurable and uses mconf, like the linux kernel.
+# You can configure it in a couple of ways:
+#
+# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
+# you want, and possibly a lot more.
+#
+# 2) You can create your own configuration file by doing
+#
+# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
+# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
+# make menuconfig
+#
+# Now configure axtls as you want. Finally save your config file:
+#
+# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
+#
+# where ${PV} is the current version. You can then run emerge again with
+# your configuration by doing
+#
+# USE="savedconfig" emerge axtls
+#
+################################################################################
+
+MY_PN=${PN/tls/TLS}
+
+DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
+HOMEPAGE="http://axtls.sourceforge.net/"
+SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${PN}-code"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
+
+IUSE="httpd cgi-lua cgi-php static static-libs doc"
+
+# TODO: add ipv6, and c#, java, lua, perl bindings
+# Currently these all have some issue
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND="
+ httpd? (
+ cgi-lua? ( dev-lang/lua )
+ cgi-php? ( dev-lang/php[cgi] )
+ )"
+
+#Note1: static, cgi-* makes no sense if httpd is not given
+REQUIRED_USE="
+ static? ( httpd )
+ cgi-lua? ( httpd )
+ cgi-php? ( httpd )"
+
+AXTLS_GROUP="axtls"
+AXTLS_USER="axtls"
+
+pkg_setup() {
+ use httpd && {
+ ebegin "Creating axtls user and group"
+ enewgroup ${AXTLS_GROUP}
+ enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
+ }
+}
+
+src_prepare() {
+ tc-export AR CC
+
+ epatch "${FILESDIR}/explicit-libdir-r1.patch"
+
+ #We want CONFIG_DEBUG to avoid stripping
+ #but not for debugging info
+ sed -i -e 's: -g::' config/Rules.mak || die
+ sed -i -e 's: -g::' config/makefile.conf || die
+
+ multilib_copy_sources
+}
+
+use_flag_config() {
+ cp "${FILESDIR}"/config config/.config || die
+
+ #Respect CFLAGS/LDFLAGS
+ sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
+ config/.config || die
+ sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
+ config/.config || die
+
+ #The logic is that the default config file enables everything and we disable
+ #here with sed unless a USE flags says to keep it
+ if use httpd; then
+ if ! use static; then
+ sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
+ config/.config || die
+ fi
+ if ! use cgi-php && ! use cgi-lua; then
+ sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
+ config/.config || die
+ fi
+ if ! use cgi-php; then
+ sed -i -e 's:,.php::' config/.config || die
+ fi
+ if ! use cgi-lua; then
+ sed -i -e 's:\.lua,::' \
+ -e 's:lua:php:' \
+ -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
+ config/.config || die
+ fi
+ else
+ sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
+ config/.config || die
+ fi
+
+ yes "n" | emake -j1 oldconfig > /dev/null || die
+}
+
+multilib_src_configure() {
+ #Per-ABI substitutions.
+ sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
+ Makefile || die
+
+ #Use CC as the host compiler for mconf
+ sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
+ config/Rules.mak || die
+
+ if use savedconfig; then
+ restore_config config/.config
+ if [[ -f config/.config ]]; then
+ ewarn "Using saved config, all other USE flags ignored"
+ else
+ ewarn "No saved config, seeding with the default"
+ cp "${FILESDIR}"/config config/.config || die
+ fi
+ yes "" | emake -j1 oldconfig > /dev/null || die
+ else
+ use_flag_config
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi && use savedconfig; then
+ save_config config/.config
+ fi
+
+ emake PREFIX="${ED}/usr" install
+
+ if ! use static-libs; then
+ rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
+ fi
+
+ # The build system needs to install before it builds docs
+ if multilib_is_native_abi && use doc; then
+ emake docs
+ dodoc -r docsrc/html
+ fi
+}
+
+multilib_src_install_all() {
+ if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
+ mv "${ED}"/usr/bin/{,ax}htpasswd || die
+ fi
+
+ if use httpd; then
+ newinitd "${FILESDIR}"/axhttpd.initd axhttpd
+ newconfd "${FILESDIR}"/axhttpd.confd axhttpd
+ fi
+
+ docompress -x /usr/share/doc/${PF}/README
+ dodoc README
+}
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2016-07-07 0:03 Anthony G. Basile
0 siblings, 0 replies; 41+ messages in thread
From: Anthony G. Basile @ 2016-07-07 0:03 UTC (permalink / raw
To: gentoo-commits
commit: 668bd642ef7a8f91145101aca8c96e523f7783e9
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 7 00:05:07 2016 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Jul 7 00:05:07 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=668bd642
net-libs/axtls: version bump to 1.5.4
Package-Manager: portage-2.2.28
net-libs/axtls/Manifest | 1 +
net-libs/axtls/axtls-1.5.4.ebuild | 177 ++++++++++++++++++++++++++++++++++++++
2 files changed, 178 insertions(+)
diff --git a/net-libs/axtls/Manifest b/net-libs/axtls/Manifest
index 74b9491..6a5f8dc 100644
--- a/net-libs/axtls/Manifest
+++ b/net-libs/axtls/Manifest
@@ -2,3 +2,4 @@ DIST axTLS-1.5.0.tar.gz 1302393 SHA256 7ff27d1eb1ad1630e1a3431278d72857c1124edd9
DIST axTLS-1.5.1.tar.gz 1305575 SHA256 860a2754c497109854889e78eb2efdf00661f3b5dbb5e130bd5d8441a2f6ea50 SHA512 4b35e151d222496f5e4ab9c849ca9b14a245590a07f07132eab2fa633dac4cf7abfe29344f643fa182c9c443a139d3230d4b3554d3ff0932410ab36ae3666d92 WHIRLPOOL c1072aa94a7916db38d26902bac175d17e4f8fe1a431956d0b366f9cd913c89c145d119c823d9c1bfa51d54aa191ca43386b4312bea3a16f61d9df4ff2eb6b68
DIST axTLS-1.5.2.tar.gz 1309632 SHA256 c4568cdf3e326c6fee2d7d16b4e13e05a29cecf49c1774c7858fe83cde01f8bb SHA512 138c1134c949fb85335454907c8fa74f18860d16371aba7d4d46faa4fb0e9cbf41d259cf72389f439d8d6436dc200951001a53e996793ba59254f5ddefe99999 WHIRLPOOL 36b889c4aa5e3c2c0da20a189ec7342db86b757acbb5c9c8a12262d95ceabb490ac97fa608efd66757e74e6347e0f5ff5bd5c76ac453d9dbdc115c45b8e35ad4
DIST axTLS-1.5.3.tar.gz 1309853 SHA256 367ce7918b9e7738d853d5eaaa9d4fbdb362c5b323d4c0622a72d891f6b8d8e6 SHA512 d37fb1341259b079ed234512a96656d67e005c50d9f8e0c856fb140c9da35267624e065134e0cc8310f70e5cf5d196c7dd34f01e2a7a5cc29e77e7ca46c25281 WHIRLPOOL 92de1a06da740adf0238550d36a75216bace6c7fb867e82d38f2ca2362dcf0e41810191933aa788ffda080367b6beb312f1a9a240ab687a6c4f324988d36a81c
+DIST axTLS-1.5.4.tar.gz 1296351 SHA256 24d50cc4f5908d06cfacb2a3916d91ed75c5b1441809e47bc45e1053d6ba5d91 SHA512 0e52ca22199b3c7eb45641c7fdbe607f79fcea25f12d1ee0535a6a7c7579ee42777d27ce6474866eca19287bd11a1de76f5c39f715eb06e9e4cf3324b31bbbb2 WHIRLPOOL 29d2b5e72165c28c0e9084677f44b52116ec5da5efabc2fed79479800cbfe43c5dd4bf7390951b5168a63af0acd1cb5635fecac7d4ef42d570a1ef6d5e7edb6f
diff --git a/net-libs/axtls/axtls-1.5.4.ebuild b/net-libs/axtls/axtls-1.5.4.ebuild
new file mode 100644
index 0000000..ba142a9
--- /dev/null
+++ b/net-libs/axtls/axtls-1.5.4.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils multilib multilib-minimal savedconfig toolchain-funcs user
+
+################################################################################
+# axtls CONFIG MINI-HOWTO
+#
+# Note: axtls is highly configurable and uses mconf, like the linux kernel.
+# You can configure it in a couple of ways:
+#
+# 1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
+# you want, and possibly a lot more.
+#
+# 2) You can create your own configuration file by doing
+#
+# FEATURES="keepwork" USE="savedconfig -*" emerge axtls
+# cd /var/tmp/portage/net-libs/axtls*/work/axTLS
+# make menuconfig
+#
+# Now configure axtls as you want. Finally save your config file:
+#
+# cp config/.config /etc/portage/savedconfig/net-libs/axtls-${PV}
+#
+# where ${PV} is the current version. You can then run emerge again with
+# your configuration by doing
+#
+# USE="savedconfig" emerge axtls
+#
+################################################################################
+
+MY_PN=${PN/tls/TLS}
+
+DESCRIPTION="Embedded client/server TLSv1 SSL library and small HTTP(S) server"
+HOMEPAGE="http://axtls.sourceforge.net/"
+SRC_URI="mirror://sourceforge/axtls/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${PN}-code"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
+
+IUSE="httpd cgi-lua cgi-php static static-libs doc"
+
+# TODO: add ipv6, and c#, java, lua, perl bindings
+# Currently these all have some issue
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND="
+ httpd? (
+ cgi-lua? ( dev-lang/lua )
+ cgi-php? ( dev-lang/php[cgi] )
+ )"
+
+#Note1: static, cgi-* makes no sense if httpd is not given
+REQUIRED_USE="
+ static? ( httpd )
+ cgi-lua? ( httpd )
+ cgi-php? ( httpd )"
+
+AXTLS_GROUP="axtls"
+AXTLS_USER="axtls"
+
+pkg_setup() {
+ use httpd && {
+ ebegin "Creating axtls user and group"
+ enewgroup ${AXTLS_GROUP}
+ enewuser ${AXTLS_USER} -1 -1 -1 ${AXTLS_GROUP}
+ }
+}
+
+src_prepare() {
+ tc-export AR CC
+
+ epatch "${FILESDIR}/explicit-libdir-r1.patch"
+
+ #We want CONFIG_DEBUG to avoid stripping
+ #but not for debugging info
+ sed -i -e 's: -g::' config/Rules.mak || die
+ sed -i -e 's: -g::' config/makefile.conf || die
+
+ multilib_copy_sources
+}
+
+use_flag_config() {
+ cp "${FILESDIR}"/config config/.config || die
+
+ #Respect CFLAGS/LDFLAGS
+ sed -i -e "s:^CONFIG_EXTRA_CFLAGS_OPTIONS.*$:CONFIG_EXTRA_CFLAGS_OPTIONS=\"${CFLAGS}\":" \
+ config/.config || die
+ sed -i -e "s:^CONFIG_EXTRA_LDFLAGS_OPTIONS.*$:CONFIG_EXTRA_LDFLAGS_OPTIONS=\"${LDLAGS}\":" \
+ config/.config || die
+
+ #The logic is that the default config file enables everything and we disable
+ #here with sed unless a USE flags says to keep it
+ if use httpd; then
+ if ! use static; then
+ sed -i -e 's:^CONFIG_HTTP_STATIC_BUILD:# CONFIG_HTTP_STATIC_BUILD:' \
+ config/.config || die
+ fi
+ if ! use cgi-php && ! use cgi-lua; then
+ sed -i -e 's:^CONFIG_HTTP_HAS_CGI:# CONFIG_HTTP_HAS_CGI:' \
+ config/.config || die
+ fi
+ if ! use cgi-php; then
+ sed -i -e 's:,.php::' config/.config || die
+ fi
+ if ! use cgi-lua; then
+ sed -i -e 's:\.lua,::' \
+ -e 's:lua:php:' \
+ -e 's:^CONFIG_HTTP_ENABLE_LUA:# CONFIG_HTTP_ENABLE_LUA:' \
+ config/.config || die
+ fi
+ else
+ sed -i -e 's:^CONFIG_AXHTTPD:# CONFIG_AXHTTPD:' \
+ config/.config || die
+ fi
+
+ yes "n" | emake -j1 oldconfig > /dev/null || die
+}
+
+multilib_src_configure() {
+ #Per-ABI substitutions.
+ sed -i -e 's:^LIBDIR.*/lib:LIBDIR = $(PREFIX)/'"$(get_libdir):" \
+ Makefile || die
+
+ #Use CC as the host compiler for mconf
+ sed -i -e "s:^HOSTCC.*:HOSTCC=${CC}:" \
+ config/Rules.mak || die
+
+ if use savedconfig; then
+ restore_config config/.config
+ if [[ -f config/.config ]]; then
+ ewarn "Using saved config, all other USE flags ignored"
+ else
+ ewarn "No saved config, seeding with the default"
+ cp "${FILESDIR}"/config config/.config || die
+ fi
+ yes "" | emake -j1 oldconfig > /dev/null || die
+ else
+ use_flag_config
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi && use savedconfig; then
+ save_config config/.config
+ fi
+
+ emake PREFIX="${ED}/usr" install
+
+ if ! use static-libs; then
+ rm -f "${ED}"/usr/$(get_libdir)/libaxtls.a || die
+ fi
+
+ # The build system needs to install before it builds docs
+ if multilib_is_native_abi && use doc; then
+ emake docs
+ dodoc -r docsrc/html
+ fi
+}
+
+multilib_src_install_all() {
+ if [[ -f "${ED}"/usr/bin/htpasswd ]]; then
+ mv "${ED}"/usr/bin/{,ax}htpasswd || die
+ fi
+
+ if use httpd; then
+ newinitd "${FILESDIR}"/axhttpd.initd axhttpd
+ newconfd "${FILESDIR}"/axhttpd.confd axhttpd
+ fi
+
+ docompress -x /usr/share/doc/${PF}/README
+ dodoc README
+}
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2015-11-26 19:27 Markus Meier
0 siblings, 0 replies; 41+ messages in thread
From: Markus Meier @ 2015-11-26 19:27 UTC (permalink / raw
To: gentoo-commits
commit: 95d60685d35ce9bc035525f5dc4504625f5eb2d4
Author: Markus Meier <maekke <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 26 19:27:18 2015 +0000
Commit: Markus Meier <maekke <AT> gentoo <DOT> org>
CommitDate: Thu Nov 26 19:27:18 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95d60685
net-libs/axtls: arm stable, bug #564960
Package-Manager: portage-2.2.25
RepoMan-Options: --include-arches="arm"
net-libs/axtls/axtls-1.5.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-1.5.3.ebuild b/net-libs/axtls/axtls-1.5.3.ebuild
index df4ef5e..b0149d2 100644
--- a/net-libs/axtls/axtls-1.5.3.ebuild
+++ b/net-libs/axtls/axtls-1.5.3.ebuild
@@ -41,7 +41,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm hppa ~mips ppc ppc64 ~s390 x86"
+KEYWORDS="amd64 arm hppa ~mips ppc ppc64 ~s390 x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2015-11-12 9:40 Agostino Sarubbo
0 siblings, 0 replies; 41+ messages in thread
From: Agostino Sarubbo @ 2015-11-12 9:40 UTC (permalink / raw
To: gentoo-commits
commit: 57bda12416fa141e7e1dd675721fdf4e37aa4da0
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 12 09:38:15 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Nov 12 09:38:15 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57bda124
net-libs/axtls: ppc stable wrt bug #564960
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc"
net-libs/axtls/axtls-1.5.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-1.5.3.ebuild b/net-libs/axtls/axtls-1.5.3.ebuild
index a584a19..df4ef5e 100644
--- a/net-libs/axtls/axtls-1.5.3.ebuild
+++ b/net-libs/axtls/axtls-1.5.3.ebuild
@@ -41,7 +41,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm hppa ~mips ~ppc ppc64 ~s390 x86"
+KEYWORDS="amd64 ~arm hppa ~mips ppc ppc64 ~s390 x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2015-11-11 9:12 Agostino Sarubbo
0 siblings, 0 replies; 41+ messages in thread
From: Agostino Sarubbo @ 2015-11-11 9:12 UTC (permalink / raw
To: gentoo-commits
commit: dc0fc13255c2ec16cfebfd5d770dea3f54feee2e
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 11 09:11:19 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Nov 11 09:11:19 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc0fc132
net-libs/axtls: x86 stable wrt bug #564960
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="x86"
net-libs/axtls/axtls-1.5.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-1.5.3.ebuild b/net-libs/axtls/axtls-1.5.3.ebuild
index ee02bd1..a584a19 100644
--- a/net-libs/axtls/axtls-1.5.3.ebuild
+++ b/net-libs/axtls/axtls-1.5.3.ebuild
@@ -41,7 +41,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm hppa ~mips ~ppc ppc64 ~s390 ~x86"
+KEYWORDS="amd64 ~arm hppa ~mips ~ppc ppc64 ~s390 x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2015-11-09 10:31 Agostino Sarubbo
0 siblings, 0 replies; 41+ messages in thread
From: Agostino Sarubbo @ 2015-11-09 10:31 UTC (permalink / raw
To: gentoo-commits
commit: a865717db51b0f8b8ee4441a227d22849c440f89
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 9 10:29:53 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Nov 9 10:29:53 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a865717d
net-libs/axtls: amd64 stable wrt bug #564960
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"
net-libs/axtls/axtls-1.5.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-1.5.3.ebuild b/net-libs/axtls/axtls-1.5.3.ebuild
index 2f83746..ee02bd1 100644
--- a/net-libs/axtls/axtls-1.5.3.ebuild
+++ b/net-libs/axtls/axtls-1.5.3.ebuild
@@ -41,7 +41,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm hppa ~mips ~ppc ppc64 ~s390 ~x86"
+KEYWORDS="amd64 ~arm hppa ~mips ~ppc ppc64 ~s390 ~x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/
@ 2015-11-08 6:25 Jeroen Roovers
0 siblings, 0 replies; 41+ messages in thread
From: Jeroen Roovers @ 2015-11-08 6:25 UTC (permalink / raw
To: gentoo-commits
commit: 9552ac14be9b18a71b1b2f4cc3f6310a5007a5ba
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 8 06:13:52 2015 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Nov 8 06:13:52 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9552ac14
net-libs/axtls: Stable for HPPA PPC64 (bug #564960).
Package-Manager: portage-2.2.24
RepoMan-Options: --ignore-arches
net-libs/axtls/axtls-1.5.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-libs/axtls/axtls-1.5.3.ebuild b/net-libs/axtls/axtls-1.5.3.ebuild
index ea6a5d6..2f83746 100644
--- a/net-libs/axtls/axtls-1.5.3.ebuild
+++ b/net-libs/axtls/axtls-1.5.3.ebuild
@@ -41,7 +41,7 @@ S="${WORKDIR}/${PN}-code"
LICENSE="BSD GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86"
+KEYWORDS="~amd64 ~arm hppa ~mips ~ppc ppc64 ~s390 ~x86"
IUSE="httpd cgi-lua cgi-php static static-libs doc"
^ permalink raw reply related [flat|nested] 41+ messages in thread
end of thread, other threads:[~2022-09-09 7:59 UTC | newest]
Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-07 0:03 [gentoo-commits] repo/gentoo:master commit in: net-libs/axtls/ Anthony G. Basile
-- strict thread matches above, loose matches on Subject: below --
2022-09-09 7:59 David Seifert
2021-07-20 19:03 Conrad Kostecki
2021-07-20 19:03 Conrad Kostecki
2021-03-25 23:52 Conrad Kostecki
2021-01-24 3:52 Sam James
2021-01-23 22:51 Sam James
2021-01-23 4:20 Sam James
2021-01-23 4:09 Sam James
2020-12-21 12:08 Marek Szuba
2020-06-14 11:21 Sergei Trofimovich
2020-04-24 0:53 Anthony G. Basile
2020-04-20 9:50 Agostino Sarubbo
2020-04-20 9:48 Agostino Sarubbo
2020-04-19 12:16 Agostino Sarubbo
2020-04-19 12:14 Agostino Sarubbo
2020-04-18 9:18 Agostino Sarubbo
2019-03-15 20:41 Anthony G. Basile
2019-03-15 20:41 Anthony G. Basile
2018-07-21 19:47 Mikle Kolyada
2018-01-04 16:52 Mikle Kolyada
2017-10-26 18:54 Thomas Deutschmann
2017-09-24 16:16 Sergei Trofimovich
2017-09-24 10:46 Sergei Trofimovich
2017-09-23 13:55 Sergei Trofimovich
2017-09-23 12:35 Sergei Trofimovich
2017-09-22 5:50 Markus Meier
2017-09-12 1:20 Anthony G. Basile
2017-06-26 7:54 Alexis Ballier
2017-02-22 14:36 Anthony G. Basile
2016-12-31 18:37 Anthony G. Basile
2016-12-22 0:41 Anthony G. Basile
2016-12-22 0:41 Anthony G. Basile
2016-08-31 21:59 Anthony G. Basile
2016-08-17 18:23 Anthony G. Basile
2016-07-07 0:03 Anthony G. Basile
2015-11-26 19:27 Markus Meier
2015-11-12 9:40 Agostino Sarubbo
2015-11-11 9:12 Agostino Sarubbo
2015-11-09 10:31 Agostino Sarubbo
2015-11-08 6:25 Jeroen Roovers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox