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

specfile and patches for building on Fedora and CentOS Linux #70

Merged
merged 1 commit into from
Jun 16, 2020
Merged

specfile and patches for building on Fedora and CentOS Linux #70

merged 1 commit into from
Jun 16, 2020

Conversation

mikaku
Copy link
Contributor

@mikaku mikaku commented Jun 15, 2020

Hello,

I've been using this beautiful tool since ages ago, but the version I have in almost all servers is still the 2.0.2. That's the latest version you can find for RPM-based systems (RHEL, Fedora and CentOS). No newer one exist, or at least I was unable to find it.

So, I thought that it would be interesting to upgrade the v2.0.2 .spec file to v2.4.3 keeping the same patches as Fedora mates did.

This is the list of files that came with the SRPM version 2.0.2.

[root@localhost SOURCES]# l
total 108
-rw-r--r--. 1 root root  2243 Sep 21  2006 README.rpm
-rw-rw-r--. 1 root root    27 Jul 13  2011 smfs.conf
-rw-rw-r--. 1 root root   622 Jul 28  2010 smf-spf-2.0.0-Makefile.patch
-rw-r--r--. 1 root root   316 Jan 11  2007 smf-spf-2.0.2-conf.patch
-rw-rw-r--. 1 root root  2649 Jul 13  2011 smf-spf-2.0.2-rundir.patch
-rw-r--r--. 1 root root 38245 Jan 10  2007 smf-spf-2.0.2.tar.gz
-rw-rw-r--. 1 root root   213 Jul  3  2012 smf-spf.service
-rw-rw-r--. 1 root root  1547 Jul 28  2010 smf-spf.sysv

And this is the list of files that come with the new SRPM version 2.4.3 built with the .spec file provided with this PR:

[root@localhost SOURCES]# l
total 72
-rw-r--r--. 1 root root  2235 Jun 15 15:15 README.rpm
-rw-rw-r--. 1 root root    27 Jul 13  2011 smfs.conf
-rw-r--r--. 1 root root   276 Jun 15 11:07 smf-spf-2.4.3-conf.patch
-rw-r--r--. 1 root root   704 Jun 15 11:04 smf-spf-2.4.3-Makefile.patch
-rw-r--r--. 1 root root  2045 Jun 15 15:25 smf-spf-2.4.3-rundir.patch
-rw-r--r--. 1 root root 41913 Jun  9 17:17 smf-spf-2.4.3.tar.gz
-rw-rw-r--. 1 root root   213 Jul  3  2012 smf-spf.service
-rw-rw-r--. 1 root root  1547 Jul 28  2010 smf-spf.sysv

I've the RPM v2.4.3 installed on a pair of mail servers and it continues working as good as it did the 2.0.2 version. Here you can see a screen shot with SPF graph:

mail

spf

Feel free to reorganize these files or move them to a more correct directory name, they are useful for those who might want to build their own RPMs based on v2.4.3.

Thanks.

@codecov
Copy link

codecov bot commented Jun 15, 2020

Codecov Report

Merging #70 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #70   +/-   ##
=======================================
  Coverage   90.03%   90.03%           
=======================================
  Files           1        1           
  Lines         522      522           
=======================================
  Hits          470      470           
  Misses         52       52           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8f59781...61281a1. Read the comment docs.

@jcbf jcbf merged commit f8b7ea1 into jcbf:master Jun 16, 2020
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

Successfully merging this pull request may close these issues.

2 participants