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

ENT-11094: Improved rpm verification for hub package #1345

Merged
merged 4 commits into from
Jan 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ exit 0
%prefix/bin/cf-hub
%prefix/bin/cf-reactor
%prefix/bin/runalerts.php
# Only verify owner group mode maj min symlink
# Don't verify md5, size, mtime
%verify(not md5 size mtime) %prefix/bin/runalerts.php
#rsync
%prefix/bin/rsync
# init.d script enterprise part
Expand Down Expand Up @@ -340,6 +343,9 @@ exit 0
%prefix/share/postgresql/*
# PostgreSQL log file
%attr(600,cfpostgres,cfpostgres) /var/log/postgresql.log
# Only verify owner group mode maj min symlink
# Don't verify md5, size, mtime
%verify(not md5 size mtime) /var/log/postgresql.log

# ENT-2708, ENT-2846
%defattr(600,root,root,700)
Expand Down Expand Up @@ -373,6 +379,9 @@ exit 0

%defattr(460,root,cfapache,570)
%prefix/httpd/conf
%config %prefix/httpd/conf/httpd.conf
nickanderson marked this conversation as resolved.
Show resolved Hide resolved
# Note: MPF policy must be aligned search for ENT-11096 or cfengine_mp_apache_config_ownership_perms
%attr(400,root,root) %prefix/httpd/conf/httpd.conf
nickanderson marked this conversation as resolved.
Show resolved Hide resolved
%prefix/httpd/error
%prefix/httpd/htdocs
%prefix/httpd/icons
Expand Down