12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- #PKG_DOCS_PET_REPOS
- #where to download the pet pkgs databases from.
- #first field is for testing the url.
- #second field is full URI of the database file.
- #third field is name of db file when local and after being processed into standard format
- # (in the case of PET databases, the names are the same and no processing is required)
- #110607 i was putting many "common" pet pkgs in the 'quirky' repo, now using 'common'.
- #110608 simplify pet pkg search order.
- #111124 add arm architecture repo.
- #111126 Packages-puppy-noarch-official now has all no-architecture PETs, supplanting -common-.
- #121102 file DISTRO_SPECS has new variable DISTRO_DB_SUBNAME (visible in this file), replaces DISTRO_COMPAT_VERSION below. for 14.0-based slacko, DISTRO_DB_SUBNAME=slacko14
- #130111 name ARCHDIR possible clash, use xTARGETARCH.
- xTARGETARCH=""
- if [ "$DISTRO_TARGETARCH" != "x86" ];then #defined in /etc/DISTRO_SPECS
- xTARGETARCH="${DISTRO_TARGETARCH}" #ex: arm
- fi
- #PET_REPOS
- #hardcode the pet repos in here...
- #first field is for testing the url.
- #second field is full URI of the repo
- #third field is the name of db-file(s) associated with that repo. it may have glob wildcards.
- # ex: Packages-puppy-4-official (note, url paths are in the database)
- if [ "$xTARGETARCH" = "" ];then
- PKG_DOCS_PET_REPOS="ibiblio.org|http://distro.ibiblio.org//puppylinux/Packages-puppy-${DISTRO_DB_SUBNAME}-official|Packages-puppy-${DISTRO_DB_SUBNAME}-official ibiblio.org|http://distro.ibiblio.org//puppylinux/Packages-puppy-wary5-official|Packages-puppy-wary5-official ibiblio.org|http://distro.ibiblio.org//puppylinux/Packages-puppy-common-official|Packages-puppy-common-official ibiblio.org|http://distro.ibiblio.org//puppylinux/Packages-puppy-5-official|Packages-puppy-5-official ibiblio.org|http://distro.ibiblio.org//puppylinux/Packages-puppy-4-official|Packages-puppy-4-official ibiblio.org|http://distro.ibiblio.org//puppylinux/Packages-puppy-3-official|Packages-puppy-3-official ibiblio.org|http://distro.ibiblio.org//puppylinux/Packages-puppy-2-official|Packages-puppy-2-official ibiblio.org|http://distro.ibiblio.org//puppylinux/Packages-puppy-noarch-official|Packages-puppy-noarch-official"
- PET_REPOS='ibiblio.org|http://distro.ibiblio.org//puppylinux|Packages-puppy-*-official ftp.nluug.nl|http://ftp.nluug.nl/ftp/pub/os/Linux/distr/puppylinux|Packages-puppy-*-official uoc.gr|http://ftp.cc.uoc.gr/mirrors/linux/puppylinux|Packages-puppy-*-official mirror.aarnet.edu.au|ftp://mirror.aarnet.edu.au/pub/puppylinux|Packages-puppy-*-official ibiblio.org|http://distro.ibiblio.org//puppylinux|Packages-puppy-*-official ftp.nluug.nl|http://ftp.nluug.nl/ftp/pub/os/Linux/distr/puppylinux|Packages-puppy-*-official ftp.vcu.edu|ftp://ftp.vcu.edu/pub/gnu+linux/puppylinux|Packages-puppy-*-official uoc.gr|http://ftp.cc.uoc.gr/mirrors/linux/puppylinux|Packages-puppy-*-official mirror.aarnet.edu.au|http://mirror.aarnet.edu.au/pub/puppylinux|Packages-puppy-*-official mirror.internode.on.net|http://mirror.internode.on.net/pub/puppylinux|Packages-puppy-*-official'
- else
- PKG_DOCS_PET_REPOS="ibiblio.org|http://distro.ibiblio.org/puppylinux/${xTARGETARCH}/Packages-puppy-${DISTRO_DB_SUBNAME}-official|Packages-puppy-${DISTRO_DB_SUBNAME}-official ibiblio.org|http://distro.ibiblio.org/puppylinux/Packages-puppy-noarch-official|Packages-puppy-noarch-official"
- PET_REPOS="ibiblio.org|http://distro.ibiblio.org/puppylinux/${xTARGETARCH}|Packages-puppy-${DISTRO_DB_SUBNAME}-official ftp.nluug.nl|http://ftp.nluug.nl/ftp/pub/os/Linux/distr/puppylinux/${xTARGETARCH}|Packages-puppy-${DISTRO_DB_SUBNAME}-official uoc.gr|http://ftp.cc.uoc.gr/mirrors/linux/puppylinux/${xTARGETARCH}|Packages-puppy-${DISTRO_DB_SUBNAME}-official ibiblio.org|http://distro.ibiblio.org/puppylinux|Packages-puppy-noarch-official ftp.nluug.nl|http://ftp.nluug.nl/ftp/pub/os/Linux/distr/puppylinux|Packages-puppy-noarch-official uoc.gr|http://ftp.cc.uoc.gr/mirrors/linux/puppylinux|Packages-puppy-noarch-official"
- fi
- #PACKAGELISTS_PET_ORDER
- #this defines where Woof looks first and second (and third, etc.) for pet pkgs
- if [ "$xTARGETARCH" = "" ];then #x86.
- PACKAGELISTS_PET_ORDER="Packages-puppy-noarch-official Packages-puppy-common-official Packages-puppy-wary5-official Packages-puppy-4-official"
- #110722 fiddling with this again...
- case $DISTRO_BINARY_COMPAT in #in file DISTRO_SPECS
- mageia) #Drake Puppy
- PACKAGELISTS_PET_ORDER="Packages-puppy-drake-official Packages-puppy-noarch-official Packages-puppy-common-official Packages-puppy-wary5-official Packages-puppy-4-official"
- ;;
- ubuntu)
- #110622 have to leave Packages-puppy-5-official in for ubuntu...
- PACKAGELISTS_PET_ORDER="Packages-puppy-5-official Packages-puppy-noarch-official Packages-puppy-common-official Packages-puppy-4-official"
- [ -f Packages-puppy-${DISTRO_DB_SUBNAME}-official ] && PACKAGELISTS_PET_ORDER="Packages-puppy-${DISTRO_DB_SUBNAME}-official ${PACKAGELISTS_PET_ORDER}"
- ;;
- puppy) #includes Puppy 4.3.1, wary 5.x
- case $DISTRO_COMPAT_VERSION in
- 4)
- PACKAGELISTS_PET_ORDER='Packages-puppy-noarch-official Packages-puppy-common-official Packages-puppy-4-official'
- ;;
- *) #wary5
- PACKAGELISTS_PET_ORDER="Packages-puppy-${DISTRO_DB_SUBNAME}-official Packages-puppy-noarch-official Packages-puppy-common-official Packages-puppy-4-official"
- ;;
- esac
- ;;
- slackware) #110816 slacko
- PACKAGELISTS_PET_ORDER='Packages-puppy-slacko-official Packages-puppy-noarch-official Packages-puppy-common-official Packages-puppy-wary5-official Packages-puppy-4-official'
- ;;
- *)
- [ -f Packages-puppy-${DISTRO_DB_SUBNAME}-official ] && PACKAGELISTS_PET_ORDER="Packages-puppy-${DISTRO_DB_SUBNAME}-official Packages-puppy-noarch-official Packages-puppy-common-official Packages-puppy-wary5-official Packages-puppy-4-official"
- ;;
- esac
- else
- #arm arch. etc...
- PACKAGELISTS_PET_ORDER="Packages-puppy-${DISTRO_DB_SUBNAME}-official Packages-puppy-noarch-official"
- fi
|