Skip to content

Commit

Permalink
move common from bundles to minor packages
Browse files Browse the repository at this point in the history
  • Loading branch information
cs1867 committed Jun 11, 2024
1 parent ce31419 commit 729e261
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions common/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include unibuild/unibuild.make
43 changes: 43 additions & 0 deletions common/unibuild-packaging/rpm/perfsonar-common.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
%define perfsonar_auto_version 5.2.0
%define perfsonar_auto_relnum 0.a1.0

Version: %{perfsonar_auto_version}
Name: perfsonar-common
Summary: Package common to all perfSONAR tools
Release: %{perfsonar_auto_relnum}%{?dist}
License: ASL 2.0
Group: Applications/Communications
URL: http://www.perfsonar.net/
BuildArch: noarch
Requires: coreutils
Requires(pre): coreutils
Requires(post): coreutils
Obsoletes: perfSONAR-Bundles-common
Provides: perfSONAR-Bundles-common

%description
Package common to all perfsonar tools. Creates users, groups, logging directories, etc.

%pre
/usr/sbin/groupadd -r perfsonar 2> /dev/null || :
/usr/sbin/useradd -g perfsonar -r -s /sbin/nologin -c "perfSONAR User" -d /tmp perfsonar 2> /dev/null || :

%post
mkdir -p /var/log/perfsonar
chown perfsonar:perfsonar /var/log/perfsonar
mkdir -p /var/lib/perfsonar/bundles

%files
%defattr(0644,perfsonar,perfsonar,0755)

%changelog
* Fri Oct 15 2021 [email protected]
- Add logstash configuration
* Mon Jul 14 2015 [email protected]
- common bundle
* Mon Jul 06 2015 [email protected]
- Tools bundle
* Wed Mar 25 2015 [email protected]
- Core bundle
* Tue Mar 24 2015 [email protected]
- Testpoint and CentralManagement bundle
1 change: 1 addition & 0 deletions unibuild-order
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ changecom()dnl
# more information.
#

common
opensearch --no-install
perl-CGI-Ajax
perl-Data-Validate-Domain
Expand Down

0 comments on commit 729e261

Please sign in to comment.