Changeset 256 in openpam


Ignore:
Timestamp:
Jun 13, 2003, 10:22:25 AM (15 years ago)
Author:
Dag-Erling Smørgrav
Message:

Streamline the distribution process.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MANIFEST

    r251 r256  
    11#
    2 # $P4: //depot/projects/openpam/MANIFEST#17 $
     2# $P4: //depot/projects/openpam/MANIFEST#18 $
    33#
    44CREDITS
     
    1313aclocal.m4
    1414autogen.sh
    15 bin/Makefile.am
    16 bin/Makefile.in
    17 bin/su/Makefile.am
    18 bin/su/Makefile.in
    19 bin/su/su.c
    2015config.guess
    2116config.h.in
     
    2419configure.in
    2520depcomp
     21install-sh
     22ltconfig
     23ltmain.sh
     24missing
     25mkinstalldirs
     26stamp-h.in
     27bin/
     28bin/Makefile.am
     29bin/Makefile.in
     30bin/su/
     31bin/su/Makefile.am
     32bin/su/Makefile.in
     33bin/su/su.c
     34doc/
    2635doc/Makefile.am
    2736doc/Makefile.in
     37doc/man/
    2838doc/man/Makefile.am
    2939doc/man/Makefile.in
     
    7383doc/man/pam_vinfo.3
    7484doc/man/pam_vprompt.3
     85include/
    7586include/Makefile.am
    7687include/Makefile.in
     88include/security/
    7789include/security/Makefile.am
    7890include/security/Makefile.in
     
    8395include/security/pam_modules.h
    8496include/security/pam_types.h
    85 install-sh
     97lib/
    8698lib/Makefile.am
    8799lib/Makefile.in
     
    143155lib/pam_vinfo.c
    144156lib/pam_vprompt.c
    145 ltconfig
    146 ltmain.sh
     157misc/
    147158misc/gendoc.pl
    148 missing
    149 mkinstalldirs
     159modules/
    150160modules/Makefile.am
    151161modules/Makefile.in
     162modules/pam_deny/
    152163modules/pam_deny/Makefile.am
    153164modules/pam_deny/Makefile.in
    154165modules/pam_deny/pam_deny.c
     166modules/pam_permit/
    155167modules/pam_permit/Makefile.am
    156168modules/pam_permit/Makefile.in
    157169modules/pam_permit/pam_permit.c
     170modules/pam_unix/
    158171modules/pam_unix/Makefile.am
    159172modules/pam_unix/Makefile.in
    160173modules/pam_unix/pam_unix.c
    161 stamp-h.in
  • trunk/dist.sh

    r255 r256  
    11#!/bin/sh
    22#
    3 # $P4: //depot/projects/openpam/dist.sh#8 $
     3# $P4: //depot/projects/openpam/dist.sh#9 $
    44#
    55
     
    1010tarball="${distname}.tar.gz"
    1111
    12 gmake clean || true
    13 gmake distclean || true
    14 sh -e autogen.sh
    15 sh configure --with-pam-su --with-pam-unix
    16 gmake
    1712install -d -m 0755 "${distname}"
    18 grep -v '^#' MANIFEST | while read file; do
    19     install -d -m 0755 "${distname}/$(dirname ${file})" || exit 1
     13grep '^[a-z].*/$' MANIFEST | while read dir; do
     14    echo "Creating ${dir}"
     15    install -d -m 0755 "${distname}/${dir}" || exit 1
     16done
     17grep '^[a-z].*[^/]$' MANIFEST | while read file; do
     18    echo "Adding ${file}"
    2019    install -c -m 0644 "${file}" "${distname}/${file}" || exit 1
    2120done
    22 for f in autogen.sh configure depcomp install-sh ltconfig ltmain.sh ; do
    23     chmod a+x "${distname}/${f}"
     21for file in autogen.sh configure depcomp install-sh ltconfig ltmain.sh ; do
     22    echo "Adjusting permissions for ${file}"
     23    chmod a+x "${distname}/${file}"
    2424done
    25 for f in configure configure.in include/security/openpam_version.h ; do
    26     perl -p -i -e "s/YYYYMMDD/${release}/g" "${distname}/${f}"
     25(cd "${distname}" && grep -rl YYYYMMDD *) | while read file ; do
     26    echo "Datestamping ${file}"
     27    perl -p -i -e "s/YYYYMMDD/${release}/g" "${distname}/${file}"
    2728done
    28 find "${distname}" | xargs touch -t "${release}0000"
     29find "${distname}" | sort -r | xargs touch -t "${release}0000"
    2930tar zcf "${tarball}" "${distname}"
     31dd if=/dev/zero of="${tarball}" conv=notrunc bs=4 oseek=1 count=1
    3032rm -rf "${distname}"
    31 gmake clean || true
    32 gmake distclean || true
    3333
    3434echo
Note: See TracChangeset for help on using the changeset viewer.