lemonldap-ng/rpm/lemonldap-ng.spec

1018 lines
34 KiB
RPMSpec
Raw Normal View History

2009-01-05 18:13:16 +01:00
#==============================================================================
# Variables
#==============================================================================
2018-10-30 11:45:03 +01:00
%global lm_prefix %{_prefix}
2018-10-16 17:14:35 +02:00
%global lm_sharedir %{_datadir}/lemonldap-ng
%global lm_examplesdir %{lm_sharedir}/examples
%global lm_vardir %{_localstatedir}/lib/lemonldap-ng
%global lm_cachedir %{_localstatedir}/cache/lemonldap-ng
2018-10-16 17:14:35 +02:00
%global lm_confdir %{_sysconfdir}/lemonldap-ng
%global lm_storagefile %{lm_confdir}/lemonldap-ng.ini
2018-11-13 17:09:44 +01:00
%global lm_bindir %{_libexecdir}/%{name}/bin
%global lm_sbindir %{_libexecdir}/%{name}/sbin
2009-01-05 18:13:16 +01:00
# Apache configuration directory
2018-10-16 17:14:35 +02:00
%global apache_confdir %{_sysconfdir}/httpd/conf.d
# Apache User and Group
2018-10-16 17:14:35 +02:00
%global lm_apacheuser apache
%global lm_apachegroup apache
2009-01-05 18:13:16 +01:00
2014-12-18 16:18:02 +01:00
# Apache version
2018-10-16 17:14:35 +02:00
%global apache_version 2.4
2014-12-18 16:18:02 +01:00
2018-10-16 17:14:35 +02:00
%global lm_dnsdomain example.com
2009-01-05 18:13:16 +01:00
# SELinux
%global with_selinux 1
%global modulename lemonldap-ng
%global selinuxtype targeted
#global pre_release beta1
2009-01-05 18:13:16 +01:00
#==============================================================================
# Main package
#==============================================================================
2018-10-31 17:29:13 +01:00
Name: lemonldap-ng
2022-09-15 16:03:30 +02:00
Version: 2.0.15.1
2022-09-07 17:03:45 +02:00
Release: %{?pre_release:0.}1%{?pre_release:.%{pre_release}}%{?dist}
Summary: LemonLDAP-NG WebSSO
2018-10-16 17:18:34 +02:00
License: GPLv2+
2021-12-11 00:43:37 +01:00
URL: https://lemonldap-ng.org
Source0: https://release.ow2.org/lemonldap/%{name}-%{version}%{?pre_release:~%{pre_release}}.tar.gz
2009-01-05 18:13:16 +01:00
BuildArch: noarch
BuildRequires: make
BuildRequires: gnupg
2019-10-31 21:33:09 +01:00
BuildRequires: which
BuildRequires: perl-generators
2018-11-05 12:30:56 +01:00
BuildRequires: perl-interpreter
2018-11-05 14:39:17 +01:00
BuildRequires: perl(Apache2::Connection)
BuildRequires: perl(Apache2::Const)
BuildRequires: perl(Apache2::Filter)
BuildRequires: perl(Apache2::Log)
BuildRequires: perl(Apache2::RequestIO)
BuildRequires: perl(Apache2::RequestRec)
BuildRequires: perl(Apache2::RequestUtil)
BuildRequires: perl(Apache2::ServerRec)
BuildRequires: perl(Apache2::ServerUtil)
2010-11-26 18:00:58 +01:00
BuildRequires: perl(Apache::Session)
BuildRequires: perl(Apache::Session::Browseable)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(Apache::Session::Generate::MD5)
BuildRequires: perl(APR::Table)
BuildRequires: perl(AuthCAS)
BuildRequires: perl(Authen::Captcha)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(Authen::PAM)
BuildRequires: perl(Authen::Radius)
BuildRequires: perl(AutoLoader)
BuildRequires: perl(base)
BuildRequires: perl(bytes)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(Cache::Cache)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(Cache::FileCache)
BuildRequires: perl(Cache::Memcached)
BuildRequires: perl(CGI)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(Class::Inspector)
BuildRequires: perl(Clone)
2010-11-26 18:00:58 +01:00
BuildRequires: perl(Config::IniFiles)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(constant)
2018-10-17 12:17:28 +02:00
BuildRequires: perl(Convert::Base32)
BuildRequires: perl(Convert::PEM)
2016-04-10 23:29:59 +02:00
BuildRequires: perl(Crypt::OpenSSL::Bignum)
2010-11-26 18:00:58 +01:00
BuildRequires: perl(Crypt::OpenSSL::RSA)
BuildRequires: perl(Crypt::OpenSSL::X509)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(Crypt::Rijndael)
BuildRequires: perl(Crypt::URandom)
BuildRequires: perl(Cwd)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(Data::Dumper)
2020-01-09 09:51:48 +01:00
BuildRequires: perl(DateTime::Format::RFC3339)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(DBI)
BuildRequires: perl(Digest::HMAC_SHA1)
BuildRequires: perl(Digest::MD5)
2014-06-27 16:12:54 +02:00
BuildRequires: perl(Digest::SHA)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(Email::Date::Format)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(Email::Sender)
BuildRequires: perl(Email::Sender::Simple)
BuildRequires: perl(Email::Sender::Transport::SMTP)
BuildRequires: perl(Encode)
BuildRequires: perl(English)
2014-12-18 16:18:02 +01:00
BuildRequires: perl(Env)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(Exporter)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(ExtUtils::MakeMaker)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(FCGI::Client)
BuildRequires: perl(FCGI::ProcManager)
BuildRequires: perl(feature)
BuildRequires: perl(fields)
BuildRequires: perl(File::Temp)
BuildRequires: perl(GD::SecurityImage)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Getopt::Std)
BuildRequires: perl(GSSAPI)
2022-08-11 16:47:28 +02:00
BuildRequires: perl(Hash::Merge::Simple)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(HTML::Template)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(HTTP::Headers)
BuildRequires: perl(HTTP::Message)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(HTTP::Request)
BuildRequires: perl(Image::Magick)
BuildRequires: perl(IO::Pipe)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(IO::Select)
BuildRequires: perl(IO::Socket::INET)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(IO::String)
BuildRequires: perl(IPC::Run)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(JSON)
BuildRequires: perl(JSON::XS)
2019-07-01 11:49:32 +02:00
%if 0%{?fedora}
2018-12-19 17:28:32 +01:00
BuildRequires: perl(Lasso)
BuildRequires: perl(Glib)
%endif
2018-11-05 14:39:17 +01:00
BuildRequires: perl(Log::Log4perl)
BuildRequires: perl(LWP::Protocol::https)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(MIME::Base64)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(MIME::Entity)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(mod_perl2)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(Mouse)
2020-01-17 14:29:32 +01:00
BuildRequires: perl(Net::Facebook::Oauth2)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(Net::LDAP)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(Net::LDAP::Extension::SetPassword)
BuildRequires: perl(Net::LDAP::Util)
BuildRequires: perl(Net::OAuth)
BuildRequires: perl(Net::OpenID::Consumer)
BuildRequires: perl(Net::OpenID::Server)
BuildRequires: perl(Plack)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(Plack::Handler::CGI)
BuildRequires: perl(Plack::Handler::FCGI)
BuildRequires: perl(Plack::Middleware)
BuildRequires: perl(Plack::Request)
BuildRequires: perl(Plack::Runner)
2019-04-11 11:06:40 +02:00
BuildRequires: perl(Plack::Test)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(Plack::Util)
BuildRequires: perl(Plack::Util::Accessor)
BuildRequires: perl(POSIX)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(Regexp::Assemble)
BuildRequires: perl(Regexp::Common)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(Safe)
BuildRequires: perl(Scalar::Util)
2021-12-11 00:43:37 +01:00
%if ! 0%{?el7}
2018-12-03 11:47:05 +01:00
BuildRequires: perl(Sentry::Raven)
%endif
2017-12-18 18:01:20 +01:00
BuildRequires: perl(SOAP::Lite)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(SOAP::Transport::HTTP)
BuildRequires: perl(strict)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(String::Random)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(Sys::Syslog)
BuildRequires: perl(Test::LeakTrace)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(Test::MockObject)
2020-02-24 14:29:31 +01:00
BuildRequires: perl(Test::Output)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Text::Unidecode)
2020-01-07 14:51:55 +01:00
BuildRequires: perl(Time::Fake)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(Time::Local)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(Unicode::String)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(URI)
BuildRequires: perl(URI::Escape)
BuildRequires: perl(URI::URL)
BuildRequires: perl(utf8)
BuildRequires: perl(warnings)
2021-12-11 00:43:37 +01:00
%if ! 0%{?el7}
2018-12-18 16:08:42 +01:00
BuildRequires: perl(Web::ID)
2018-12-11 15:57:39 +01:00
%endif
2019-01-04 17:59:22 +01:00
BuildRequires: perl(XML::LibXML)
2017-12-18 18:01:20 +01:00
BuildRequires: perl(XML::LibXSLT)
BuildRequires: perl(XML::Simple)
2018-11-05 14:39:17 +01:00
BuildRequires: perl(YAML)
2021-12-11 00:43:37 +01:00
%if 0%{?fedora}%{?el9}
BuildRequires: systemd-rpm-macros
%else
BuildRequires: systemd
%endif
# Doc
2021-12-11 00:43:37 +01:00
%if 0%{?el7}
BuildRequires: python-sphinx
BuildRequires: python2-sphinx-bootstrap-theme
2021-12-11 00:43:37 +01:00
%else
BuildRequires: python3-sphinx-bootstrap-theme
BuildRequires: python3-sphinx
%endif
Requires: lemonldap-ng-conf = %{version}-%{release}
Requires: lemonldap-ng-doc = %{version}-%{release}
Requires: lemonldap-ng-handler = %{version}-%{release}
Requires: lemonldap-ng-manager = %{version}-%{release}
Requires: lemonldap-ng-portal = %{version}-%{release}
Requires: lemonldap-ng-test = %{version}-%{release}
2021-12-11 00:43:37 +01:00
%if 0%{?with_selinux} && ! 0%{?el7}
# ! Not available in Centos7, you need to install lemonldap-ng-selinux manually
# This ensures that the *-selinux package and all its dependencies are not pulled
# into containers and other systems that do not use SELinux
Requires: (%{name}-selinux = %{version}-%{release} if selinux-policy-%{selinuxtype})
%endif
# Setup requires filtering
%{?perl_default_filter}
2019-11-05 14:17:55 +01:00
%{?el7:%global __requires_exclude perl\\(Lasso|perl\\(Web::ID|perl\\(Sentry::Raven}
%{?el8:%global __requires_exclude perl\\(Lasso}
2021-12-11 00:43:37 +01:00
%{?el9:%global __requires_exclude perl\\(Lasso}
%description
LemonLdap::NG is a modular Web-SSO based on Apache::Session modules. It
2010-11-26 18:00:58 +01:00
simplifies the build of a protected area with a few changes in the
application. It manages both authentication and authorization and provides
2019-07-01 11:49:53 +02:00
headers for accounting.
2010-11-26 18:00:58 +01:00
So you can have a full AAA protection for your web space as described below.
#==============================================================================
# Conf
#==============================================================================
%package conf
Summary: LemonLDAP-NG configuration
Requires: perl(Apache::Session)
Requires: perl(Apache::Session::Browseable)
Requires: perl(IO::String)
Requires: perl(Lemonldap::NG::Common) = %{version}-%{release}
Requires: perl(mod_perl2)
2019-07-26 07:44:28 +02:00
Requires(post): httpd
Requires: mod_fcgid
%description conf
This package contains the main storage configuration.
2009-01-05 18:13:16 +01:00
#==============================================================================
# Documentation
#==============================================================================
%package doc
2009-01-05 18:13:16 +01:00
Summary: LemonLDAP-NG documentation
Requires: lemonldap-ng-conf = %{version}-%{release}
2009-01-05 18:13:16 +01:00
%description doc
This package contains HTML documentation.
2009-01-05 18:13:16 +01:00
#==============================================================================
# Handler
#==============================================================================
%package handler
Summary: LemonLDAP-NG handler
Requires: crontabs
Requires: lemonldap-ng-conf = %{version}-%{release}
Requires: perl(Lemonldap::NG::Handler) = %{version}-%{release}
%description handler
This package deploys the Apache Handler.
#==============================================================================
# Manager
#==============================================================================
%package manager
Summary: LemonLDAP-NG administration interface
Requires: lemonldap-ng-conf = %{version}-%{release}
Requires: perl(Lemonldap::NG::Manager) = %{version}-%{release}
%description manager
This package deploys the administration interface and sessions explorer.
#==============================================================================
# Portal
#==============================================================================
%package portal
Summary: LemonLDAP-NG authentication portal
Requires: crontabs
Requires: lemonldap-ng-conf = %{version}-%{release}
Requires: perl(Lemonldap::NG::Portal) = %{version}-%{release}
2020-01-17 14:29:32 +01:00
Requires: perl(Net::Facebook::Oauth2)
Requires: perl(Net::OAuth)
Requires: perl(Net::OpenID::Consumer)
%description portal
This package deploys the authentication portal.
#==============================================================================
# Test
2009-01-05 18:13:16 +01:00
#==============================================================================
%package test
Summary: LemonLDAP-NG test applications
Requires: lemonldap-ng-conf = %{version}-%{release}
%description test
This package deploys small test applications.
#==============================================================================
# FastCGI Server
#==============================================================================
%package fastcgi-server
Summary: LemonLDAP-NG FastCGI Server
Requires: lemonldap-ng-conf = %{version}-%{release}
Requires: mod_fcgid
Requires: perl(FCGI::ProcManager)
%description fastcgi-server
This package deploys files needed to start a FastCGI server.
2018-06-25 14:27:32 +02:00
#==============================================================================
# UWSGI Application
#==============================================================================
%package uwsgi-app
2018-06-25 14:27:32 +02:00
Summary: LemonLDAP-NG UWSGI Application
2018-10-16 17:11:49 +02:00
Requires: uwsgi-plugin-psgi
2018-06-25 14:27:32 +02:00
%description uwsgi-app
2018-06-25 14:27:32 +02:00
LemonLDAP::NG uWSGI server provides a replacement to LemonLDAP::NG FastCGI
server, using uWSGI instead of Plack FCGI.
2018-11-02 18:38:54 +01:00
#==============================================================================
# Nginx server
#==============================================================================
%package nginx
Summary: LemonLDAP-NG Nginx support
Requires: nginx
%description nginx
Nginx support for LemonLDAP::NG.
#==============================================================================
# CPAN modules - Common
#==============================================================================
%package -n perl-Lemonldap-NG-Common
2009-01-05 18:13:16 +01:00
Summary: LemonLDAP-NG Common Modules
Requires: perl(JSON::XS)
2019-07-26 07:42:38 +02:00
Requires: perl(String::Random)
2019-12-09 20:47:47 +01:00
Requires: perl(Cache::Cache)
2009-01-05 18:13:16 +01:00
%description -n perl-Lemonldap-NG-Common
2018-10-31 15:09:28 +01:00
This package installs the configuration libraries used by other LemonLDAP::NG
modules.
2009-01-05 18:13:16 +01:00
#==============================================================================
# CPAN modules - Handler
2009-01-05 18:13:16 +01:00
#==============================================================================
%package -n perl-Lemonldap-NG-Handler
Summary: LemonLDAP-NG Handler Modules
%description -n perl-Lemonldap-NG-Handler
2018-10-31 15:09:28 +01:00
This package installs the Apache module part (handler) used to protect web
areas.
2009-01-05 18:13:16 +01:00
#==============================================================================
# CPAN modules - Manager
2009-01-05 18:13:16 +01:00
#==============================================================================
%package -n perl-Lemonldap-NG-Manager
Summary: LemonLDAP-NG Manager Modules
%description -n perl-Lemonldap-NG-Manager
This package installs the administration interface (manager).
#==============================================================================
# CPAN modules - Portal
2009-01-05 18:13:16 +01:00
#==============================================================================
%package -n perl-Lemonldap-NG-Portal
Summary: LemonLDAP-NG Portal Modules
%description -n perl-Lemonldap-NG-Portal
This package installs the authentication portal.
#==============================================================================
# SELinux policy package
#==============================================================================
%if 0%{?with_selinux}
%package selinux
Summary: LemonLDAP-NG SELinux policy
BuildArch: noarch
Requires: selinux-policy-%{selinuxtype}
Requires(post): selinux-policy-%{selinuxtype}
BuildRequires: selinux-policy-devel
%{?selinux_requires}
%description selinux
Custom SELinux policy module
%endif
#==============================================================================
# SSOaaS client for Apache
#==============================================================================
%package -n perl-Lemonldap-NG-SSOaaS-Apache-Client
Summary: Lemonldap-NG SSOaaS client for Apache
%description -n perl-Lemonldap-NG-SSOaaS-Apache-Client
This package permits one to enroll an Apache server
into Lemonldap::NG's SSOaaS service.
#==============================================================================
2009-01-05 18:13:16 +01:00
# Source preparation
#==============================================================================
%prep
%setup -q -n %{name}-%{version}%{?pre_release:~%{pre_release}}
2012-09-17 16:06:47 +02:00
2014-12-18 16:18:02 +01:00
#==============================================================================
2009-01-05 18:13:16 +01:00
# Building
#==============================================================================
%build
make %{?_smp_mflags} configure \
2018-10-31 15:15:43 +01:00
STORAGECONFFILE=%{lm_storagefile} \
DATADIR=%{lm_vardir} \
CACHEDIR=%{lm_cachedir} \
2018-10-31 15:15:43 +01:00
PERLOPTIONS="INSTALLDIRS=vendor"
make %{?_smp_mflags}
%if 0%{?with_selinux}
# SELinux policy (originally from selinux-policy-contrib)
# this policy module will override the production module
mkdir selinux
cp -p rpm/lemonldap-ng.fc selinux/
cp -p rpm/lemonldap-ng.te selinux/
make -f %{_datadir}/selinux/devel/Makefile %{modulename}.pp
bzip2 -9 %{modulename}.pp
%endif
#==============================================================================
2009-01-05 18:13:16 +01:00
# Installation
#============================================================================
%install
make %{?_smp_mflags} install \
2018-10-16 17:11:49 +02:00
DESTDIR=%{buildroot} \
PREFIX=%{lm_prefix} \
2018-11-13 17:09:44 +01:00
BINDIR=%{lm_bindir} \
SBINDIR=%{lm_sbindir} \
2018-10-30 11:56:24 +01:00
FASTCGISOCKDIR=%{_rundir}/llng-fastcgi-server \
2018-11-13 17:09:44 +01:00
DOCUMENTROOT=%{lm_sharedir} \
2018-10-16 17:11:49 +02:00
EXAMPLESDIR=%{lm_examplesdir} \
2018-11-13 17:09:44 +01:00
HANDLERDIR=%{lm_sharedir}/handler \
2018-10-16 17:11:49 +02:00
MANAGERDIR=%{lm_sharedir}/manager \
STORAGECONFFILE=%{lm_storagefile} \
TOOLSDIR=%{lm_sharedir}/ressources \
CONFDIR=%{lm_confdir} \
CRONDIR=%{_sysconfdir}/cron.d \
DATADIR=%{lm_vardir} \
CACHEDIR=%{lm_cachedir} \
2018-10-19 17:03:02 +02:00
INITDIR=%{_sysconfdir}/init.d \
ETCDEFAULTDIR=%{_sysconfdir}/default \
2018-10-16 17:11:49 +02:00
DNSDOMAIN=%{lm_dnsdomain} \
APACHEVERSION=%{apache_version} \
2019-01-31 15:48:50 +01:00
APACHELOGDIR=%{_localstatedir}/log/httpd \
2018-10-19 17:03:02 +02:00
UWSGIYAMLDIR=%{_sysconfdir}/uwsgi/apps-available \
2018-10-16 17:11:49 +02:00
LLNGAPPDIR=%{lm_sharedir}/llng-server \
PROD=yes
2009-01-05 18:13:16 +01:00
# Remove some unwanted files
find %{buildroot} -name .packlist -exec rm -f {} \;
find %{buildroot} -name perllocal.pod -exec rm -f {} \;
find %{buildroot} -name *.bak -exec rm -f {} \;
# Install files for FastCGI Server
mkdir -p %{buildroot}%{_unitdir}
2018-10-31 15:15:43 +01:00
install -m644 fastcgi-server/systemd/llng-fastcgi-server.service \
%{buildroot}%{_unitdir}
2018-11-02 14:45:27 +01:00
sed -i \
-e 's:__FASTCGISOCKDIR__:%{_rundir}/llng-fastcgi-server:' \
2018-11-13 17:09:44 +01:00
-e 's:__SBINDIR__:%{lm_sbindir}:' \
2018-10-31 15:15:43 +01:00
%{buildroot}%{_unitdir}/llng-fastcgi-server.service
2018-10-19 17:03:02 +02:00
rm -f %{buildroot}%{_sysconfdir}/init.d/llng-fastcgi-server
mkdir -p %{buildroot}%{_tmpfilesdir}
2018-10-31 15:15:43 +01:00
install -m644 fastcgi-server/systemd/llng-fastcgi-server.tmpfile \
%{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf
2018-11-02 15:05:45 +01:00
sed -i \
-e 's:__FASTCGISOCKDIR__:%{_rundir}/llng-fastcgi-server:' \
-e 's:__USER__:%{lm_apacheuser}:' \
-e 's:__GROUP__:%{lm_apachegroup}:' \
2018-10-31 15:15:43 +01:00
%{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf
2018-06-25 14:27:32 +02:00
# UWSGI Application
2018-10-19 17:03:02 +02:00
mkdir -p %{buildroot}%{_sysconfdir}/uwsgi/apps-available
2018-06-25 14:27:32 +02:00
mkdir -p %{buildroot}%{lm_sharedir}/llng-server
2010-11-26 18:00:58 +01:00
# Set apache user in some files (see Makefile)
# Note: we do not use the APACHEUSER and APACHEGROUP in make install
# because it launches a 'chown', which is not permitted if RPM is not
# built as root
2010-11-26 18:00:58 +01:00
sed -i 's/nobody/%{lm_apacheuser}/' %{buildroot}%{_sysconfdir}/cron.d/*
2018-10-31 15:15:43 +01:00
sed -i 's/nobody/%{lm_apacheuser}/' \
2018-11-13 17:09:44 +01:00
%{buildroot}%{lm_bindir}/lmConfigEditor
sed -i 's/nobody/%{lm_apacheuser}/g' \
%{buildroot}%{lm_bindir}/lemonldap-ng-sessions
2018-10-31 15:15:43 +01:00
sed -i 's/nobody/%{lm_apacheuser}/g' \
2018-11-13 17:09:44 +01:00
%{buildroot}%{lm_bindir}/lemonldap-ng-cli
2019-04-11 12:36:17 +02:00
sed -i 's/nobody/%{lm_apacheuser}/g' \
%{buildroot}%{lm_bindir}/llngDeleteSession
2018-10-31 15:15:43 +01:00
sed -i 's/nobody/%{lm_apacheuser}/g' \
%{buildroot}%{_sysconfdir}/default/llng-fastcgi-server
# Set UNIX rights
2010-11-26 18:00:58 +01:00
mkdir -p %{buildroot}%{lm_vardir}/sessions/lock
mkdir -p %{buildroot}%{lm_vardir}/psessions/lock
chmod 750 %{buildroot}%{lm_vardir}/conf
chmod 640 %{buildroot}%{lm_vardir}/conf/*
chmod 640 %{buildroot}%{lm_storagefile}
chmod 770 %{buildroot}%{lm_vardir}/sessions
chmod 770 %{buildroot}%{lm_vardir}/sessions/lock
chmod 770 %{buildroot}%{lm_vardir}/psessions
chmod 770 %{buildroot}%{lm_vardir}/psessions/lock
chmod 770 %{buildroot}%{lm_vardir}/notifications
chmod 770 %{buildroot}%{lm_cachedir}
chmod 770 %{buildroot}%{lm_vardir}/captcha
2018-11-13 17:18:24 +01:00
chmod 775 %{buildroot}%{lm_sbindir}/llng-fastcgi-server
2010-11-26 18:00:58 +01:00
# Install httpd conf files
# We use "z-lemonldap-ng-*" so that httpd read the files after "perl.conf"
mkdir -p %{buildroot}%{apache_confdir}
for i in handler manager portal api test; do {
mv %{buildroot}%{lm_confdir}/$i-apache%{apache_version}.conf \
%{buildroot}%{apache_confdir}/z-lemonldap-ng-$i.conf
}; done
2018-11-02 18:38:54 +01:00
# Install nginx conf files
mkdir -p %{buildroot}%{_sysconfdir}/nginx/conf.d/
mv %{buildroot}%{lm_confdir}/*nginx*.conf \
%{buildroot}%{_sysconfdir}/nginx/conf.d/
# Move lua and log configuration
mv %{buildroot}%{_sysconfdir}/nginx/conf.d/nginx-lua-headers.conf \
%{buildroot}%{_sysconfdir}/nginx/conf.d/nginx-lmlog.conf \
%{buildroot}%{_sysconfdir}/nginx/
# Replace paths in main configuration files
sed -i 's:/etc/lemonldap-ng/nginx-lmlog.conf:/etc/nginx/nginx-lmlog.conf:' \
%{buildroot}%{_sysconfdir}/nginx/conf.d/handler-nginx.conf
sed -i 's:/etc/lemonldap-ng/nginx-lua-headers.conf:/etc/nginx/nginx-lua-headers.conf:' \
%{buildroot}%{_sysconfdir}/nginx/conf.d/test-nginx.conf
2018-11-02 18:38:54 +01:00
# Remove for_etc_hosts from %%{_sysconfdir}
mv %{buildroot}%{lm_confdir}/for_etc_hosts .
2018-11-13 17:13:02 +01:00
# Fix shebang and perms
sed -i -e 's,#!/usr/bin/env plackup,#!/usr/bin/plackup,' \
%{buildroot}/usr/share/lemonldap-ng/manager/api/api.psgi
chmod 755 %{buildroot}/usr/share/lemonldap-ng/manager/api/api.psgi
2018-11-13 17:13:02 +01:00
sed -i -e 's,#!/usr/bin/env plackup,#!/usr/bin/plackup,' \
%{buildroot}/usr/share/lemonldap-ng/manager/htdocs/manager.psgi
chmod 755 %{buildroot}/usr/share/lemonldap-ng/manager/htdocs/manager.psgi
sed -i -e 's,#!/usr/bin/env plackup,#!/usr/bin/plackup,' \
%{buildroot}/usr/share/lemonldap-ng/examples/manager/manager.psgi
chmod 755 %{buildroot}/usr/share/lemonldap-ng/examples/manager/manager.psgi
sed -i -e '1i#!/usr/bin/plackup' \
%{buildroot}/usr/share/lemonldap-ng/examples/llngapp.psgi
chmod 644 %{buildroot}/usr/share/lemonldap-ng/test/cas.php
# Install SELinux policy
%if 0%{?with_selinux}
install -D -m 0644 %{modulename}.pp.bz2 %{buildroot}%{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.bz2
%endif
2016-02-09 14:35:24 +01:00
#==============================================================================
# Run test
#==============================================================================
%check
2018-10-31 15:15:43 +01:00
sed -i 's:^dirName.*:dirName = %{buildroot}%{lm_vardir}/conf:' \
%{buildroot}%{lm_storagefile}
make %{?_smp_mflags} test \
2018-10-31 15:15:43 +01:00
LLNG_DEFAULTCONFFILE=%{buildroot}%{lm_storagefile}
sed -i 's:^dirName.*:dirName = %{lm_vardir}/conf:' \
%{buildroot}%{lm_storagefile}
2016-02-09 14:35:24 +01:00
#==============================================================================
2009-01-05 18:13:16 +01:00
# Post Installation
#==============================================================================
%post conf
# Upgrade from previous version
# See http://lemonldap-ng.org/documentation/1.0/upgrade
if [ $1 -gt 1 ] ; then
2018-10-31 15:15:43 +01:00
if [ -e %{lm_confdir}/storage.conf \
-o -e %{lm_confdir}/apply.conf \
-o -e %{lm_confdir}/apps-list.xml ] ; then
2018-10-16 17:11:49 +02:00
# Run migration script
2018-11-13 17:09:44 +01:00
%{lm_bindir}/lmMigrateConfFiles2ini 2>&1 > /dev/null || :
2018-10-16 17:11:49 +02:00
# Fix ownership
chgrp %{lm_apachegroup} %{lm_storagefile} || :
fi
fi
2012-09-17 16:06:47 +02:00
# Set editor alternatives if it does not exist
update-alternatives --display editor > /dev/null 2>&1
if [ $? -ne 0 ] ; then
update-alternatives --install /usr/bin/editor editor /usr/bin/vim 1
fi
#==============================================================================
2009-01-05 18:13:16 +01:00
# Pre uninstallation
#==============================================================================
%preun conf
# Upgrade from previous version
if [ $1 -eq 1 ] ; then
# Remove old symlinks in Apache configuration
find %{apache_confdir} -name 'z-lemonldap-ng*.conf' \
-type l -delete 2>&1 > /dev/null || :
fi
2009-01-05 18:13:16 +01:00
%post fastcgi-server
%systemd_post llng-fastcgi-server.service
%preun fastcgi-server
%systemd_preun llng-fastcgi-server.service
%postun fastcgi-server
%systemd_postun_with_restart llng-fastcgi-server.service
2010-11-26 18:00:58 +01:00
%if 0%{?with_selinux}
# SELinux contexts are saved so that only affected files can be
# relabeled after the policy module installation
%pre selinux
%selinux_relabel_pre -s %{selinuxtype}
%post selinux
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.bz2
%postun selinux
if [ $1 -eq 0 ]; then
%selinux_modules_uninstall -s %{selinuxtype} %{modulename}
fi
%posttrans selinux
%selinux_relabel_post -s %{selinuxtype}
# if with_selinux
%endif
%files
%files conf
%doc changelog INSTALL README.md AUTHORS CONTRIBUTING.md
%doc for_etc_hosts
2018-12-21 15:52:13 +01:00
%license COPYING LICENSE
2010-11-26 18:00:58 +01:00
%dir %{lm_confdir}
%config(noreplace) %attr(-,root,%{lm_apachegroup}) %{lm_storagefile}
%config(noreplace) %{apache_confdir}/z-lemonldap-ng-handler.conf
%config(noreplace) %{apache_confdir}/z-lemonldap-ng-manager.conf
%config(noreplace) %{apache_confdir}/z-lemonldap-ng-api.conf
%config(noreplace) %{apache_confdir}/z-lemonldap-ng-portal.conf
%{_mandir}/man1/convertConfig*
%{_mandir}/man1/convertSessions*
%{_mandir}/man1/encryptTotpSecrets*
%{_mandir}/man1/lemonldap-ng-sessions*
2018-11-13 17:09:44 +01:00
%dir %{_libexecdir}/%{name}
%dir %{lm_sbindir}
%dir %{lm_bindir}
%{lm_bindir}/convertConfig
%{lm_bindir}/convertSessions
%{lm_bindir}/encryptTotpSecrets
%{lm_bindir}/lemonldap-ng-sessions
2018-11-13 17:09:44 +01:00
%{lm_bindir}/importMetadata
%{lm_bindir}/lmMigrateConfFiles2ini
%{lm_bindir}/rotateOidcKeys
%dir %{lm_examplesdir}
2018-11-13 17:09:44 +01:00
%dir %{lm_sharedir}
2018-11-16 10:31:43 +01:00
%{lm_sharedir}/ressources/
2018-11-13 17:09:44 +01:00
%dir %{lm_vardir}
2018-11-29 11:43:34 +01:00
%defattr(640,%{lm_apacheuser},%{lm_apachegroup},750)
2010-11-26 18:00:58 +01:00
%dir %{lm_vardir}/conf
%dir %{lm_vardir}/sessions
%dir %{lm_vardir}/sessions/lock
%dir %{lm_vardir}/psessions
%dir %{lm_vardir}/psessions/lock
%dir %{lm_vardir}/notifications
%dir %{lm_cachedir}
2017-07-10 12:28:57 +02:00
%config(noreplace) %{lm_vardir}/conf/lmConf-1.json
%files doc
2018-11-13 17:09:44 +01:00
%doc %{lm_sharedir}/doc
%doc changelog INSTALL README.md AUTHORS CONTRIBUTING.md
2018-12-21 15:52:13 +01:00
%license COPYING LICENSE
%files handler
2018-11-13 17:09:44 +01:00
%{lm_bindir}/purgeLocalCache
2018-11-02 18:25:08 +01:00
%config(noreplace) %{_sysconfdir}/cron.d/lemonldap-ng-handler
2018-11-13 17:09:44 +01:00
%{lm_sharedir}/handler
%{lm_examplesdir}/handler
2020-06-30 17:45:01 +02:00
%{lm_sharedir}/llng-server/
%files manager
2016-02-16 14:10:26 +01:00
%{lm_sharedir}/manager
%{lm_examplesdir}/manager
2018-11-13 17:09:44 +01:00
%{lm_bindir}/lmConfigEditor
%{lm_bindir}/lemonldap-ng-cli
2019-04-11 12:36:17 +02:00
%{lm_bindir}/llngDeleteSession
%{_mandir}/man1/lemonldap-ng-cli*
2021-08-12 17:26:38 +02:00
%{_mandir}/man1/importMetadata*
%files portal
2018-11-13 17:09:44 +01:00
%{lm_sharedir}/portal
%{lm_bindir}/purgeCentralCache
2018-11-02 18:25:08 +01:00
%config(noreplace) %{_sysconfdir}/cron.d/lemonldap-ng-portal
%{lm_examplesdir}/portal
%defattr(750,%{lm_apacheuser},%{lm_apachegroup},-)
%dir %{lm_vardir}/captcha
2009-01-05 18:13:16 +01:00
%files test
2018-11-13 17:09:44 +01:00
%{lm_sharedir}/test
%config(noreplace) %{apache_confdir}/z-lemonldap-ng-test.conf
2009-01-05 18:13:16 +01:00
%files fastcgi-server
2018-11-13 17:09:44 +01:00
%{lm_sbindir}/llng-fastcgi-server
2018-10-19 17:03:02 +02:00
%config(noreplace) %{_sysconfdir}/default/llng-fastcgi-server
%{_unitdir}/llng-fastcgi-server.service
%{_tmpfilesdir}/llng-fastcgi-server.conf
2016-02-19 17:46:19 +01:00
%defattr(755,%{lm_apacheuser},%{lm_apachegroup},-)
2018-10-30 11:56:24 +01:00
%dir %{_rundir}/llng-fastcgi-server
2018-06-25 14:27:32 +02:00
%{lm_sharedir}/examples/llngapp.psgi
%files uwsgi-app
2018-11-13 17:11:59 +01:00
%config(noreplace) %{_sysconfdir}/uwsgi/apps-available/llng-server.yaml
2018-11-02 18:38:54 +01:00
%files nginx
%config(noreplace) %{_sysconfdir}/nginx/conf.d/handler-nginx.conf
%config(noreplace) %{_sysconfdir}/nginx/conf.d/manager-nginx.conf
%config(noreplace) %{_sysconfdir}/nginx/nginx-lmlog.conf
%config(noreplace) %{_sysconfdir}/nginx/nginx-lua-headers.conf
2018-11-02 18:38:54 +01:00
%config(noreplace) %{_sysconfdir}/nginx/conf.d/portal-nginx.conf
%config(noreplace) %{_sysconfdir}/nginx/conf.d/api-nginx.conf
2018-11-02 18:38:54 +01:00
%config(noreplace) %{_sysconfdir}/nginx/conf.d/test-nginx.conf
%files -n perl-Lemonldap-NG-Common
%{_mandir}/man3/Lemonldap::NG::Common*.3pm.*
%dir %{perl_vendorlib}/Lemonldap
%dir %{perl_vendorlib}/Lemonldap/NG
2009-01-05 18:13:16 +01:00
%{perl_vendorlib}/Lemonldap/NG/Common.pm
%{perl_vendorlib}/Lemonldap/NG/Common/
2010-11-26 18:00:58 +01:00
%{perl_vendorlib}/auto/Lemonldap/NG/Common/
2009-01-05 18:13:16 +01:00
%files -n perl-Lemonldap-NG-Handler
%{_mandir}/man3/Lemonldap::NG::Handler*.3pm.*
%{_mandir}/man3/Plack::Middleware::Auth::LemonldapNG.3pm.*
2009-01-05 18:13:16 +01:00
%{perl_vendorlib}/Lemonldap/NG/Handler.pm
%{perl_vendorlib}/Lemonldap/NG/Handler/
2016-02-18 17:11:16 +01:00
%{perl_vendorlib}/auto/Lemonldap/NG/Handler/
%{perl_vendorlib}/Plack/Middleware/Auth/LemonldapNG.pm
2009-01-05 18:13:16 +01:00
%files -n perl-Lemonldap-NG-Manager
%{_mandir}/man3/Lemonldap::NG::Manager*.3pm.*
2009-01-05 18:13:16 +01:00
%{perl_vendorlib}/Lemonldap/NG/Manager.pm
%{perl_vendorlib}/Lemonldap/NG/Manager/
%files -n perl-Lemonldap-NG-Portal
%{_mandir}/man3/Lemonldap::NG::Portal*.3pm.*
2009-01-05 18:13:16 +01:00
%{perl_vendorlib}/Lemonldap/NG/Portal.pm
%{perl_vendorlib}/Lemonldap/NG/Portal/
%if 0%{?with_selinux}
%files selinux
%{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.*
%ghost %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename}
%endif
%files -n perl-Lemonldap-NG-SSOaaS-Apache-Client
%{_mandir}/man3/Lemonldap::NG::SSOaaS::Apache*.3pm.*
%{perl_vendorlib}/Lemonldap/NG/SSOaaS/Apache/
#==============================================================================
2009-01-05 18:13:16 +01:00
# Changelog
#==============================================================================
%changelog
2022-09-15 16:03:30 +02:00
* Thu Sep 15 2022 Clement Oudot <clem.oudot@gmail.com> - 2.0.15.1-1
- Update to 2.0.15.1
2022-09-09 10:17:51 +02:00
* Fri Sep 09 2022 Clement Oudot <clem.oudot@gmail.com> - 2.0.15-1
2022-09-07 17:03:45 +02:00
- Update to 2.0.15
2021-12-11 00:43:37 +01:00
* Thu Feb 24 2022 Xavier Bachelot <xavier@bachelot.org> - 2.0.14-2
- Prepare for EL9 support
2022-02-19 17:53:14 +01:00
* Sat Feb 19 2022 Clement Oudot <clem.oudot@gmail.com> - 2.0.14-1
- Update to 2.0.14
2021-08-20 19:10:20 +02:00
* Fri Aug 20 2021 Clement Oudot <clem.oudot@gmail.com> - 2.0.13-1
- Update to 2.0.13
2021-07-22 18:39:44 +02:00
* Thu Jul 22 2021 Clement Oudot <clem.oudot@gmail.com> - 2.0.12-1
- Update to 2.0.12
* Wed Mar 17 2021 Xavier Bachelot <xavier@bachelot.org> - 2.0.11-2
- Add BR: make
2021-01-30 18:38:33 +01:00
* Sat Jan 30 2021 Clement Oudot <clem.oudot@gmail.com> - 2.0.11-1
- Update to 2.0.11
2021-01-17 17:43:14 +01:00
* Sun Jan 17 2021 Clement Oudot <clem.oudot@gmail.com> - 2.0.10-1
- Update to 2.0.10
2020-09-06 22:11:42 +02:00
* Sun Sep 06 2020 Clement Oudot <clem.oudot@gmail.com> - 2.0.9-1
- Update to 2.0.9
2020-05-05 17:22:41 +02:00
* Tue May 05 2020 Clement Oudot <clem.oudot@gmail.com> - 2.0.8-1
2020-04-30 19:59:37 +02:00
- Update to 2.0.8
2019-12-21 17:02:40 +01:00
* Sat Dec 21 2019 Clement Oudot <clem.oudot@gmail.com> - 2.0.7-1
- Update to 2.0.7
2019-12-06 16:54:16 +01:00
* Fri Dec 06 2019 Xavier Bachelot <xavier@bachelot.org> - 2.0.6-2
- Tweak for EL8.
- Enhance BuildRequires and Requires.
- Spec clean up.
2019-09-24 14:55:46 +02:00
* Tue Sep 24 2019 Clement Oudot <clem.oudot@gmail.com> - 2.0.6-1
- Update to 2.0.6
2019-06-29 22:45:43 +02:00
* Sat Jun 29 2019 Clement Oudot <clem.oudot@gmail.com> - 2.0.5-1
2019-06-29 22:37:48 +02:00
- Update to 2.0.5
* Fri Jun 07 2019 Xavier Bachelot <xavier@bachelot.org> - 2.0.4-2
- BR: gnupg to fix test 29-AuthGPG.t failure in manager.
* Sun May 12 2019 Clement Oudot <clem.oudot@gmail.com> - 2.0.4-1
- Update to 2.0.4
2019-04-11 10:27:55 +02:00
* Thu Apr 11 2019 Clement Oudot <clem.oudot@gmail.com> - 2.0.3-1
- Update to 2.0.3
2019-02-12 08:58:50 +01:00
* Tue Feb 12 2019 Clement Oudot <clem.oudot@gmail.com> - 2.0.2-1
2019-02-08 11:33:27 +01:00
- Update to 2.0.2
2018-12-21 15:25:21 +01:00
* Fri Dec 21 2018 Clement Oudot <clem.oudot@gmail.com> - 2.0.1-1
- Update to 2.0.1
2018-12-01 12:26:14 +01:00
* Sat Dec 01 2018 Clement Oudot <clem.oudot@gmail.com> - 2.0.0-3
- Fix warnings in Manager
2018-11-15 11:22:36 +01:00
* Fri Nov 30 2018 Xavier Bachelot <xavier@bachelot.org> - 2.0.0-2
- Huge spec file cleanup.
2018-11-28 16:14:52 +01:00
* Fri Nov 30 2018 Clement Oudot <clem.oudot@gmail.com> - 2.0.0-1
- Update to 2.0.0
2018-07-20 17:25:21 +02:00
* Fri Jul 20 2018 Clement Oudot <clem.oudot@gmail.com> - 2.0.0~beta1-1
2018-11-28 16:14:52 +01:00
- First beta version for 2.0.0
2018-01-26 10:32:41 +01:00
* Fri Jan 26 2018 Clement Oudot <clem.oudot@gmail.com> - 2.0.0~alpha3-1
- Third alpha version for 2.0.0
2017-09-14 14:55:16 +02:00
* Thu Sep 14 2017 Clement Oudot <clem.oudot@gmail.com> - 2.0.0~alpha2-1
- Second alpha version for 2.0.0
* Mon Jul 10 2017 Clement Oudot <clem.oudot@gmail.com> - 2.0.0~alpha1-1
- First alpha version for 2.0.0
2017-05-19 15:25:36 +02:00
* Fri May 19 2017 Clement Oudot <clem.oudot@gmail.com> - 1.9.10-1
- Update to 1.9.10
2017-05-19 15:25:36 +02:00
* Thu Mar 16 2017 Clement Oudot <clem.oudot@gmail.com> - 1.9.9-1
- Update to 1.9.9
2017-03-02 14:44:15 +01:00
* Thu Mar 02 2017 Clement Oudot <clem.oudot@gmail.com> - 1.9.8-1
- Update to 1.9.8
2016-12-12 17:21:44 +01:00
* Mon Dec 12 2016 Clement Oudot <clem.oudot@gmail.com> - 1.9.7-1
- Update to 1.9.7
2016-10-14 11:41:40 +02:00
* Fri Oct 14 2016 Clement Oudot <clem.oudot@gmail.com> - 1.9.6-1
- Update to 1.9.6
2016-07-13 14:38:29 +02:00
* Wed Jul 13 2016 Clement Oudot <clem.oudot@gmail.com> - 1.9.5-1
- Update to 1.9.5
2016-06-14 15:45:26 +02:00
* Tue Jun 14 2016 Clement Oudot <clem.oudot@gmail.com> - 1.9.4-1
- Update to 1.9.4
2016-06-07 17:35:18 +02:00
* Tue Jun 07 2016 Clement Oudot <clem.oudot@gmail.com> - 1.9.3-1
- Update to 1.9.3
2016-06-03 15:19:14 +02:00
* Sun May 01 2016 Clement Oudot <clem.oudot@gmail.com> - 1.9.2-1
- Update to 1.9.2
* Thu Mar 31 2016 Clement Oudot <clem.oudot@gmail.com> - 1.9.1-1
- Update to 1.9.1
2016-03-02 10:46:02 +01:00
* Wed Mar 02 2016 Clement Oudot <clem.oudot@gmail.com> - 1.9.0-1
2015-12-18 10:31:36 +01:00
- Update to 1.9.0
* Mon Sep 28 2015 Clement Oudot <clem.oudot@gmail.com> - 1.4.6-1
- Update to 1.4.6
* Mon May 11 2015 Clement Oudot <clem.oudot@gmail.com> - 1.4.5-1
- Update to 1.4.5
2015-04-15 16:18:38 +02:00
* Wed Apr 15 2015 Clement Oudot <clem.oudot@gmail.com> - 1.4.4-1
2015-03-11 10:05:04 +01:00
- Update to 1.4.4
2015-03-11 10:05:04 +01:00
* Thu Dec 18 2014 Clement Oudot <clem.oudot@gmail.com> - 1.4.3-1
- Update to 1.4.3
- Support for CentOS 7
2014-12-18 16:18:02 +01:00
* Fri Oct 31 2014 Clement Oudot <clem.oudot@gmail.com> - 1.4.2-1
- Update to 1.4.2
2014-12-18 16:18:02 +01:00
* Fri Jul 25 2014 Clement Oudot <clem.oudot@gmail.com> - 1.4.1-1
- Update to 1.4.1
2014-04-18 12:18:26 +02:00
* Fri Apr 18 2014 Clement Oudot <clem.oudot@gmail.com> - 1.4.0-1
- Update to 1.4.0
2014-04-18 12:18:26 +02:00
* Fri Mar 07 2014 Clement Oudot <clem.oudot@gmail.com> - 1.3.3-1
- Update to 1.3.3
2014-04-18 12:18:26 +02:00
* Thu Jan 23 2014 Clement Oudot <clem.oudot@gmail.com> - 1.3.2-1
- Update to 1.3.2
2014-04-18 12:18:26 +02:00
* Mon Nov 11 2013 Clement Oudot <clem.oudot@gmail.com> - 1.3.1-1
- Update to 1.3.1
2013-11-02 12:12:40 +01:00
* Sat Nov 2 2013 Clement Oudot <clem.oudot@gmail.com> - 1.3.0-1
- Update to 1.3.0
2013-11-02 12:12:40 +01:00
* Mon Aug 26 2013 Clement Oudot <clem.oudot@gmail.com> - 1.2.5-1
- Update to 1.2.5
2013-11-02 12:12:40 +01:00
* Tue Apr 23 2013 Clement Oudot <clem.oudot@gmail.com> - 1.2.4-1
- Update to 1.2.4
2013-11-02 12:12:40 +01:00
* Fri Feb 08 2013 Clement Oudot <clem.oudot@gmail.com> - 1.2.3-1
- Update to 1.2.3
2012-09-17 16:06:47 +02:00
* Mon Sep 17 2012 Clement Oudot <clem.oudot@gmail.com> - 1.2.2-1
- Update to 1.2.2
2016-02-09 16:35:57 +01:00
* Thu Jul 05 2012 Clement Oudot <clem.oudot@gmail.com> - 1.2.1-1
- Update to 1.2.1
2012-06-17 16:46:31 +02:00
* Sun Jun 17 2012 Clement Oudot <clem.oudot@gmail.com> - 1.2.0-1
2011-10-07 14:23:15 +02:00
- Update to 1.2.0
2011-10-07 14:23:15 +02:00
* Fri Oct 07 2011 Clement Oudot <clem.oudot@gmail.com> - 1.1.2-1
- Update to 1.1.2
2011-10-07 14:23:15 +02:00
* Fri Jul 29 2011 Clement Oudot <clem.oudot@gmail.com> - 1.1.1-1
- Update to 1.1.1
2011-07-07 18:21:30 +02:00
* Fri Jul 08 2011 Clement Oudot <clem.oudot@gmail.com> - 1.1.0-1
- Update to 1.1.0
2016-02-09 16:35:57 +01:00
* Thu Jun 30 2011 Clement Oudot <clem.oudot@gmail.com> - 1.0.6-1
2011-05-30 10:16:57 +02:00
- Update to 1.0.6
2011-04-15 16:44:09 +02:00
* Fri Apr 15 2011 Clement Oudot <clem.oudot@gmail.com> - 1.0.5-1
- Update to 1.0.5
2011-03-22 18:02:47 +01:00
* Tue Mar 22 2011 Clement Oudot <clem.oudot@gmail.com> - 1.0.4-1
- Update to 1.0.4
* Mon Mar 07 2011 Clement Oudot <clem.oudot@gmail.com> - 1.0.3-1
- Update to 1.0.3
* Mon Feb 28 2011 Clement Oudot <clem.oudot@gmail.com> - 1.0.2-1
- Update to 1.0.2
* Thu Dec 16 2010 Clement Oudot <clem.oudot@gmail.com> - 1.0.1-1
- Update to 1.0.1
2010-11-26 18:00:58 +01:00
* Fri Nov 26 2010 Clement Oudot <clem.oudot@gmail.com> - 1.0-1
- Update to 1.0
2010-11-26 18:00:58 +01:00
* Wed Jul 21 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.9.4.1-3
- Fix compatibility with perl-LDAP 0.40
- Add BR perl(Auth::CAS)
2010-11-26 18:00:58 +01:00
* Mon Jul 12 2010 Nicolas Chauvet <nchauvet@linagora.com> - 0.9.4.1-2
- Protect lemonldap directories against word readability
2010-11-26 18:00:58 +01:00
* Mon Oct 12 2009 Nicolas Chauvet <nchauvet@linagora.com> - 0.9.4.1-1
- Update to 0.9.4.1
2010-11-26 18:00:58 +01:00
* Thu Sep 24 2009 Nicolas Chauvet <nchauvet@linagora.com> - 0.9.4-2
- Add Missing BuildRequires
- Remove filter for dependencies available in EPEL.
- use %%defattr to define ownership.
* Mon Jul 6 2009 Clement Oudot <coudot@linagora.com> - 0.9.4-1
2009-06-03 15:30:02 +02:00
- Upgrade to release 0.9.4
- Remove cronjob patch (included in 0.9.4)
- Split scriplets into subpackages
- Use conditions to build for other RPM distributions like OpenSuSE (thanks to clauded1)
* Mon Jan 12 2009 Clement Oudot <coudot@linagora.com> - 0.9.3.2-2
- Include cronjob patch
- Delete unwanted files (perllocal.pod, .packlist)
- Follow rpmfusion guidelines
2016-02-09 16:35:57 +01:00
* Fri Jan 9 2009 Clement Oudot <coudot@linagora.com> - 0.9.3.2-1
2009-01-05 18:13:16 +01:00
- Updated to release 0.9.3.2.
- Use internal version number for perl modules (compatibility with RPMforge packages)
2009-01-05 18:13:16 +01:00
- Merge with existing .spec file from RPMforge.
- Use the same directories as the Debian package.
- Create a symlink in Apache confguration.
2016-12-19 21:47:44 +01:00
- Create specific portal/manager/handler/conf packages independent from CPAN packages
2009-01-05 18:13:16 +01:00
* Thu Nov 20 2008 Jean-Christophe Toussaint <jean-christophe.toussaint@ac-nancy-metz.fr> - 0.9.2-1DSI
- Updated to release 0.9.2.
- Using official tar.gz from forge.
* Tue Oct 7 2008 David Hannequin <david.hannequin@linagora.com>
2009-01-05 18:13:16 +01:00
- New spec file
2009-01-05 18:13:16 +01:00
* Sun Mar 02 2008 Dag Wieers <dag@wieers.com> - 0.85-1
- Updated to release 0.85.
2009-01-05 18:13:16 +01:00
* Tue Nov 13 2007 Dag Wieers <dag@wieers.com> - 0.84-1
- Updated to release 0.84.
2009-01-05 18:13:16 +01:00
* Wed May 02 2007 Dries Verachtert <dries@ulyssis.org> - 0.81-1
- Updated to release 0.81.
2009-01-05 18:13:16 +01:00
* Sun Apr 29 2007 Dries Verachtert <dries@ulyssis.org> - 0.75-1
- Initial package.