Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Gleb Smirnoff                        2:5020/400     14 Mar 2005  12:23:44
 To : All
 Subject : Re: Вести с полей
 -------------------------------------------------------------------------------- 
 
 edwin       2005-03-13 22:34:11 UTC
 
   FreeBSD ports repository
 
   Modified files:
     Mk                   bsd.sites.mk
   Log:
   Implement Adam Weinbergers idea of an overridable bsd.sites.mk:
 
   His idea was:
 
       What do you guys think of changing the +='s in bsd.sites.mk to
       ?='s? The deal is this: say I have a specific AfterStep dist
       site that I want to use, and I don't want the default listed
       sites to be attempted at all.
 
       As it stands now, there are two current solutions that I see:
       * edit bsd.sites.mk after every cvsup
       * put like 100 entries for that site in MASTER_SITE_AFTERSTEP
         in /etc/make.conf and turn on RANDOMIZE_MASTER_SITES
 
   His solution was:
 
       Change the bsd.sites.mk to MASTER_SITE_AFTERSTEP?=, and then I
       can define MASTER_SITE_AFTERSTEP to be whatever I want it to
       be.
 
   The final solution is:
 
       Add an .if !defined(IGNORE_MASTER_SITE_xxx) / .endif around all
       MASTER_SITE definitions:
 
       +.if !defined(IGNORE_MASTER_SITE_XORG)
        MASTER_SITE_XORG+= \
                ftp://ftp.x.org/pub/%SUBDIR%/ \
                ftp://ftp.gwdg.de/pub/x11/x.org/pub/%SUBDIR%/ \
        [...]
       +.endif
 
   This way, if you want to ignore the default MASTER_SITE_xxx and use
   a certain mastersite for this collection, you set this in your
   /etc/make.conf:
 
       IGNORE_MASTER_SITE_xxx=yes
       MASTER_SITE_xxx=http://z.x.y/
 
   While if you prefer a certain mastersite for this collection, you
   set this in your /etc/make.conf:
 
       MASTER_SITE_xxx=http://z.x.y/
 
 -- 
 Totus tuus, Glebius.
 GLEBIUS-RIPN GLEB-RIPE
 --- ifmail v.2.15dev5.3
  * Origin: Demos online service (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Вести с полей   Slawa Olhovchenkov   05 Dec 2004 04:37:58 
 Вести с полей   Lev Serebryakov   07 Dec 2004 10:25:50 
 Вести с полей   Sergey Matveychuk   10 Dec 2004 17:14:04 
 Вести с полей   Lev Serebryakov   11 Dec 2004 00:29:56 
 Re: Вести с полей   Gleb Smirnoff   14 Mar 2005 12:23:44 
Архивное /ru.unix.bsd/6577f2b4081e.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional