refactor: remove obsolete packaging files
- Remove debhelper files (compat, control, install, rules) - Remove rpm spec file (mod_reqin_log.spec) - All packaging now handled by fpm in Dockerfile.package Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@ -1 +0,0 @@
|
||||
10
|
||||
@ -1,27 +0,0 @@
|
||||
Source: mod-reqin-log
|
||||
Section: web
|
||||
Priority: optional
|
||||
Maintainer: Developer <dev@example.com>
|
||||
Build-Depends: debhelper (>= 10),
|
||||
apache2-dev,
|
||||
apache2,
|
||||
build-essential,
|
||||
pkg-config
|
||||
Standards-Version: 4.5.0
|
||||
Homepage: https://github.com/example/mod_reqin_log
|
||||
|
||||
Package: libapache2-mod-reqin-log
|
||||
Architecture: any
|
||||
Depends: apache2, ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Apache HTTPD module for logging HTTP requests as JSON to Unix socket
|
||||
mod_reqin_log is an Apache HTTPD 2.4 module that logs all incoming HTTP requests
|
||||
as JSON lines to a Unix domain socket. The logging occurs at request reception
|
||||
time (post_read_request phase), capturing input-side data without waiting for
|
||||
application processing.
|
||||
.
|
||||
Features:
|
||||
- Non-blocking I/O to avoid stalling worker processes
|
||||
- Configurable header logging with truncation support
|
||||
- Automatic reconnection to Unix socket on failure
|
||||
- Throttled error reporting to Apache error_log
|
||||
- Compatible with prefork, worker, and event MPMs
|
||||
@ -1,2 +0,0 @@
|
||||
usr/lib/apache2/modules/mod_reqin_log.so
|
||||
etc/apache2/conf-available/mod_reqin_log.conf
|
||||
@ -1,24 +0,0 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
$(MAKE) APXS=/usr/bin/apxs
|
||||
|
||||
override_dh_auto_install:
|
||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/libapache2-mod-reqin-log APXS=/usr/bin/apxs
|
||||
install -d $(CURDIR)/debian/libapache2-mod-reqin-log/etc/apache2/conf-available/
|
||||
install -m 644 conf/mod_reqin_log.conf $(CURDIR)/debian/libapache2-mod-reqin-log/etc/apache2/conf-available/mod_reqin_log.conf
|
||||
|
||||
override_dh_auto_clean:
|
||||
$(MAKE) clean || true
|
||||
dh_auto_clean
|
||||
|
||||
override_dh_strip_nondeterminism:
|
||||
# Nothing to strip
|
||||
|
||||
override_dh_install:
|
||||
dh_install
|
||||
install -d $(CURDIR)/debian/libapache2-mod-reqin-log/usr/lib/apache2/modules/
|
||||
install -m 755 .libs/mod_reqin_log.so $(CURDIR)/debian/libapache2-mod-reqin-log/usr/lib/apache2/modules/
|
||||
@ -1,53 +0,0 @@
|
||||
Name: mod_reqin_log
|
||||
Version: 1.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Apache HTTPD module for logging HTTP requests as JSON to Unix socket
|
||||
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/example/mod_reqin_log
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: httpd
|
||||
BuildRequires: httpd-devel
|
||||
BuildRequires: apr-devel
|
||||
BuildRequires: apr-util-devel
|
||||
|
||||
Requires: httpd
|
||||
|
||||
%description
|
||||
mod_reqin_log is an Apache HTTPD 2.4 module that logs all incoming HTTP requests
|
||||
as JSON lines to a Unix domain socket. The logging occurs at request reception
|
||||
time (post_read_request phase), capturing input-side data without waiting for
|
||||
application processing.
|
||||
|
||||
Features:
|
||||
- Non-blocking I/O to avoid stalling worker processes
|
||||
- Configurable header logging with truncation support
|
||||
- Automatic reconnection to Unix socket on failure
|
||||
- Throttled error reporting to Apache error_log
|
||||
- Compatible with prefork, worker, and event MPMs
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%{__make} %{?_smp_mflags} APXS=%{_bindir}/apxs
|
||||
|
||||
%install
|
||||
%{__make} install DESTDIR=%{buildroot} APXS=%{_bindir}/apxs
|
||||
|
||||
# Install configuration file
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d
|
||||
install -m 644 conf/mod_reqin_log.conf %{buildroot}%{_sysconfdir}/httpd/conf.d/
|
||||
|
||||
%files
|
||||
%{_libdir}/httpd/modules/mod_reqin_log.so
|
||||
%config(noreplace) %{_sysconfdir}/httpd/conf.d/mod_reqin_log.conf
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Thu Feb 26 2026 Developer <dev@example.com> - 1.0.0-1
|
||||
- Initial package release
|
||||
Reference in New Issue
Block a user