# $HeadURL$ $LastChangedRevision$ ############################################################################## # # Internal variables (defined for convenience and referenced only from within # this file) # ############################################################################## _RELEASES="lenny squeeze wheezy UNRELEASED" # If amd64 is needed then so is i386, to allow for multiarch packages. _PORTS="i386 amd64" _SECTIONS="main" ############################################################################## # # Repository contents (defines what is in or may be inserted into this repo) # ############################################################################## # The set of *all* releases, ports and sections this repository will contain. for _RELEASE in $_RELEASES; do release $_RELEASE for _PORT in $_PORTS; do port $_RELEASE $_PORT done for _SECTION in $_SECTIONS; do section $_RELEASE $_SECTION done done ############################################################################## # # Compatibility (defines on which distros each release in this non-distro # repo may be installed) # ############################################################################## # Each release in this repository is compatible with which distros? for _RELEASE in $_RELEASES; do compat $_RELEASE deb debian $_RELEASE done compat squeeze deb ubuntu \* ############################################################################## # # Misc settings # ############################################################################## # URL for the repo url "http://install.pasta.net/./" # The path to your mirror mirror_dir "/pub/mirrors/" # The path to your freezes freeze_dir "/pub/freezes/." # The path to your indirect indirect_dir "/pub/indirects/." # Path to the repository (not the mirror of the repository) path /pub/computing/software/local/debian/localprivate-deb # Debian repositories need to know a few other things. origin "Alexis Huxley" label "Alexis Huxley" signer "alexis" # The command to update the mirror in the current directory. # See BTS#625696 for why the pipe is needed. In turn, sh+$PIPESTATUS must be used to # get debmirror's exit code, rather than egrep's. Note that for reasons I don't # understand, $PIPESTATUS doesn't need escaping for the 'sh -c "..."' but only for # the 'mirror_cmd "..."'. mirror_cmd "sh -c \"debmirror --rsync-extra=none --ignore-release-gpg --getcontents --nosource --method=https --host=repo.pasta.freemyip.com --root=/debian-private --arch=${_PORTS// /,} --dist=${_RELEASES// /,} --section=${_SECTIONS// /,} . 2>&1 | egrep -v \\\\\"(Warning: --rsync-extra is not configured to mirror the trace files|This configuration is not recommended)\\\\\"; exit \\\${PIPESTATUS[0]}\""