Changeset 68996 for trunk/base/doc


Ignore:
Timestamp:
Jun 19, 2010, 11:21:02 PM (10 years ago)
Author:
jmr@…
Message:

Added integrity checking for fetched archives via signed digests. New pubkeys.conf file allows configuring keys to trust. The private counterpart of the installed public key will of course need to live on our binary building server.

Location:
trunk/base/doc
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/doc

    • Property svn:ignore
      •  

        old new  
        11macports.conf
         2pubkeys.conf
        23prefix.mtree
        34macosx.mtree
  • trunk/base/doc/Makefile

    r51147 r68996  
    22MAN5=           macports.conf.5
    33MAN7=           portfile.7 portstyle.7 porthier.7 portgroup.7
     4CONF=       macports.conf pubkeys.conf sources.conf variants.conf
    45INSTALLDIR=     ${DESTDIR}${prefix}
    56TOPSRCDIR=      ..
     
    1718
    1819distclean: clean
    19         rm -f prefix.mtree macports.conf macosx.mtree
     20        rm -f macports.conf macosx.mtree prefix.mtree pubkeys.conf
    2021
    2122%.1.gz: %.1
     
    4142        fi
    4243
    43         $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 macports.conf ${DESTDIR}${mpconfigdir}/macports.conf.default
    44         if test ! -e ${DESTDIR}${mpconfigdir}/macports.conf ; then \
    45                 set -x; \
    46                 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 macports.conf ${DESTDIR}${mpconfigdir}; \
    47         fi
    48         $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 sources.conf ${DESTDIR}${mpconfigdir}/sources.conf.default
    49         if test ! -e ${DESTDIR}${mpconfigdir}/sources.conf ; then \
    50                 set -x; \
    51                 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 sources.conf ${DESTDIR}${mpconfigdir}; \
    52         fi
    53         $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 variants.conf ${DESTDIR}${mpconfigdir}/variants.conf.default
    54         if test ! -e ${DESTDIR}${mpconfigdir}/variants.conf ; then \
    55                 set -x; \
    56                 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 variants.conf ${DESTDIR}${mpconfigdir}; \
    57         fi
     44        for f in ${CONF}; do \
     45                $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$f ${DESTDIR}${mpconfigdir}/$${f}.default; \
     46                if test ! -e ${DESTDIR}${mpconfigdir}/$$f ; then \
     47                        set -x; \
     48                        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 $$f ${DESTDIR}${mpconfigdir}; \
     49                fi; \
     50        done
    5851
    5952        # delete old uncompressed man pages if they exist
Note: See TracChangeset for help on using the changeset viewer.