IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

BSD Discussion :

[FreeBSD] Utilisation de Cvsup


Sujet :

BSD

  1. #1
    Membre à l'essai
    Profil pro
    Inscrit en
    Septembre 2004
    Messages
    15
    Détails du profil
    Informations personnelles :
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations forums :
    Inscription : Septembre 2004
    Messages : 15
    Points : 11
    Points
    11
    Par défaut [FreeBSD] Utilisation de Cvsup
    Bonjour.

    J'ai un problème avec la maj des ports par cvsup. J'ai executé les opérations suivantes, suivant les instructions http://www.freebsd.org/doc/fr_FR.ISO8859-1/books/handbook/cvsup.html :
    1. Installer le logiciel porté net/cvsup-whithout-gui
    2. En tant que root, copier /usr/share/examples/cvsup/ports-supfile sur /root
    3. Editez ports-supfile. remplaçant CHANGE_THIS.FreeBSD.org par cvsup.fr.FreeBSD.org
    5. Lancez cvsup: # cvsup -g -L 2 /root/ports-supfile

    Il a alors téléchargé tout pendant un bon moment, mais depuis le système de port ne marche plus: dans le /usr/ports y'a plus que des readme.html. Pourtant le repertoire indiqué pour les ports dans le fichier de conf de cvsup est /usr
    le fichier /root/port-supfile
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
     
    # $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.29 2003/11/16 17:55:54 ceri Exp $
    #
    # This file contains all of the "CVSup collections" that make up the
    # FreeBSD-current ports collection.
    #
    # CVSup (CVS Update Protocol) allows you to download the latest CVS
    # tree (or any branch of development therefrom) to your system easily
    # and efficiently (far more so than with sup, which CVSup is aimed
    # at replacing).  If you're running CVSup interactively, and are
    # currently using an X display server, you should run CVSup as follows
    # to keep your CVS tree up-to-date:
    #
    #       cvsup ports-supfile
    #
    # If not running X, or invoking cvsup from a non-interactive script, then
    # run it as follows:
    #
    #       cvsup -g -L 2 ports-supfile
    #
    # You may wish to change some of the settings in this file to better
    # suit your system:
    #
    # host=cvsup2.fr.FreeBSD.org
    #               This specifies the server host which will supply the
    #               file updates.  You must change it to one of the CVSup
    #               mirror sites listed in the FreeBSD Handbook at
    #               http://www.freebsd.org/doc/handbook/mirrors.html.
    #               You can override this setting on the command line
    #               with cvsup's "-h host" option.
    #
    # base=/usr
    #               This specifies the root where CVSup will store information
    #               about the collections you have transferred to your system.
    #               A setting of "/usr" will generate this information in
    #               /usr/sup.  Even if you are CVSupping a large number of
    #               collections, you will be hard pressed to generate more than
    #               ~1MB of data in this directory.  You can override the
    #               "base" setting on the command line with cvsup's "-b base"
    #               option.  This directory must exist in order to run CVSup.
    #
    # prefix=/usr
    #               This specifies where to place the requested files.  A
    #               setting of "/usr" will place all of the files requested
    #               in "/usr/ports" (e.g., "/usr/ports/devel", "/usr/ports/lang").
    #               The prefix directory must exist in order to run CVSup.
     
    # Defaults that apply to all the collections
    #
    # IMPORTANT: Change the next line to use one of the CVSup mirror sites
    # listed at http://www.freebsd.org/doc/handbook/mirrors.html.
    *default host=cvsup2.fr.FreeBSD.org
    *default base=/usr/local/etc/cvsup
    *default prefix=/usr
    *default release=cvs tag=RELENG_5_3
    *default delete use-rel-suffix
     
    # If you seem to be limited by CPU rather than network or disk bandwidth, try
    # commenting out the following line.  (Normally, today's CPUs are fast enough
    # that you want to run compression.)
    #*default compress
     
    ## Ports Collection.
    #
    # The easiest way to get the ports tree is to use the "ports-all"
    # mega-collection.  It includes all of the individual "ports-*"
    # collections,
    ports-all
     
    # These are the individual collections that make up "ports-all".  If you
    # use these, be sure to comment out "ports-all" above.
    #
    # Be sure to ALWAYS cvsup the ports-base collection if you use any of the
    # other individual collections below. ports-base is a mandatory collection
    # for the ports collection, and your ports may not build correctly if it
    # is not kept up to date.
    #ports-base
    Sauriez-vous d'où vient le problème?

  2. #2
    Membre expérimenté

    Inscrit en
    Mai 2002
    Messages
    720
    Détails du profil
    Informations forums :
    Inscription : Mai 2002
    Messages : 720
    Points : 1 594
    Points
    1 594
    Par défaut
    Tu as essayé de faire la synchro depuis un serveur US ? Il me semble avoir eu un problème similaire, et depuis, j'utilise cvsup.freebsd.org ... (A utiliser dans la matinée de préférence ) ...

    Sinon, astuce du jour : Dans /etc/make.conf, ajoute :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    SUP=/usr/local/bin/cvsup
    SUP_UPDATE=yes
    SUPHOST=cvsup.FreeBSD.org
    SUPFILE=/usr/share/examples/cvsup/stable-supfile
    PORTSUPFILE=/usr/share/examples/cvsup/ports-supfile
    puis cd /usr/ports et make update... Attention, ca ne met a jour que le Port Tree ! Pour les applications, c'est une autre histoire.... CF la section FreeBSD de la F.A.Q. Linux

    Smortex

    Les FAQ Assembleur - Linux
    In The Beginning Was The Command Line Neal Stephenson

  3. #3
    Membre à l'essai
    Profil pro
    Inscrit en
    Septembre 2004
    Messages
    15
    Détails du profil
    Informations personnelles :
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations forums :
    Inscription : Septembre 2004
    Messages : 15
    Points : 11
    Points
    11
    Par défaut
    problème résolu: fallait pas modifier le tag. Je l'aie donc remis à l'origine et refait la maj des ports ça roulez

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Réponses: 4
    Dernier message: 13/08/2007, 09h47
  2. [FreeBSD] utilisation d'emacs
    Par _ky_ dans le forum BSD
    Réponses: 1
    Dernier message: 06/12/2006, 10h39
  3. [FreeBSD] Utiliser 2 disques sur BSD
    Par Freed0 dans le forum BSD
    Réponses: 11
    Dernier message: 23/07/2006, 12h00
  4. [FreeBSD] Utilisation de Cvsup
    Par soumou dans le forum BSD
    Réponses: 4
    Dernier message: 06/04/2006, 01h53
  5. [FreeBSD] Problème avec cvsup
    Par Gnux dans le forum BSD
    Réponses: 3
    Dernier message: 07/12/2004, 18h44

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo