|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
pkg_add_it - new version
Hello,
It's been a while since I haven't posted anything in these forums, but now I'm back I would like to inform you that I did some work on a tool I previously started, here on these forums - pkg_add_it, a tool for interactive installation of packages. [1] Now, I've managed to do some work on the tool and did a complete rewrite of it, so now it has much more options and improved code.. so the tool in general can do these things: - displays dependencies in tree view (something that I think some people might find useful) - displays what is going to be installed - show categories and number of packages in them - search by categories - regex support - and more... Still there's some things that still need improvement, but at least it's a start I would appreciate if you could install it and test it, so you can provide some feedback on what can still be done and improved. There are some screenshots available as well [2]. In order to install it, just follow these steps: Code:
# git clone git://git.unix-heaven.org/public/pkg_add_it # cd pkg_add_it && make install clean [2] http://www.unix-heaven.org/pkg_add_it-new-gfx/ [3] www.unix-heaven.org/index.php?page=pkg_add_it
__________________
"I never think of the future. It comes soon enough." - A.E Useful links: FreeBSD Handbook | FreeBSD Developer's Handbook | The Porter's Handbook | PF User's Guide | unix-heaven.org |
|
|||
Hello,
Just an update.. I spent some time today working on the algorithm for finding package dependencies from INDEX and managed to improve it a lot, so now dependencies are being found in times faster than before (!!) The previous algorithm was recursing over the INDEX file in order to find all dependencies to build a tree-view of the package dependencies, and now only 1 iteration is needed to accomplish this Now, only if there was a libpkg ready, then pkg_add_it(1) could be transformed into a standalone install tool, which does not need pkg_add(1) for it's job Regards,
__________________
"I never think of the future. It comes soon enough." - A.E Useful links: FreeBSD Handbook | FreeBSD Developer's Handbook | The Porter's Handbook | PF User's Guide | unix-heaven.org |
|
||||
I would be happy to test, but sadly lack a FreeBSD machine :'(
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
||||
@DNAeon
Am I doing something wrong here? Code:
# pkg_add_it -r fluxbox # pkg_add_it: Error in config_read_file() from config.c at line 179: No such file or directory
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
|||
Quote:
pkg_add_it uses a configuration file, which defaults to /usr/local/etc/pkg_add_it.conf. Please use the -f option to specify the configuration file that you've cloned with the code of the program. This file will be installed by the port, that's why it is not being installed when you compile the program from the repo. Another thing that I'm working on is to have more user-friendly error messages The manual pages will be updated probably today as well, so I hope by the end of today I'll be able to submit a PR. Regards,
__________________
"I never think of the future. It comes soon enough." - A.E Useful links: FreeBSD Handbook | FreeBSD Developer's Handbook | The Porter's Handbook | PF User's Guide | unix-heaven.org |
|
|||
PR was submitted, hopefully it will get soon to the Ports Tree
http://www.freebsd.org/cgi/query-pr.cgi?pr=152222
__________________
"I never think of the future. It comes soon enough." - A.E Useful links: FreeBSD Handbook | FreeBSD Developer's Handbook | The Porter's Handbook | PF User's Guide | unix-heaven.org |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ports Version associated with FreeBSD version | rtwingfield | FreeBSD Ports and Packages | 4 | 7th June 2010 11:00 PM |
Upgrade from version 3.7 | Novice | OpenBSD Installation and Upgrading | 8 | 5th January 2010 06:09 PM |
kernel version 0?? | Stellar | OpenBSD General | 5 | 30th August 2009 11:07 PM |
My version of pkg_add :) | DNAeon | FreeBSD Ports and Packages | 26 | 15th October 2008 06:58 AM |
How I can have two version of zsh | mfaridi | FreeBSD Ports and Packages | 7 | 15th May 2008 05:56 PM |