Change manifest syntax from YAML to UCL to match recent versions of pkg.
Also, move the description out of the script. git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@832 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
parent
7ce556ed8d
commit
37baf24e77
20
mkpkgng.in
20
mkpkgng.in
|
@ -83,7 +83,8 @@ if ! expr "$version" : "[0-9]{1,}$" >/dev/null ; then
|
||||||
svnversion="$(svnversion 2>&1)"
|
svnversion="$(svnversion 2>&1)"
|
||||||
svnversion=$(expr "$svnversion" : '\([0-9][0-9]*\)[A-Z]\{0,1\}$')
|
svnversion=$(expr "$svnversion" : '\([0-9][0-9]*\)[A-Z]\{0,1\}$')
|
||||||
if [ -n "$svnversion" ] ; then
|
if [ -n "$svnversion" ] ; then
|
||||||
version="$version-r${svnversion}"
|
package="$package-$version"
|
||||||
|
version="r$svnversion"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -139,30 +140,23 @@ arch: $pkgabi
|
||||||
www: @PACKAGE_URL@
|
www: @PACKAGE_URL@
|
||||||
maintainer: @PACKAGE_BUGREPORT@
|
maintainer: @PACKAGE_BUGREPORT@
|
||||||
prefix: @prefix@
|
prefix: @prefix@
|
||||||
desc:
|
categories: [ local, security ]
|
||||||
OpenPAM is an open source PAM library that focuses on simplicity,
|
|
||||||
correctness, and cleanliness.
|
|
||||||
|
|
||||||
OpenPAM aims to gather the best features of Solaris PAM, XSSO and
|
|
||||||
Linux-PAM, plus some innovations of its own. In areas where these
|
|
||||||
implementations disagree, OpenPAM tries to remain compatible with
|
|
||||||
Solaris, at the expense of XSSO conformance and Linux-PAM
|
|
||||||
compatibility.
|
|
||||||
categories: local, security
|
|
||||||
EOF
|
EOF
|
||||||
|
cp "$srcdir/README" "$tmproot/+DESC"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Generate file list
|
# Generate file list
|
||||||
#
|
#
|
||||||
info "Generating the file list."
|
info "Generating the file list."
|
||||||
(
|
(
|
||||||
echo "files:"
|
echo "files: {"
|
||||||
find -s "$tmproot" -type f | while read file ; do
|
find -s "$tmproot@prefix@" -type f | while read file ; do
|
||||||
[ "$file" = "$manifest" ] && continue
|
[ "$file" = "$manifest" ] && continue
|
||||||
mode=$(stat -f%p "$file" | cut -c 3-)
|
mode=$(stat -f%p "$file" | cut -c 3-)
|
||||||
file="${file#$tmproot}"
|
file="${file#$tmproot}"
|
||||||
echo " $file: { uname: root, gname: wheel, perm: $mode }"
|
echo " $file: { uname: root, gname: wheel, perm: $mode }"
|
||||||
done
|
done
|
||||||
|
echo "}"
|
||||||
)>>"$manifest"
|
)>>"$manifest"
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue