Skip to content

Commit

Permalink
httpd: update to 2.4.58
Browse files Browse the repository at this point in the history
- Disable parallelism. [^1]
- Use build script for non-standard Autotools usage.

[^1]: FIXME: make install is not reliable with parallelism.
  • Loading branch information
MingcongBai committed Jan 28, 2024
1 parent 2102f51 commit 89b58f6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
10 changes: 10 additions & 0 deletions app-web/httpd/autobuild/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
abinfo "Configuring Apache HTTPD ..."
"$SRCDIR"/configure \
"${AUTOTOOLS_AFTER[@]}"

abinfo "Building Apache HTTPD ..."
make

abinfo "Installing Apache HTTPD ..."
make install \
DESTDIR="$PKGDIR"
3 changes: 3 additions & 0 deletions app-web/httpd/autobuild/defines
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ AUTOTOOLS_AFTER=(
--enable-pie
--enable-option-checking=fatal
)

# FIXME: make install is not reliable with parallelism.
NOPARALLEL=1
4 changes: 0 additions & 4 deletions app-web/httpd/autobuild/prepare
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,3 @@ chmod -v a-s "$SRCDIR"

abinfo "Appending -lsystemd to LDFLAGS to fix build ..."
export LDFLAGS="${LDFLAGS} -lsystemd"

# FIXME: Conflicts with layout settings.
abinfo "Unsetting AUTOTOOLS_DEF to prevent conflicts with layout settings ..."
unset AUTOTOOLS_DEF
4 changes: 2 additions & 2 deletions app-web/httpd/spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VER=2.4.57
VER=2.4.58
SRCS="tbl::http://archive.apache.org/dist/httpd/httpd-$VER.tar.bz2"
CHKSUMS="sha256::dbccb84aee95e095edfbb81e5eb926ccd24e6ada55dcd83caecb262e5cf94d2a"
CHKSUMS="sha256::fa16d72a078210a54c47dd5bef2f8b9b8a01d94909a51453956b3ec6442ea4c5"
CHKUPDATE="anitya::id=1335"

0 comments on commit 89b58f6

Please sign in to comment.