Re: FreeBSD Port: mc-4.8.1.1
On Thu, Apr 19, 2012 at 20:05, freethread wrote: > hi, I'm facing an issue with last mc version. After upgrading ports (from > source with portmaster) the syntax highlight in mcedit no more works, well, > it works, but... > > Explanation > > I made some customization in mc for fileext, syntax highlight and menus, some > of them are documentend, some others are partially documented and some others > are undocumented. The syntax highlight customization is partially documented, > however that's what I've done on my system: > > The syntax highlight are composed by files with .syntax extention and a main > 'Syntax' file that recognize file type (extentions + content) and redirect to > the right .syntax file. > 1.. I created a new directory where I copied that files (located in > /usr/local/share/mc/syntax) in that new directory. > 2.. In each home directory there is an '.mc' directory where mc place per > user configuration files, so I found that copying the above files in > $HOME/.mc/cedit directory you can customize the syntax highlight recognition > and coloration, so what I've done (for each user) is to create symlinks to > that files in 'cedit' directory, pointing at files copied in step 1. So, each > user has the same customized syntax highlight. > Now, it worked for years, but when updated mc to version 4.8.1.1, it show me > a syntax error in Syntax file at line 41, that contain the following > customization: > 40 file .\*(csh|\\.(csh|cshrc|tcsh|tcshrc|login|logout))$ tcsh/csh\sScript > ^#!\s\*/(.\*/|usr/bin/env\s)(tc|c)sh41 include csh.syntaxOk, I restored the > original 'Syntax' file to replace the customized one, but it seems it has no > effect, it display the same error and in the editor menu 'Options -> Syntax > Highlight...' it still display my customized additions (in the previous > example 'tcsh/csh Script'), and it uses its own .syntax files in > /usr/local/share/mc/syntax for all file types. > > I don't know if mc has a cache and where it is, in /tmp there is nothing to > help. This is not a FreeBSD issue instead something changed in mc syntax > highlight policy, anyhow, perhaps you know or heard about some changes, I use > mcedit for small shell files, small perl and python scripts on FreeBSD server > but the most of the time I works on Windows desktops (and access it with > remote terminals), so I can revert mc to works as default and edit them in > Windows. The latest mc from ports changed the paths to be more XDG complaint. Config files live now in ~/.config/mc/ (and, as consequence, ~/.config/mc/mcedit/ if you need mcedit-related ones). State-related files live in ~/.local/mc/ now. At the 1st run after update, the mc copies the "old" configs into "new" locations, which explains why your changes to the files inside ~/.mc/ had no effect and why you had a feeling like something cached somewhere. Also, at the 1st run (just after copying), mc shows message about new paths and what happened, and exits. But you can easy to miss it if your terminal emulator closes the window automatically after mc exit. > > FYI: I made many other customizations to mc but I don't know if they > interfere with this issue, all of them have more than 2 years and always > worked and they are the same from at least 1 year, anyway my system was > installed from 'disk 1' in september 2010, fresh FreeBSD 9.0-BETA1 > installation (it was an 8.2-RELEASE but I made a fresh install to test > bsdinstall and have SU+J on UFS), upgraded to 9.0-RELEASE in january or > frebuary with freebsd-update (binary), all ports are uptodate. > FreeBSD alpha.xxx.xxx 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Fri Jan 20 > 07:29:38 CET 2012 > r...@alpha.xxx.xxx:/usr/obj/usr/src/sys/ALPHA i386 > Thanks in advance for your advices (if you have any) > paul -- Andrew W. Nosenko ___ 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: Question about PORTEXAMPLES
On Thu, Apr 19, 2012 at 7:43 PM, Chris Rees wrote: > On 19 April 2012 17:46, Fernando Apesteguía > wrote: >> On Wed, Apr 18, 2012 at 7:32 PM, Chris Rees wrote: >>> >>> On 18 Apr 2012 18:05, "Fernando Apesteguía" >>> wrote: Hi all, I'm working on the port for OpenVSP. Here[1] there is a preliminary version. scheidell suggests simplifying the port using PORTEXAMPLES. I redid the Makefile a little so it looks like this now (I show only the relevant part): PORTEXAMPLES= ${WRKSRC}/../examples/airfoil/* PORTEXAMPLES+= ${WRKSRC}/../examples/cabin/* PORTEXAMPLES+= ${WRKSRC}/../examples/fonts/* PORTEXAMPLES+= ${WRKSRC}/../examples/fuselage/* PORTEXAMPLES+= ${WRKSRC}/../examples/models/* PORTEXAMPLES+= ${WRKSRC}/../examples/setup/* PORTEXAMPLES+= ${WRKSRC}/../examples/textures/* PLIST_FILES= bin/vsp do-fetch: ${FETCH_BINARY} -o ${DISTDIR}/${DISTNAME}.tar.gz ${MASTER_SITES}${DISTNAME} do-install: @${INSTALL_PROGRAM} ${WRKSRC}/vsp/vsp ${PREFIX}/bin .if !defined(NOPORTEXAMPLES) .for i in airfoil cabin fonts fuselage models setup textures @${MKDIR} ${EXAMPLESDIR}/${i} @${INSTALL_DATA} ${WRKSRC}/../examples/${i}/* ${EXAMPLESDIR} .endfor .endif portlint -abt only complains about one single MASTER_SITE configured (nothing I can do about it). However, 'port test' shows the following: ===> Deinstalling openvsp-2.0 pkg_delete: unable to completely remove directory '/tmp/openvsp-2.0/share/examples/openvsp' pkg_delete: couldn't entirely delete package `openvsp-2.0' (perhaps the packing list is incorrectly specified?) I don't get why this happens. What I want is to keep the same hierarchy the package has. This is, having the subdirectories 'airfoil', 'cabin', etc. hanging from the port's EXAMPLESDIR. Any help is appreciated. Cheers. PS: Please, CC me as I'm not subscribed to the list. Thanks! [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=166825 >>> >>> PORTEXAMPLES=* will work fine for the plist; don't use PORTEXAMPLES in the >>> for loop. >> >> I changed to PORTEXAMPLES=${WRKSRC}/../examples/* >> this handles the whole tree hierarchy. > > Hm, that's actually incorrect. PORTEXAMPLES should be relative to > EXAMPLESDIR. > >> I don't see the other thing... I'm not using PORTEXAMPLES in the loop. >> I'm traversing >> all the examples directories to create them and install the files with >> INSTALL_DATA. >> Is it possible to install the whole hierarchy at once? >> I saw the following line in /usr/ports/audio/hs-ALUT >> >> INSTALL_PORTEXAMPLES= @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} >> \* ${EXAMPLESDIR}) >> >> and then use it this way: >> >> .if !defined(NOPORTEXAMPLES) >> @${MKDIR} ${EXAMPLESDIR} >> @${INSTALL_PORTEXAMPLES} >> .endif >> >>> >>> Your problem is that you aren't removing the subdirs below EXAMPLESDIR. >> >> Should I delete them by hand or is there a way to mark the >> PORTEXAMPLES hierarchy to be wiped out? >> > > No, just use PORTEXAMPLES=* as I suggested before :) And... you're absolutely right :) Now port test reports no errors. Thank you! > > 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"
Re: Question about PORTEXAMPLES
On 19 April 2012 17:46, Fernando Apesteguía wrote: > On Wed, Apr 18, 2012 at 7:32 PM, Chris Rees wrote: >> >> On 18 Apr 2012 18:05, "Fernando Apesteguía" >> wrote: >>> >>> Hi all, >>> >>> I'm working on the port for OpenVSP. Here[1] there is a preliminary >>> version. >>> >>> scheidell suggests simplifying the port using PORTEXAMPLES. I redid the >>> Makefile >>> a little so it looks like this now (I show only the relevant part): >>> >>> PORTEXAMPLES= ${WRKSRC}/../examples/airfoil/* >>> PORTEXAMPLES+= ${WRKSRC}/../examples/cabin/* >>> PORTEXAMPLES+= ${WRKSRC}/../examples/fonts/* >>> PORTEXAMPLES+= ${WRKSRC}/../examples/fuselage/* >>> PORTEXAMPLES+= ${WRKSRC}/../examples/models/* >>> PORTEXAMPLES+= ${WRKSRC}/../examples/setup/* >>> PORTEXAMPLES+= ${WRKSRC}/../examples/textures/* >>> >>> PLIST_FILES= bin/vsp >>> >>> do-fetch: >>> ${FETCH_BINARY} -o ${DISTDIR}/${DISTNAME}.tar.gz >>> ${MASTER_SITES}${DISTNAME} >>> >>> do-install: >>> @${INSTALL_PROGRAM} ${WRKSRC}/vsp/vsp ${PREFIX}/bin >>> .if !defined(NOPORTEXAMPLES) >>> .for i in airfoil cabin fonts fuselage models setup textures >>> @${MKDIR} ${EXAMPLESDIR}/${i} >>> @${INSTALL_DATA} ${WRKSRC}/../examples/${i}/* ${EXAMPLESDIR} >>> .endfor >>> .endif >>> >>> portlint -abt only complains about one single MASTER_SITE configured >>> (nothing I can do >>> about it). >>> >>> However, 'port test' shows the following: >>> >>> ===> Deinstalling openvsp-2.0 >>> pkg_delete: unable to completely remove directory >>> '/tmp/openvsp-2.0/share/examples/openvsp' >>> pkg_delete: couldn't entirely delete package `openvsp-2.0' >>> (perhaps the packing list is incorrectly specified?) >>> >>> I don't get why this happens. What I want is to keep the same >>> hierarchy the package has. This is, >>> having the subdirectories 'airfoil', 'cabin', etc. hanging from the >>> port's EXAMPLESDIR. >>> >>> Any help is appreciated. >>> >>> Cheers. >>> >>> PS: Please, CC me as I'm not subscribed to the list. Thanks! >>> >>> [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=166825 >>> >> >> PORTEXAMPLES=* will work fine for the plist; don't use PORTEXAMPLES in the >> for loop. > > I changed to PORTEXAMPLES=${WRKSRC}/../examples/* > this handles the whole tree hierarchy. Hm, that's actually incorrect. PORTEXAMPLES should be relative to EXAMPLESDIR. > I don't see the other thing... I'm not using PORTEXAMPLES in the loop. > I'm traversing > all the examples directories to create them and install the files with > INSTALL_DATA. > Is it possible to install the whole hierarchy at once? > I saw the following line in /usr/ports/audio/hs-ALUT > > INSTALL_PORTEXAMPLES= @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} > \* ${EXAMPLESDIR}) > > and then use it this way: > > .if !defined(NOPORTEXAMPLES) > @${MKDIR} ${EXAMPLESDIR} > @${INSTALL_PORTEXAMPLES} > .endif > >> >> Your problem is that you aren't removing the subdirs below EXAMPLESDIR. > > Should I delete them by hand or is there a way to mark the > PORTEXAMPLES hierarchy to be wiped out? > No, just use PORTEXAMPLES=* as I suggested before :) 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"
FreeBSD Port: mc-4.8.1.1
hi, I'm facing an issue with last mc version. After upgrading ports (from source with portmaster) the syntax highlight in mcedit no more works, well, it works, but... Explanation I made some customization in mc for fileext, syntax highlight and menus, some of them are documentend, some others are partially documented and some others are undocumented. The syntax highlight customization is partially documented, however that's what I've done on my system: The syntax highlight are composed by files with .syntax extention and a main 'Syntax' file that recognize file type (extentions + content) and redirect to the right .syntax file. 1.. I created a new directory where I copied that files (located in /usr/local/share/mc/syntax) in that new directory. 2.. In each home directory there is an '.mc' directory where mc place per user configuration files, so I found that copying the above files in $HOME/.mc/cedit directory you can customize the syntax highlight recognition and coloration, so what I've done (for each user) is to create symlinks to that files in 'cedit' directory, pointing at files copied in step 1. So, each user has the same customized syntax highlight. Now, it worked for years, but when updated mc to version 4.8.1.1, it show me a syntax error in Syntax file at line 41, that contain the following customization: 40 file .\*(csh|\\.(csh|cshrc|tcsh|tcshrc|login|logout))$ tcsh/csh\sScript ^#!\s\*/(.\*/|usr/bin/env\s)(tc|c)sh41 include csh.syntaxOk, I restored the original 'Syntax' file to replace the customized one, but it seems it has no effect, it display the same error and in the editor menu 'Options -> Syntax Highlight...' it still display my customized additions (in the previous example 'tcsh/csh Script'), and it uses its own .syntax files in /usr/local/share/mc/syntax for all file types. I don't know if mc has a cache and where it is, in /tmp there is nothing to help. This is not a FreeBSD issue instead something changed in mc syntax highlight policy, anyhow, perhaps you know or heard about some changes, I use mcedit for small shell files, small perl and python scripts on FreeBSD server but the most of the time I works on Windows desktops (and access it with remote terminals), so I can revert mc to works as default and edit them in Windows. FYI: I made many other customizations to mc but I don't know if they interfere with this issue, all of them have more than 2 years and always worked and they are the same from at least 1 year, anyway my system was installed from 'disk 1' in september 2010, fresh FreeBSD 9.0-BETA1 installation (it was an 8.2-RELEASE but I made a fresh install to test bsdinstall and have SU+J on UFS), upgraded to 9.0-RELEASE in january or frebuary with freebsd-update (binary), all ports are uptodate. FreeBSD alpha.xxx.xxx 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Fri Jan 20 07:29:38 CET 2012 r...@alpha.xxx.xxx:/usr/obj/usr/src/sys/ALPHA i386 Thanks in advance for your advices (if you have any) paul ___ 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: Question about PORTEXAMPLES
On Wed, Apr 18, 2012 at 7:32 PM, Chris Rees wrote: > > On 18 Apr 2012 18:05, "Fernando Apesteguía" > wrote: >> >> Hi all, >> >> I'm working on the port for OpenVSP. Here[1] there is a preliminary >> version. >> >> scheidell suggests simplifying the port using PORTEXAMPLES. I redid the >> Makefile >> a little so it looks like this now (I show only the relevant part): >> >> PORTEXAMPLES= ${WRKSRC}/../examples/airfoil/* >> PORTEXAMPLES+= ${WRKSRC}/../examples/cabin/* >> PORTEXAMPLES+= ${WRKSRC}/../examples/fonts/* >> PORTEXAMPLES+= ${WRKSRC}/../examples/fuselage/* >> PORTEXAMPLES+= ${WRKSRC}/../examples/models/* >> PORTEXAMPLES+= ${WRKSRC}/../examples/setup/* >> PORTEXAMPLES+= ${WRKSRC}/../examples/textures/* >> >> PLIST_FILES= bin/vsp >> >> do-fetch: >> ${FETCH_BINARY} -o ${DISTDIR}/${DISTNAME}.tar.gz >> ${MASTER_SITES}${DISTNAME} >> >> do-install: >> @${INSTALL_PROGRAM} ${WRKSRC}/vsp/vsp ${PREFIX}/bin >> .if !defined(NOPORTEXAMPLES) >> .for i in airfoil cabin fonts fuselage models setup textures >> @${MKDIR} ${EXAMPLESDIR}/${i} >> @${INSTALL_DATA} ${WRKSRC}/../examples/${i}/* ${EXAMPLESDIR} >> .endfor >> .endif >> >> portlint -abt only complains about one single MASTER_SITE configured >> (nothing I can do >> about it). >> >> However, 'port test' shows the following: >> >> ===> Deinstalling openvsp-2.0 >> pkg_delete: unable to completely remove directory >> '/tmp/openvsp-2.0/share/examples/openvsp' >> pkg_delete: couldn't entirely delete package `openvsp-2.0' >> (perhaps the packing list is incorrectly specified?) >> >> I don't get why this happens. What I want is to keep the same >> hierarchy the package has. This is, >> having the subdirectories 'airfoil', 'cabin', etc. hanging from the >> port's EXAMPLESDIR. >> >> Any help is appreciated. >> >> Cheers. >> >> PS: Please, CC me as I'm not subscribed to the list. Thanks! >> >> [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=166825 >> > > PORTEXAMPLES=* will work fine for the plist; don't use PORTEXAMPLES in the > for loop. I changed to PORTEXAMPLES=${WRKSRC}/../examples/* this handles the whole tree hierarchy. I don't see the other thing... I'm not using PORTEXAMPLES in the loop. I'm traversing all the examples directories to create them and install the files with INSTALL_DATA. Is it possible to install the whole hierarchy at once? I saw the following line in /usr/ports/audio/hs-ALUT INSTALL_PORTEXAMPLES= @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) and then use it this way: .if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} @${INSTALL_PORTEXAMPLES} .endif > > Your problem is that you aren't removing the subdirs below EXAMPLESDIR. Should I delete them by hand or is there a way to mark the PORTEXAMPLES hierarchy to be wiped out? Thanks in advance. > > 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"
Re: net-mgmt/portupgrade - SSL need to be in base?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/19/2012 01:14 AM, Oliver Lehmann wrote: > Hi, > > it looks like SSL suppot needs to be compiled into the base system > to fetch the portupgrade source?! At least my base system is > without SSL support and it does not fetch... Hi, There's a patch here which will fix the issue: http://www.freebsd.org/cgi/query-pr.cgi?pr=167096 Thanks, Bryan -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJPkCBRAAoJEG54KsA8mwz5QXcP/1Iyfd85BLjYYsIMVcXi+A2S dfM9xMIA+ccMBKe+TDJWE6vYxuKYcnKf+mC2x7oUxHHBCakn6t8x+n9Q6So9xfqX J9wIf88LiMYmy0S6VbU/kCzLG+VelJgGM0WBIbBxekH6v87TuJI8iWtu6GbS2v85 WE+DC6nH9G+U3PpXZQ4xkbLDGKKdA3gHEHVJ9lAVk4s1azrGOwDVODaz90N+PNmI NcBVyQ6QsaynEoIU1sch3MM9j2W56Sbc67bPZv6vESwRPU3l8o5wWwyeBsihKZfB oHMkns5i3o9Rxuyy/djyvmPIwZ5aBtdDl11zPdcEzK7oOyvLM4mtnaji0s7Ydcnv QttpEwOcS0Ywvj7oT3pz0F4DlKFwq53D4EDb5I6k8jAoaBOEFy2M2WWkDdBTIr81 RwgpcCYBAyMpj77J43e88lOOmt5HQhzH8ORuSkGv8YPS9oNFRDD0PSM3Ob2d8ucW w1sVeoQEO2ZhhU3hSV9i933S5iVASH1kC1FXCKg/5+tCBkpEp3U0+Wk45lNEnbbe VdHEqwsG6AzzAg5ZU1UFAPZwHd+K9S+xYkLovWp5okNmnl9JCdpXWJNnlbuW3yhr 0nX5dRoNd7kbb50p6g0+kfsmSUzhdRMbHVcrruTZajVcOVBLP/db8QNZZvYmkAlT RWR4NLYvlWcnm4+IAfHu =ZMoD -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"
Re: net-mgmt/portupgrade - SSL need to be in base?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/19/2012 01:14 AM, Oliver Lehmann wrote: > Hi, > > it looks like SSL suppot needs to be compiled into the base system > to fetch the portupgrade source?! At least my base system is > without SSL support and it does not fetch... Hi, Sorry, will get this fixed. Thanks, Bryan Drewery -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJPkBOoAAoJEG54KsA8mwz5/WMP/2Z9EN/yzhEHpuJqU9x9ijP1 dlT7oXxijRlUfBvIwCjMjvDlRfMDMMEmIkVRUtGDIl98p01Rpeg5XT51GkY+p88R Ne0WaFvBghV+64BlsZMmR79uyltkYPDk3bvwST8jXGin4ko9ZledsP3yqztZEFOo 2Ctsd7CdURNCKbWi7XlY2iWuFsORgJ1ttlmeR0o7AK8sJEO/iEhqaCybG1oUpj15 NJRBf/XQG11WWvUu75/aAoef8hIyG9MRt0azziNsdUE94qyk7LhqL3ipm0oZ2LmU 4kAQYeb2qJaQ6e/EBFB1fcJjXlcS055LT6ZiCnu5vMuwjIAsqxbQ+QRldSUpAedR OfzJJqEOPISxhqlNJwlULwO2ks9CDZvGP6aLhlnPwdk0uqPbLM/pwWBwuNkTdgSk MqL9XWCVZsZsmpJaTI4rkt0ElF1GxU7r4KW0fGH5IaNi6AUgdLniwd3gpbw/Uc6T J9FBD7SKD6Oi/lbl6n2Oy/SZaHje6P6ZyhN9pSLvc51sJfsfN9YbWAMnoOuLDuEN VS1MLQT4hwcL1hGX2Zux00Hpf5wAh9kebKJWO9O6Fb7aLNOCqOsOIolbWiF6DfRG 3HFrdJ9hfE4NeEbMVPXMrr9ZobqqoQ9oX4OBQ1roWhKKoyke7Ccu86qnTTx0jZI+ 7mwWvDO/Y73Bq8Ecf3ag =SkYX -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"
Re: PHP 5.4.0 : lang/php54
Svyatoslav Lempert ha scritto: > FreeBSD 8.3 is done, please commit update lang/php5 to PHP 5.4 to > portstree. Thank you in advance. I'm just waiting for final release of suhosin (both patch and extension) to commit the update. -- Alex Dupre ___ 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"