Re: FreeBSD Port: isc-dhcp41-server-4.1.2,1; Concurrent IPv4 DHCP and DHCPv6

2011-01-10 Thread mog


On 06/01/2011 18:08, Wesley Shields wrote:

On Wed, Jan 05, 2011 at 01:14:26AM -0800, Douglas Thrift wrote:

Hello,

Since ISC dhcpd 4.1 now supports DHCPv6, but a single instance of the
daemon can't do both IPv4 DHCP and DHCPv6, it would be nice if the rc.d
script from the port could be configured to start the daemon twice. Has
anyone thought about this at all or implemented anything?

I'm certainly open to the idea if you can get it to work cleanly. I'm
not entirely sure it's going to be an easy solution though. It might be
a better question for the rc list (to which I am not subscribed so you
may want to keep me on the CC).

-- WXS



Perhaps my brain isn't quite working correctly from being ill lately, 
but does anyone know why dhcpd is unable to operate on both IPv4 and 
IPv6 at the same time?


To me it would seem like a perfectly natural progression of the 
software, given that many networks are going to want to run dual stack 
IPv4 and IPv6 to help with transitioning.

___
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: incomplete pkg-plist for print/teTeX-texmf

2011-01-10 Thread Eygene Ryabinkin
Mon, Jan 10, 2011 at 02:54:26PM +, Anton Shterenlikht wrote:
> But still, why doesn't pkg_info -W say so?

Because it operates on the real entries of +CONTENTS,
but ls-R are created via @exec and removed via @unexec.

From the other hand, @unexec is spawned after the ls-R
from teTeX-texmf will be removed, so such construction
(when some file contains both in the pkg-plist and is
removed via @unexec using rm -f ) will be harmless
and will make that file to appear in 'pkg_info -W '.

I don't know what is the general policy for such occurences,
porter's handbook has no such information and I had faced
such thing for the first time.  Anyone?
-- 
Eygene Ryabinkin,,,^..^,,,
[ Life's unfair - but root password helps!   | codelabs.ru ]
[ 82FE 06BC D497 C0DE 49EC  4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]


pgpYmFlqnCxTt.pgp
Description: PGP signature


Re: incomplete pkg-plist for print/teTeX-texmf

2011-01-10 Thread Anton Shterenlikht
On Mon, Jan 10, 2011 at 05:27:58PM +0300, Eygene Ryabinkin wrote:
> Anton, good day.
> 
> Mon, Jan 10, 2011 at 02:01:45PM +, Anton Shterenlikht wrote:
> > I think there are five ls-R files, installed by teTeX-texmf,
> > which are not included in pkg-plist.
> > 
> > % cat ls-R-which.sh 
> > #!/bin/sh
> > 
> > for file in `find /usr/local/share/texmf* -name "ls-R"`
> > do
> > echo $file
> > pkg_info -W $file
> > done
> > 
> > % ./ls-R-which.sh 
> > /usr/local/share/texmf/ls-R
> > /usr/local/share/texmf-config/ls-R
> > /usr/local/share/texmf-dist/ls-R
> > /usr/local/share/texmf-dist/ls-R was installed by package teTeX-texmf-3.0_6
> > /usr/local/share/texmf-local/ls-R
> > /usr/local/share/texmf-var/ls-R
> 
> Others belong to tex-texmflocal package:
> {{{
> $ cd /var/db/pkg && grep -r ls-R . | grep unexec
> ./teTeX-texmf-3.0_6/+CONTENTS:@unexec rm -f %D/share/texmf-dist/ls-R
> ./tex-texmflocal-1.9/+CONTENTS:@unexec /bin/rm -f /usr/local/share/texmf/ls-R 
> > /dev/null 2>&1 || true
> ./tex-texmflocal-1.9/+CONTENTS:@unexec /bin/rm -f 
> /usr/local/share/texmf-local/ls-R > /dev/null 2>&1 || true
> ./tex-texmflocal-1.9/+CONTENTS:@unexec /bin/rm -f 
> /usr/local/share/texmf-var/ls-R > /dev/null 2>&1 || true
> ./tex-texmflocal-1.9/+CONTENTS:@unexec /bin/rm -f 
> /usr/local/share/texmf-config/ls-R > /dev/null 2>&1 || true
> }}}

ok, thanks, I should've checked.

But still, why doesn't pkg_info -W say so?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: incomplete pkg-plist for print/teTeX-texmf

2011-01-10 Thread Eygene Ryabinkin
Anton, good day.

Mon, Jan 10, 2011 at 02:01:45PM +, Anton Shterenlikht wrote:
> I think there are five ls-R files, installed by teTeX-texmf,
> which are not included in pkg-plist.
> 
> % cat ls-R-which.sh 
> #!/bin/sh
> 
> for file in `find /usr/local/share/texmf* -name "ls-R"`
> do
> echo $file
> pkg_info -W $file
> done
> 
> % ./ls-R-which.sh 
> /usr/local/share/texmf/ls-R
> /usr/local/share/texmf-config/ls-R
> /usr/local/share/texmf-dist/ls-R
> /usr/local/share/texmf-dist/ls-R was installed by package teTeX-texmf-3.0_6
> /usr/local/share/texmf-local/ls-R
> /usr/local/share/texmf-var/ls-R

Others belong to tex-texmflocal package:
{{{
$ cd /var/db/pkg && grep -r ls-R . | grep unexec
./teTeX-texmf-3.0_6/+CONTENTS:@unexec rm -f %D/share/texmf-dist/ls-R
./tex-texmflocal-1.9/+CONTENTS:@unexec /bin/rm -f /usr/local/share/texmf/ls-R > 
/dev/null 2>&1 || true
./tex-texmflocal-1.9/+CONTENTS:@unexec /bin/rm -f 
/usr/local/share/texmf-local/ls-R > /dev/null 2>&1 || true
./tex-texmflocal-1.9/+CONTENTS:@unexec /bin/rm -f 
/usr/local/share/texmf-var/ls-R > /dev/null 2>&1 || true
./tex-texmflocal-1.9/+CONTENTS:@unexec /bin/rm -f 
/usr/local/share/texmf-config/ls-R > /dev/null 2>&1 || true
}}}
-- 
Eygene Ryabinkin,,,^..^,,,
[ Life's unfair - but root password helps!   | codelabs.ru ]
[ 82FE 06BC D497 C0DE 49EC  4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]


pgpvAMInyRF3f.pgp
Description: PGP signature


incomplete pkg-plist for print/teTeX-texmf

2011-01-10 Thread Anton Shterenlikht
I think there are five ls-R files, installed by teTeX-texmf,
which are not included in pkg-plist.

% cat ls-R-which.sh 
#!/bin/sh

for file in `find /usr/local/share/texmf* -name "ls-R"`
do
echo $file
pkg_info -W $file
done

% ./ls-R-which.sh 
/usr/local/share/texmf/ls-R
/usr/local/share/texmf-config/ls-R
/usr/local/share/texmf-dist/ls-R
/usr/local/share/texmf-dist/ls-R was installed by package teTeX-texmf-3.0_6
/usr/local/share/texmf-local/ls-R
/usr/local/share/texmf-var/ls-R
% 

This is consistent with only texmf-dist/ls-R appearing
in theteTex-texmf/pkg-plist:

% grep ls-R /usr/ports/print/teTeX-texmf/pkg-plist 
%%TEXMFDISTDIR%%/ls-R
@unexec rm -f %D/%%TEXMFDISTDIR%%/ls-R
@exec echo '%% ls-R -- filename database for kpathsea; do not change this 
line.' > %D/%%TEXMFDISTDIR%%/ls-R;
@exec echo './:' >> %D/%%TEXMFDISTDIR%%/ls-R
@exec echo 'ls-R' >> %D/%%TEXMFDISTDIR%%/ls-R
@exec echo '' >> %D/%%TEXMFDISTDIR%%/ls-R
% 

All five files are in the Makefile:

% grep ^TEXMF /usr/ports/print/teTeX-texmf/Makefile
TEXMFDIR=  share/texmf
TEXMF_LSR= ${PREFIX}/${TEXMFDIR}/ls-R
TEXMFLOCALDIR= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCALDIR}/ls-R
TEXMFVARDIR=   share/texmf-var
TEXMFVAR_LSR=  ${LOCALBASE}/${TEXMFVARDIR}/ls-R
TEXMFDISTDIR=  share/texmf-dist
TEXMFDIST_LSR= ${LOCALBASE}/${TEXMFDISTDIR}/ls-R
TEXMFCONFIGDIR= share/texmf-config
TEXMFCONFIG_LSR=${LOCALBASE}/${TEXMFCONFIGDIR}/ls-R
%

so it does appear to be an omission.

Can somebody please confirm if my analysis is correct.
If it is, I'll submit a PR with a patch.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


Current unassigned ports problem reports

2011-01-10 Thread FreeBSD bugmaster
(Note: an HTML version of this report is available at
http://www.freebsd.org/cgi/query-pr-summary.cgi?category=ports .)

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker  Resp.  Description

o ports/153838[patch] update emulators/cpmtools2 to 2.13
o ports/153837[NEW PORT] p5-Async-Interrupt: allow C/XS libraries to
o ports/153835[NEW PORT] net-mgmt/phpweathermap: A network visualisa
o ports/153830mytop stopped working after update mysql-client
f ports/153824[PATCH] www/phpSysInfo: Update to 3.0.7
o ports/153823Update graphics/white_dune to 0.30
o ports/153812[new port] deskutils/myitcrm - MYIT CRM is a CRM proje
o ports/153810[PATCH] Fix usb_interrupt_read() in devel/libusb for f
o ports/153803[NEW PORT] databases/mysqldumper: MySQLDumper is tool 
o ports/153795repocopy www/drupal5/bsd.drupal.mk to Mk/bsd.drupal.mk
o ports/153791Missing Optional Dependency for audio/squeezeserver
o ports/153787new port devel/p5-Tie-Cache-LRU: LRU Cache in Memory t
o ports/153785[update] deskutils/cairo-dock-plugins to 2.2.0-4
o ports/153784[update] deskutils/cairo-dock to 2.2.0-4
o ports/153773net/rabbitmq: reads configuration from /etc instead of
f ports/153770www/mediawiki LaTeX math plugin search path issues
o ports/153742Update port: sysutils/desktop-installer
o ports/153737Abandoned port: dns/staticcharge
f ports/153733[patch] emulators/visualboyadvance-m: problem with joy
o ports/153721x11-wm/wmconfig - Port update to version 1.3.4
o ports/153715net/freeradius: FreeRADIUS exiting with Signal 11 on F
o ports/153708upgrade databases/slony1 port to latest
f ports/153706security/gorilla broken
o ports/153700[NEW PORT] www/pivotx: Software to help you maintain d
f ports/153697ports java/jboss5 build failed
o ports/153688[MAINTAINER] net-mgmt/zabbix-server: update to 1.8.4
f ports/153651Update port: x11-fonts/terminus-font - Update to 4.32
f ports/153645Update ports: emulators/mame update to v0.141
o ports/153643Add disk plugin support to net-mgmt/collectd
o ports/153627[NEW PORT] audio/soundkonverter: Frontend to various a
f ports/153612Update devel/arm-elf-binutils to version 2.17
f ports/153608[patch] net-mgmt/nfdump: update to 1.6.2
f ports/153607Update devel/djgpp-binutils to version 2.17
o ports/153605I have updated x11-wm/amiwm to 0.21pl2
o ports/153601New port: security/msktutil Active Directory keytab ma
o ports/153583[PATCH] x11-wm/scrotwm: update to 0.9.27
o ports/153573[patch] ports/Mk bsd.license.mk honor pkg_add -p/-P
o ports/153565APACHE_PORT needs to be better documented
o ports/153544[patch] remove NO_SIZE from ports which don't need it
o ports/153535New Port: databases/hiredis
o ports/153521update port net-mgmt/ndoutils to 1.4b9
o ports/153519[PATCH] audio/darkice: fix libaacplus2
o ports/153518[PATCH] audio/libaacplus: update to 2.0.2
o ports/153503Patch to add PostgreSQL health check to net/haproxy
o ports/153473[patch] mail/courier port upgrade from 0.63.0 to 0.65.
f ports/153468Update for www/firefox-sync
f ports/153465[MAINTAINER] net/torsocks: update to 1.1
o ports/153452New port: science/py-ws2300 A driver for the LaCrosse 
f ports/153449[PATCH] fix www/awstats awstats_configure.pl to run on
o ports/153441net/openmq-client: Open Message Queue - Java Message S
o ports/153436[MAINTAINER][PATCH] sysutils/downtimed: update to 0.4
o ports/153429[patch] Fix explicite uses of unzip in ports
f ports/153425[PATCH] www/limesurvey: Added a switch to use PostgreS
o ports/153422[NEW PORT] databases/memcacheq-0.2.0: Simple queue ser
o ports/153398[update] x11/printscreen update
o ports/153379[PATCH] www/hastymail2 add options to add dependencies
f ports/153375[patch] emulators/fmsx unbroke
o ports/153357[patch] news/sabnzbdplus: rc script fails to kill the 
f ports/153291The version of qt4 ports and that of bsd.qt.mk don't m
f ports/153287[PATCH] net-mgmt/ndpmon: [SUMMARIZE CHANGES]
f ports/153278[PATCH] net/beacon: Fix udp socket buffer sizes
o ports/153263[NEW PORT] databases/percona-server: Multithreaded SQL
o ports/153259New por

FreeBSD Port: pam_mysql-0.7.r1_1

2011-01-10 Thread Luca Fulchir
Hi, i'm writing to report 2 problems in the port pam_mysql:

1: function MD5() (which i need) is not supported, unless you build pam_mysql
with "--with-openssl"
the full configure_args should be:

CONFIGURE_ARGS=--with-mysql=${LOCALBASE} --with-pam-mods-dir=${PREFIX}/lib
--with-pam=/usr --with-openssl



2: it is not linked with libpam. nothing worked untill you patch with this:

*** Makefile.in.origSat Mar 11 23:36:14 2006
--- Makefile.in Sat Mar 11 23:37:14 2006
***
*** 110,116 
  CPPFLAGS = @CPPFLAGS@
  LDFLAGS = @LDFLAGS@
  LIBS = @LIBS@
! pam_mysql_la_LIBADD =
  pam_mysql_la_OBJECTS =  pam_mysql.lo
  CFLAGS = @CFLAGS@
  COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
$(CFLAGS)
--- 110,116 
  CPPFLAGS = @CPPFLAGS@
  LDFLAGS = @LDFLAGS@
  LIBS = @LIBS@
! pam_mysql_la_LIBADD = -lpam
  pam_mysql_la_OBJECTS =  pam_mysql.lo
  CFLAGS = @CFLAGS@
  COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
$(CFLAGS)


Hope you'll include at least the second patch...

Luca Fulchir



Re: connect to VPN server with l2tp

2011-01-10 Thread Tilman Keskinöz

On Jan 10, 2011, at 07:49 , Gholam Mostafa Faridi wrote:

> I use FreeBSD AMD64 with Gnome , my friend manage VPN on FreeBSD box and it 
> use L2tp method.
> So my friend say when I want use it , I must use it with l2tp method or way ,
> I search google and I see I can use l2tp for connect to VPN or MPD.
> So for connect to server what I must do ?
> Do I need I run IPSEC on my system or no ?
> Do I need config l2tp ?
> my friend only give me username and password and IP of server and say I can 
> use these for connect server
> 

Hello,

Additional, if it is a commercial vpn-server security/vpnc might be your choice.

It is probably best to ask your friend how it is supposed to 
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: FreeBSD ports which are currently marked broken

2011-01-10 Thread Anton Shterenlikht
On Mon, Jan 10, 2011 at 09:43:55AM +0800, wen heping wrote:
> 2011/1/7 Anton Shterenlikht :
> > On Fri, Jan 07, 2011 at 08:29:10AM +0100, lini...@freebsd.org wrote:
> >>
> >> portname: ?? ?? ?? ?? ?? math/dislin
> >> broken because: ?? ?? size mismatch
> >> build errors: ?? ?? ?? none.
> >> overview: ?? ?? ?? ?? ?? 
> >> http://portsmon.FreeBSD.org/portoverview.py?category=math&portname=dislin
> >>
> >
> > Is this a security concern?
> > I've never used this port before, but it looks intersting.
> >
> > By doing
> >
> > rm distinfo*
> > make makesum
> >
> > I can install this port. Is this not a good idea?
> 
> 
> It is not a good way, but it is not a bad way either.
> 
> I think you can use dislin by your way with no harm.
> But I shall commit a fix to unbreak it soon.
> 
> 
> 
> >
> >
> >
> > However, it seems the binaries provided (to get the sources
> > one has to buy a licence) are only for i386:
> 
> 
> It offers a free use for non-commercial use which mentioned
> in dislin's Makefile.
> 
> 
> 
> >
> > from ftp://ftp.gwdg.de/pub/grafik/dislin/unix/README.UNX
> >
> > ??--
> > ??| ?? ?? ?? File ?? ?? ?? ?? ?? ?? ?? ?? ?? Computer/Oper.-System ?? ?? ?? 
> > ??Compiler ?? ?? |
> > ??--
> > ??| ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 
> > ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??|
> > ??| dislin-10.0.fbsd.tar.gz ?? ?? ?? IBM-PC / FreeBSD 8.x ?? ?? gcc, f2c, 
> > f77, ??|
> > ??| ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 
> > ?? ?? ?? ?? ??Perl, Python ??|
> > ??| ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 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tar.gz ?? IBM-PC / FreeBSD 7.x ?? ?? ??gcc, f2c, 
> > f77, |
> > ??| ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 
> > ?? ?? ?? ?? ??Perl, Python ??|
> > ??| ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 
> > ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??|
> >
> >
> > Should there be an ONLY_FOR_ARCHS defined for this port then?
> 
> I can build it on amd64 platform well.

You mean building from sources, or via ports?

I can install it on ia64 from ports as well,
which means downloading pre-built libraries and 
installing them, but I think it doesn't work.
At least the examples given
on dislin web pages give errors.

I don't see how that would work on ia64 (or sparc or ppc),
given the binaries were compiled on i386.

By the way, I got the author's permission to
provide pre-built binaries for non-i386 platforms
via ports, as we do at present. I would have to buy
a personal licence and build dislin from source, and
then post the binaries somewhere. But at the moment
this is a low priority. I'd like to see first what
it can do.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"