Bug 240669

Summary: New port: security/pam_script Allows to hook user space scripts on PAM events
Product: Ports & Packages Reporter: Natalino Picone <natalino.picone>
Component: Individual Port(s)Assignee: Rodrigo Osorio <rodrigo>
Status: Closed FIXED    
Severity: Affects Only Me CC: rodrigo
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
pam_script port
none
pam_script port fixed
none
Fixed port none

Description Natalino Picone 2019-09-18 15:52:54 UTC
Created attachment 207606 [details]
pam_script port

PAM-script allows you to execute scripts during authorization, passwd changes, or session opening or closing.

So if you need extra work done after login you can use this pam module to execute a session script.
Comment 1 Natalino Picone 2019-09-19 07:17:57 UTC
Created attachment 207613 [details]
pam_script port fixed
Comment 2 Rodrigo Osorio freebsd_committer freebsd_triage 2019-09-27 12:27:40 UTC
Created attachment 207885 [details]
Fixed port

The port has some errors, I fix them and now
the it pass the poudrier / portlint checks.

Please review my changes and let me know if it's ok for you

Usually for ports PR when peoples provide a patch or a shar
a poudriere status/log is required to ensure they match the
expected quality.
Comment 3 Natalino Picone 2019-09-27 14:55:06 UTC
(In reply to Rodrigo Osorio from comment #2)
Thanks for the review ... your changes lgtm ..
Comment 4 commit-hook freebsd_committer freebsd_triage 2019-09-30 20:39:13 UTC
A commit references this bug:

Author: rodrigo
Date: Mon Sep 30 20:38:31 UTC 2019
New revision: 513412
URL: https://svnweb.freebsd.org/changeset/ports/513412

Log:
  New port security/pam_script

  PAM script module allows to hook user space scripts on PAM events

  PR:		240669
  Submitted by:	Natalino Picone <natalino.picone@nozominetworks.com>

Changes:
  head/security/Makefile
  head/security/pam_script/
  head/security/pam_script/Makefile
  head/security/pam_script/distinfo
  head/security/pam_script/files/
  head/security/pam_script/files/patch-etc_pam__script
  head/security/pam_script/pkg-descr
  head/security/pam_script/pkg-plist
Comment 5 Rodrigo Osorio freebsd_committer freebsd_triage 2019-09-30 20:40:02 UTC
Committed with changes, thanks.