Date: Sun, 8 Jun 2003 16:52:54 -0700 (PDT) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 32825 for review Message-ID: <200306082352.h58Nqs9w016523@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=32825 Change 32825 by des@des.at.des.thinksec.com on 2003/06/08 16:52:07 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. Affected files ... .. //depot/projects/openpam/dist.sh#8 edit .. //depot/projects/openpam/include/security/openpam_version.h#10 edit Differences ... ==== //depot/projects/openpam/dist.sh#8 (text+ko) ==== @@ -1,6 +1,6 @@ #!/bin/sh # -# $P4: //depot/projects/openpam/dist.sh#7 $ +# $P4: //depot/projects/openpam/dist.sh#8 $ # set -e @@ -11,17 +11,21 @@ gmake clean || true gmake distclean || true -./autogen.sh -./configure --with-pam-su --with-pam-unix +sh -e autogen.sh +sh configure --with-pam-su --with-pam-unix gmake install -d -m 0755 "${distname}" grep -v '^#' MANIFEST | while read file; do install -d -m 0755 "${distname}/$(dirname ${file})" || exit 1 - install -c -m "${file}" "${distname}/${file}" || exit 1 + install -c -m 0644 "${file}" "${distname}/${file}" || exit 1 done for f in autogen.sh configure depcomp install-sh ltconfig ltmain.sh ; do chmod a+x "${distname}/${f}" done +for f in configure configure.in include/security/openpam_version.h ; do + perl -p -i -e "s/YYYYMMDD/${release}/g" "${distname}/${f}" +done +find "${distname}" | xargs touch -t "${release}0000" tar zcf "${tarball}" "${distname}" rm -rf "${distname}" gmake clean || true ==== //depot/projects/openpam/include/security/openpam_version.h#10 (text+ko) ==== @@ -31,14 +31,14 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/include/security/openpam_version.h#9 $ + * $P4: //depot/projects/openpam/include/security/openpam_version.h#10 $ */ #ifndef _OPENPAM_VERSION_H_INCLUDED #define _OPENPAM_VERSION_H_INCLUDED #define _OPENPAM -#define _OPENPAM_VERSION 20030601 +#define _OPENPAM_VERSION YYYYMMDD #define _OPENPAM_RELEASE "Digitalis" #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306082352.h58Nqs9w016523>