initial commit of file from CVS for smeserver-redis on Sat Sep 7 21:00:19 AEST 2024
This commit is contained in:
parent
23dfe39d40
commit
e70b28ee35
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-redis
|
||||||
|
# $Id: Makefile,v 1.1 2022/06/24 03:43:39 jpp Exp $
|
||||||
|
NAME := smeserver-redis
|
||||||
|
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-redis
|
# <img src="https://www.koozali.org/images/koozali/Logo/Png/Koozali_logo_2016.png" width="25%" vertical="auto" style="vertical-align:bottom"> smeserver-redis
|
||||||
|
|
||||||
SMEServer Koozali developed git repo for smeserver-redis smecontribs
|
SMEServer Koozali developed git repo for smeserver-redis smecontribs
|
||||||
|
|
||||||
|
## Wiki
|
||||||
|
<br />https://wiki.koozali.org/Redis
|
||||||
|
|
||||||
|
## Bugzilla
|
||||||
|
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-redis&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-redis";
|
||||||
|
my $event = "${pkg}-update";
|
||||||
|
|
||||||
|
event_actions($event, qw(
|
||||||
|
systemd-default 88
|
||||||
|
systemd-reload 89
|
||||||
|
));
|
||||||
|
|
||||||
|
#event_templates($event, qw(
|
||||||
|
#));
|
||||||
|
|
||||||
|
event_services($event, qw(
|
||||||
|
redis restart
|
||||||
|
));
|
||||||
|
|
||||||
|
#use esmith::Build::Backup qw(:all);
|
||||||
|
#backup_includes($pkg, qw( ));
|
||||||
|
|
69
smeserver-redis.spec
Normal file
69
smeserver-redis.spec
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
|
||||||
|
Name: smeserver-redis
|
||||||
|
Version: 1.2.0
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: Koozali SME Server integration of Redis
|
||||||
|
License: GPL
|
||||||
|
URL: http://supervisord.org/
|
||||||
|
#Source0: %{name}-%{version}.tar.gz
|
||||||
|
Source: createlinks
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: e-smith-devtools
|
||||||
|
Requires: redis
|
||||||
|
|
||||||
|
%description
|
||||||
|
Koozali SME Server integration of Redis
|
||||||
|
Redis is an in-memory data structure store, used as a distributed,
|
||||||
|
in-memory key–value database, cache and message broker, with optional durability.
|
||||||
|
Redis supports different kinds of abstract data structures, such as strings,
|
||||||
|
lists, maps, sets, sorted sets, HyperLogLogs, bitmaps, streams, and spatial indices.
|
||||||
|
License: BSD 3-clause
|
||||||
|
|
||||||
|
%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/redis.service.d/
|
||||||
|
printf "[Install]
|
||||||
|
WantedBy=sme-server.target" > root/usr/lib/systemd/system/redis.service.d/50-koozali.conf
|
||||||
|
mkdir -p root/etc/e-smith/db/configuration/defaults/redis
|
||||||
|
echo "enabled" > root/etc/e-smith/db/configuration/defaults/redis/status
|
||||||
|
echo "service" > root/etc/e-smith/db/configuration/defaults/redis/type
|
||||||
|
echo "6379" > root/etc/e-smith/db/configuration/defaults/redis/TCPPPort
|
||||||
|
echo "private" > root/etc/e-smith/db/configuration/defaults/redis/access
|
||||||
|
|
||||||
|
%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.2.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.2.0-1.sme
|
||||||
|
- initial Koozali SME 10 version
|
||||||
|
|
||||||
|
* Thu Jul 07 2016 Stefano Fancello <stefano.fancello@nethesis.it> - 1.1.0-1
|
||||||
|
- First NS7 release
|
||||||
|
|
||||||
|
* Wed Jul 31 2013 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 1.0.0-1.ns6
|
||||||
|
- First release #2090
|
||||||
|
|
Loading…
Reference in New Issue
Block a user