Project

General

Profile

Tâche #33000

Recompiler libpam-cas-eole

Added by Emmanuel GARETTE about 2 months ago. Updated 26 days ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
08/19/2021
Due date:
% Done:

100%

Remaining (hours):
0.0

Related issues

Related to Distribution EOLE - Tâche #33001: Mettre à jour pam cas Fermé 07/13/2021
Blocks Distribution EOLE - Scénario #32872: Amonecole 2.81 & LEMONLDAP : les services web doivent être fonctionnels avec ce SSO Nouveau 07/13/2021 08/27/2021

History

#1 Updated by Emmanuel GARETTE about 2 months ago

  • Subject changed from a to Recompiler libpam-cas-eole

Il faut une version plus récente pour libpam-cas.

J'ai procédé de la façon suivante pour recompiler le paquet :

apt source libpam-cas-eole
git clone https://github.com/EsupPortail/esup-pam-cas.git 
rm -rf libpam-cas-eole-2.0.5/sources
cp -a esup-pam-cas/sources libpam-cas-eole-2.0.5
cd libpam-cas-eole-2.0.5
cp sources/Makefile.redhat sources/Makefile
mkdir -p debian/source/
echo "3.0 (native)" > debian/source/format

J'ai modifier le fichier debian/rules :

#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#export DH_OPTIONS=-v

override_dh_auto_clean:
    dh_testdir
    dh_testroot
    rm -f build-stamp configure-stamp

    # Add here commands to clean up after the build process.
    -$(MAKE) clean -C sources

override_dh_auto_configure:
    dh_testdir
    touch configure-stamp

override_dh_auto_build:
    dh_testdir
    $(MAKE) -C sources
    $(MAKE) -C sources test
    $(MAKE) -C sources castest
    touch build-stamp

override_dh_install:
    install -s -o0 -g0 -m644 sources/pam_cas.so $(CURDIR)/debian/libpam-cas-eole/lib/security
    install -m640 pam_cas.conf $(CURDIR)/debian/libpam-cas-eole/etc/security
    install -s -o0 -g0 -m644 sources/castest $(CURDIR)/debian/libpam-cas-eole/usr/bin

%:
    dh $@

Puis j'ai construit le paquet.

#2 Updated by Emmanuel GARETTE about 2 months ago

#3 Updated by Daniel Dehennin about 1 month ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Daniel Dehennin
  • Start date set to 08/19/2021

#4 Updated by Daniel Dehennin about 1 month ago

  • % Done changed from 0 to 90

J’ai fait un paquet pour eole-2.8-unstable, faut-il le mettre en eole-2.8.0-proposed-updates ?

#5 Updated by Joël Cuissinat 27 days ago

  • Status changed from En cours to Résolu
  • % Done changed from 90 to 100
Réception de :1 http://test-eole.ac-dijon.fr/eole eole-2.8.1-proposed-updates/main amd64 libpam-cas-eole amd64 2.0.7-1 [17,3 kB]

#6 Updated by Emmanuel GARETTE 26 days ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

OK pour moi.

Also available in: Atom PDF