apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <pgollu...@p6m7g8.com>
Subject [patch]: ./buildconf as not root
Date Mon, 24 May 2010 20:41:40 GMT
You get prompted in fbsd to overide -r--r--r perms for the rm without 
this.  We do this in the devel/apr* ports so it breaks automatic builds.

I'd like to propose this for branches/1.4.x as well.

This has been sitting in the port for like 6 months now.

svn diff buildconf
Index: buildconf
--- buildconf   (revision 947518)
+++ buildconf   (working copy)
@@ -69,6 +69,7 @@
    # Do we need this anymore?
    echo "buildconf: Using libtool.m4 at ${ltfile}."
+  chmod 644 build/libtool.m4
    cat $ltfile | sed -e 
's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4
  if test "$1" = "2"; then
@@ -76,6 +77,7 @@
    # Wouldn't it just be better to define top_builddir??
    mv build/libtool.m4 build/libtool.m4.$$
    cat build/libtool.m4.$$ | sed -e 
's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4
+  chmod 644 build/libtool.m4.$$
    rm build/libtool.m4.$$
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Sr. System Admin,                 Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

View raw message