Changeset 832 in openpam


Ignore:
Timestamp:
Oct 24, 2014, 11:14:51 AM (7 years ago)
Author:
Dag-Erling Smørgrav
Message:

Change manifest syntax from YAML to UCL to match recent versions of pkg.
Also, move the description out of the script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mkpkgng.in

    r787 r832  
    8484        svnversion=$(expr "$svnversion" : '\([0-9][0-9]*\)[A-Z]\{0,1\}$')
    8585        if [ -n "$svnversion" ] ; then
    86                 version="$version-r${svnversion}"
     86                package="$package-$version"
     87                version="r$svnversion"
    8788        fi
    8889fi
     
    140141maintainer: @PACKAGE_BUGREPORT@
    141142prefix: @prefix@
    142 desc:
    143   OpenPAM is an open source PAM library that focuses on simplicity,
    144   correctness, and cleanliness.
    145  
    146   OpenPAM aims to gather the best features of Solaris PAM, XSSO and
    147   Linux-PAM, plus some innovations of its own.  In areas where these
    148   implementations disagree, OpenPAM tries to remain compatible with
    149   Solaris, at the expense of XSSO conformance and Linux-PAM
    150   compatibility.
    151 categories: local, security
     143categories: [ local, security ]
    152144EOF
     145cp "$srcdir/README" "$tmproot/+DESC"
    153146
    154147#
     
    157150info "Generating the file list."
    158151(
    159         echo "files:"
    160         find -s "$tmproot" -type f | while read file ; do
     152        echo "files: {"
     153        find -s "$tmproot@prefix@" -type f | while read file ; do
    161154                [ "$file" = "$manifest" ] && continue
    162155                mode=$(stat -f%p "$file" | cut -c 3-)
     
    164157                echo "  $file: { uname: root, gname: wheel, perm: $mode }"
    165158        done
     159        echo "}"
    166160)>>"$manifest"
    167161
Note: See TracChangeset for help on using the changeset viewer.