Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2003 16:31:27 -0700 (PDT)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 32823 for review
Message-ID:  <200306082331.h58NVRM3010402@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=32823

Change 32823 by des@des.at.des.thinksec.com on 2003/06/08 16:30:40

	Update the distribution script to use configure and GNU make.

Affected files ...

.. //depot/projects/openpam/dist.sh#7 edit

Differences ...

==== //depot/projects/openpam/dist.sh#7 (text+ko) ====

@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $P4: //depot/projects/openpam/dist.sh#6 $
+# $P4: //depot/projects/openpam/dist.sh#7 $
 #
 
 set -e
@@ -9,18 +9,23 @@
 distname="openpam-${release}"
 tarball="${distname}.tar.gz"
 
-make cleandir
-make cleandir
-make depend && make
+gmake clean || true
+gmake distclean || true
+./autogen.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 0644 "${file}" "${distname}/${file}" || exit 1
+    install -c -m "${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
 tar zcf "${tarball}" "${distname}"
 rm -rf "${distname}"
-make cleandir
-make cleandir
+gmake clean || true
+gmake distclean || true
 
 echo
 md5 "${tarball}"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306082331.h58NVRM3010402>