Re: dependencies of net-mgmt/net-snmp
On Fri, Jun 4, 2010 at 9:27 AM, Pavel Timofeev tim...@gmail.com wrote: Any comments? The net-snmp 5.5 (updated 2 jun 2010) have now x11-toolkits/p5-Tk in RUN_DEPENDS. This means that I need to install x11 libs on my FreeBSD routers or using net-snmp now ??? ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
games/wesnoth not localized ?
Hi, I can't change the language in Wesnoth. They are shown but you can't click on (they are not-clickable). The messages files are installed : pkg_info -L wesnoth\* [...] /usr/local/share/locale/zh_TW/LC_MESSAGES/wesnoth-l.mo /usr/local/share/locale/zh_TW/LC_MESSAGES/wesnoth-lib.mo /usr/local/share/locale/zh_TW/LC_MESSAGES/wesnoth-low.mo [...] And the NLS option is defined : mark...@melon /usr/ports/games/wesnoth $ make showconfig === The following configuration options are available for wesnoth-1.6.5_4: CAMPAIGN=on Enable campaign server EDITOR=on Enable map editor FRIBIDI=on Enable bidirectional support NLS=on Enable localization SERVER=on Enable server TOOLS=on Enable extra tools for artists and translators === Use 'make config' to modify these settings Could it be a internal wesnoth problem ? King regards. -- Demelier David ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Torrentflux and Zabbix Apache Include files??
Hi guys, I am trying to migrate over from Linux to FreeBSD and although have been using BSD for a few months now I really enjoy it and it's amazing ability to be light yet powerful and secure at the same time. Not to mention the UFS2 and ZFS filesystems which knowing UFS and ZFS from Solaris really rock!! Now am a first time user for Zabbix which came highly recommended; but Torrentflux I have moved between Linux machines quite a bit without any problem. My issue for both of these ports is that I'm in need of configuring Apache Include config files for them but having no luck in doing so. I'm not really used to the native BSD Apache config as with Linux the httpd.conf or apache2.conf file is very different (similar to case to Bind9 too). Anyhow, I decided to use my standard Linux config file: Alias /torrentflux /opt/torrentflux Directory /opt/torrentflux Options FollowSymLinks AllowOverride Limit IfModule mod_dir.c DirectoryIndex index.php /IfModule /Directory of which kept spitting out Permission Denied errors?? On first glimpse one can already see that the alias and Directory statements don't point to the port!! The ports path is /usr/local/www/data/tf. I have tried pointing it to the port but also get the same error?? The instance of Torrentflux in /opt is a migrated one from Linux. This is in the Apache error log file: [Sun Jun 06 14:41:07 2010] [error] [client 192.168.1.110] client denied by server configuration: /opt/torrentflux/ it doesn't really explain much at all.. apart from the client 192.168.1.110 which is a reverse proxy using Squid. I attempted to modify the file as I found a working Include file for use with Drupal5 which I also have on the system. So the modification is like so: Alias /torrentflux /opt DocumentRoot /opt Directory /opt Options FollowSymLinks AllowOverride Limit #AllowOverride None Order allow,deny Allow from all # IfModule mod_dir.c #DirectoryIndex index.php # /IfModule /Directory IfModule php5_module AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps IfModule dir_module IfModule mod_dir.c DirectoryIndex index.php index.html /IfModule /IfModule /IfModule #/Directory Oh clump!!! Which I've just modded to /opt/torrentflux for the Alias and the same for the Directory directive too I can't believe I missed that :-O It works now finally but is asking for a MySQL database instance which is easy!!! Few. Now for Zabbix as I haven't got anywhere that actually gives the Apache config? I downloaded the PDF manual for it which doesn't actually even tell you which URL to go for the main page so how do I get that info or will I need to hack this one out like Torrentflux?? Thanks, Kaya ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Torrentflux and Zabbix Apache Include files??
On 06/06/2010 02:50 PM, Kaya Saman wrote: Hi guys, I am trying to migrate over from Linux to FreeBSD and although have been using BSD for a few months now I really enjoy it and it's amazing ability to be light yet powerful and secure at the same time. Not to mention the UFS2 and ZFS filesystems which knowing UFS and ZFS from Solaris really rock!! Now am a first time user for Zabbix which came highly recommended; but Torrentflux I have moved between Linux machines quite a bit without any problem. My issue for both of these ports is that I'm in need of configuring Apache Include config files for them but having no luck in doing so. I'm not really used to the native BSD Apache config as with Linux the httpd.conf or apache2.conf file is very different (similar to case to Bind9 too). Anyhow, I decided to use my standard Linux config file: Alias /torrentflux /opt/torrentflux Directory /opt/torrentflux Options FollowSymLinks AllowOverride Limit IfModule mod_dir.c DirectoryIndex index.php /IfModule /Directory of which kept spitting out Permission Denied errors?? On first glimpse one can already see that the alias and Directory statements don't point to the port!! The ports path is /usr/local/www/data/tf. I have tried pointing it to the port but also get the same error?? The instance of Torrentflux in /opt is a migrated one from Linux. This is in the Apache error log file: [Sun Jun 06 14:41:07 2010] [error] [client 192.168.1.110] client denied by server configuration: /opt/torrentflux/ it doesn't really explain much at all.. apart from the client 192.168.1.110 which is a reverse proxy using Squid. I attempted to modify the file as I found a working Include file for use with Drupal5 which I also have on the system. So the modification is like so: Alias /torrentflux /opt DocumentRoot /opt Directory /opt Options FollowSymLinks AllowOverride Limit #AllowOverride None Order allow,deny Allow from all # IfModule mod_dir.c #DirectoryIndex index.php # /IfModule /Directory IfModule php5_module AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps IfModule dir_module IfModule mod_dir.c DirectoryIndex index.php index.html /IfModule /IfModule /IfModule #/Directory Oh clump!!! Which I've just modded to /opt/torrentflux for the Alias and the same for the Directory directive too I can't believe I missed that :-O It works now finally but is asking for a MySQL database instance which is easy!!! Few. Now for Zabbix as I haven't got anywhere that actually gives the Apache config? I downloaded the PDF manual for it which doesn't actually even tell you which URL to go for the main page so how do I get that info or will I need to hack this one out like Torrentflux?? Thanks, Kaya ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org Ok so for Zabbix I managed to find a site that was for configuring under CentOS: http://www.muck.net/?p=16 Now the key here is that the www dir of Zabbix points to /var/www/html/zabbix/conf which is very unlike the BSD port So as I already have a patched together Torrenflux config we just cp the config file for Torrentflux to Zabbix and edit the file as so: Alias /zabbix /usr/local/share/zabbix/php DocumentRoot /usr/local Directory /usr/local/share/zabbix/php Options FollowSymLinks AllowOverride Limit #AllowOverride None Order allow,deny Allow from all # IfModule mod_dir.c #DirectoryIndex index.php # /IfModule /Directory IfModule php5_module AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps IfModule dir_module IfModule mod_dir.c DirectoryIndex index.php index.html /IfModule /IfModule /IfModule #/Directory This fudge now actually works so onto setting the Zabbix process up which like Torrentflux should be relatively easy and straight forward. The only thing I don't get with FreeBSD ports is why there aren't template files for doing things like this, as people like me with not much experience in the FreeBSD world have to really struggle. I guess one could say the same about Solaris which doesn't give you ANY config for some software such as Bind which means you need to either grab an 'already configured' version from Linux or build the config files up from scratch which is pretty time consuming!! I mean coming off of two weeks of severe fatigue it's taken me 2 days to configure: Net-SNMP Cacti Torrentflux Squid in Jail Zabbix A radio station comprising of Darkice, Icecast2, Drupal5 and xmms2 as the base audio core Logwatch on 2 servers Munin and a bunch of other stuff that I can't recall now which I'm thinking if I was work I'd have to have done that in half a day as I already got
Re: ports/146281: [ PATCH ] net/xorp doesn't honor WITH_OPENSSL_PORT=yes
Synopsis: [ PATCH ] net/xorp doesn't honor WITH_OPENSSL_PORT=yes Responsible-Changed-From-To: bms-freebsd-ports Responsible-Changed-By: bms Responsible-Changed-When: Sun 6 Jun 2010 14:59:30 UTC Responsible-Changed-Why: I'm afraid I have no free time for the foreseeable future which I can commit directly to FreeBSD work, due to a demanding new role. I am happy to review the occasional patch, but regrettably cannot be directly involved in engineering work beyond this. Thank you for your understanding. http://www.freebsd.org/cgi/query-pr.cgi?pr=146281 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
unixodbc / libiodbc
Hello, list [FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 (...):/usr/obj/usr/src/sys/GENERIC i386] at present 'unixodbc' is installed, being required by 'ekiga3' and some other ports. I am willing to install 'kde4' meta-port, that claims to need 'libiodbc'. 'libiodbc' can't be installed straight away because it conflicts with 'unixodbc'. What to do in this case ? Thank you d _ Hotmail: Trusted email with Microsoft’s powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: cvs commit: ports/devel/chrpath Makefile ports/devel/boost_build Makefile ports/devel/k8048 Makefile ports/devel/p4genpatch Makefile ports/devel/erlang-thrift Makefile ports/graphics/seom Makefile
The Restless Daemon identified a mtree error while trying to build: chrpath-0.13 maintained by po...@freebsd.org Makefile ident: $FreeBSD: ports/devel/chrpath/Makefile,v 1.2 2010/06/06 17:00:55 bms Exp $ Excerpt from http://QAT.TecNik93.com/logs/8-STABLE-NPD/chrpath-0.13.log : === Installing for chrpath-0.13 === Generating temporary packing list === Checking if devel/chrpath already installed Making install in testsuite Making install in deb /bin/sh ./mkinstalldirs /usr/local/bin install -s -o root -g wheel -m 555 chrpath /usr/local/bin/chrpath make install-man1 /bin/sh ./mkinstalldirs /usr/local/man/man1 install -o root -g wheel -m 444 ./chrpath.1 /usr/local/man/man1/chrpath.1 /bin/sh ./mkinstalldirs /usr/local/share/doc/chrpath mkdir /usr/local/share/doc/chrpath install -o root -g wheel -m 444 ./AUTHORS /usr/local/share/doc/chrpath/AUTHORS install -o root -g wheel -m 444 ./COPYING /usr/local/share/doc/chrpath/COPYING install -o root -g wheel -m 444 ./ChangeLog /usr/local/share/doc/chrpath/ChangeLog install -o root -g wheel -m 444 ./INSTALL /usr/local/share/doc/chrpath/INSTALL install -o root -g wheel -m 444 ./NEWS /usr/local/share/doc/chrpath/NEWS install -o root -g wheel -m 444 ./README /usr/local/share/doc/chrpath/README === Compressing manual pages for chrpath-0.13 === Registering installation for chrpath-0.13 phase 7: make package === Building package for chrpath-0.13 Creating package /tmp/packages/All/chrpath-0.13.tbz Registering depends:. Creating bzip'd tar ball in '/tmp/packages/All/chrpath-0.13.tbz' Deleting chrpath-0.13 === Checking filesystem state list of extra files and directories in / (not present before this port was installed but present after it was deinstalled) 321967884 drwxr-xr-x2 root wheel 512 Jun 6 17:51 usr/local/share/doc/chrpath 321967894 -r--r--r--1 root wheel 506 Jun 6 17:51 usr/local/share/doc/chrpath/AUTHORS 32196790 36 -r--r--r--1 root wheel 17992 Jun 6 17:51 usr/local/share/doc/chrpath/COPYING 32196791 24 -r--r--r--1 root wheel 10902 Jun 6 17:51 usr/local/share/doc/chrpath/ChangeLog 32196792 16 -r--r--r--1 root wheel7831 Jun 6 17:51 usr/local/share/doc/chrpath/INSTALL 321967934 -r--r--r--1 root wheel2046 Jun 6 17:51 usr/local/share/doc/chrpath/NEWS 321967944 -r--r--r--1 root wheel 799 Jun 6 17:51 usr/local/share/doc/chrpath/README build of /usr/ports/devel/chrpath ended at Sun Jun 6 17:51:46 UTC 2010 PortsMon page for the port: http://portsmon.freebsd.org/portoverview.py?category=develportname=chrpath The build which triggered this BotMail was done under tinderbox-3.3_3; dsversion: 3.2.1 on RELENG_8 on amd64, kern.smp.cpus: 8 with tinderd_flags=-nullfs -plistcheck -onceonly and ccache support, with the official up-to-date Ports Tree, with the following vars set: NOPORTDOCS=yes, NOPORTEXAMPLES=yes, NOPORTDATA=yes, FORCE_PACKAGE=yes. A description of the testing process can be found here: http://T32.TecNik93.com/FreeBSD/QA-Tindy/ Thanks for your work on making FreeBSD better, -- QAT - your friendly neighborhood Daemon, preparing a heck of an error trapping system: - HMC and EOI? - Halt, Melt and Catch fire or Execute Operator Immediately. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
INDEX build failed for 6.x
INDEX build failed with errors: Generating INDEX-6 - please wait../local0/portmgr/tindex/ports/Mk/bsd.gcc.mk, line 121: Malformed conditional (${USE_GCC} == 4.3+) /local0/portmgr/tindex/ports/cad/salome-geom/../salome/Makefile, line 92: if-less endif make: fatal errors encountered -- cannot continue === cad/salome-geom failed *** Error code 1 *** Error code 1 Stop in /local0/portmgr/tindex/ports. *** Error code 1 Stop in /local0/portmgr/tindex/ports. 1 error Committers on the hook: bms ehaupt gerald mbr pav Most recent CVS update was: U CHANGES U Mk/bsd.gcc.mk U deskutils/Makefile U deskutils/xfce4-generic-slider/Makefile U deskutils/xfce4-generic-slider/distinfo U deskutils/xfce4-generic-slider/pkg-descr U deskutils/xfce4-generic-slider/pkg-plist U devel/boost_build/Makefile U devel/chrpath/Makefile U devel/erlang-thrift/Makefile U devel/k8048/Makefile U devel/p4genpatch/Makefile U emulators/open-vm-tools/pkg-plist U graphics/seom/Makefile U graphics/togl/Makefile U graphics/togl/pkg-plist U graphics/yukon/Makefile U lang/ficl-devel/Makefile U lang/u++/Makefile U multimedia/spook/Makefile U net/amqp08/Makefile U net/jpcap/Makefile U net/mrouted/Makefile U net/py-txamqp/Makefile U net/xorp/Makefile U net/xorp-devel/Makefile U net-mgmt/mtrace/Makefile U net-mgmt/py-pyang/Makefile U print/bsd_lpr/Makefile U print/openprinting/Makefile U textproc/iso8879/Makefile ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: PR not assigned yet
On 06/06/10 12:14, Helmut Schneider wrote: Hi, I created a PR 2 days ago but it is yet not assigned. Anything wrong with it? Yes. :) In order for the automated tools to work the category/name of the port in the synopsis needs to be exactly as it is in the ports tree. You had net-mgmt/net-snmp55 which should have been just net-mgmt/net-snmp. I fixed that for you, and assigned it to sylvio. http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147468 Thanks, Helmut -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover!http://SupersetSolutions.com/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Issues with PORTSNAP(8)
On 04-06-2010 21:29, Israel Jacques wrote: Hello everyone. I'm a bit confused as to why I am having this issue. Regardless of what I've searched for has suggested for me to do, I still cannot update my ports tree. Running the following causes issues (as root): # portsnap fetch extract portsnap: Invalid key fingerprint: 9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330 I've tried to check for an updated portsnap.conf file and the KEYPRINT value is the same. I've deleted all the contents within /var/db/portsnap. Is there anything else that I can do? Not that I know of, except reporting which mirror portsnap uses. About an hour ago I noticed that portsnap5.freebsd.org was a few days behind (June 5th IIRC). Another mirror worked fine though. Regards, Rene -- http://www.rene-ladan.nl/ GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Torrentflux and Zabbix Apache Include files??
On 06/06/10 07:20, Kaya Saman wrote: The only thing I don't get with FreeBSD ports is why there aren't template files for doing things like this, as people like me with not much experience in the FreeBSD world have to really struggle. So first of all, welcome to the FreeBSD world. :) By default our ports system does not install things in /opt, our default installation path for 3rd party software is /usr/local. So in regards to your question, most ports do actually come with sample configuration files, which can usually be found in /usr/local/etc/. If you install a port or package and you aren't sure where it installed the files you can do (for exapmle) 'pkg_info -L torrentflux*' and it will print the list for you. There is no question that there is a learning curve when moving from one platform to another, but a lot of us have administered both FreeBSD and Linux systems so if you have questions, just ask. hope this helps, Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover!http://SupersetSolutions.com/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Torrentflux and Zabbix Apache Include files??
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/06/2010 15:20:10, Kaya Saman wrote: I don't know it is fun; lot's of fun when have the time but if configuring for business grade production then I just feel that there should be slightly more help in the files with templates and examples etc - highly debatable of course and apologies if I sound like I'm whining I honestly really enjoyed myself doing all this and what made it more fun is that the systems that I did the work on are geographically separated from myself which just shows the power of UNIX and SSH over MS Win and RDP which to me is only for Sun Ray's and nothing more :-) . Doug already made some general comments, but on the particular subject of Apache configuration, you're right. Ported web applications generally do not install sample Apache configuration files. There are three aspects to this: * FreeBSD ports of daemons, etc. are usually installed in a disabled configuration. The sysadmin needs to take extra steps to turn everything on. While this may seem like forcing users to jump through pointless hoops to some, to many others this is a lifesaving security enhancement and foot-shooting avoidance measure. * We don't necessarily want to assume that you are using Apache as your webserver. Apache is great, but there are alternative HTTP servers in the ports which can leave it in the dust in terms of performance. * Even if you are using Apache, we don't necessarily want to assume that a 'one size fits all' configuration is going to be right for you. Having to grovel through a maze of twisty little apache configuration snippets (all alike) in order to undo some well meaning but ultimately wrong settings gets old really quickly. Especially if you have to do it again every time some related port gets updated. It's a philosophical difference between *BSD and much of the rest of the world: we think computers are there to do what the *admin* in charge tells them to do, no more and no less. Consequently we expect to take pains to tell them exactly what we want. Having said all that, many web applications will display a pkg-message on installation with hints about how to configure Apache. You can display these messages again by: % pkg_info -Dx portname There are also frequently instructions in various documentation installed under /usr/local/share. Most web apps generally want some combination of aliases to map the application directory into the web tree at an appropriate URL, plus a Directory or Location block (or several) to set options, access controls, basic auth password and so forth. Given a little practice such setups are not particularly hard to write, and there are a lot of people on this list who would be happy to help with any specific problems. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwMBt8ACgkQ8Mjk52CukIzSagCdFrLouTfwa19/e7aoztf5S70x GdoAniFIYtp0GMMoWlolZoxQsqbyvtsb =1X8Q -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
ports/142504: new port: net/gnu-dico - dict protocol server
I would like to get some feedback on this PR submitted 6 months ago. http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/142504 Thanks Goran ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Torrentflux and Zabbix Apache Include files??
On 6/6/2010 4:36 PM, Matthew Seaman wrote: There are also frequently instructions in various documentation installed under /usr/local/share. Most web apps generally want some combination of aliases to map the application directory into the web tree at an appropriate URL, plus a Directory or Location block (or several) to set options, access controls, basic auth password and so forth. Given a little practice such setups are not particularly hard to write, and there are a lot of people on this list who would be happy to help with any specific problems. There are plans to have every mod_* port install a file in ${APACHEETCDIR}/Includes as mod_${AP_NAME}.conf.sample which contain the LoadModule line and some relevant default config. All you'd need to do to active it is cp it to mod_$name.conf and the default httpd.conf will pick it up. Thus cleanup up a lot of Makefiles and pkg-plist shenanagins while hopefully being self documenting for the module. -- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer,FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. signature.asc Description: OpenPGP digital signature
Re: Torrentflux and Zabbix Apache Include files??
Just in response to the there are other better web servers then Apache comment! What are they?? I mean I always use Apache although I do know of light_http and I have tested the Sun Java Web Server once which I felt was pretty awsome but don't know if supports virtual hosting or can be used for commercial web serving either which is something I would really like to investigate! I guess it's similar to ISC's Bind. There are many other DNS servers out there all with different strengths and weaknesses but the difference between the most popular amongst the general folk and what's better for large scale enterprise clustered environments. Regards, Kaya Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/06/2010 15:20:10, Kaya Saman wrote: I don't know it is fun; lot's of fun when have the time but if configuring for business grade production then I just feel that there should be slightly more help in the files with templates and examples etc - highly debatable of course and apologies if I sound like I'm whining I honestly really enjoyed myself doing all this and what made it more fun is that the systems that I did the work on are geographically separated from myself which just shows the power of UNIX and SSH over MS Win and RDP which to me is only for Sun Ray's and nothing more :-) . Doug already made some general comments, but on the particular subject of Apache configuration, you're right. Ported web applications generally do not install sample Apache configuration files. There are three aspects to this: * FreeBSD ports of daemons, etc. are usually installed in a disabled configuration. The sysadmin needs to take extra steps to turn everything on. While this may seem like forcing users to jump through pointless hoops to some, to many others this is a lifesaving security enhancement and foot-shooting avoidance measure. * We don't necessarily want to assume that you are using Apache as your webserver. Apache is great, but there are alternative HTTP servers in the ports which can leave it in the dust in terms of performance. * Even if you are using Apache, we don't necessarily want to assume that a 'one size fits all' configuration is going to be right for you. Having to grovel through a maze of twisty little apache configuration snippets (all alike) in order to undo some well meaning but ultimately wrong settings gets old really quickly. Especially if you have to do it again every time some related port gets updated. It's a philosophical difference between *BSD and much of the rest of the world: we think computers are there to do what the *admin* in charge tells them to do, no more and no less. Consequently we expect to take pains to tell them exactly what we want. Having said all that, many web applications will display a pkg-message on installation with hints about how to configure Apache. You can display these messages again by: % pkg_info -Dx portname There are also frequently instructions in various documentation installed under /usr/local/share. Most web apps generally want some combination of aliases to map the application directory into the web tree at an appropriate URL, plus a Directory or Location block (or several) to set options, access controls, basic auth password and so forth. Given a little practice such setups are not particularly hard to write, and there are a lot of people on this list who would be happy to help with any specific problems. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwMBt8ACgkQ8Mjk52CukIzSagCdFrLouTfwa19/e7aoztf5S70x GdoAniFIYtp0GMMoWlolZoxQsqbyvtsb =1X8Q -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
portsnap5.FreeBSD.org outdated ?
Gentlemen, Not sure this is the right place to write - it seems portsnap5 is outdated: [tykl...@fw1 ~]$ sudo portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap5.FreeBSD.org... done. Latest snapshot on server is older than what we already have! Cowardly refusing to downgrade from Sun Jun 6 14:59:52 CEST 2010 to Sat Jun 5 12:48:17 CEST 2010. [tykl...@fw1 ~]$ sudo portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap2.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Sun Jun 6 14:59:52 CEST 2010 to Sun Jun 6 21:16:15 CEST 2010. Fetching 4 metadata patches... done. Applying metadata patches... snip Stating the obvious, but: If there is a problem with the server it should be fixed or the server should be taken out of the mirror list :) Best regards, and thanks for portsnap, it is awesome. Thomas Steen Rasmussen ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
INDEX now builds successfully on 6.x
___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: dependencies of net-mgmt/net-snmp
On 06-06-2010 10:54, Olivier Cochard-Labbé wrote: The net-snmp 5.5 (updated 2 jun 2010) have now x11-toolkits/p5-Tk in RUN_DEPENDS. This means that I need to install x11 libs on my FreeBSD routers or using net-snmp now ??? Hello, See this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=147566 Best regards, Thomas Steen Rasmussen ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: portsnap5.FreeBSD.org outdated ?
On 06/06/10 15:05, Thomas Rasmussen wrote: Gentlemen, There are actual women involved in FreeBSD yaknow. :) Not sure this is the right place to write - it seems portsnap5 is outdated: I'm told by very reliable sources that this situation has been fixed. Thanks to you (and the others) who brought it to our attention. Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover!http://SupersetSolutions.com/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: portsnap5.FreeBSD.org outdated ?
On 07-06-2010 00:27, Doug Barton wrote: On 06/06/10 15:05, Thomas Rasmussen wrote: Gentlemen, There are actual women involved in FreeBSD yaknow. :) Of course, but I figured starting a mail with ladies gentlemen seemed a little much ;) Not sure this is the right place to write - it seems portsnap5 is outdated: I'm told by very reliable sources that this situation has been fixed. Thanks to you (and the others) who brought it to our attention. That was quick - thanks. Great work Doug, as always. /Thomas ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Manually registering dependencies for ports
Hello, I've been wondering about something: When I write a script or webapp that needs some port to run, like a perl module, I install the needed port and life is good (tm). A year later when I've completely forgotten about the script I go do some spring-cleaning of the ports on the server, and I see some perl module that doesn't have any dependencies, and delete it. Fast forward a few days when I discover the script doesn't work anymore, cue face-palm, remove bullet from foot, etc. Is there some way I can register a dependency to prevent this ? Like adding a flag to an installed port to say something outside of the ports system depends on this along with a user specified comment string. A system like that could result in something like this: pkg_delete -x p5-something pkg_delete: p5-something cant be uninstalled because: somescript.pl uses this module, for the love of everything good do not delete it Is something like this already implemented, or does anyone have suggestions to where I might begin if I want to make this ? Am I the only FreeBSD admin absent-minded enough to have this problem ? :) Best regards Thomas Steen Rasmussen PS: I know that this kind of hand-holding is uncommon in FreeBSD. We allow all kinds of foot-shooting, but a safeguard like this would be a nice improvement to an (IMO) already excellent ports system. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Manually registering dependencies for ports
On 06/06/10 16:53, Thomas Rasmussen wrote: Hello, I've been wondering about something: When I write a script or webapp that needs some port to run, like a perl module, I install the needed port and life is good (tm). A year later when I've completely forgotten about the script I go do some spring-cleaning of the ports on the server, and I see some perl module that doesn't have any dependencies, and delete it. Fast forward a few days when I discover the script doesn't work anymore, cue face-palm, remove bullet from foot, etc. Is there some way I can register a dependency to prevent this ? Like adding a flag to an installed port to say something outside of the ports system depends on this along with a user specified comment string. A system like that could result in something like this: pkg_delete -x p5-something pkg_delete: p5-something cant be uninstalled because: somescript.pl uses this module, for the love of everything good do not delete it Is something like this already implemented, No, although I agree it's a good idea. You can create a +REQUIRED_BY file in that port's /var/db/pkg directory that names something else that is already installed on the system, but you can't do user-defined strings. or does anyone have suggestions to where I might begin if I want to make this ? /usr/src/usr.sbin/pkg_install/delete hth, Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover!http://SupersetSolutions.com/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Manually registering dependencies for ports
Thomas Rasmussen wrote: Hello, I've been wondering about something: When I write a script or webapp that needs some port to run, like a perl module, I install the needed port and life is good (tm). A year later when I've completely forgotten about the script I go do some spring-cleaning of the ports on the server, and I see some perl module that doesn't have any dependencies, and delete it. Fast forward a few days when I discover the script doesn't work anymore, cue face-palm, remove bullet from foot, etc. Is there some way I can register a dependency to prevent this ? Like adding a flag to an installed port to say something outside of the ports system depends on this along with a user specified comment string. When you install a script - let's call it xxx - that depends upon port yyy, you could do something like echo xxx /var/db/pkg/yyy/+REQUIRED_BY I think this would work. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Manually registering dependencies for ports
On 06/06/10 17:16, Stephen Montgomery-Smith wrote: When you install a script - let's call it xxx - that depends upon port yyy, you could do something like echo xxx /var/db/pkg/yyy/+REQUIRED_BY I think this would work. Please don't guess about stuff like this. If you're not _sure_ something will work spend 5 minutes of your time testing it first so that everyone who reads your message doesn't have to spend their time finding out you're wrong, then posting about it. Sorry to be so direct, but there are thousands of people subscribed to this list, and posts with incorrect information waste a disproportionately large amount of people's valuable time. Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover!http://SupersetSolutions.com/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Manually registering dependencies for ports
Doug Barton wrote: On 06/06/10 17:16, Stephen Montgomery-Smith wrote: When you install a script - let's call it xxx - that depends upon port yyy, you could do something like echo xxx /var/db/pkg/yyy/+REQUIRED_BY I think this would work. Please don't guess about stuff like this. If you're not _sure_ something will work spend 5 minutes of your time testing it first so that everyone who reads your message doesn't have to spend their time finding out you're wrong, then posting about it. Sorry to be so direct, but there are thousands of people subscribed to this list, and posts with incorrect information waste a disproportionately large amount of people's valuable time. Doug Well, in my mind, when I sent the message, I was somewhat sure it would work, at least that it would pass some kind of quick test. What I am not sure is whether it would introduce some weird side effect, and after an excess of installing and uninstalling other ports, that it might mysteriously disappear or otherwise corrupt the system. I don't think this could be detected by a quick test, but rather by someone who has some deep knowledge about how the whole ports system works. Furthermore, I really don't see the harm in sending out suggestions, if I make it absolutely clear that it is just that - a suggestion. Only one person needs to try it out, and that it Thomas. Anyone else is, of course, free to try it out, but that is their choice, not mine. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Manually registering dependencies for ports
Doug Barton wrote: On 06/06/10 17:41, Stephen Montgomery-Smith wrote: Well, in my mind, when I sent the message, I was somewhat sure it would work, at least that it would pass some kind of quick test. In other words, you guessed, and your guess was wrong. I did guess, and it seems that I was wrong. This completely surprised me. My apologies. You are right and I was wrong. FWIW, I had the same thought in mind when I got ready to reply to the OP, but when I tested it, I found out that it didn't work, which is why I posted what I did. Furthermore, I really don't see the harm in sending out suggestions I explained that. If you don't agree with my explanation, and/or you feel that your time is so much more valuable than all of the other thousands of people on the list that you can't be bothered to test your suggestions before you send them out, so be it. Doug ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Manually registering dependencies for ports
Stephen Montgomery-Smith wrote: Doug Barton wrote: On 06/06/10 17:41, Stephen Montgomery-Smith wrote: Well, in my mind, when I sent the message, I was somewhat sure it would work, at least that it would pass some kind of quick test. In other words, you guessed, and your guess was wrong. I did guess, and it seems that I was wrong. This completely surprised me. My apologies. You are right and I was wrong. OK, after that appropriate chastising, let me try again. This time I did test it. So, suppose you have a script xxx that uses port yyy. So this will work: echo xxx /var/db/pkg/yyy/+REQUIRED_BY mkdir /var/db/pkg/xxx touch /var/db/pkg/xxx/+CONTENTS On the other hand, this will cause programs like pkg_info and pkg_version to get out of sorts. And I guess if you use programs like port-upgrade (which I don't), who knows what damage this might cause. So --- this is what I would do. If I had a set of scripts that I wanted to install, I would write my own local port whose job is to install the scripts, and which lists the needed dependencies as RUN_DEPENDS. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Manually registering dependencies for ports
Hello, I've been wondering about something: When I write a script or webapp that needs some port to run, like a perl module, I install the needed port and life is good (tm). A year later when I've completely forgotten about the script I go do some spring-cleaning of the ports on the server, and I see some perl module that doesn't have any dependencies, and delete it. Fast forward a few days when I discover the script doesn't work anymore, cue face-palm, remove bullet from foot, etc. Is there some way I can register a dependency to prevent this ? Like adding a flag to an installed port to say something outside of the ports system depends on this along with a user specified comment string. A system like that could result in something like this: pkg_delete -x p5-something pkg_delete: p5-something cant be uninstalled because: somescript.pl uses this module, for the love of everything good do not delete it Yeah, there is. If you don't want to make a local port for your script/program with the module listed as a dependency, then don't muck about +REQUIRED_BY and friends -- that's a pain. Instead, you can use a package requirements procedure -- a script or program that is executed before installation/deinstallation, and if it returns non-zero exit status, the installation/deinstallation aborts. You can read about it in pkg_create(1) (look at the -r flag), and pkg_delete(1), of course. For example, say you have a script called /home/foo that requires a port /usr/ports/devel/bar. Add something like the following script as /usr/ports/devel/bar/pkg-req: #!/bin/sh if [ x$1 = x ]; then exit 1; fi if [ x$2 = xINSTALL ]; then exit 0; elif [ x$2 = xDEINSTALL ]; then if [ -f /home/foo ] ; then echo /home/foo requires this package; aborting deinstallation; use -f to override exit 1 else exit 0 fi else exit 1 fi When you rebuild and reinstall devel/bar, this script will be added as /var/db/pkg/bar-1.0/+REQUIRE, for example. You can add it manually if bar-1.0 is already installed, and it will take effect when pkg_delete acts on bar-1.0, even without rebuilding. Obviously, you can make this more elaborate: it could examine a list of dependent programs contained in a file that you can edit, and check for each one of them in your PATH, or in specified places. You could edit this list at any time, and the +REQUIRE script would still work. You can keep the script in a location other than /usr/ports/devel/bar/pkg-req, just by using something like: .if${.CURDIR:M*/usr/ports/devel/bar*} PKGREQ=insert full path to script here .endif in /etc/make.conf, because /usr/ports/Mk/bsd.port.mk will use PKGREQ along with the -r flag in the do-package target. You are always free to tie a string around your finger. Just don't tie it too tightly. Regards, b. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Manually registering dependencies for ports
On 6/7/10, b. f. bf1...@googlemail.com wrote: You can keep the script in a location other than /usr/ports/devel/bar/pkg-req, just by using something like: .if${.CURDIR:M*/usr/ports/devel/bar*} PKGREQ=insert full path to script here .endif in /etc/make.conf, because /usr/ports/Mk/bsd.port.mk will use PKGREQ along with the -r flag in the do-package target. That is, in the do-package target when making a package, and in the fake-pkg target when installing a port. b. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: portsnap5.FreeBSD.org outdated ?
Doug Barton wrote: On 06/06/10 15:05, Thomas Rasmussen wrote: Gentlemen, There are actual women involved in FreeBSD yaknow. :) Yeah, and there are a lot of men that aren't gentlemen, too. ;) b. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: ports/146281: [ PATCH ] net/xorp doesn't honor WITH_OPENSSL_PORT=yes
Synopsis: [ PATCH ] net/xorp doesn't honor WITH_OPENSSL_PORT=yes Responsible-Changed-From-To: freebsd-ports-freebsd-ports-bugs Responsible-Changed-By: linimon Responsible-Changed-When: Mon Jun 7 05:16:00 UTC 2010 Responsible-Changed-Why: Canonicalize assignment. http://www.freebsd.org/cgi/query-pr.cgi?pr=146281 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org