使用blastwave.org作为IPS的repository

 

If you're looking for a build of some open source software that's not in the default IPS repository, there's a good chance you'll find it on Blastwave. All of their packages have been made available via an IPS repository (although, I couldn'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:

Before you can install packages from the Blastwave repository, however, you need to add Blastwave to your list of package authorities. To see your current 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
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值