From 56b9604a19d23d77af7f4cc62ebfabe7060c6d96 Mon Sep 17 00:00:00 2001 From: rhatto Date: Tue, 24 Mar 2009 03:46:38 +0000 Subject: simplepkg 0.6 git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@802 04377dda-e619-0410-9926-eae83683ac58 --- tags/0.6/conf/repos.conf | 40 +++++++ tags/0.6/conf/simplepkg.conf | 265 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 305 insertions(+) create mode 100644 tags/0.6/conf/repos.conf create mode 100644 tags/0.6/conf/simplepkg.conf (limited to 'tags/0.6/conf') diff --git a/tags/0.6/conf/repos.conf b/tags/0.6/conf/repos.conf new file mode 100644 index 0000000..480a0f8 --- /dev/null +++ b/tags/0.6/conf/repos.conf @@ -0,0 +1,40 @@ +# +# repository definitions for simplaret +# please dont use any spaces inside a repository definition +# + +# local integration: the following lines makes packages created with +# createpkg automatic available to simplaret +ROOT-i386="local%file:///var/simplepkg/repos/slackware" +ROOT-x86_64="local%file:///var/simplepkg/repos/slamd64" +ROOT-powerpc="local%file:///var/simplepkg/repos/slackintosh" +ROOT-s390="local%file:///var/simplepkg/repos/slack390" + +# slackware root repositories +ROOT-i386="sarava%http://slack.sarava.org/packages/slackware/" +ROOT-i386="tds%http://slackware.mirrors.tds.net/pub/slackware/" +ROOT-i386="easynews%http://slackware.mirrors.easynews.com/linux/slackware/" +ROOT-i386="gwdg%http://ftp.gwdg.de/pub/linux/slackware/" + +# powerpc root definitions +ROOT-powerpc="workaround%http://slackintosh.workaround.ch/pub/slackintosh/" + +# s390 root definitions +ROOT-s390="ibiblio%http://distro.ibiblio.org/pub/linux/distributions/slack390/" + +# slamd64 root repositories +#ROOT-x86_64="sarava%http://slack.sarava.org/packages/slamd64/" +ROOT-x86_64="slackadelic%http://mirror1.slackadelic.com/slamd64/" +ROOT-x86_64="heanet%http://ftp.heanet.ie/pub/slamd64/" + +# If you want to use Bluewhite64 instead of Slamd64, please uncoment the +# next line and make sure to comment out all other slamd64 repository definitions +#ROOT-x86_64="bluewhite64%http://mirror.inode.at/data/bluewhite64/" + +# If you want to use Sflack instead of Slamd64 or Bluewhite64, please uncoment +# the next line and make sure to comment out all other slamd64 and Bluewhite64 +# repository definitions +#ROOT-x86_64="bluewhite64%http://webftp.slackarea.net/pub/sflack/" + +# noarch +NOARCH="sarava%http://slack.sarava.org/packages/noarch" diff --git a/tags/0.6/conf/simplepkg.conf b/tags/0.6/conf/simplepkg.conf new file mode 100644 index 0000000..0c0fc73 --- /dev/null +++ b/tags/0.6/conf/simplepkg.conf @@ -0,0 +1,265 @@ +#--------------------------------------------------------------------- +# Default simplepkg configuration. +# File: /etc/simplepkg/default/simplepkg.conf +# +# This file contains the default behaviour of simplepkg scripts. +# Please do not edit this file. Use /etc/simplepkg/simplepkg.conf +# instead for overriding the default configuration. +#--------------------------------------------------------------------- + +#--------------------------------------------------------------------- +# GENERAL SECTION +#--------------------------------------------------------------------- +# Default architecture: set this option if you dont want simplepkg +# to use the value from /etc/slackware-version +# DEFAULT_ARCH="i486" + +# Default version: set this option if you dont want simplepkg +# to use the value from /etc/slackware-version +# DEFAULT_VERSION="12.2" + +# Temporary folder +TMP="/tmp/simplepkg" + +#--------------------------------------------------------------------- +# MKBUILD AND CREATEPKG SECTION +#--------------------------------------------------------------------- + +# Set default directory for mkbuilds +MKBUILDS_DIR="/var/simplepkg/mkbuilds" + +# Set SlackBuilds default directory for scripts +SLACKBUILDS_DIR="/var/simplepkg/slackbuilds" + +# Set packages default repository directory +PACKAGES_DIR="/var/simplepkg/repos" + +# Set mkbuilds svn default repository +MKBUILDS_SVN="http://slack.sarava.org/mkbuilds" + +# Set SlackBuilds svn default repository +SLACKBUILDS_SVN="http://slack.sarava.org/slackbuilds" + +# Set packages svn default repository +PACKAGES_SVN="http://slack.sarava.org/packages" + +# Set the binaries default repository nested folder, useful if you manage +# packages from different distribution versions and architectures in the +# same parent folder. +# +# You can use any string here and also de special parameters none, distro, +# arch and version. You can also mix more than one parameter, like +# "distro-version". +# +# Default value is "distro/distro-version" and you should change this just +# if you know what are you doing. +PACKAGES_REPOS_STYLE="distro/distro-version" + +# Se this to "yes" if you want createpkg to put noarch packages also in +# a noarch/ folder. +PACKAGES_REPOS_NOARCH="on" + +# If your packages repository is under svn and you plan to manage it with an +# user different than root, then set this parameter with the username +# owning the repository working copy. +PACKAGES_SVN_USER="" + +# Same as the previous option, but for svn repository group. +PACKAGES_SVN_GROUP="" + +# If your mkbuild and slackbuild repositories is under svn and you plan to +# manage it with an user different than root, then set this parameter with the +# username owning the repository working copy. +MKBUILDS_SVN_USER="" + +# Same as the previous option, but for svn repository group. +MKBUILDS_SVN_GROUP="" + +# Set sources default directory +SOURCE_DIR="/var/simplepkg/sources" + +# Set SOURCE_DIR folder owner +SOURCE_DIR_USER="" + +# Set SOURCE_DIR folder group +SOURCE_DIR_GROUP="" + +# Set color style. Possible values are: color,gray, none. +COLOR_MODE="none" + +# Createpkg architecture. Use this to force createpkg to a given arch. +# CREATEPKG_ARCH="i486" + +# Remove build files +CREATEPKG_CLEANUP="yes" + +# Remove old packages from repository tree by createpkg +REMOVE_OLD_PACKAGE="off" + +# Move package to SlackBuilds-like tree +MOVE_BIN_PACKAGE="on" + +# Move package's slack-required to binary repository +MOVE_SLACK_REQUIRED="on" + +# Set this to override the default author on each SlackBuild. Use alphabetic +# characters only and no spaces. +CREATEPKG_AUTHOR="" + +# Set this to get author information automatically when creating a new mkbuild +MKBUILD_AUTHOR="" + +# Set this to get author initials automatically when creating a new mkbuild +MKBUILD_AUTHOR_INITIALS="" + +# Whether createpkg should sign packages. +SIGN_PACKAGES="off" + +# Username used for package signatures. +SIGN_PACKAGES_USER="" + +# GPG key id used for package signature, leave blank to use default key. +SIGN_PACKAGES_KEYID="" + +# Whether to use gpg-agent to sign packages +SIGN_PACKAGES_WITH_GPG_AGENT="off" + +# Whether mkbuild should sign Manifests. +SIGN_MANIFESTS="off" + +# GPG key id used for Manifest signature, leave blank to use default key. +SIGN_MANIFESTS_KEYID="" + +# Whether to use gpg-agent to sign Manifests +SIGN_MANIFESTS_WITH_GPG_AGENT="off" + +# Whether to just build packages that have Manifest files. +FORCE_MANIFEST_CHECK="off" + +# Whether to just build packages that have signed Manifest files. +FORCE_MANIFEST_CHECK_SIGNATURE="off" + +#--------------------------------------------------------------------- +# SIMPLARET SECTION +#--------------------------------------------------------------------- + +# Whether mkjail should clean the package cache before installation +# to enable it, set to "1" or "yes" +SIMPLARET_CLEAN="1" + +# whether mkjail should clean the package cache after the installation; +# to enable it, set to "1" or "yes" +SIMPLARET_DELETE_DOWN="1" + +# Whether mkjail should issue a simplaret --update before install the jail; +# to enable it, set to "1" or "yes" +SIMPLARET_UPDATE="1" + +# Wheter try to download from the next repository on failed download. +SIMPLARET_DOWNLOAD_FROM_NEXT_REPO="1" + +# Wheter delete also patches when simplaret --purge is called; +# to enable it, set to "1" or "yes" +SIMPLARET_PURGE_PATCHES="0" + +# Whether delete each package rigth after its installation; +# to enable it, set to "1" or "yes" +SIMPLARET_DELETE_DURING="0" + +# Delete packages older than N weeks from the cache +SIMPLARET_PURGE_WEEKS="3" + +# Where patches are placed +PATCHES_DIR="/var/simplepkg/patches" + +# Place to store your packages +STORAGE="/var/simplepkg/packages" + +# Whether to use passive ftp transfers; +# to enable it, set to "1" or "yes" +PASSIVE_FTP="1" + +# Http retrieval tool; +# available parameters are "wget" or "curl" +HTTP_TOOL="wget" + +# Ftp retrieval tool; +# available parameters are "wget", "curl" or "ncftpget" +FTP_TOOL="wget" + +# Set connection timeout in seconds +CONNECT_TIMEOUT="20" + +# ROOT repository package priority +ROOT_PRIORITY="patches slackware extra testing pasture" + +# REPOS repository package priority +REPOS_PRIORITY="patches slackware extra testing pasture" + +# Whether to check package signatures (you should have the repository +# maintainer key on your keyring) +SIGNATURE_CHECKING="on" + +# Whether simplaret will try to solve dependencies by looking +# for packages' slack-required +DEPENDENCY_CHECKING="1" + +# Enabling this option (i.e, setting to "1" or "yes"), simplaret will +# donwload even already applied patches, a good option when you plan +# to keep local copies of all needed patches for your system +DOWNLOAD_EVEN_APPLIED_PATCHES="0" + +# Enabling this option (i.e, setting to "1" or "yes"), simplaret will +# look at your standard repositories for new packages; if it find a +# package with different version of your current installed package and +# also this package isnt in the packages folder, then the new package +# is applied; if in doubt, just say no or leave blank. Otherwise set it +# either to "yes" or "1" and remember that if enabling this feature can +# cause problems if you use more than one REPOS definition for each +# ARCH and VERSION. Also, this option can be very slow. +CONSIDER_ALL_PACKAGES_AS_PATCHES="0" + +# Enabling this option (i.e, setting to "1" or "yes"), simplaret will +# store patches it finds on ROOT repositories on +# +# $PATCHES_DIR/$ARCH/$VERSION/root-$repository_name. +# +# By default this option is turned off because it breaks the standard +# way to store packages and can cause some confusion, but its an useful +# feature if you like to see all patches apart from common packages and/or +# stored in the same tree. +STORE_ROOT_PATCHES_ON_PATCHES_DIR="0" + +#--------------------------------------------------------------------- +# TEMPLATEPKG SECTION +#--------------------------------------------------------------------- + +# Set to yes if your templates will be placed in a subversion repository +# This just work if TEMPLATE_STORAGE_STYLE is set to own-folder or compact. +TEMPLATES_UNDER_SVN="no" + +# Where your templates will be located. +# Dont change it except you know what you're doing. +TEMPLATE_FOLDER="/etc/simplepkg/templates" + +# This variable controls in which folder / subfolder your templates will +# be stored. Possible values are: +# +# - simplepkg-folder: templates are stored at /etc/simplepkg +# - templates-folder: templates are stored at /etc/simplepkg/templates +# - own-folder or compact: each template stored at its own folder +# at /etc/simplepkg/templates/template-name +# +# This variable has backwards purposes only, so dont change it. +TEMPLATE_STORAGE_STYLE="compact" + +#--------------------------------------------------------------------- +# MKJAIL SECTION +#--------------------------------------------------------------------- + +# Where jails are placed +JAIL_ROOT="/vservers" + +# Wheter mkjail should add new jails in the jail list; +# to enable it, set to "1" or "yes" +ADD_TO_JAIL_LIST="1" -- cgit v1.2.3