Changeset 2999


Ignore:
Timestamp:
Jul 2, 2003, 9:44:05 AM (17 years ago)
Author:
ssen
Message:

When using install -d, pass in the mode -m 775 to simulate the
perms that mtree would have put. It's kind of dumb to duplicate
this, but mtree will hopefully die at some point, at which point
we'll need something like this.

Location:
trunk/base
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/Mk/dports.tea.mk

    r2941 r2999  
    1414
    1515install:: all
    16         mkdir -p ${INSTALLDIR}
    17         install -c -o ${DSTUSR} -g ${DSTGRP} -m 444 ${SHLIB_NAME} ${INSTALLDIR}
     16        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${INSTALLDIR}
     17        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 ${SHLIB_NAME} ${INSTALLDIR}
    1818        $(SILENT)../pkg_mkindex.tcl ${INSTALLDIR}
  • trunk/base/doc/Makefile

    r2941 r2999  
    1313
    1414install:
    15         $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}
    16         $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${DESTDIR}${portconfigdir}
     15        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${INSTALLDIR}
     16        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${DESTDIR}${portconfigdir}
    1717
    1818        cat prefix.mtree | $(MTREE) -U -d -e -p ${INSTALLDIR} > /dev/null
     
    2727        fi
    2828        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 prefix.mtree ${DESTDIR}${portconfigdir}
    29         $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}/share/darwinports/resources/port1.0/install
     29        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${INSTALLDIR}/share/darwinports/resources/port1.0/install
    3030        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 prefix.mtree ${INSTALLDIR}/share/darwinports/resources/port1.0/install/
    3131        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 macosx.mtree ${INSTALLDIR}/share/darwinports/resources/port1.0/install/
    32         $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}/man/man7
     32        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${INSTALLDIR}/man/man7
    3333        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 portfile.7 ${INSTALLDIR}/man/man7
    3434        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 portstyle.7 ${INSTALLDIR}/man/man7
  • trunk/base/src/darwinports1.0/Makefile

    r2829 r2999  
    1414
    1515install:
    16         $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}
     16        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${INSTALLDIR}
    1717
    1818        $(SILENT) set -x; for file in ${SRCS}; do \
  • trunk/base/src/port/Makefile

    r2941 r2999  
    1515
    1616install: mkdirs
    17         $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}/man/man1
     17        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${INSTALLDIR}/man/man1
    1818        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 port.1 ${INSTALLDIR}/man/man1
    19         $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}/bin
     19        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${INSTALLDIR}/bin
    2020        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 555 port.tcl ${INSTALLDIR}/bin/port
    2121        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 555 portall.tcl ${INSTALLDIR}/bin/portall
  • trunk/base/src/port1.0/Makefile

    r2941 r2999  
    1919
    2020install::
    21         $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}
     21        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${DESTDIR}${datadir}/darwinports
     22        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${DESTDIR}${datadir}/darwinports/Tcl
     23        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${INSTALLDIR}
    2224        $(SILENT)set -x; for file in ${SRCS}; do \
    2325                $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \
  • trunk/base/src/port1.0/resources/Makefile

    r2964 r2999  
    77
    88install::
    9         $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}
     9        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${DESTDIR}${datadir}/darwinports/resources
     10        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${INSTALLDIR}
    1011#       $(SILENT)set -x; for file in ${RSRCS}; do \
    1112#               $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \
  • trunk/base/src/port1.0/resources/fetch/Makefile

    r2964 r2999  
    1212
    1313install:
    14         $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}
     14        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${INSTALLDIR}
    1515        $(SILENT)set -x; for file in ${RSRCS}; do \
    1616                $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \
  • trunk/base/src/port1.0/resources/package/Makefile

    r2941 r2999  
    1111
    1212install:
    13         $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}
     13        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${INSTALLDIR}
    1414        $(SILENT)set -x; for file in ${RSRCS}; do \
    1515                $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \
Note: See TracChangeset for help on using the changeset viewer.