From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/webalizer/, app-admin/webalizer/files/
Date: Tue, 28 Jun 2022 15:10:07 +0000 (UTC) [thread overview]
Message-ID: <1656428995.f2909e2c89dc2b9193a84862cdea1e5e1319c387.soap@gentoo> (raw)
commit: f2909e2c89dc2b9193a84862cdea1e5e1319c387
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 28 15:09:55 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Jun 28 15:09:55 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2909e2c
app-admin/webalizer: update EAPI 5 -> 8
Closes: https://bugs.gentoo.org/835387
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../webalizer-2.23.08-broken-disable-static.patch | 16 +++++++++++++++
...-2.23.08.ebuild => webalizer-2.23.08-r1.ebuild} | 24 +++++++++++++---------
2 files changed, 30 insertions(+), 10 deletions(-)
diff --git a/app-admin/webalizer/files/webalizer-2.23.08-broken-disable-static.patch b/app-admin/webalizer/files/webalizer-2.23.08-broken-disable-static.patch
new file mode 100644
index 000000000000..109740a33ccb
--- /dev/null
+++ b/app-admin/webalizer/files/webalizer-2.23.08-broken-disable-static.patch
@@ -0,0 +1,16 @@
+--- a/configure
++++ b/configure
+@@ -3939,13 +3939,6 @@
+
+
+ if test "$GCC" = "yes"; then
+-
+- # Check whether --enable-static was given.
+-if test "${enable_static+set}" = set; then
+- enableval=$enable_static; LDFLAGS="--static ${LDFLAGS}"
+-fi
+-
+-
+ if test "$IN_CFLAGS" = ""; then
+ CFLAGS="-Wall -O2"
+ fi
diff --git a/app-admin/webalizer/webalizer-2.23.08.ebuild b/app-admin/webalizer/webalizer-2.23.08-r1.ebuild
similarity index 91%
rename from app-admin/webalizer/webalizer-2.23.08.ebuild
rename to app-admin/webalizer/webalizer-2.23.08-r1.ebuild
index 8eb9f1511f93..4599eb628b61 100644
--- a/app-admin/webalizer/webalizer-2.23.08.ebuild
+++ b/app-admin/webalizer/webalizer-2.23.08-r1.ebuild
@@ -4,15 +4,15 @@
# uses webapp.eclass to create directories with right permissions
# probably slight overkill but works well
-EAPI="5"
+EAPI=8
-inherit flag-o-matic versionator epatch webapp db-use
+inherit flag-o-matic webapp db-use
WEBAPP_MANUAL_SLOT="yes"
XTENDED_VER="RB30"
XTENDED_URL="rb30"
-MY_PV="$(get_version_component_range 1-2)-$(get_version_component_range 3)"
+MY_PV="$(ver_cut 1-2)-$(ver_cut 3)"
MY_P="${PN}-${MY_PV}"
GEODB_DATE="20140201"
@@ -21,17 +21,20 @@ GEODB_DIR="/usr/share/webalizer/geodb"
DESCRIPTION="Webserver log file analyzer"
HOMEPAGE="http://www.webalizer.org/"
-SRC_URI="ftp://ftp.mrunix.net/pub/webalizer/${MY_P}-src.tar.bz2
+SRC_URI="
+ ftp://ftp.mrunix.net/pub/webalizer/${MY_P}-src.tar.bz2
xtended? ( http://patrickfrei.ch/webalizer/${XTENDED_URL}/${PN}-${MY_PV}-${XTENDED_VER}-patch.tar.gz )
https://dev.gentoo.org/~blueness/webalizer/webalizer.conf.gz
${GEODB_URL}/webalizer-geodb-${GEODB_DATE}.tgz"
+S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
+SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 ~sparc x86"
IUSE="bzip2 xtended geoip nls"
-SLOT="0"
-DEPEND=">=sys-libs/db-4.2:*
+DEPEND="
+ >=sys-libs/db-4.2:*
>=sys-libs/zlib-1.1.4
>=media-libs/libpng-1.2:0=
>=media-libs/gd-1.8.3[png]
@@ -39,8 +42,6 @@ DEPEND=">=sys-libs/db-4.2:*
bzip2? ( app-arch/bzip2 )"
RDEPEND="${DEPEND}"
-S="${WORKDIR}"/${MY_P}
-
pkg_setup() {
webapp_pkg_setup
@@ -53,10 +54,13 @@ pkg_setup() {
}
src_prepare() {
- epatch "${FILESDIR}"/${PN}-2.23.08-gcc-10.patch
+ eapply "${FILESDIR}"/${PN}-2.23.08-broken-disable-static.patch
+ eapply "${FILESDIR}"/${PN}-2.23.08-gcc-10.patch
if use xtended; then
- epatch "${WORKDIR}"/${PN}-${MY_PV}-${XTENDED_VER}-patch
+ eapply "${WORKDIR}"/${PN}-${MY_PV}-${XTENDED_VER}-patch
fi
+
+ eapply_user
}
src_configure() {
reply other threads:[~2022-06-28 15:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1656428995.f2909e2c89dc2b9193a84862cdea1e5e1319c387.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox