File ownership being changed to root:wheel ownership after copying to samba server

2010-10-27 Thread Troy
A very strange problem just started happening with Samba after I 
upgraded to version samba34-3.4.9 on FreeBSD 8.0-STABLE.


Let's say my username is foobar.  I copy a file named To Fix.txt from a 
windows desktop machine to a samba share.


In the log it shows the following:

[2010/10/28 00:53:16,  2] lib/access.c:406(check_access)
  Allowed connection from 172.16.0.5 (172.16.0.5)
[2010/10/28 00:53:24,  2] smbd/open.c:580(open_file)
  foobar opened file Working/To Fix.txt read=Yes write=Yes (numopen=2)
[2010/10/28 00:53:24,  2] smbd/close.c:612(close_normal_file)
  foobar closed file Working/To Fix.txt (numopen=1) NT_STATUS_OK

Then when I look at the owner:group of the file that was just copied it 
shows:


-rwxr-xr-x   1 root  wheel1422 Oct 27 16:07 To Fix.txt*

I cannot figure out why the file is owned by root:wheel when it should 
be foobar:foobar.


Anyone have any ideas?


-Troy
___
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: FreeBSD Port: snort-2.8.6.1

2010-10-27 Thread jhell
On 10/27/2010 17:59, ignace peeters wrote:
> Hello,
> 
> I'm trying to build and install snort,running into the following
> recuring error:
> 
> /bin/sh /usr/local/bin/libtool --tag=CC--mode=link cc  -O2 -pipe
> -fno-strict-aliasing -fvisibility=hidden -fno-strict-aliasing -Wall 
> -module -lssl -lcrypto -L/usr/local/lib -L/usr/local/lib


> -Wl,-R/usr/local/lib -lpcre -L -L/usr/local/lib -L/usr/local/lib -ldnet

The error seems to happen in here '-L' as stated by the error below
leads me to believe that something in your make.conf, make.conf.local
and possibly ports-mgmt/portconf and whatever config files it might use
if you use that might be causing it.

Can you double check those files and verify that there is no lines that
would affect the flags passed to the linker or configure to cause that
to appear ?


> -o libsf_smtp_preproc.la -rpath /usr/local/lib/snort/dynamicpreprocessor
> smtp_config.lo smtp_log.lo  smtp_normalize.lo smtp_util.lo
> smtp_xlink2state.lo  snort_smtp.lo spp_smtp.lo ssl.lo 
> sf_dynamic_preproc_lib.lo  sfPolicyUserData.lo  -ldnet -lpq -lc -lpcre
> -lpcap -lm -lm  -lpq
> libtool: link: require no space between `-L' and `-L/usr/local/lib'
> 
> The error occurs in multiple Makefiles. Can this be corrected in the
> ports collection.
> 


-- 

 jhell,v
___
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: FreeBSD Port: tomcat-6.0.24

2010-10-27 Thread Jason Helfman
I fixed this issue in tomcat55. Sounds similar.

On Oct 27, 2010, at 11:26 AM, Mike Jakubik  
wrote:

> On Thu, 2010-03-25 at 11:31 +0100, Alex Dupre wrote:
> 
>> Ян Злобин ha scritto:
>>> Please, fix small FreeBSD port error.  In the tomcat-6.0.24 rc.d script
>>> missed line:
>>> 
>>>procname="java" 
>> 
>> This is the wrong way to "fix" it, you should create a patch using the
>> tomcat_check_pidfile() rc function.
>> 
> 
> 
> Does anyone have a working solution for this? The status command still
> does not work in tomcat 6.0.29. The above suggestion does not work
> either.
> 
> Thanks.
> 
> ___
> 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"


Use of license in ports Makefile

2010-10-27 Thread Carmel
I have a application that I want to port to FreeBSD. It is licensed
under the BSD license from what I can understand. In the new port's
Makefile, would I just put something like this:

license:BSD

or would that not work? Suppose it was licensed under a "public domain"
license. How would that be handled or isn't it important in that case.

Finally, do I have to use anything other than:

.include 

in the Makefile? I cannot seem to locate a lot of this information in
the porter's handbook; although I thought I should have.

Thanks!

-- 
Carmel 
carmel...@hotmail.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"


FreeBSD Port: snort-2.8.6.1

2010-10-27 Thread ignace peeters

Hello,

I'm trying to build and install snort,running into the following 
recuring error:


/bin/sh /usr/local/bin/libtool --tag=CC--mode=link cc  -O2 -pipe 
-fno-strict-aliasing -fvisibility=hidden -fno-strict-aliasing -Wall  
-module -lssl -lcrypto -L/usr/local/lib -L/usr/local/lib 
-Wl,-R/usr/local/lib -lpcre -L -L/usr/local/lib -L/usr/local/lib -ldnet 
-o libsf_smtp_preproc.la -rpath /usr/local/lib/snort/dynamicpreprocessor 
smtp_config.lo smtp_log.lo  smtp_normalize.lo smtp_util.lo 
smtp_xlink2state.lo  snort_smtp.lo spp_smtp.lo ssl.lo  
sf_dynamic_preproc_lib.lo  sfPolicyUserData.lo  -ldnet -lpq -lc -lpcre 
-lpcap -lm -lm  -lpq

