Index: 2.4.51/Makefile
===================================================================
--- 2.4.51/Makefile (nonexistent)
+++ 2.4.51/Makefile (revision 5)
@@ -0,0 +1,355 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/n/httpd
+
+REQUIRES = app/util-linux/2.38.1
+REQUIRES += app/db/18.1.40
+REQUIRES += app/mariadb/10.6.5
+REQUIRES += app/postgresql/14.1
+REQUIRES += app/sqlite/3.39.4.0
+REQUIRES += dev/perl/5.36.0
+REQUIRES += dev/lua/5.4.2
+REQUIRES += libs/serf/1.3.9
+REQUIRES += libs/brotli/1.0.9
+REQUIRES += libs/jansson/2.13.1
+REQUIRES += libs/expat/2.5.0
+REQUIRES += libs/libxml2/2.9.9
+REQUIRES += libs/pcre/8.44
+REQUIRES += libs/zlib/1.2.13
+REQUIRES += net/curl/7.75.0
+REQUIRES += net/cyrus-sasl/2.1.27
+REQUIRES += net/nghttp2/1.43.0
+REQUIRES += net/openssl/1.1.1r
+REQUIRES += net/krb5/1.19.1
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 2.4.51
+tar_bz2_archive = $(SRC_PACKAGE_PATH)/packages/n/httpd/httpd-$(version).tar.bz2
+SRC_ARCHIVE = $(tar_bz2_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/httpd-$(version)
+src_dir_name = httpd-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = net
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+HTTPD_PKG_NAME = httpd
+HTTPD_PKG_VERSION = 2.4.51
+HTTPD_PKG_ARCH = $(PKGARCH)
+HTTPD_PKG_DISTRO_NAME = $(DISTRO_NAME)
+HTTPD_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+HTTPD_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+HTTPD_PKG_SHORT_DESCRIPTION = The Apache HTTP Server
+HTTPD_PKG_URL = $(BUG_URL)
+HTTPD_PKG_LICENSE = Apache-v2.0
+HTTPD_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(HTTPD_PKG_NAME)-pkg-description
+HTTPD_PKG_DESCRIPTION_FILE_IN = $(HTTPD_PKG_NAME)-pkg-description.in
+HTTPD_PKG_INSTALL_SCRIPT = $(HTTPD_PKG_NAME)-pkg-install.sh
+
+HTTPD_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(HTTPD_PKG_NAME)-package
+
+pkg_basename = $(HTTPD_PKG_NAME)-$(HTTPD_PKG_VERSION)-$(HTTPD_PKG_ARCH)-$(HTTPD_PKG_DISTRO_NAME)-$(HTTPD_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_certificate = $(call cert-name,$(pkg_archive))
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(HTTPD_PKG)
+
+
+extra_configure_switches = --enable-layout=Radix-FHS
+
+extra_configure_switches += --with-apr=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-apr-util=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-pcre=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-z=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-brotli=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-libxml2=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-lua=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-ssl=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-nghttp2=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-jansson=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-curl=$(TARGET_DEST_DIR)/usr
+
+extra_configure_switches += --enable-mods-shared=all
+extra_configure_switches += --enable-so
+extra_configure_switches += --enable-mpms-shared=all
+extra_configure_switches += --enable-pie
+extra_configure_switches += --enable-cgi
+extra_configure_switches += --enable-ssl
+extra_configure_switches += --enable-http2
+extra_configure_switches += --enable-rewrite
+extra_configure_switches += --enable-vhost-alias
+extra_configure_switches += --enable-proxy
+extra_configure_switches += --enable-proxy-http
+extra_configure_switches += --enable-proxy-http2
+extra_configure_switches += --enable-proxy-ftp
+extra_configure_switches += --enable-cache
+extra_configure_switches += --enable-mem-cache
+extra_configure_switches += --enable-file-cache
+extra_configure_switches += --enable-disk-cache
+extra_configure_switches += --enable-dav
+extra_configure_switches += --enable-ldap
+extra_configure_switches += --enable-authnz-ldap
+extra_configure_switches += --enable-authn-anon
+extra_configure_switches += --enable-authn-alias
+
+extra_configure_switches += ap_cv_void_ptr_lt_long=no
+
+
+BUILD_ALIAS = $(shell echo $(BUILD) | sed 's,-gnu$$,,')
+
+
+TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+TARGET_LIB_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX):/usr/lib/../lib$(LIBSUFFIX)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @( cd $(build_dir) ; \
+ CC=gcc ../$(src_dir_name)/configure --prefix=/usr ; \
+ make -C server gen_test_char ; \
+ mv server/gen_test_char ../build-gen_test_char ; \
+ )
+ @rm -rf $(build_dir)
+ @mkdir -p $(build_dir)
+ @( cd $(build_dir) ; \
+ $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET) \
+ $(extra_configure_switches) ; \
+ mv ../build-gen_test_char server/ ; \
+ sed -i 's,^\([\t]*\)./gen_test_char,\1./build-gen_test_char,' server/Makefile ; \
+ )
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(HTTPD_PKG)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ @sed -i '/^APR_CONFIG/s,$(TARGET_DEST_DIR),,' $(HTTPD_PKG)/usr/lib$(LIBSUFFIX)/httpd/build/config_vars.mk
+ @sed -i '/^APU_CONFIG/s,$(TARGET_DEST_DIR),,' $(HTTPD_PKG)/usr/lib$(LIBSUFFIX)/httpd/build/config_vars.mk
+ @rmdir $(HTTPD_PKG)/var/log/httpd
+ # ======= Install start/stop scripts: =======
+ @mkdir -p $(HTTPD_PKG)/etc/rc.d
+ @cat $(CURDIR)/conf/rc.httpd > $(HTTPD_PKG)/etc/rc.d/rc.httpd.new
+ @mkdir -p $(HTTPD_PKG)/etc/logrotate.d
+ @cat $(CURDIR)/conf/logrotate.httpd > $(HTTPD_PKG)/etc/logrotate.d/httpd.new
+ # ======= Set default daemon user:group : =======
+ @( cd $(HTTPD_PKG)/etc/httpd ; \
+ sed -i 's,^\(User\).*,\1 apache,' httpd.conf ; \
+ sed -i 's,^\(Group\).*,\1 apache,' httpd.conf ; \
+ )
+ # ======= Add settings for PHP and Subversion : =======
+ @echo "" >> $(HTTPD_PKG)/etc/httpd/httpd.conf
+ @echo "# Uncomment the following line to enable PHP:" >> $(HTTPD_PKG)/etc/httpd/httpd.conf
+ @echo "#" >> $(HTTPD_PKG)/etc/httpd/httpd.conf
+ @echo "#Include /etc/httpd/mod_php.conf" >> $(HTTPD_PKG)/etc/httpd/httpd.conf
+ @echo "" >> $(HTTPD_PKG)/etc/httpd/httpd.conf
+ @echo "# Uncomment the following lines (and mod_dav above) to enable svn support:" >> $(HTTPD_PKG)/etc/httpd/httpd.conf
+ @echo "#" >> $(HTTPD_PKG)/etc/httpd/httpd.conf
+ @echo "#LoadModule dav_svn_module lib$(LIBSUFFIX)/httpd/modules/mod_dav_svn.so" >> $(HTTPD_PKG)/etc/httpd/httpd.conf
+ @echo "#LoadModule authz_svn_module lib$(LIBSUFFIX)/httpd/modules/mod_authz_svn.so" >> $(HTTPD_PKG)/etc/httpd/httpd.conf
+ @echo "" >> $(HTTPD_PKG)/etc/httpd/httpd.conf
+ # ======= Change config files to .new: =======
+ @( cd $(HTTPD_PKG)/etc/httpd ; \
+ mv httpd.conf httpd.conf.new ; \
+ for file in extra/*; do \
+ mv $$file "$${file}.new" ; \
+ done ; \
+ )
+ # ======= Add symlink that letsencrypt wants: =======
+ @( cd $(HTTPD_PKG)/usr/sbin ; \
+ ln -sf apachectl apache2ctl ; \
+ )
+ # ======= Strip the manual down to just English: =======
+ @( cd $(HTTPD_PKG)/srv/httpd/htdocs/manual ; \
+ for file in $$(find . -type f -name "*.html") ; do \
+ if [ -f $${file}.en ] ; then \
+ cp $${file}.en $${file} ; \
+ rm -f $${file}.* ; \
+ fi ; \
+ done ; \
+ )
+ # ======= Move htdocs to /var/www: =======
+ @mv $(HTTPD_PKG)/srv/httpd $(HTTPD_PKG)/var/www
+ @mv $(HTTPD_PKG)/var/www/htdocs/index.html $(HTTPD_PKG)/var/www/htdocs/index.html.new
+ # ======= Install Documentation =======
+ @if [ -d $(HTTPD_PKG)/usr/share/man ]; then \
+ ( cd $(HTTPD_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(HTTPD_PKG)/usr/doc/$(src_dir_name)
+ @cp -a $(SRC_DIR)/LICENSE $(SRC_DIR)/NOTICE \
+ $(HTTPD_PKG)/usr/doc/$(src_dir_name)
+ @mkdir -p $(HTTPD_PKG)/usr/share/doc/$(src_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a ABOUT_APACHE INSTALL LICENSE NOTICE README* ROADMAP VERSIONING \
+ $(HTTPD_PKG)/usr/share/doc/$(src_dir_name) ; \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r CHANGES ]; then \
+ DOCSDIR=`echo $(HTTPD_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat CHANGES | head -n 1000 > $$DOCSDIR/CHANGES ; \
+ touch -r CHANGES $$DOCSDIR/CHANGES ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(HTTPD_PKG))
+ # ======= Remove BS path from target Perl scripts =======
+ @sed -i 's,$(BUILDSYSTEM),,' $(HTTPD_PKG)/usr/bin/apxs
+ @sed -i 's,$(BUILDSYSTEM),,' $(HTTPD_PKG)/usr/bin/dbmmanage
+ # ======= Tune build config vars to the target destination =======
+ @( cd $(HTTPD_PKG)/usr/lib$(LIBSUFFIX)/httpd/build ; \
+ sed -i "s,$(CCACHE),,g" config_vars.mk config.nice ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" config_vars.mk config.nice ; \
+ sed -i "s,$(CROSS_PREFIX),/usr/bin/,g" config_vars.mk config.nice ; \
+ sed -i "s, --sysroot=,,g" config_vars.mk config.nice ; \
+ sed -i "s,$(BUILD_ALIAS),$(TARGET),g" config.nice ; \
+ )
+ # ======= Strip binaries =======
+ @( cd $(HTTPD_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ifneq ($(PATCHELF),)
+ # ======= Set RPATH/RUNPATH for target binaries =======
+ @( cd $(HTTPD_PKG)/usr ; \
+ for file in `find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(PATCHELF) --print-rpath $$file 2> /dev/null` ; \
+ if echo "$$rpath" | grep -q "$(TARGET_DEST_DIR)" ; then \
+ $(PATCHELF) --set-rpath $(TARGET_BIN_RPATH) $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+ # ======= Set RPATH/RUNPATH for target shared objects =======
+ @( cd $(HTTPD_PKG)/usr/lib$(LIBSUFFIX) ; \
+ for file in `find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(PATCHELF) --print-rpath $$file 2> /dev/null` ; \
+ if echo "$$rpath" | grep -q "$(TARGET_DEST_DIR)" ; then \
+ $(PATCHELF) --set-rpath $(TARGET_LIB_RPATH) $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+endif
+ @touch $@
+
+$(HTTPD_PKG_DESCRIPTION_FILE): $(HTTPD_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(HTTPD_PKG_DESCRIPTION_FILE) $(HTTPD_PKG_INSTALL_SCRIPT)
+ @cp $(HTTPD_PKG_DESCRIPTION_FILE) $(HTTPD_PKG)/.DESCRIPTION
+ @cp $(HTTPD_PKG_INSTALL_SCRIPT) $(HTTPD_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(HTTPD_PKG)/.REQUIRES
+ @echo "pkgname=$(HTTPD_PKG_NAME)" > $(HTTPD_PKG)/.PKGINFO ; \
+ echo "pkgver=$(HTTPD_PKG_VERSION)" >> $(HTTPD_PKG)/.PKGINFO ; \
+ echo "arch=$(HTTPD_PKG_ARCH)" >> $(HTTPD_PKG)/.PKGINFO ; \
+ echo "distroname=$(HTTPD_PKG_DISTRO_NAME)" >> $(HTTPD_PKG)/.PKGINFO ; \
+ echo "distrover=$(HTTPD_PKG_DISTRO_VERSION)" >> $(HTTPD_PKG)/.PKGINFO ; \
+ echo "group=$(HTTPD_PKG_GROUP)" >> $(HTTPD_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(HTTPD_PKG_SHORT_DESCRIPTION)\"" >> $(HTTPD_PKG)/.PKGINFO ; \
+ echo "url=$(HTTPD_PKG_URL)" >> $(HTTPD_PKG)/.PKGINFO ; \
+ echo "license=$(HTTPD_PKG_LICENSE)" >> $(HTTPD_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(HTTPD_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: 2.4.51/PATCHES
===================================================================
--- 2.4.51/PATCHES (nonexistent)
+++ 2.4.51/PATCHES (revision 5)
@@ -0,0 +1,2 @@
+
+../../../sources/packages/n/httpd/patches/httpd-2.4.51-radix-layout.patch -p0
Index: 2.4.51/conf/logrotate.httpd
===================================================================
--- 2.4.51/conf/logrotate.httpd (nonexistent)
+++ 2.4.51/conf/logrotate.httpd (revision 5)
@@ -0,0 +1,12 @@
+/var/log/httpd/*_log {
+ rotate 10
+ notifempty
+ missingok
+ size 5M
+ compress
+ delaycompress
+ sharedscripts
+ postrotate
+ /etc/rc.d/rc.httpd restart
+ endscript
+}
Index: 2.4.51/conf/rc.httpd
===================================================================
--- 2.4.51/conf/rc.httpd (nonexistent)
+++ 2.4.51/conf/rc.httpd (revision 5)
@@ -0,0 +1,44 @@
+#!/bin/sh
+#
+# /etc/rc.d/rc.httpd
+#
+# Start/stop/restart/graceful[ly restart]/graceful[ly]-stop
+# the Apache (httpd) web server.
+#
+# To make Apache start automatically at boot, make this
+# file executable: chmod 755 /etc/rc.d/rc.httpd
+#
+# For information on these options, "man apachectl".
+#
+
+case "$1" in
+ 'start')
+ /usr/sbin/apachectl -k start
+ ;;
+ 'stop')
+ /usr/sbin/apachectl -k stop
+ pkill -f /usr/sbin/httpd
+ # Remove both old and new .pid locations:
+ rm -f /var/run/httpd.pid /var/run/httpd/httpd.pid
+ ;;
+ 'force-restart')
+ # Because sometimes restarting through apachectl just doesn't do the trick...
+ /usr/sbin/apachectl -k stop
+ pkill -f /usr/sbin/httpd
+ # Remove both old and new .pid locations:
+ rm -f /var/run/httpd.pid /var/run/httpd/httpd.pid
+ /usr/sbin/apachectl -k start
+ ;;
+ 'restart')
+ /usr/sbin/apachectl -k restart
+ ;;
+ 'graceful')
+ /usr/sbin/apachectl -k graceful
+ ;;
+ 'graceful-stop')
+ /usr/sbin/apachectl -k graceful-stop
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart|graceful|graceful-stop}"
+ ;;
+esac
Index: 2.4.51/conf
===================================================================
--- 2.4.51/conf (nonexistent)
+++ 2.4.51/conf (revision 5)
Property changes on: 2.4.51/conf
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: 2.4.51/httpd-pkg-description.in
===================================================================
--- 2.4.51/httpd-pkg-description.in (nonexistent)
+++ 2.4.51/httpd-pkg-description.in (revision 5)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+httpd: httpd @VERSION@ (The Apache HTTP Server)
+httpd:
+httpd: Apache is an HTTP server designed as a plug-in replacement for
+httpd: the NCSA HTTP server. It fixes numerous bugs in the NCSA server
+httpd: and includes many frequently requested new features, and has an
+httpd: API which allows it to be extended to meet users' needs more easily.
+httpd:
+httpd: Apache is the most popular web server in the known universe; over
+httpd: half of the servers on the Internet are running Apache or one of
+httpd: its variants.
+httpd:
Index: 2.4.51/httpd-pkg-install.sh
===================================================================
--- 2.4.51/httpd-pkg-install.sh (nonexistent)
+++ 2.4.51/httpd-pkg-install.sh (revision 5)
@@ -0,0 +1,88 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ touch -r $NEW ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ install_file $NEW
+}
+
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ if [ ! -e var/log/httpd ]; then
+ mkdir -p var/log/httpd
+ chmod 755 var/log/httpd
+ fi
+
+ # Don't wipe out an existing document root with symlinks. If someone has
+ # replaced the symlinks that are created on a fresh installation, assume
+ # that they know what they are doing and leave things as-is.
+ if [ ! -e srv/www ]; then
+ ( cd srv ; ln -sf /var/www www )
+ fi
+ if [ ! -e srv/httpd ]; then
+ ( cd srv ; ln -sf /var/www httpd )
+ fi
+
+ # Keep same perms when installing rc.httpd.new:
+ preserve_perms etc/rc.d/rc.httpd.new
+
+ install_file etc/httpd/httpd.conf.new
+ install_file etc/logrotate.d/httpd.new
+ for config_file in etc/httpd/extra/*.new ; do
+ install_file $config_file
+ done
+ install_file var/www/htdocs/index.html.new
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: 2.4.51/httpd-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: 2.4.51
===================================================================
--- 2.4.51 (nonexistent)
+++ 2.4.51 (revision 5)
Property changes on: 2.4.51
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: .
===================================================================
--- . (nonexistent)
+++ . (revision 5)
Property changes on: .
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~