Skip to content

Commit

Permalink
Merge pull request #69 from ellert/logrotate-su
Browse files Browse the repository at this point in the history
Add su option to logrotate file
  • Loading branch information
ellert authored Feb 18, 2019
2 parents 76cc006 + 67aed6e commit a28a0af
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gram/jobmanager/source/configure.ac
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
AC_PREREQ([2.60])

AC_INIT([globus_gram_job_manager],[15.3],[https://github.com/gridcf/gct/issues])
AC_INIT([globus_gram_job_manager],[15.4],[https://github.com/gridcf/gct/issues])
AC_CONFIG_MACRO_DIR([m4])
AC_SUBST([MAJOR_VERSION], [${PACKAGE_VERSION%%.*}])
AC_SUBST([MINOR_VERSION], [${PACKAGE_VERSION##*.}])
Expand Down
1 change: 1 addition & 0 deletions gram/jobmanager/source/gram.logrotate.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
rotate 4
sharedscripts
copytruncate
su root root
}
6 changes: 6 additions & 0 deletions packaging/debian/globus-gram-job-manager/debian/changelog.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
globus-gram-job-manager (15.4-1+gct.@distro@) @distro@; urgency=medium

* Add su option to logrotate file

-- Mattias Ellert <[email protected]> Fri, 15 Feb 2019 16:11:09 +0100

globus-gram-job-manager (15.3-1+gct.@distro@) @distro@; urgency=medium

* Remove usage statistics collection support
Expand Down
10 changes: 9 additions & 1 deletion packaging/fedora/globus-gram-job-manager.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Name: globus-gram-job-manager
%global _name %(tr - _ <<< %{name})
Version: 15.3
Version: 15.4
Release: 1%{?dist}
Summary: Grid Community Toolkit - GRAM Jobmanager

Expand Down Expand Up @@ -115,6 +115,11 @@ make install DESTDIR=$RPM_BUILD_ROOT
# Remove libtool archives (.la files)
rm $RPM_BUILD_ROOT%{_libdir}/*.la

%if %{?rhel}%{!?rhel:0} == 6
# Remove su option from logrotate file in EPEL 6 (not supported)
sed '/ su /d' -i $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/globus-job-manager
%endif

%check
GLOBUS_HOSTNAME=localhost make %{?_smp_mflags} check VERBOSE=1

Expand Down Expand Up @@ -153,6 +158,9 @@ GLOBUS_HOSTNAME=localhost make %{?_smp_mflags} check VERBOSE=1
%{_libdir}/libglobus_seg_job_manager.so

%changelog
* Fri Feb 15 2019 Mattias Ellert <[email protected]> - 15.4-1
- Add su option to logrotate file

* Fri Dec 07 2018 Mattias Ellert <[email protected]> - 15.3-1
- Remove usage statistics collection support

Expand Down

0 comments on commit a28a0af

Please sign in to comment.