libtool: link: require no space between `-L' and `-L/usr/local/lib'

The error occurs in multiple Makefiles. Can this be corrected in the 
ports collection.


Txs
Ignace Peeters
___
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: FreeBSD Port: tomcat-6.0.24

2010-10-27 Thread Mike Jakubik
On Thu, 2010-03-25 at 11:31 +0100, Alex Dupre wrote:

> Ян Злобин ha scritto:
> > Please, fix small FreeBSD port error.  In the tomcat-6.0.24 rc.d script
> > missed line:
> > 
> > procname="java" 
> 
> This is the wrong way to "fix" it, you should create a patch using the
> tomcat_check_pidfile() rc function.
> 


Does anyone have a working solution for this? The status command still
does not work in tomcat 6.0.29. The above suggestion does not work
either.

Thanks.

___
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: FreeBSD Port: tomcat-6.0.24

2010-10-27 Thread Alex Dupre

Mike Jakubik ha scritto:

Does anyone have a working solution for this? The status command still
does not work in tomcat 6.0.29. The above suggestion does not work either.


The status command works on tomcat 6/7 ports.

--
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"


Re: exception bash(and few plugins) of munin

2010-10-27 Thread Dag-Erling Smørgrav
"Ilya A. Arhipov"  writes:
> Maybe exclude these plugins of Munin and bash:${PORTSDIR}/shells/bash
> of Makefiles.  install bash, for these 5 plugins i think not correct,
> old version don't have these plugins

I don't see the problem.

DES
-- 
Dag-Erling Smørgrav - d...@des.no
___
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: opera

2010-10-27 Thread Raphael Kubo da Costa
Erik Trulsson wrote:

> On Tue, Oct 26, 2010 at 07:43:55AM -0400, Robert Huff wrote:
>> 
>> ajtiM writes:
>> 
>> >  My question is: does FreeBSD doesn't "like" Opera to much? In
>> >  this case is better to live choice to Opera users that installed
>> >  the browser when and where they wanted and quit porting it.
>> 
>> The port is maintained by:
>> 
>> freebsd-maintai...@opera.com
>> 
>> If it's behind the curve, complain to Opera.
> 
> But first check if there is any pending PR with uncommitted patches:
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/151471

By the way, apparently Opera doesn't maintain those ports anymore, as the 
maintainer has requested maintainership to be reset in this PR.

___
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: Multiple subdirectories/sub-builds

2010-10-27 Thread Diane Bruce
On Wed, Oct 27, 2010 at 11:44:54AM -0500, Jim Riggs wrote:
> I am working on a new port that has several "sub-builds."  That is, the 
> distfile has several subdirectories, each with its own 
> configure/make/install.  Are there any best practices or suggestions for 
> dealing with this scenario?  I didn't find anything in the handbook, and list 
> searches didn't turn up anything (though I don't know what exactly to search 
> for).

I have in the past simply created my own Makefile that descends into each
subdir and builds them. Stick it into files. Look at comms/trustedqsl

- Diane
-- 
- d...@freebsd.org d...@db.net http://www.db.net/~db
___
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: openntpd-4.6_1,2

2010-10-27 Thread f5b
openntpd run longtime(about 60 days) in FreeBSD 8.1-RELEASE and system time
is accurate.
but when reboot the system, the time will become inaccurate (diff about 10
minutes of GMT), and will have some day to become accurate through
synchronizing pool.ntp.org

but I heard ntpd in FreeBSD 8.1-RELEASE will never happen things like
openntpd.
when reboot the system, time is always accurate because ntpd had write time
back to RTC In 30 minutes.

r207360,r207359, r207362, callout

reference: r207360,r207359, r207362, callout
https://blog.delphij.net/2010/08/rtc-ntp.html

sorry for my pool English.

___
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: openntpd-4.6_1,2

2010-10-27 Thread Marcus
openntpd(port) run longtime(about 60 days) in FreeBSD 8.1-RELEASE and
system time is now accurate.
but when reboot the system, the time will become inaccurate (diff
about 10 minutes of GMT), and will have some day to become accurate
through synchronizing pool.ntp.org

but I heard ntpd(userland) in FreeBSD 8.1-RELEASE base.
when reboot the system, time is always accurate because ntpd had write
time back to RTC In 30 minutes.

reference: r207360,r207359, r207362, callout
https://blog.delphij.net/2010/08/rtc-ntp.html

May openntpd solve the problem in FreeBSD?

Sorry for my pool English.
___
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: [PATCH] Upgrade devel/monotone to 0.48.1

2010-10-27 Thread Lapo Luchini
Lapo Luchini wrote:
> Actually, there's a fix: http://pastebin.ca/1970723
> But 0.99 will be out in 4 days anyways...

Also available here (as suggested by Garret):

http://code.monotone.ca/p/monotone/source/commit/9def7716bcd068fc1929ed8336432bbed775d9ee/

-- 
Lapo Luchini - http://lapo.it/

“I think I can safely say that nobody understands quantum mechanics.”
(Richard Feynman, 1965)

___
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"