• package: tis-ldapadminlaz
  • name: LDAPAdmin
  • version: 0.0.111-35
  • categories: Utilities,Security,System and network
  • maintainer: WAPT Team,Tranquil IT,Simon Fonteneau,Gaëtan SEGAT
  • licence: GNU General Public License
  • locale: all
  • target_os: linux
  • impacted_process: ldapadmin
  • architecture: x64
  • signature_date:
  • size: 3.83 Mo
  • installed_size: 4.19 Mo
  • homepage : http://www.ldapadmin.org/

package           : tis-ldapadminlaz
version           : 0.0.111-35
architecture      : x64
section           : base
priority          : optional
name              : LDAPAdmin
categories        : Utilities,Security,System and network
maintainer        : WAPT Team,Tranquil IT,Simon Fonteneau,Gaëtan SEGAT
description       : Ldap Admin is a free Windows LDAP client and administration tool for LDAP directory management.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : linux
min_wapt_version  : 2.0
sources           : https://github.com/ibv/LDAP-Admin
installed_size    : 4194304
impacted_process  : ldapadmin
description_fr    : Ldap Admin est un client LDAP Windows opensource et un outil d’administration pour la gestion des annuaires LDAP.
description_pl    : Ldap Admin to darmowe narzędzie klienckie i administracyjne LDAP dla systemu Windows do zarządzania katalogami LDAP
description_de    : Ldap Admin ist ein kostenloser Windows LDAP Client und Administrationswerkzeug für LDAP Verzeichnisverwaltung
description_es    : Ldap Admin es una herramienta de administración y cliente LDAP de Windows gratuita para la administración de directorios LDAP
description_pt    : Ldap Admin é um cliente Windows LDAP gratuito e uma ferramenta de administração para a gestão de directórios LDAP
description_it    : Ldap Admin è un client LDAP gratuito per Windows e uno strumento di amministrazione per la gestione delle directory LDAP
description_nl    : Ldap Admin is een gratis Windows LDAP-client en beheertool voor het beheer van LDAP-directory’s
description_ru    : Ldap Admin - это бесплатный клиент LDAP для Windows и инструмент администрирования для управления каталогами LDAP
audit_schedule    : 
editor            : 
keywords          : ldap
licence           : GNU General Public License
homepage          : http://www.ldapadmin.org/
package_uuid      : 88e7d637-695f-4adb-8d5b-27e542a47e5d
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 9e93ffd5187567f8204b5d50043295dd7842fffd1be163f047042c157762fcc4
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-02-10T13:00:12.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : dCIxpheGIvbTWI7q8oBpKFqh40GGoxvL4rE9eJmrp4kyP3djfZSKPu/IxaTNcYFtu/DPnAt5Dr+ia4PrAZIYyswWHTNXQdchg/kVSMxCA5NWA/wI3aa264UeDSre4/VQaei+3+yqS0Ed4bDegjyUmtBEVhk3Ny81ckVaWmPSI/tX2UzvjBkCei7g/BODdSFp5U2r6UKVS+/uGfclKnGiAaoYy2hpg1h0ZVbj3g58O5LIllbLm5T+7Krj5/UPn3UC4s0lkSZ/O56DvsLN2yz5sg1aZsk0lIp8EHeMGcxHcNm9BKkcIQaSJ8oZM08ye2ShVOuEc4ciKjoTT6a3FYYrHw==

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    mkdirs("/opt/ldapadmin")
    filecopyto("LdapAdmin", "/opt/ldapadmin/LdapAdmin")
    run("chmod 755 /opt/ldapadmin/LdapAdmin")
    filecopyto('WAPT/icon.png','/opt/ldapadmin/ldapadmin.png')
    filecopyto('ldapadmin.desktop',"/opt/ldapadmin/ldapadmin.desktop")
    run('ln -sf "/opt/ldapadmin/ldapadmin.desktop" "/usr/share/applications/ldapadmin.desktop"')

def uninstall():
    remove_file("/usr/share/applications/ldapadmin.desktop")
    remove_tree("/opt/ldapadmin")


def audit():
    if not isfile("/opt/ldapadmin/LdapAdmin"):
        print("erreur file not found")
        return "ERROR"
    else:
        return "OK"

# -*- coding: utf-8 -*-
from setuphelpers import *
import json

def update_package():
    # Compile
    mkdirs("/var/build")
    run("git clone https://github.com/sfonteneau/LDAP-Admin.git /var/build")
    run(r'git -C /var/build submodule update --progress --init -- "submodules/mORMot2"')
    update_apt()
    install_apt("mingw-w64")
    install_apt("binutils-mingw-w64")
    wget('https://synopse.info/files/mormot2static.7z','mormot2static.7z')
    run('7zz x -y mormot2static.7z -ostatic')
    remove_tree(r'/var/build/submodules/mORMot2/static')
    os.rename('static',r'/var/build/submodules/mORMot2/static') 
    remove_file('mormot2static.7z')
    run('lazbuild --add-package-link /var/build/submodules/mORMot2/packages/lazarus/mormot2.lpk ')
    
    run("ln -s /usr/bin/x86_64-w64-mingw32-windres /usr/bin/windres")
    version = "0.0.%s" % run(r"git -C /var/build rev-list --count master").strip()
    control.version = "%s-%s" % (version, control.version.split("-", 1)[-1])
    control.save_control_to_wapt()
    run("lazbuild /var/build/Source/LdapAdmin.lpi ")
    # WAPT PAckage prepare
    filecopyto("/var/build/Source/LdapAdmin", "LdapAdmin")

4b6df1e4054cf7dac969f9690dfae2f1f277d379c76374f1b00f3f55ba52d0e4 : LdapAdmin
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
2bced8dc141272aa6f06f4b18f964a78d95e9cb1392ff17b342acf6fd3c33497 : WAPT/changelog.txt
67145ad693e7757f6ab57a86aac887a56daedcb102ddb2c77d77d0a13cebae2a : WAPT/control
9e93ffd5187567f8204b5d50043295dd7842fffd1be163f047042c157762fcc4 : WAPT/icon.png
8d651ef3dc89d4b0e1b37598808745e62b1e99bc32a0771c2e04de5cbde3fad9 : ldapadmin.desktop
8940a6f8ea2ab027ece74a51e88c549509ec62ecd23c2db90bc2a698a67134b3 : luti.json
a2ad725630b15d50f2745da3190331b136e4da8e01ab23740b3d286216dd596e : setup.py
f76135199863144b2e258f2e8cf5d64161c8f22c503ab55327b8a82b5b05e2ef : update_package.py

1.8.3
===
slipt update package