#2224 vrcon 0.99

Added_to_Fink
closed-accepted
None
5
2006-09-26
2006-03-21
No

Hello,

It has been a few years since I submitted a fink package. My machine is
not set up for CVS right now, I would appreciate someone to check this
into unstable games in 10.4. It probably just needs minor info file
adjustments to work in the 10.3 tree too.

What baffles me is my fink tries to download the source from a
finkmirrors.net instead of the author's homepage, I specified no mirror
in the info file, but it works if you download the source manually to /
sw/src. Maybe there should be an option to try the author's primary
site instead of offering to give up or try another mirror.

Thanks,
Carsten

Homepage: http://www.vrcon.com/

Source: http://www.vrcon.com/vrcon-099.tgz

Description: Curses-based rcon utility for gameserver admins

Vaughantech's Vrcon is a Curses-based rcon (remote console) utility
for the Linux/Unix console that allows admins to quickly administer
game servers. It lets them view players, ban/kick players, change
maps,
view logs in real time, and more. Drop me an email with your problems
and/or successes with Vrcon.

$ fink validate vrcon.info /sw/fink/debs/vrcon* ; dpkg -c /sw/fink/
debs/vrcon* ; sudo redo_prebinding /sw/bin/vrcon ; sudo
redo_prebinding /sw/bin/vlog
Warning: Length of package description exceeds 45 characters.
(vrcon.info)
Validating .deb file /sw/fink/debs/vrcon_0.99-1_darwin-
powerpc.deb...
drwxr-xr-x root/admin 0 2006-03-21 11:34:37 ./
drwxr-xr-x root/admin 0 2006-03-21 11:34:38 ./sw/
drwxr-xr-x root/admin 0 2006-03-21 11:34:38 ./sw/bin/
-rwxr-xr-x root/admin 40432 2006-03-21 11:34:38 ./sw/bin/vlog
-rwxr-xr-x root/admin 61276 2006-03-21 11:34:38 ./sw/bin/
vrcon
drwxr-xr-x root/admin 0 2006-03-21 11:34:38 ./sw/share/
drwxr-xr-x root/admin 0 2006-03-21 11:34:38 ./sw/share/doc/
drwxr-xr-x root/admin 0 2006-03-21 11:34:38 ./sw/share/doc/
vrcon/
-rw-r--r-- root/admin 3363 2004-12-19 15:22:53 ./sw/share/
doc/vrcon/Changelog
-rw-r--r-- root/admin 18011 2003-02-25 02:13:06 ./sw/share/
doc/vrcon/COPYING
-rw-r--r-- root/admin 242 2004-02-28 17:28:58 ./sw/share/doc/
vrcon/README
-rw-r--r-- root/admin 4892 2004-12-19 15:22:59 ./sw/share/
doc/vrcon/vlog_man.html
-rw-r--r-- root/admin 9048 2004-12-19 15:22:59 ./sw/share/
doc/vrcon/vrcon_man.html
-rw-r--r-- root/admin 2148 2006-03-21 11:34:38 ./sw/share/
doc/vrcon/vrcon_sample_config
drwxr-xr-x root/admin 0 2006-03-21 11:34:38 ./sw/share/man/
drwxr-xr-x root/admin 0 2006-03-21 11:34:38 ./sw/share/man/
man1/
-rw-r--r-- root/admin 4064 2006-03-21 11:34:38 ./sw/share/
man/man1/vlog.1
-rw-r--r-- root/admin 6798 2006-03-21 11:34:38 ./sw/share/
man/man1/vrcon.1
$ fink --version
Package manager version: 0.24.10
Distribution version: 0.8.0.rsync
$ uname -a
Darwin G5.local 8.5.0 Darwin Kernel Version 8.5.0: Sun Jan 22
10:38:46 PST 2006; root:xnu-792.6.61.obj~1/RELEASE_PPC Power
Macintosh powerpc

Discussion

  • Carsten Klapp

    Carsten Klapp - 2006-03-21
     
  • Carsten Klapp

    Carsten Klapp - 2006-03-21
     
  • Daniel Macks

    Daniel Macks - 2006-03-21
    • milestone: --> 373614
     
  • Daniel Macks

    Daniel Macks - 2006-03-21

    Logged In: YES
    user_id=535292

    Long time no see, Carsten!

    Regarding the source mirroring, check the MirrorOrder in
    fink.conf...I bet you're telling fink to use the Master
    mirror pool before using the actual upstream server.

    Regarding the package itself, there are no longer any
    implicit dependencies on essential packages. If you say
    -lcurses, you gotta have Depends and BuildDepends to satisfy it.

    I think modern fink automatically set
    MACOSX_DEPLOYMENT_TARGET for the local OS X version. Do you
    need to set it explicitly?

    Is there any way you can trim 3 chars out of Description to
    make validator happy?

    Percent-expansion works in the Desc* fields now, so you can
    use %p instead of hard-coding /sw in DescUsage.

     
  • Carsten Klapp

    Carsten Klapp - 2006-03-22

    updated

     
  • Carsten Klapp

    Carsten Klapp - 2006-03-22

    Logged In: YES
    user_id=369655

    Thanks for your thoughtful reply!

    Removing the line, MirrorOrder: ClosestFirst fixed the download problem. I
    specified non-default mirrors during the initial Fink setup so I am not sure if
    that is why.

    # Fink configuration, initially created by bootstrap.pl
    Basepath: /sw
    RootMethod: sudo
    Trees: local/main stable/main stable/crypto
    Distribution: 10.4-transitional
    Mirror-apt: http://bindist.finkmirrors.net/bindist
    Mirror-cpan: http://theoryx5.uwinnipeg.ca/pub/CPAN/
    Mirror-ctan: ftp://ctan.cms.math.ca/tex-archive/
    Mirror-debian: http://ftp.debian.org/debian/
    Mirror-gimp: ftp://ftp.gimp.org/pub/gimp/
    Mirror-gnome: http://mirror.clarkson.edu/pub/gnome/
    Mirror-gnu: ftp://cs.ubishops.ca/pub/ftp.gnu.org/
    Mirror-kde: http://download.us.kde.org/pub/kde/
    Mirror-master: http://distfiles.master.finkmirrors.net/
    Mirror-rsync: rsync://master.us.finkmirrors.net/finkinfo/
    Mirror-sourceforge: http://west.dl.sourceforge.net/sourceforge/
    MirrorContinent: nam
    MirrorCountry: nam-ca
    #MirrorOrder: ClosestFirst
    ProxyPassiveFTP: true
    UseBinaryDist: true
    Verbose: 2
    SelfUpdateMethod: rsync
    Mirror-apache: http://apache.sunsite.ualberta.ca
    ConfFileCompatVersion: 1
    KeepBuildDir: true

    I shortened the description, and the percent-expansion in the Desc* fields is
    a welcome change to Fink, I fixed that in my info file too.

    Without SetMACOSX_DEPLOYMENT_TARGET: 10.3 this pkg does compile fine
    on 10.4.5 but without prebinding, so I added that line.

    I added these:
    BuildDepends: libncurses5
    Depends: libncurses5-shlibs
    and (added -L%p/lib):
    CompileScript: make LIBS='-lcurses -prebind -L%p/lib'
    ... to get it to use Fink's ncurses instead of the libs that come with OS X.

    Is this correct? I wasn't sure whether to use ncurses-dev & ncurses-shlibs or
    ncurses5 & libncurses-shlibs. I couldn't get it to compile with the former but
    it seems ok now.

    $ otool -L /sw/bin/vrcon
    /sw/bin/vrcon:
    /sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0, current
    version 5.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
    88.1.5)

    As there is little documentation for compiling this package included with the
    source or on the website, I don't know whether it really requires ncurses
    version 5. Does this really matter, or only so for earlier Fink trees like 10.3
    and 10.2?

    Now that I have made these changes to use the Fink ncurses lib, the bins are
    no longer prebound:
    ld: warning prebinding disabled because dependent library: /sw/lib/ncurses/
    libncurses.5.dylib is not prebound:

    ld: warning prebinding disabled because dependent library: /sw/lib/ncurses/
    libncurses.5.dylib is not prebound

    $ fink apropos prebind
    Information about 2035 packages read in 1 seconds.
    i fink-prebinding 0.7.1-2 Tools for enabling prebinding in
    Fink

    ... and without SetMACOSX_DEPLOYMENT_TARGET: 10.3 I get:

    ld: warning -prebind ignored because MACOSX_DEPLOYMENT_TARGET
    environment variable greater or equal to 10.4

    Either way it's not prebound unless I remove the dependencies.

    Thanks for your time,
    Carsten

     
  • Brendan Cully

    Brendan Cully - 2006-05-23

    Logged In: YES
    user_id=43309

    Please remember to set the Group field to "Undergoing
    Validation" when you create a new Tracker item and
    any time you update your submission and are waiting
    for feedback. Thanks.

     
  • Brendan Cully

    Brendan Cully - 2006-05-23
    • milestone: 373614 --> 373615
     
  • Christian Schaffner

    Logged In: YES
    user_id=286406

    Thanks for this submission! And sorry it took so long. I committed it to the
    10.4 unstable tree. Let us know if you also want it in 10.3 (haven't tested
    there)

     
  • Christian Schaffner

    • milestone: 373615 --> Added_to_Fink
    • assigned_to: nobody --> chris01
    • status: open --> closed-accepted
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks