initial commit of file from CVS for smeserver-supervisor on Sat Sep 7 21:06:15 AEST 2024
This commit is contained in:
parent
fcac96a83b
commit
0c0f0b3483
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
*.rpm
|
||||||
|
*.log
|
||||||
|
*spec-20*
|
||||||
|
*.createlinks
|
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Makefile for source rpm: smeserver-supervisor
|
||||||
|
# $Id: Makefile,v 1.1 2022/06/24 00:47:34 jpp Exp $
|
||||||
|
NAME := smeserver-supervisor
|
||||||
|
SPECFILE = $(firstword $(wildcard *.spec))
|
||||||
|
|
||||||
|
define find-makefile-common
|
||||||
|
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||||
|
|
||||||
|
ifeq ($(MAKEFILE_COMMON),)
|
||||||
|
# attept a checkout
|
||||||
|
define checkout-makefile-common
|
||||||
|
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||||
|
endif
|
||||||
|
|
||||||
|
include $(MAKEFILE_COMMON)
|
16
README.md
16
README.md
@ -1,3 +1,15 @@
|
|||||||
# smeserver-supervisor
|
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> smeserver-supervisor
|
||||||
|
|
||||||
SMEServer Koozali developed git repo for smeserver-supervisor smecontribs
|
SMEServer Koozali developed git repo for smeserver-supervisor smecontribs
|
||||||
|
|
||||||
|
## Wiki
|
||||||
|
<br />https://wiki.koozali.org/Supervisor
|
||||||
|
|
||||||
|
## Bugzilla
|
||||||
|
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-supervisor&product=SME%20Contribs&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
|
||||||
|
*Once it has been checked, then this comment will be deleted*
|
||||||
|
<br />
|
||||||
|
1
contriborbase
Normal file
1
contriborbase
Normal file
@ -0,0 +1 @@
|
|||||||
|
contribs10
|
22
createlinks
Normal file
22
createlinks
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#!/usr/bin/perl
|
||||||
|
use strict;
|
||||||
|
use esmith::Build::CreateLinks qw(:all);
|
||||||
|
|
||||||
|
my $pkg= "smeserver-supervisor";
|
||||||
|
my $event = "${pkg}-update";
|
||||||
|
|
||||||
|
event_actions($event, qw(
|
||||||
|
systemd-default 88
|
||||||
|
systemd-reload 89
|
||||||
|
));
|
||||||
|
|
||||||
|
#event_templates($event, qw(
|
||||||
|
#));
|
||||||
|
|
||||||
|
event_services($event, qw(
|
||||||
|
supervisord restart
|
||||||
|
));
|
||||||
|
|
||||||
|
#use esmith::Build::Backup qw(:all);
|
||||||
|
#backup_includes($pkg, qw( ));
|
||||||
|
|
60
smeserver-supervisor.spec
Normal file
60
smeserver-supervisor.spec
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
|
||||||
|
Name: smeserver-supervisor
|
||||||
|
Version: 1.0.0
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: Koozali SME Server integration of supevisord
|
||||||
|
License: GPL
|
||||||
|
URL: http://supervisord.org/
|
||||||
|
#Source0: %{name}-%{version}.tar.gz
|
||||||
|
Source: createlinks
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: e-smith-devtools
|
||||||
|
Requires: supervisor
|
||||||
|
|
||||||
|
%description
|
||||||
|
Koozali SME Server integration of supervisord
|
||||||
|
The supervisor is a client/server system that allows its users to control a
|
||||||
|
number of processes on UNIX-like operating systems.
|
||||||
|
licence ZPLv2.1 and BSD and MIT
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -c -n %{name}-%{version} -T
|
||||||
|
mkdir -p root
|
||||||
|
cp %SOURCE0 .
|
||||||
|
|
||||||
|
%build
|
||||||
|
#cd %{name}-%{version}
|
||||||
|
perl createlinks
|
||||||
|
|
||||||
|
# could be an archive
|
||||||
|
mkdir -p root/usr/lib/systemd/system/supervisord.service.d/
|
||||||
|
printf "[Install]
|
||||||
|
WantedBy=sme-server.target" > root/usr/lib/systemd/system/supervisord.service.d/50-koozali.conf
|
||||||
|
mkdir -p root/etc/e-smith/db/configuration/defaults/supervisord
|
||||||
|
echo "enabled" > root/etc/e-smith/db/configuration/defaults/supervisord/status
|
||||||
|
echo "service" > root/etc/e-smith/db/configuration/defaults/supervisord/type
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
(cd root ; find . -depth -print | cpio -dump %{buildroot})
|
||||||
|
/sbin/e-smith/genfilelist %{buildroot} > %{name}-%{version}-%{release}-filelist
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%files -f %{name}-%{version}-%{release}-filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 1.0.0-2.sme
|
||||||
|
- Roll up patches and move to git repo [SME: 12338]
|
||||||
|
|
||||||
|
* Sat Sep 07 2024 BogusDateBot
|
||||||
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||||
|
by assuming the date is correct and changing the weekday.
|
||||||
|
|
||||||
|
* Thu Jun 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-1.sme
|
||||||
|
- initial Koozali SME 10 version
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user