Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging requests (Alpine, Debian, etc.) #313

Open
TuzelKO opened this issue Sep 2, 2024 · 8 comments
Open

Packaging requests (Alpine, Debian, etc.) #313

TuzelKO opened this issue Sep 2, 2024 · 8 comments

Comments

@TuzelKO
Copy link

TuzelKO commented Sep 2, 2024

Hello everyone! I have created requests for packages with this module. If it is not difficult for you, please be active to show that the module is in demand.

Debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1080314

Alpine:
https://gitlab.alpinelinux.org/alpine/aports/-/issues/16409

Also, if you wish, you can send similar requests to the community of other Linux distributions.

@kapouer
Copy link

kapouer commented Nov 6, 2024

Good idea, I'm uploading it to debian tonight.
It's done, now it is waiting to be accepted.

@sunnychun
Copy link

sunnychun commented Nov 6, 2024 via email

@TuzelKO
Copy link
Author

TuzelKO commented Dec 17, 2024

Good idea, I'm uploading it to debian tonight. It's done, now it is waiting to be accepted.

What are the chances that the module will get into the repository? And how long might it take? (this is the first time I suggest adding something to the repository)

@sunnychun
Copy link

sunnychun commented Dec 17, 2024 via email

@kapouer
Copy link

kapouer commented Dec 17, 2024

Good idea, I'm uploading it to debian tonight. It's done, now it is waiting to be accepted.

What are the chances that the module will get into the repository? And how long might it take? (this is the first time I suggest adding something to the repository)

it's there:
https://ftp-master.debian.org/new.html
usually it takes between one week and two months.

@TreyBoudreau
Copy link

Tangentially related: I whacked together a Dockerfile for Ubuntu that builds the module against the distro's version:

# syntax=docker/dockerfile:1

ARG UBUNTU_VERSION="24.04"

FROM ubuntu:${UBUNTU_VERSION}
SHELL ["/bin/bash", "-c"]
RUN <<EOF
sed -i.bak 's/# deb-src /deb-src /' /etc/apt/sources.list
sed -i.bak 's/ deb$/ deb deb-src/g' /etc/apt/sources.list.d/ubuntu.sources 
apt-get update
apt-get install -y git
EOF
WORKDIR /home/ubuntu
RUN <<EOF
apt-get install -y nginx
apt-get build-dep -y nginx
apt-get source nginx
EOF
RUN <<EOF
echo "#!/usr/bin/bash" > build_module.bash
echo "git clone https://github.com/wandenberg/nginx-push-stream-module.git" >> build_module.bash
nginx -v 2>&1 | sed -e 's/\//-/' -e 's/nginx version: /cd /' -e 's/ (Ubuntu)//' >> build_module.bash
nginx -V 2>&1 | grep "arguments:" | sed -e 's/configure arguments: /.\/configure /' -e 's/--with-[^ ]\+=dynamic//g' -e 's/--add-dynamic-[^ ]\+//g' -e 's/$/ --add-dynamic-module=..\/nginx-auth-jwt --add-dynamic-module=..\/nginx-push-stream-module/' >> build_module.bash
echo "make modules" >> build_module.bash
echo "cp objs/ngx*.so /build" >> build_module.bash
chmod +x build_module.bash
EOF

Build the image then run build_module.bash and it will pull and build the latest version.

@TuzelKO
Copy link
Author

TuzelKO commented Jan 5, 2025

Tangentially related: I whacked together a Dockerfile for Ubuntu that builds the module against the distro's version:

Maybe publish this in the PPA for Ubuntu?

@sunnychun
Copy link

sunnychun commented Jan 5, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants