How to install portmaster on FreeBSD 8.4 - freebsd

I updated my ports on VPS with clean FreeBSD 8.4 using
[cmd=#]portsnap fetch[/cmd]
[cmd=#]portsnap extract[/cmd]
But no /usr/ports/ports-mgmt/portmaster dir was created,
root#somehost:/usr/ports # ls -a
. README biology finance korean
.. Templates cad french lang
CHANGES Tools chinese ftp mail
COPYRIGHT UIDs comms games math
GIDs UPDATING converters german misc
KNOBS accessibility databases graphics multimedia
Keywords arabic deskutils hebrew net-im
LEGAL archivers devel hungarian
MOVED astro dns irc
Makefile audio editors japanese
Mk benchmarks emulators java
How can I install it?

This looks like you got only a partial ports tree. You are missing several directories from net-mgmt/ through x11-wm/ (27 categories). You should try fetching and extracting the ports tree again.

Related

Integrate Vim-R-plugin with remote ssh-byobu session?

I am following the inspiring example here to setup Vim for R development. One difference is that I am running Vim and R on a remote server via ssh session. And this ssh starts byobu, which has tmux started automatically whenever I login. What I want is to make an Vim-R-Dev command/alias so that:
After logging in with the ssh and tmux is already running, I can type Vim-R-Dev to open up a window with panes look like in the attached image:
Illustration of sending R code from several vim viewports (in middle)
to an R session (on top right). The vim session can run on a local
computer, while the R session can run on the same or a remote system.
The snapshot also illustrates the omni completion utility of the
vim-r-plugin (purple box), viewing of an R function help document in a
separate tmux pane (bottom right) and the NERDTree file browser
(left).
After a while of fumbling with Vim and R, I decided to quit this approach. My feeling was that the combination is not mature enough for production. So I tried to find and found EMACS + ESS. Yes, emacs is the rival to Vim as a programmer/geek editor. And it seems I am a traitor of Vim jump to Emacs when the two are at war :-) It doesn't have to be that way.
At first I installed emacs and ess plugin/package and tried to learn the basics. I was very happy about how ESS is much more mature than vimR. And the way emacs works with packages and configuration make me much more happy than when I used Vim. This is partly because I have some basic background and was willing to deal with ELISP, the LISP programming language variant that is made for Emacs. An advice for some one have Vim skills though: You'd better off install Evil package from the beginning so you have the power of quick editing in Vim but the whole pack of other wonderful things, i.e. robustness, fine customization, in-place documentation. I have discussed many things about Emacs and ESS here on stackoverflow.com and at emacs.stackexchange.com too. The essential setup for R programmer is:
Emacs, ESS, Evil, Helm*, auto-complete, auctex, polymode, r-autoyas. Following are full list of additional packages that I installed. The one that allows me to edit and run code on remote server is called tramp with X forwarding. I will post more on this if there are requests.
ac-ispell 0.7 installed ispell completion source for auto-complete
async 1.3 installed Asynchronous processing in Emacs
auctex 11.88.6 installed Integrated environment for *TeX*
auto-complete 1.5.0 installed Auto Completion for GNU Emacs
auto-complete-e... 0.0.7 installed Exuberant ctags auto-complete.el source
auto-complete-pcmp 0.0.2 installed Provide auto-complete sources using pcomplete results
auto-dictionary 1.1 installed automatic dictionary switcher for flyspell
auto-package-up... 1.4 installed Automatically update Emacs packages.
auto-yasnippet 0.3.0 installed Quickly create disposable yasnippets
bash-completion 2.0.0 installed BASH completion for the shell buffer
bind-key 20140601 installed A simple way to manage personal keybindings
bog 1.0.0 installed Extensions for research notes in Org mode
bongo 1.0 installed play music with Emacs
boon 0.1 installed Ergonomic Command Mode for Emacs.
bug-hunter 0.5 installed Hunt down errors in elisp files
calfw 1.4 installed Calendar view framework on Emacs
column-enforce-... 20140902.949 installed Highlight text that extends beyond a column
column-marker 20121128.843 installed Highlight certain character columns
company 0.8.12 installed Modular text completion framework
ctable 20140304.1659 installed Table component for Emacs Lisp
ctags 1.1.1 installed No description available.
ctags-update 0.2.0 installed (auto) update TAGS in parent directory using exuberant-ctags
cython-mode 0.23.2.2 installed Major mode for editing Cython files
d-mode 2.0.6 installed D Programming Language mode for (X)Emacs
dash 2.11.0 installed A modern list library for Emacs
diminish 0.44 installed Diminished modes are minor modes with no modeline display
discover 0.3 installed discover more of Emacs
el-autoyas 0.5 installed Automatically create Emacs-Lisp Yasnippets
elpy 1.8.1 installed Emacs Python Development Environment
epl 71.4.8098 installed Emacs Package Library
ess 20150810.826 installed Emacs Speaks Statistics
ess-R-data-view 20130509.458 installed Data viewer for GNU R
ess-R-object-popup 20130302.336 installed popup description of R object
ess-smart-equals 20150201.2201 installed better smart-assignment with =-key in R and S
ess-smart-under... 20131229.1851 installed Ess Smart Underscore
evil 20150810.426 installed Extensible Vi layer for Emacs.
evil-leader 20140606.543 installed let there be <leader>
evil-org 20150513.1610 installed evil keybindings for org-mode
expand-region 20150804.2210 installed Increase selected region by semantic units.
f 20150605.927 installed Modern API for working with files and directories
find-file-in-pr... 20150722.2347 installed Find files in a project quickly.
flx 20140921.739 installed fuzzy matching with good sorting
flx-ido 20140821.2033 installed flx integration for ido
ggtags 20150718.2227 installed emacs frontend to GNU Global source code tagging system
gh 20150126.1125 installed A GitHub library for Emacs
git 20140128.241 installed An Elisp API for programmatically using Git
git-auto-commit... 20150404.751 installed Emacs Minor mode to automatically commit and push
git-commit 20150805.2024 installed Edit Git commit messages
git-commit-mode 1.0.0 installed Major mode for editing git commit messages
git-messenger 20150314.602 installed Pop up last commit information of current line
goto-chg 20131228.1459 installed goto last change
helm 20150805.54 installed Helm is an Emacs incremental and narrowing framework
helm-ack 20141030.526 installed Ack command with helm interface
helm-core 20150805.206 installed Development files for Helm
helm-github-stars 20150625.1523 installed Helm integration for your starred repositories on github
helm-mode-manager 20140224.1504 installed Select and toggle major and minor modes with helm
highlight-inden... 20150307.208 installed Minor modes for highlighting indentation
hippie-expand-s... 20130907.132 installed Hook slime's completion into hippie-expand
imenu-list 20150804.705 installed Show imenu entries in a seperate buffer
key-chord 20150808.1705 installed map pairs of simultaneously pressed keys to commands
latex-extra 20150806.1521 installed Adds several useful functionalities to LaTeX-mode.
latex-pretty-sy... 20150409.240 installed Display many latex symbols as their unicode counterparts
latex-preview-pane 20150519.1244 installed Makes LaTeX editing less painful by providing a updatable preview pane
let-alist 1.0.4 installed Easily let-bind values of an assoc-list by their names
log4e 20150105.505 installed provide logging framework for elisp
logito 20120225.1255 installed logging library for Emacs
magit 20150807.401 installed A Git porcelain inside Emacs
magit-gh-pulls 20150723.1144 installed GitHub pull requests extension for Magit
magit-popup 20150730.1344 installed Define prefix-infix-suffix command combos
makey 20131231.630 installed interactive commandline mode
markdown-mode 20150727.855 installed Emacs Major mode for Markdown-formatted text files
markdown-toc 20150715.914 installed A simple TOC generator for markdown file
monokai-theme 20150521.2257 installed A fruity color theme for Emacs.
org-ac 20140302.413 installed Some auto-complete sources for org-mode
org-autolist 20150118.1837 installed Improved list management in org-mode
pcache 20150125.1653 installed persistent caching for Emacs
php-auto-yasnip... 20141128.1411 installed Creates snippets for PHP functions
php-mode 20150729.213 installed Major mode for editing PHP code
pkg-info 20150517.443 installed Information about packages
polymode 20150729.734 installed Versatile multiple modes with extensive literate programming support
popup 20150626.711 installed Visual Popup User Interface
popup-complete 20141108.1908 installed completion with popup
popwin 20150315.600 installed Popup Window Manager.
powerline 20150628.1957 installed Rewrite of Powerline
powerline-evil 20140517.1 installed Utilities for better Evil support for Powerline
projectile 20150807.620 installed Manage and navigate projects in Emacs easily
pyvenv 20150503.941 installed Python virtual environment interface
r-autoyas 20140101.710 installed Provides automatically created yasnippets for R function argument lists.
real-auto-save 20150701.815 installed Automatically save your all your buffers/files at regular intervals.
rtags 20150804.2337 installed No description available.
s 20140910.334 installed The long lost Emacs string manipulation library.
scala-mode2 20150617.2350 installed Major mode for editing Scala >= 2.9
scala-outline-p... 20150702.937 installed scala file summary popup
seq 20150709.1040 installed Sequence manipulation functions
session 20120510.1700 installed use variables, registers and buffer places across sessions
skeletor 20150228.1557 installed Provides project skeletons for Emacs
sx 20150718.625 installed StackExchange client. Ask and answer questions on Stack Overflow, Super User, and the likes
twilight-anti-b... 20140810.34 installed A soothing Emacs 24 light-on-dark theme
undo-tree 20140509.522 installed Treat undo history as a tree
use-package 20150731.2330 installed A use-package declaration for simplifying your .emacs
which-key 20150803.1211 installed Display available keybindings in popup
window-purpose 20150715.439 installed Purpose-based window management for Emacs
with-editor 20150710.252 installed Use the Emacsclient as $EDITOR
yaml-mode 20141125.37 installed Major mode for editing YAML files
yasnippet 20150804.1120 installed Yet another snippet extension for Emacs.
yatemplate 20150305.1526 installed File templates with yasnippet
yaxception 20150105.652 installed Provide framework about exception like Java for Elisp
zygospore 20140703.152 installed reversible C-x 1 (delete-other-windows)

Internet Explorer Application Compatibility VPC Images sha256sums

If anyone has these downloaded, or if anyone wants to download them, could you please verify if these are the sha25sums of the files?
sha256sums: http://pastebin.com/zhrjttJc
These were downloaded from: https://www.microsoft.com/en-us/download/details.aspx?id=11575
I've been having trouble extracting them:
$ unrar Windows_Vista_IE7.part06.rar
unrar 0.0.1 Copyright (C) 2004 Ben Asselstine, Jeroen Dekkers
Extracting from /home/yano/.ievms/vhd/IE7/Windows_Vista_IE7.part06.rar
Extracting Windows Vista.vhd Failed
Extracting Windows Vista.vmc Failed
2 Failed
and:
$ unrar Windows_Vista_IE7.part01.exe
unrar 0.0.1 Copyright (C) 2004 Ben Asselstine, Jeroen Dekkers
Extracting from /home/yano/.ievms/vhd/IE7/Windows_Vista_IE7.part01.exe
unknown archive type, only plain RAR 2.0 supported(normal and solid archives), SFX and Volumes are NOT supported!
All OK
I've been following instructions based on the project ievms over at Github: https://github.com/xdissent/ievms
I've also gone through their issue list for the error messages and they said it was the download links were bad and this was months ago. I'm starting to think my downloads are corrupted, even though I've downloaded these twice already. Any ideas?
I had a similar problem using unrar-free. remove and install unrar ("UNRAR 4.00 beta 3 freeware" worked for me on Ubuntu 12.04).

Build MSI in Wine

Hoping this is still on-topic for StackOverflow.
I'm doing all my development on a Linux machine, but the code will be run by both Linux and Windows machines.
I'd like to use Linux to compile the code, and I have mingw-32 and mingw-w64 for that.
But I'd like to package the resulting executables into a nice MSI installation file. Is it possible to do this using utilities in Linux or running under Wine?
Thanks!
You can use a combination of Wine, Mono and WiX to create .msi packages on Linux.
For openSUSE, I have created a wrapper package called wixwine which gives you the 'candle' and 'light' commands from the Windows Installer XML (WiX) toolset ready to use on Linux.
You can find my wixwine package here
I just released v0.01 of msitools, a collection of utilities to inspect and create
Windows Installer files. It is based on the Wine code, but ported to POSIX.
You can find the source and binary packages at http://bonzini.fedorapeople.org/ - unfortunately you will need to build libgsf from git, because I found a bug and no released version has the fix as of now. The linked page has Fedora RPMs with the fix.
$ msiinfo streams ~/download/Firefox-16.0.2-it.msi
Binary.New
Binary.Up
Binary.info
Binary.dlgbmp
Binary.CustomBin
Binary.bannrbmp
Binary.completi
Binary.custicon
Binary.exclamic
Binary.insticon
Binary.removico
Binary.repairic
_MAKEMSI_Cabs.MM01.cab
Binary.BannerGraphic.BMP
Icon.firefox.16.0.2.0.ico.exe
DigitalSignature
SummaryInformation
$ msiinfo extract ~/download/Firefox-16.0.2-it.msi _MAKEMSI_Cabs.MM01.cab > firefox.cab
$ cabextract -l firefox.cab
Viewing cabinet: firefox.cab
File size | Date Time | Name
-----------+---------------------+-------------
917984 | 24.10.2012 12:50:38 | firefox.exe
18912 | 24.10.2012 12:50:38 | AccessibleMarshal.dll
There is a companion utility msibuild to build MSIs. It is very low-level, but you can use the two tools together to make small changes to an MSI you already made on Windows.
update: now hosted at https://live.gnome.org/msitools, it also has a tool (wixl) that supports a subset of the WiX XML. Requires libgsf 1.14.25 or newer. Fedora 18 and newer have it packaged.

linphone code compilation

I have problem compiling linphone code. I have taken git clone of linphone-iphone and when i am trying to open it in xcode i see all the frameworks and other code missing(in red color). I have installed all ports specified in README file of linphone but still all frameworks are missing. I tried to google also but it was of no use.
>
I am very new to SIP/linphone and this issue is driving me crazy. Can anyone help me to solve this issue and show me directions to proceed further.
Thanks
Gurpreet
I was able to get the app to compile yesterday using the instructions inside the README file. I am not sure if those have been updated since you last got the code but now it works. The one trick was to make sure you don't checkout the code into a path which has a space in it. For example: /Users/NAME/Documents/Folder with Space/git/linphone-iphone would be bad.
Other than that, I made sure to build the linphone target and not the linphone-no-gpl-thirdparties but that's because I didn't mind gpl. Their website seems to be going a refactor at the moment so I have copied their readme here:
LINPHONE ON IPHONE
******************************************
BUILD PREQUISITES
Linphone for iPhone depends on liblinphone sdk. This SDK is generated from makefiles and shell scripts.
You must first install both xcode with iPhone OS SDK and MacPorts (www.macports.org) for these scripts to work.
Once xccode and macports are installed, open a terminal and install the required build-time tools with:
$ sudo port install nawk coreutils automake autoconf libtool intltool wget pkgconfig cmake yasm doxygen
Install gas-preprosessor.pl (http://github.com/yuvi/gas-preprocessor/ ) to be copied into /opt/local/bin :
$ wget --no-check-certificate https://raw.github.com/yuvi/gas-preprocessor/master/gas-preprocessor.pl
$ sudo mv gas-preprocessor.pl /opt/local/bin/.
$ sudo chmod +x /opt/local/bin/gas-preprocessor.pl
Link macport libtoolize to glibtoolize
$ sudo ln -s /opt/local/bin/glibtoolize /opt/local/bin/libtoolize
Link host's strings to simulator SDK
$ ln -s /usr/bin/strings /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/strings
BUILDING THE SDK
GPL third parties versus non GPL third parties
This sdk can be generated in 2 flavors. Firt is with GPL third parties, it means liblinphone includes GPL third parties like FFMPEG or x264.
If you choose this flavor, your final application must comply with GPL in any case. This is the default mode.
To generate the liblinphone multi arch sdk in GPL mode, do:
$ cd submodules/build
$ make all
ALTERNATIVELY, you can force liblinphone to use only non GPL code except for liblinphone, mediastremer2, ortp, exosip, osip.
If you choose this flavor, your final application is still subject to GPL except if you have a commercial license for liblinphone, mediastremer2, ortp, exosip, osip.
To generate the liblinphone multi arch sdkin non GPL mode, do:
$ cd submodules/build
$ make all enable_gpl_third_parties=no
The resulting sdk is in liblinphone-sdk/ directory.
In case you upgrade your IOS SDK, you may force rebuilding everything, by doing
$ make veryclean
$ make all
BUILDING THE APPLICATION
After the SDK is built, just open the linphone xcode project with Xcode, and press "Run".
Note regarding third party components subject to license
The liblinphone-sdk is compiled with third parties code that are subject to patent license, specially: AMR, SILK and X264 codecs.
Linphone controls the embedding of these codecs thanks to the preprocessor macros HAVE_SILK, HAVE_AMR, HAVE_X264 positioned in xcode project.
Before embeding these 3 codecs in the final application, make sure to have the right to do so.
LIMITATIONS, KNOWN BUGS
Video capture does not work in simulator (not implemented by simulator ?).
Sound does not work well (or at all) in simulator

Why was wget.exe detected as a virus?

I installed Cygwin on Windows 7 and it installed properly.
I selected various packages; including curl and wget.
Yet, my anti-virus (AVG 2011) detected it as malware, with 4 red bars and put it into the Virus Vault!
I then sent the suspected file to Kaspersky's filescanner online but it came back as clean from their online scan
I then proceeded to uninstall Cygwin and restart Windows; now it's left me a bit wary of using it on Windows 7 again for fear of a virus.
Is wget always detected as a virus, and should I always be this cautious with cygwin?
Is there much difference between the Windows versions of wget and the Linux/unix ones?
Some sources I read suggested I download the older wget versions to reduce the risk of virus; the Wget version in question that was detected as a virus was the latest one.
What's the best way to deal with this issue?
If you downloaded wget from an official Cygwin repository, there's nearly no chance of a virus.
I think AVG is a little bit overzealous, and since wget is used to download data from the internet, it is recognized as a malware.
Nothing to be afraid about, you can ignore the problem I think.
You should maybe just contact the AVG team to make them aware of the situation.

Resources