Changeset 255 in openpam for trunk


Ignore:
Timestamp:
Jun 9, 2003, 1:52:07 AM (16 years ago)
Author:
Dag-Erling Smørgrav
Message:

Have dist.sh automatically set the release date.
Touch all files in the distribution directory before rolling the
release to avoid false negative dependency checks later.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dist.sh

    r253 r255  
    11#!/bin/sh
    22#
    3 # $P4: //depot/projects/openpam/dist.sh#7 $
     3# $P4: //depot/projects/openpam/dist.sh#8 $
    44#
    55
     
    1212gmake clean || true
    1313gmake distclean || true
    14 ./autogen.sh
    15 ./configure --with-pam-su --with-pam-unix
     14sh -e autogen.sh
     15sh configure --with-pam-su --with-pam-unix
    1616gmake
    1717install -d -m 0755 "${distname}"
    1818grep -v '^#' MANIFEST | while read file; do
    1919    install -d -m 0755 "${distname}/$(dirname ${file})" || exit 1
    20     install -c -m "${file}" "${distname}/${file}" || exit 1
     20    install -c -m 0644 "${file}" "${distname}/${file}" || exit 1
    2121done
    2222for f in autogen.sh configure depcomp install-sh ltconfig ltmain.sh ; do
    2323    chmod a+x "${distname}/${f}"
    2424done
     25for f in configure configure.in include/security/openpam_version.h ; do
     26    perl -p -i -e "s/YYYYMMDD/${release}/g" "${distname}/${f}"
     27done
     28find "${distname}" | xargs touch -t "${release}0000"
    2529tar zcf "${tarball}" "${distname}"
    2630rm -rf "${distname}"
  • trunk/include/security/openpam_version.h

    r244 r255  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/include/security/openpam_version.h#9 $
     34 * $P4: //depot/projects/openpam/include/security/openpam_version.h#10 $
    3535 */
    3636
     
    3939
    4040#define _OPENPAM
    41 #define _OPENPAM_VERSION        20030601
     41#define _OPENPAM_VERSION        YYYYMMDD
    4242#define _OPENPAM_RELEASE        "Digitalis"
    4343
Note: See TracChangeset for help on using the changeset viewer.