|
|||||||||
Saturday the 7th of November, 2009 |
|||||||||
sancp most recent diffversion 1.6.1
Scroll down toward the bottom of the page to get installation instructions for sancp. The raw portfile for sancp 1.6.1 is located here: http://sancp.darwinports.com/dports/security/sancp/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/sancp The sancp Portfile 30252 2007-10-23 02:19:43Z jmpp PortSystem 1.0 Name: sancp Version: 1.6.1 Category: security Maintainers: nomaintainer Description: Security Analyst Network Connection Profiler Long Description: This is a network security tool designed to collect statistical information regarding network traffic, as well as, collect the traffic itself in pcap format, all for the purpose of: auditing, historical analysis, and network activity discovery. Homepage: http://www.metre.net/sancp.html Platform: darwin Master Sites: sourceforge Checksums: ${distname}${extract.suffix} md5 b83e2f4abb2bf7b10fd874aa58f6324c sancp-1.6.1.fix200511.a.patch md5 7b357ec3371fc399c7589261f0d8d11b sancp-1.6.1.fix200511.b.patch md5 747aa31c477d726ce6a9b233e3e5f4ee patch_sites http://sancp.sourceforge.net Patch Files: sancp-1.6.1.fix200511.a.patch sancp-1.6.1.fix200511.b.patch patch.pre_args -p1 depends_build port:libpcap use_configure no build.env CPPFLAGS=-I${prefix}/include CFLAGS="-O3 -s -I${prefix}/include" LDFLAGS=-L${prefix}/lib post-patch { # Hack to comment out CFLAGS line in Makefile reinplace "s|CFLAGS = -O3|#CFLAGS = -O3|g" ${worksrcpath}/Makefile } build.target "" destroot {} post-destroot { xinstall -m 755 -d ${destroot}${prefix}/bin xinstall -m 755 ${worksrcpath}/sancp ${destroot}${prefix}/bin xinstall -m 755 ${worksrcpath}/etc/sancp/sancp.conf ${destroot}${prefix}/etc/sancp.conf.sample xinstall -m 755 -d ${destroot}${prefix}/share/doc/sancp xinstall ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/sancp foreach doc [glob ${worksrcpath}/docs/*] { xinstall ${doc} ${destroot}${prefix}/share/doc/sancp } xinstall -m 755 -d ${destroot}${prefix}/var/log/sancp destroot.keepdirs ${destroot}${prefix}/var/log/sancp # Install startup script xinstall -m 755 -d ${destroot}${prefix}/share/sancp xinstall -m 755 ${portpath}/${filesdir}/sancp.init ${destroot}${prefix}/share/sancp reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${prefix}/share/sancp/sancp.init } # Create a startupitem to start/stop the server startupitem.create yes startupitem.start "${prefix}/share/sancp/sancp.init" startupitem.stop "killall -c sancp" post-activate { ui_msg "\n Rename and configure the sample sancp.conf file in ${prefix}/etc. If you want to sniff an interface other than en0, edit the startup script ${prefix}/share/sancp/sancp.init. \n" } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/sancpYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using sancp with these commands: % man sancp Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




