Comments (4)
I think i already figured it out :) I just need to modify your spec file and then run an rpmbuild it seems (https://access.redhat.com/sites/default/files/attachments/rpm_building_howto.pdf)
I am not familiar with building rpm's but i will try it this way :)
from nginx-more.
Hi,
I would highly recommend using mock to build this package for el6 and el7. You can install mock from EPEL on a CentOS 7 server. Clone this repo, get all modules sources with the right name, use mock to build both SRPMS and RPMS. You can always use the RPMS I provide with your own configurations. Updating the package wont overwrite your .conf files.
Good luck! :)
from nginx-more.
Quick note before I close this issue. If you build this RPM with mock, you need to add Aeris repository in your mock configuration because the package depends on libraries outside CentOS base such as libmaxminddb-devel for GeoIP2.
File: /etc/mock/epel-7-x86_64.cfg
[aeris]
name=Aeris Packages for Enterprise Linux 7 - stable - $basearch
baseurl=http://repo.aerisnetwork.com/stable/centos/7/$basearch
failovermethod=priority
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AERIS
from nginx-more.
For reference to other people. I managed todo it with just these lines of code:
# Downloads all sources with http url listed in the .spec file
spectool -g -R SPECS/nginx-tp.spec
# Download deps listed in the .spec file
yum-builddep -y SPECS/nginx-tp.spec
# Starts build
rpmbuild -ba SPECS/nginx-tp.spec
from nginx-more.
Related Issues (20)
- My issue when installed on CentOS 7 HOT 3
- Nginx-more on Debian 10 - Not an issue, more of a question. HOT 3
- arm support HOT 4
- HTTP/3 HOT 7
- Rocky Linux HOT 2
- add the spec file for modsecurity-ngix HOT 1
- Bump to Nginx 1.21.4 HOT 1
- Enable kTLS HOT 4
- ModSecurity Module and Configuration
- Cannot configurable limit on depth of JSON parsing HOT 3
- Consider Updating HOT 4
- el9 support HOT 9
- SSL handshake failed
- nginx-more docker image HOT 4
- how can i enable TLSv1.0 and TLSv 1.1 on nginx-more-1.22? HOT 5
- Pagespeed Module Not Updated
- nginx-more-1.22.1-1.el8.x86_64 breaks ngx_cache_purge HOT 6
- Unable to build as public sources are not referenced in the spec file HOT 5
- NGINX-more v1.24 Stable Update HOT 12
- Support for Debian HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-more.