Re: NEW: net/p3scan
On Fri, 2007-11-16 at 17:34 -0500, Okan Demirmen wrote: On Fri 2007.11.16 at 17:27 -0500, Okan Demirmen wrote: i think the one thing i'd ask is replacing the hardcoded /usr/local bits in the patches with !!LOCALBASE!! and do something like the following in pre-configure: perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g' (shameless stolen from sthen@'s mail earlier on...) and i forgot to mention, openbsd doesn't gz man pages. Both done like the following (and related changes in other files): @perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g' \ ${WRKSRC}/{p3scan.conf,p3scan.h} @gunzip ${WRKSRC}/{p3scan.8.gz,p3scan_readme.8.gz} Please find the new package attached. But I am not happy with the !!LOCALBASE!! changes in the patch files. Because when I make update-patches, they are replaced with '/usr/local', and I have to copy those *.orig patch files back manually. That's a headache if there is no solution. p3scan-2.3.2.tar.gz Description: application/compressed-tar
Re: NEW: net/p3scan
On 2007/11/17 13:30, Soner Tari wrote: But I am not happy with the !!LOCALBASE!! changes in the patch files. Because when I make update-patches, they are replaced with '/usr/local', At least with the changes done in pre-configure rather than post-patch, we can 'make clean patch', merge as needed, then 'make update-patches'... If you think of a better way, let us know, it'll save some time. (-:
pkg_add lam: Unknown manpage type
Hi, all. I use OpenBSD 4.2 -release, when i install lam-6.5.9p0.tgz from binary package, i got this message: # pkg_add lam lam-6.5.9p0: complete Unknown manpage type /usr/local/man/man3/libmpi.3 Unknown manpage type /usr/local/man/man7/MPI.7 Unknown manpage type /usr/local/man/man7/mpi.7 Is it something wrong? Thanks very much. -- Best Regards. Michael Bibby(Huangbin Zhang) - RedHat Enterprise Linux 5 Client - OpenBSD 4.2 -release
Re: NEW: net/p3scan
The attached version: - changes mkdir/chmod for an install in MESSAGE - adds notes about permissions on /dev/pf - calls setgid(), so /dev/pf only needs 640 not 644 (the code already assumes that username == groupname so I didn't add a new config parameter) Remaining problems: - permissions on /dev/pf should only be needed for transparent mode (currently connections fail without read access to it) - I am not too happy about this lot: char comm[4096]; snprintf(comm,4096,%s %s %s,MOVEIT,p-mailfile,config-virusdirbase); if(system(comm)) do_log(LOG_CRIT,ERR: move); snprintf(comm,4096,%s %s/p3scan.*,CHMODCMD,config-virusdirbase); do_log(LOG_DEBUG,Forcing all files 0600 %s,comm); if(system(comm)) do_log(LOG_CRIT,ERR: chmod); snprintf(comm,4096,cat %s | %s -s '[Virus] found in a mail to %s' %s, mailx, config-mail, paramlist_get(p-params, %USERNAME%),config-extra); if(system(comm)) do_log(LOG_CRIT,ERR: mailx); snprintf(comm,4096,cat %s | %s -s '[Virus] found in a mail to %s' %s, mail, config-mail, paramlist_get(p-params, %USERNAME%),config-extra); if(system(comm)) do_log(LOG_CRIT,ERR mail); p3scan.tgz Description: application/tar-gz
Re: NEW: net/p3scan
On 2007/11/17 13:54, Stuart Henderson wrote: - changes mkdir/chmod for an install in MESSAGE sorry, this explanation is not too clear :) Rather than writing mkdir /var/run/foo chmod ... we can just do install -d /var/run/foo -o ...
Re: Ion3 port is obsolete
On Nov 16, 2007 11:31 PM, Tuomo Valkonen [EMAIL PROTECTED] wrote: On 2007-11-16, Craig Brozefsky [EMAIL PROTECTED] wrote: Yah, sucks to write free software, perhaps you should just stop. Indeed, Ion3 is my final gift to the FOSS herd, that it can never hope to repay. After that any software I might create, will come without any license at all (the djb way). With or without source, I have not yet decided. Probably without, since FOSS is degrading into a pile of steaming shit so fast, that I'm likely to be switching to Windows within a few years time, and binaries will work just fine there. Come on Tuomo. Don't get so upset of not being paid back for your efforts in some way or the other. Let me ask you this. How many free software have you used your self? For how many have you paid back? At least with a thank you towards the authors? Just think for a while and reply and don't reply just for the sake of winning an argument. Is it really worth to stir up all this fuss here? Hmm... I guess (L)GPL isn't very free. It isn't, in fact; and I do consider the BSD license more free. In fact, the name use terms in my license are basically all that I care about; the LGPL is just baggage. If some thing in your license is just baggage then just remove it. Put what you just care for and people will love you for it. Don't read this post with an insulting view. I am just politely pointing out some thing in a friendly way :-) kind regards Siju
Re: Ion3 port is obsolete
On 2007-11-17 21:38 +0530, Siju George wrote: Come on Tuomo. Don't get so upset of not being paid back for your efforts in some way or the other. I don't expect to get paid back, but I'd rather people not fuck with me after all my efforts, as the distros do. Let me ask you this. How many free software have you used your self? For how many have you paid back? At least with a thank you towards the authors? Not much worth thanking for there. Most of the good stuff is clones that I could have pirated anyway. It just happens that FOSS crap has become dominant among many of those programs. And for browser I use Opera. (Even warez groups, BTW, often tend to distribute their cracks alongside the pirated copy, instead of distributing modified binaries only. Yeah, and version is apparent from the file name listed by sites.) If some thing in your license is just baggage then just remove it. I thought about that, but it was just simpler to extend the LGPL. -- Tuomo
Re: Ion3 port is obsolete
On Nov 16, 2007 11:37 PM, Tuomo Valkonen [EMAIL PROTECTED] wrote: I'm sure OpenBSD would like very much for me to distribute some ancient and significantly modified release as the latest. Except, of course, I don't have the resources for such to have much of an effect, unlike The Party, i.e. the big distros. If OpenBSD changed its license and put in restrictions you would have no other way but to distribute the old one. See it is not the OpenBSD people who tarnishes you. It is your own license restrictions that are working against you. kind regards Siju
Re: Ion3 port is obsolete
On Nov 17, 2007 9:54 PM, Tuomo Valkonen [EMAIL PROTECTED] wrote: On 2007-11-17 21:38 +0530, Siju George wrote: Come on Tuomo. Don't get so upset of not being paid back for your efforts in some way or the other. I don't expect to get paid back, but I'd rather people not fuck with me after all my efforts, as the distros do. Let me ask you this. How many free software have you used your self? For how many have you paid back? At least with a thank you towards the authors? Not much worth thanking for there. Most of the good stuff is clones that I could have pirated anyway. I just don't get your point here Tuomo. You don't consider the least thing you can do ( i.e to thank the authors ) a worth while effort because you have the option to pirate ( is it an option? isn't it illegal? are illegal stuff decent options? ) . But you get upset at people who work on your software so that is is made available to the masses more easily, because they are unable to continue their good work, because of the new license restrictions you yourself brought in. So just help them out. Change you licence back to some really free one like the BSDL. You yourself said == In fact, the name use terms in my license are basically all that I care about; the LGPL is just baggage. == this will most likely solve the problem. Being a programmer yourself you should be more aware of the chaos all the different flavors of licenses create while sharing code. I politely urge not to add your own terms and create your own licenses if you would like to share your code in FOSS. It just happens that FOSS crap has become dominant among many of those programs. And for browser I use Opera. (Even warez groups, BTW, often tend to distribute their cracks alongside the pirated copy, instead of distributing modified binaries only. Yeah, and version is apparent from the file name listed by sites.) If some thing in your license is just baggage then just remove it. I thought about that, but it was just simpler to extend the LGPL. Please re-think your decision. I am sure your software has been beneficial to a lot of people and so let it continue to be beneficial. In the long run I am sure you will see random addition of clauses to FOSS licenses will not help either you or people who maintain your software or the users of your software. Hope you will make a helping move that is beneficial to all :-) Kind Regards Siju
Re: Ion3 port is obsolete
On Nov 17, 2007, at 11:40 AM, Siju George [EMAIL PROTECTED] wrote: On Nov 16, 2007 11:37 PM, Tuomo Valkonen [EMAIL PROTECTED] wrote: I'm sure OpenBSD would like very much for me to distribute some ancient and significantly modified release as the latest. Except, of course, I don't have the resources for such to have much of an effect, unlike The Party, i.e. the big distros. If OpenBSD changed its license and put in restrictions you would have no other way but to distribute the old one. See it is not the OpenBSD people who tarnishes you. It is your own license restrictions that are working against you. The real kicker is that your license change hurt everyone involved. Stupid Linux users will *still* pester you about Ion_NOT- SUPPORTED-0.1. On top of that, you've lost arguably your most competent user base due to licensing incompatibilities. I don't think you really care though. You sound like a very bitter person. --- Jason Dixon DixonGroup Consulting http://www.dixongroup.net
Re: Ion3 port is obsolete
* Siju George [2007-11-17]: If OpenBSD changed its license and put in restrictions you would have no other way but to distribute the old one. See it is not the OpenBSD people who tarnishes you. It is your own license restrictions that are working against you. Could you move this stupid flame war elsewhere, please? Or even better, just stop it. cheers, Nikolay
Re: Ion3 port is obsolete
On 2007-11-17 22:10 +0530, Siju George wrote: See it is not the OpenBSD people who tarnishes you. It is your own license restrictions that are working against you. The extra terms in the license are there for a reason, you know. Distros far bigger than OpenBSD fucking with you by distributing Xft-modified versions and ancient development snapshots for years. -- Tuomo
Re: Ion3 port is obsolete
Please immediately take this to your own list, instead of spamming this list further. On 2007-11-17 22:10 +0530, Siju George wrote: See it is not the OpenBSD people who tarnishes you. It is your own license restrictions that are working against you. The extra terms in the license are there for a reason, you know. Distros far bigger than OpenBSD fucking with you by distributing Xft-modified versions and ancient development snapshots for years. -- Tuomo
Re: Ion3 port is obsolete
On Nov 17, 2007 10:38 PM, Nikolay Sturm [EMAIL PROTECTED] wrote: * Siju George [2007-11-17]: If OpenBSD changed its license and put in restrictions you would have no other way but to distribute the old one. See it is not the OpenBSD people who tarnishes you. It is your own license restrictions that are working against you. Could you move this stupid flame war elsewhere, please? Or even better, just stop it. Done. Full stop . cheers, cheer to you too :-) kind regards Siju
Re: Ion3 port is obsolete
On 2007-11-17 12:03 -0500, Jason Dixon wrote: I don't think you really care though. You sound like a very bitter person. I tend to like bitter. And stout and other varieties too. -- Tuomo
Re: pkg_add lam: Unknown manpage type
On Sat 2007.11.17 at 20:40 +0800, Bibby wrote: Hi, all. I use OpenBSD 4.2 -release, when i install lam-6.5.9p0.tgz from binary package, i got this message: # pkg_add lam lam-6.5.9p0: complete Unknown manpage type /usr/local/man/man3/libmpi.3 Unknown manpage type /usr/local/man/man7/MPI.7 Unknown manpage type /usr/local/man/man7/mpi.7 Is it something wrong? yes, thank you - i'll look into it.
Re: NEW: net/p3scan
On 2007/11/17 13:54, Stuart Henderson wrote: - I am not too happy about this lot: char comm[4096]; snprintf(comm,4096,%s %s %s,MOVEIT,p-mailfile,config-virusdirbase); if(system(comm)) do_log(LOG_CRIT,ERR: move); snprintf(comm,4096,%s %s/p3scan.*,CHMODCMD,config-virusdirbase); do_log(LOG_DEBUG,Forcing all files 0600 %s,comm); if(system(comm)) do_log(LOG_CRIT,ERR: chmod); snprintf(comm,4096,cat %s | %s -s '[Virus] found in a mail to %s' %s, mailx, config-mail, paramlist_get(p-params, %USERNAME%),config-extra); if(system(comm)) do_log(LOG_CRIT,ERR: mailx); snprintf(comm,4096,cat %s | %s -s '[Virus] found in a mail to %s' %s, mail, config-mail, paramlist_get(p-params, %USERNAME%),config-extra); if(system(comm)) do_log(LOG_CRIT,ERR mail); This might bear a little explanation.. For the move/chmod it doesn't look terrible, but it would be better to just call rename(2)/chmod(2). Looks like in the 2.9 development versions these are gone completely. The latter two calls, for sending mail, are nastier; an untrusted user-provided string is passed directly to the shell (yes, system() uses /bin/sh) and it doesn't appear to be cleaned first. Using popen(/usr/sbin/sendmail -t) and feeding the headers and the message down the file handle would be better. This does still use the shell but only passes it a fixed string. Avoiding the shell completely by pipe/fork/exec is another option. scanner_bash also really should be cleaning strings which it passes to the user-provided shell script. I'd just disable that, I don't think it's especially useful - most people are just going to be using clamav anyway. Anyone else got input?
math/gnumeric and graphs
Hi, after upgrading from 4.2 to snapshot (packages ~ Nov 3) Gnumeric doesn't display graphs anymore. They are visible in the graph's property editor but not in the sheet itself. Anyone else having same problems? How to repeat: create a sheet with cells, for example: 1 10 2 11 3 12 Select them and hit the Insert a Chart button, then Insert and make a rectangular area which finishes the graph. I get this to my terminal: $ gnumeric gnumeric:/usr/local/lib/libpcre.so.2.0: /usr/local/lib/libgoffice-1.so.0.0 : WARNING: symbol(_pcre_utt) size mismatch, relink your program gnumeric:/usr/local/lib/libpcre.so.2.0: /usr/local/lib/libgoffice-1.so.0.0 : WARNING: symbol(_pcre_OP_lengths) size mismatch, relink your program -- Antti Harri