Re: www/pecl-APC 3.1.12 Serious Memory Problem
On 08/19/12 19:21, John Marshall wrote: > This morning I upgraded www/pecl-APC from 3.1.11 to 3.1.12 on a couple > of web servers. I noticed, via apc.php, that the amount of memory I had > allocated to the caches (32MB in one case and 64MB in the other) was > almost immediately 100% utilized and, not long after that, httpd had > used up all the physical memory and the system was swapping. > > Both systems are: > - 8.3-RELEASE amd64 > - Apache 2.2.22 > - PHP 5.4.5 > > I have reverted to 3.1.11 and things are normal again. > > Thank you for maintaining this port. > Just as another data point, I experienced the exact same thing. Same apache and php version, only difference was I'm on 9.0-i386. Steve ___ 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: Qestion about patching
On Mon, Aug 20, 2012 at 10:06 AM, Wesley Shields wrote: > On Mon, Aug 20, 2012 at 10:03:54AM +0800, HU Dong wrote: > > Hi! > > The porter's handbook says that "Note that if the path of a patched > > file contains an underscore (_) character, the patch needs to have two > > underscores instead in its name. For example, to patch a file named > > src/freeglut_joystick.c, the corresponding patch should be named > > patch-src-freeglut__joystick.c." > > > > Question: What if the file contains - > > charactor(src/freeglut-joystick.c)? Should the patch be > > patch-src-freeglut-joystick.c or patch-src-freeglut--joystick.c? > > When applying a patch I get from upstream I apply it manually in > ${WRKSRC} and then use 'make makepatch' from the port directory to > generate the appropriate filename in files for me. > > -- WXS > It's really a smart way. Thank you! -- B.R. HU Dong ___ 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: Qestion about patching
On Mon, Aug 20, 2012 at 10:03:54AM +0800, HU Dong wrote: > Hi! > The porter's handbook says that "Note that if the path of a patched > file contains an underscore (_) character, the patch needs to have two > underscores instead in its name. For example, to patch a file named > src/freeglut_joystick.c, the corresponding patch should be named > patch-src-freeglut__joystick.c." > > Question: What if the file contains - > charactor(src/freeglut-joystick.c)? Should the patch be > patch-src-freeglut-joystick.c or patch-src-freeglut--joystick.c? When applying a patch I get from upstream I apply it manually in ${WRKSRC} and then use 'make makepatch' from the port directory to generate the appropriate filename in files for me. -- WXS ___ 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"
patch to textproc/libmrss : feedback needed
Hi porters, I just submit a PR[1] to unbroken textproc/libmrss port form a failure caused by the use of a deprecate declaration in the PHP module attached to the C library. This module is installed by default and required by other ports as a dependency ( e.g. www/rsstail). AFAIK, the fix lets the port compile and install without error, but I'm not good at PHP, and need some feedback about who the fix reacts with PHP applications using libmrss. Regards, - rodrigo [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=170776 ___ 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"
Qestion about patching
Hi! The porter's handbook says that "Note that if the path of a patched file contains an underscore (_) character, the patch needs to have two underscores instead in its name. For example, to patch a file named src/freeglut_joystick.c, the corresponding patch should be named patch-src-freeglut__joystick.c." Question: What if the file contains - charactor(src/freeglut-joystick.c)? Should the patch be patch-src-freeglut-joystick.c or patch-src-freeglut--joystick.c? -- B.R. HU Dong ___ 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"
www/pecl-APC 3.1.12 Serious Memory Problem
This morning I upgraded www/pecl-APC from 3.1.11 to 3.1.12 on a couple of web servers. I noticed, via apc.php, that the amount of memory I had allocated to the caches (32MB in one case and 64MB in the other) was almost immediately 100% utilized and, not long after that, httpd had used up all the physical memory and the system was swapping. Both systems are: - 8.3-RELEASE amd64 - Apache 2.2.22 - PHP 5.4.5 I have reverted to 3.1.11 and things are normal again. Thank you for maintaining this port. -- John Marshall signature.asc Description: OpenPGP digital signature
Re: Port Request - FrontAccounting
On 19 August 2012 16:11, Olli Hauer wrote: > On 2012-08-19 12:28, Alan Hicks wrote: >> Hi >> >> On 19/08/2012 03:46, Janketh Jay wrote: >> Or not. It appears the attachment was lost. You can download the >> .tar.gz file from the following URL: >> >> http://www.purplehat.org/downloads/frontaccounting/frontaccounting-2.3.11-fbsd-port.tar.gz >> >> Extract to ${PORTSDIR}/www and let me know if anything needs to be >> changed and/or adjusted >> >> On 08/18/2012 08:42 PM, Janketh Jay wrote: > Hi, > > On 08/18/2012 11:53 AM, Paul Pathiakis wrote: >> Hi, > >> This is probably the best competitor to QuickBooks out there. >> People can rave about the benefits of GnuCash and Kmymoney. >> I've used both and they both lack. This doesn't. I've also got >> a pretty good bit of Accounting in my background. This should >> definitely be a port. > >> No, I don't have time. I'm busy trying to build Atlantis >> Services and putting FreeBSD and PCBSD into the mainstream. This >> is one of those things that will be necessary. > >> Paul Pathiakis > > I've attached a port (in tar.gz form) which is the FrontAccounting > port for FreeBSD. I've tested it a few times and it seems to work > perfectly fine. If someone wants to test this before I submit, > that would be great. Otherwise, I'll submit some time tomorrow. >> >>> Thanks for porting, install works well. >> >>> On de-installing before running the install wizard there are unable to >>> delete errors for >>> www/frontaccounting/config_db.php >>> www/frontaccounting/config.default.php >> >>> After a full install including the web install wizard there are delete >>> errors for >>> '/usr/local/www/frontaccounting/config.default.php' doesn't exist >>> '/usr/local/www/frontaccounting/tmp' >>> '/usr/local/www/frontaccounting/lang' >>> '/usr/local/www/frontaccounting/company/0/js_cache' >>> '/usr/local/www/frontaccounting/company/0' >>> '/usr/local/www/frontaccounting/company' >>> '/usr/local/www/frontaccounting' >> >>> Perhaps @dirrmtry might be of help >> >>> Also unable to build a package as cannot find config_db.php >> >>> Trying the usual portmaster reinstall fails to create a backup package and >>> so has to prompt to ignore the error, the reinstall succeeds successfully. >> >>> Should be a great addition to the ports, >>> Alan > > > some other things ... > > - apache20 is dead so use 22 instead 20 > - you don't need apache as build dependency so use > s|USE_APACHE=20+|USE_APACHE_RUN=22+| > - s|www/frontaccounting|%%WWWDIR%%| > - s|share/doc/frontaccounting|%%DOCSDIR%%| > - use %%PORTDOCSDOCSDIR%% in pkg-plist and test install with and without > DOCS > - please use PORTDOCS= instead DOCS= (make.conf) ^^^ If you use PORTDOCS=, get rid of the DOCSDIR lines in the plist. > - there is no config_db.php > - file config.default.php is twice in pkg-plist > - please start using the new options framework > - documents are installed twice (in WWWDIR and DOCSDIR) > - is it really necessary to chown -R www:www WWWDIR > generally bad usage, isn't WWWDIR/tmp is enough? > - use pkg-install to change permission, not TMPPLIST > else permissions are set only during package install ___ 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: Port Request - FrontAccounting
On 2012-08-19 12:28, Alan Hicks wrote: > Hi > > On 19/08/2012 03:46, Janketh Jay wrote: > Or not. It appears the attachment was lost. You can download the > .tar.gz file from the following URL: > > http://www.purplehat.org/downloads/frontaccounting/frontaccounting-2.3.11-fbsd-port.tar.gz > > Extract to ${PORTSDIR}/www and let me know if anything needs to be > changed and/or adjusted > > On 08/18/2012 08:42 PM, Janketh Jay wrote: Hi, On 08/18/2012 11:53 AM, Paul Pathiakis wrote: > Hi, > This is probably the best competitor to QuickBooks out there. > People can rave about the benefits of GnuCash and Kmymoney. > I've used both and they both lack. This doesn't. I've also got > a pretty good bit of Accounting in my background. This should > definitely be a port. > No, I don't have time. I'm busy trying to build Atlantis > Services and putting FreeBSD and PCBSD into the mainstream. This > is one of those things that will be necessary. > Paul Pathiakis I've attached a port (in tar.gz form) which is the FrontAccounting port for FreeBSD. I've tested it a few times and it seems to work perfectly fine. If someone wants to test this before I submit, that would be great. Otherwise, I'll submit some time tomorrow. > >> Thanks for porting, install works well. > >> On de-installing before running the install wizard there are unable to >> delete errors for >> www/frontaccounting/config_db.php >> www/frontaccounting/config.default.php > >> After a full install including the web install wizard there are delete >> errors for >> '/usr/local/www/frontaccounting/config.default.php' doesn't exist >> '/usr/local/www/frontaccounting/tmp' >> '/usr/local/www/frontaccounting/lang' >> '/usr/local/www/frontaccounting/company/0/js_cache' >> '/usr/local/www/frontaccounting/company/0' >> '/usr/local/www/frontaccounting/company' >> '/usr/local/www/frontaccounting' > >> Perhaps @dirrmtry might be of help > >> Also unable to build a package as cannot find config_db.php > >> Trying the usual portmaster reinstall fails to create a backup package and >> so has to prompt to ignore the error, the reinstall succeeds successfully. > >> Should be a great addition to the ports, >> Alan some other things ... - apache20 is dead so use 22 instead 20 - you don't need apache as build dependency so use s|USE_APACHE=20+|USE_APACHE_RUN=22+| - s|www/frontaccounting|%%WWWDIR%%| - s|share/doc/frontaccounting|%%DOCSDIR%%| - use %%PORTDOCSDOCSDIR%% in pkg-plist and test install with and without DOCS - please use PORTDOCS= instead DOCS= (make.conf) - there is no config_db.php - file config.default.php is twice in pkg-plist - please start using the new options framework - documents are installed twice (in WWWDIR and DOCSDIR) - is it really necessary to chown -R www:www WWWDIR generally bad usage, isn't WWWDIR/tmp is enough? - use pkg-install to change permission, not TMPPLIST else permissions are set only during package install -- Regards, olli ___ 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: Port Request - FrontAccounting
On 19 August 2012 11:28, Alan Hicks wrote: > Hi > > > On 19/08/2012 03:46, Janketh Jay wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Or not. It appears the attachment was lost. You can download the >> .tar.gz file from the following URL: >> >> >> http://www.purplehat.org/downloads/frontaccounting/frontaccounting-2.3.11-fbsd-port.tar.gz >> >> Extract to ${PORTSDIR}/www and let me know if anything needs to be >> changed and/or adjusted >> >> On 08/18/2012 08:42 PM, Janketh Jay wrote: >>> >>> Hi, >>> >>> On 08/18/2012 11:53 AM, Paul Pathiakis wrote: Hi, >>> >>> This is probably the best competitor to QuickBooks out there. People can rave about the benefits of GnuCash and Kmymoney. I've used both and they both lack. This doesn't. I've also got a pretty good bit of Accounting in my background. This should definitely be a port. >>> >>> No, I don't have time. I'm busy trying to build Atlantis Services and putting FreeBSD and PCBSD into the mainstream. This is one of those things that will be necessary. >>> >>> Paul Pathiakis >>> >>> >>> I've attached a port (in tar.gz form) which is the FrontAccounting >>> port for FreeBSD. I've tested it a few times and it seems to work >>> perfectly fine. If someone wants to test this before I submit, >>> that would be great. Otherwise, I'll submit some time tomorrow. > > > Thanks for porting, install works well. > > On de-installing before running the install wizard there are unable to > delete errors for > www/frontaccounting/config_db.php > www/frontaccounting/config.default.php Yup, the plist has the correct @unexec and @exec lines, but of course the @exec lines only apply if installing from a package. For installation from the port; post-install: .for conf in config%.php config_db%.php ${CP} -np ${PREFIX}/www/frontaccounting/${conf:S,%,.default} \ ${PREFIX}/www/frontaccounting/${conf:S,%,,} .endfor will do nicely. > After a full install including the web install wizard there are delete > errors for > '/usr/local/www/frontaccounting/config.default.php' doesn't exist > '/usr/local/www/frontaccounting/tmp' > '/usr/local/www/frontaccounting/lang' > '/usr/local/www/frontaccounting/company/0/js_cache' > '/usr/local/www/frontaccounting/company/0' > '/usr/local/www/frontaccounting/company' > '/usr/local/www/frontaccounting' > > Perhaps @dirrmtry might be of help > > Also unable to build a package as cannot find config_db.php > > Trying the usual portmaster reinstall fails to create a backup package and > so has to prompt to ignore the error, the reinstall succeeds successfully. > > Should be a great addition to the ports, > Alan > I think these errors can mostly be traced to the missing Makefile lines :) Nice job! CC me on your PR. Chris ___ 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"
cross-binutils(2.21) bug
FreeBSD: ports/devel/cross-binutils curent version 2.21 has a bug while compile cortex-m3 assembly code. evidence is here. http://sourceware.org/bugzilla/show_bug.cgi?id=12296 I change the Makefile and distinfo by hand, not use 2.21, use 2.22. please update it. sorry I don't know how to edit a whole port. -- Harvis Wang If you make your mind around it, you can do it. ___ 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: Port Request - FrontAccounting
Hi On 19/08/2012 03:46, Janketh Jay wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Or not. It appears the attachment was lost. You can download the .tar.gz file from the following URL: http://www.purplehat.org/downloads/frontaccounting/frontaccounting-2.3.11-fbsd-port.tar.gz Extract to ${PORTSDIR}/www and let me know if anything needs to be changed and/or adjusted On 08/18/2012 08:42 PM, Janketh Jay wrote: Hi, On 08/18/2012 11:53 AM, Paul Pathiakis wrote: Hi, This is probably the best competitor to QuickBooks out there. People can rave about the benefits of GnuCash and Kmymoney. I've used both and they both lack. This doesn't. I've also got a pretty good bit of Accounting in my background. This should definitely be a port. No, I don't have time. I'm busy trying to build Atlantis Services and putting FreeBSD and PCBSD into the mainstream. This is one of those things that will be necessary. Paul Pathiakis I've attached a port (in tar.gz form) which is the FrontAccounting port for FreeBSD. I've tested it a few times and it seems to work perfectly fine. If someone wants to test this before I submit, that would be great. Otherwise, I'll submit some time tomorrow. Thanks for porting, install works well. On de-installing before running the install wizard there are unable to delete errors for www/frontaccounting/config_db.php www/frontaccounting/config.default.php After a full install including the web install wizard there are delete errors for '/usr/local/www/frontaccounting/config.default.php' doesn't exist '/usr/local/www/frontaccounting/tmp' '/usr/local/www/frontaccounting/lang' '/usr/local/www/frontaccounting/company/0/js_cache' '/usr/local/www/frontaccounting/company/0' '/usr/local/www/frontaccounting/company' '/usr/local/www/frontaccounting' Perhaps @dirrmtry might be of help Also unable to build a package as cannot find config_db.php Trying the usual portmaster reinstall fails to create a backup package and so has to prompt to ignore the error, the reinstall succeeds successfully. Should be a great addition to the ports, Alan Regards, Janky Jay, III ___ 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" -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAwU4YACgkQGK3MsUbJZn5BbwCeOCd/qScbG2NnGzL3q3riwb7k 0mAAn37DDA9LgptpbFraW1cxdPR6l+jp =YWC+ -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"