J'ai demandé une question similaire pour Linux RPM (Adding License Agreement in RPM package). Maintenant, j'ai la même requête pour le paquet Solaris. Je n'ai pas pu trouver de lien/détails utiles si c'est possible. Mais j'ai trouvé un paquet qui fait exactement la même chose mais comment il a été implémenté, ce n'est pas mentionné.Ajout d'un contrat de licence utilisateur dans le package Solaris
$pkgadd -d . SUNWsamfsr SUNWsamfsu
Processing package instance from
Sun SAM and Sun SAM-QFS software Solaris 10 (root)(i386) 4.6.5,REV=5.10.2007.03.12
Sun SAMFS - Storage & Archiving Management File System
Copyright (c) 2007 Sun Microsystems, Inc.
All Rights Reserved.
-----------------------------------------------------
In order to install SUNWsamfsr, you must accept the terms of
the Sun License Agreement.
Enter "y" if you do, "n" if you don't, or "v" to view agreement. y
-The administrator commands will be executable by root only (group bin).
If this is the desired value, enter "y". If you want to change
the specified value enter "c". y
...
...
Des idées pour implémenter une telle chose pour le paquet Solaris?
liens Usefule: http://www.linuxjournal.com/content/add-binary-payload-your-shell-scripts http://www.linuxjournal.com/node/ 1005818 – Adil