六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 53|回复: 0

使用blastwave.org作为IPS的repository

[复制链接]

升级  53.65%

673

主题

673

主题

673

主题

探花

Rank: 6Rank: 6

积分
2073
 楼主| 发表于 2013-1-15 01:59:41 | 显示全部楼层 |阅读模式
If you're looking for a build of some open source software that'snot in the default IPS repository, there's a good chance you'll find iton Blastwave. All of theirpackages have been made available via an IPS repository (although, Icouldn't find this advertised on their site):

   http://blastwave.network.com:10000/
   Loading the page above shows you there's over 1700 packages in all:


   Beforeyou can install packages from the Blastwave repository, however, youneed to add Blastwave to your list of package authorities. To see yourcurrent list of configured authorities, run pkg authority:

   bleonard@opensolaris:~$ pkg authority
AUTHORITY                           URL
opensolaris.org (preferred)         http://pkg.opensolaris.org:80/

To add a new authority, such as Blastwave:
pfexec pkg set-authority -O http://blastwave.network.com:10000 blastwave.org

bleonard@opensolaris:~$ pkg authority
AUTHORITY                           URL
opensolaris.org (preferred)         http://pkg.opensolaris.org:80/
blastwave.org                       http://blastwave.network.com:10000/

All of the packages in the Blastwave repository begin with IPS, for example IPSprboom.
bleonard@opensolaris:~$ pkg info -r IPSprboom
Traceback (most recent call last):
  File "/usr/bin/pkg", line 1734, in ?
    ret = main_func()
  File "/usr/bin/pkg", line 1708, in main_func
    return info(img, pargs)
  File "/usr/bin/pkg", line 907, in info
    img.load_catalogs(progress.NullProgressTracker())
  File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 1059, in load_catalogs
    authority = auth["prefix"])
  File "/usr/lib/python2.4/vendor-packages/pkg/catalog.py", line 123, in __init__
    os.makedirs(cat_root)
  File "/usr/lib/python2.4/os.py", line 159, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/pkg/catalog/blastwave.org'
pkg:

This is an internal error, please let the developers know about this
problem by filing a bug at http://defect.opensolaris.org and including the
above traceback and the output of 'pkg version'.

   This problem has already been fixed in the source: changes to authorities should include refresh. For now, the simple work around is to do a manual refresh:

   pfexec pkg refresh   Trying pkg info again:

   bleonard@opensolaris:~$ pkg info -r IPSprboom
          Name: IPSprboom
       Summary: prboom - A port of the ID Software game DOOM
         State: Not installed
     Authority: blastwave.org
       Version: 0.5.11
Build Release: 5.10
        Branch: 2.6
Packaging Date: Wed May 14 17:06:37 2008
          Size: 5.3 MB
          FMRI: pkg://blastwave.org/IPSprboom@0.5.11,5.10-2.6:20080514T170637Z

    Now it can be installed as any other IPS package:
   bleonard@opensolaris:~$ pfexec pkg install IPSprboom
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                  57/57   5331/5331 148.82/148.82

PHASE                                        ACTIONS
Install Phase                              9123/9123
PHASE                                          ITEMS
Reading Existing Index                           8/8
Indexing Packages                              57/57

   FYI, to run this particular game:
   
   /opt/csw/bin/prboom -iwad /opt/csw/share/games/doom/doom-1.8.wad   
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表