Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions packaging/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
lsc-executable-plugin (1.4-1) unstable; urgency=low

* Upgrade to 1.4
* Clean deb/rpm recipe
* Properly handle Base64-encoded attributes
* Compatibility with LSC 2.3

-- David Coutadeur (LSC-project) <david.coutadeur@gmail.com> Mon, 27 Jul 2026 12:00:00 +0100

lsc-executable-plugin (1.3-1) unstable; urgency=low

* Upgrade to 1.3
Expand Down
4 changes: 2 additions & 2 deletions packaging/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Vcs-Browser: https://github.com/lsc-project/lsc-executable-plugin

Package: lsc-executable-plugin
Architecture: all
Depends: ${misc:Depends}, lsc (>= 2.2)
Description: This is an Executable plugin for LSC
Depends: ${misc:Depends}, lsc (>= 2.3)
Description: This is an Executable plugin for LSC.
1 change: 1 addition & 0 deletions packaging/debian/lsc-executable-plugin.docs
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
../LICENSE.txt
reports/apidocs
../doc
../scripts
1 change: 0 additions & 1 deletion packaging/debian/lsc-executable-plugin.install
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
lsc-executable-plugin*.jar usr/lib/lsc
../scripts/* var/lib/lsc
5 changes: 0 additions & 5 deletions packaging/debian/lsc-executable-plugin.postinst
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#!/bin/bash

lsc_user=lsc
lsc_group=lsc

chown ${lsc_user}:${lsc_group} /usr/lib/lsc/lsc-executable-plugin*
chown ${lsc_user}:${lsc_group} /var/lib/lsc/*

#DEBHELPER#

Expand Down
78 changes: 29 additions & 49 deletions packaging/rpm/lsc-executable-plugin.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,85 +7,65 @@
#
# Copyright (c) 2009 - 2021 LSC Project
#=================================================
%global lsc_min_version 2.3

#=================================================
# Variables
#=================================================
%define lsc_executable_name lsc-executable-plugin
%define lsc_executable_version 1.3
%define lsc_min_version 2.2
%define lsc_user lsc
%define lsc_group lsc

#=================================================
# Header
#=================================================
Summary: LSC Executable plugin
Name: %{lsc_executable_name}
Version: %{lsc_executable_version}
Name: lsc-executable-plugin
Version: 1.4
Release: 1%{?dist}
License: BSD
BuildArch: noarch

Group: Applications/System
Summary: LSC Executable plugin
License: BSD-3-Clause
URL: https://lsc-project.org

Source: %{lsc_executable_name}-%{lsc_executable_version}.jar
Source0: lsc-executable-plugin-1.4.jar
Source1: lsc-executable-add-modify-delete-modrdn.pl
Source2: lsc-executable-csv2ldif-get.pl
Source3: lsc-executable-csv2ldif-list.pl
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires(pre): coreutils
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: perl-generators
Requires: lsc >= %{lsc_min_version}


%description
This is an Executable plugin for LSC
This is an Executable plugin for LSC.


%prep

%build

%install

rm -rf %{buildroot}

# Create directories
mkdir -p %{buildroot}/usr/%{_lib}/lsc
mkdir -p %{buildroot}/var/lib/lsc
mkdir -p %{buildroot}%{_docdir}/%{name}/scripts

# Copy files
cp -a %{SOURCE0} %{buildroot}/usr/%{_lib}/lsc
cp -a %{SOURCE1} %{buildroot}/var/lib/lsc
cp -a %{SOURCE2} %{buildroot}/var/lib/lsc
cp -a %{SOURCE3} %{buildroot}/var/lib/lsc

%post

/bin/chown -R %{lsc_user}:%{lsc_group} /usr/%{_lib}/lsc
/bin/chown -R %{lsc_user}:%{lsc_group} /var/lib/lsc
cp -a %{SOURCE0} %{buildroot}%{_libdir}/lsc
cp -a %{SOURCE1} %{buildroot}%{_docdir}/%{name}/scripts/
cp -a %{SOURCE2} %{buildroot}%{_docdir}/%{name}/scripts/
cp -a %{SOURCE3} %{buildroot}%{_docdir}/%{name}/scripts/


%postun

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
/usr/%{_lib}/lsc/lsc-executable-plugin*
/var/lib/lsc/lsc-executable*
%{_libdir}/lsc/lsc-executable-plugin*
%doc %{_docdir}/%{name}/scripts


#=================================================
# Changelog
#=================================================
%changelog
* Mon Jul 27 2026 David Coutadeur <david.coutadeur@gmail.com> - 1.4-1
- Upgrade to 1.4
- Clean rpm specfile
- Properly handle Base64-encoded attributes
- Compatibility with LSC 2.3

* Mon Jul 21 2025 - Clement Oudot <clem@lsc-project.org> - 1.3-1
- Upgrade to 1.3
- fix value comparison + add unit test for executableLdifDestinationService task

* Mon Apr 14 2025 - Clement Oudot <clem@lsc-project.org> - 1.2-1
- Upgrade to 1.2

* Thu Jan 07 2021 - Clement Oudot <clem@lsc-project.org> - 1.1-0
- Upgrade to 1.1

* Tue Mar 04 2014 - Clement Oudot <clem@lsc-project.org> - 1.0-0
- First package for LSC Executable plugin
Loading