Skip to content

jfut/nginx-module-fancyindex-rpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx-module-fancyindex RPM Packaging

Build Status

ngx-fancyindex RPM Packaging for RHEL/AlmaLinux/Rocky Linux/others.

Install an RPM package

  • Download
  • Install:
    • RHEL/AlmaLinux/Rocky Linux 9 x86_64
    # Non-modular package version 1.20
    dnf install nginx-module-fancyindex-0.5.2-6.el9.x86_64.rpm
    
    # AppStream module 1.22 stream
    dnf install nginx-module-fancyindex-0.5.2-6.module_el9.1.22.x86_64.rpm
    
    # AppStream module 1.24 stream
    dnf install nginx-module-fancyindex-0.5.2-6.module_el9.1.24.x86_64.rpm
    • RHEL/AlmaLinux/Rocky Linux 8 x86_64
    # AppStream module 1.16 stream
    dnf install nginx-module-fancyindex-0.5.2-6.module_el8.1.16.x86_64.rpm
    
    # AppStream module 1.18 stream
    dnf install nginx-module-fancyindex-0.5.2-6.module_el8.1.18.x86_64.rpm
    
    # AppStream module 1.20 stream
    dnf install nginx-module-fancyindex-0.5.2-6.module_el8.1.20.x86_64.rpm
    
    # AppStream module 1.22 stream
    dnf install nginx-module-fancyindex-0.5.2-6.module_el8.1.22.x86_64.rpm
    
    # AppStream module 1.24 stream
    dnf install nginx-module-fancyindex-0.5.2-6.module_el8.1.24.x86_64.rpm
    
    # EPEL module mainline stream (version: 1.23)
    # EPEL 8 Modularity was going away on February 15, 2023
    dnf install nginx-module-fancyindex-0.5.2-6.module_el8.epel.mainline.x86_64.rpm
  • Add your configuration for this module (See the official documentation).
  • Restart nginx:
    systemctl restart nginx.service

If include /usr/share/nginx/modules/*.conf; is enabled in nginx.conf, this module is enabled by default. If you want to disable the module once installed, simply comment out the contents of /usr/share/nginx/modules/mod-http-fancyindex.conf.

Usage

Usage:
    build [-d] [-h] [-p PLATFORM] BUILD_IMAGE_NAME:BUILD_IMAGE_TAG[:REPOSITORY][:MODULE_VERSION]

    Options:
        -d Debug mode.

    Build for RHEL/AlmaLinux/Rocky Linux 9 + AppStream module:
        build almalinux:9
        build almalinux:9:appstream:1.22
        build almalinux:9:appstream:1.24

    Build for RHEL/AlmaLinux/Rocky Linux 8 + AppStream module:
        # build almalinux:8 (version 1.14 is not supported)
        build almalinux:8:appstream:1.16
        build almalinux:8:appstream:1.18
        build almalinux:8:appstream:1.20
        build almalinux:8:appstream:1.22
        build almalinux:8:appstream:1.24

    Build for RHEL/AlmaLinux/Rocky Linux 8 + EPEL Stream module:
        # EPEL 8 Modularity was going away on February 15, 2023
        build almalinux:8:epel-modular:mainline

    Build for RHEL/AlmaLinux/Rocky Linux 9 linux/arm64/v8(aarch64) + AppStream module:
        build -p linux/arm64/v8 almalinux:9
        build -p linux/arm64/v8 almalinux:9:appstream:1.22
        build -p linux/arm64/v8 almalinux:9:appstream:1.24

Build RPM Packages with Docker

You can build RPM packages in Docker.

# el9 + Non-modular package version
./build almalinux:9
  • Debug shell
# el9 + debug shell
BUILD_HOSTNAME=el9.example.org ./build -d almalinux:9
/pkg/build-rpm /pkg/rpmbuild nginx-module-fancyindex.spec

# el9 + linux/arm64/v8 + debug shell
BUILD_HOSTNAME=el9.example.org ./build -d -p linux/arm64/v8 almalinux:9
/pkg/build-rpm /pkg/rpmbuild nginx-module-fancyindex.spec

# el8 + Modular package version + debug shell
BUILD_HOSTNAME=el8.example.org ./build -d almalinux:8:appstream:1.24
/pkg/build-rpm /pkg/rpmbuild nginx-module-fancyindex.spec appstream 1.24

Release

  1. Edit the Draft on the release page.
  2. Update the new version name and tag on the edit page.
  3. Check Set as a pre-release and press the Publish release button.
  4. Wait for the build by GitHub Actions to finish.
    • If the build fails due to errors such as download errors of source files, execute Re-run failed jobs.
  5. Once all release files are automatically uploaded, check Set as the latest release and press the Publish release button.

License

BSD-2-Clause

About

nginx-module-fancyindex-rpm RPM Packaging

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages