net-mgmt/flowd - broken ?

2009-08-05 Thread Kalle Møller
Hi

I'm trying to build flowd with perl

make WITH_PERL="YES"

But it returns that it is broken ?

flowd-0.9.1_1 is marked as broken: Incomplete pkg-plist.

Without perl it installs fine. The problem is that I need the perl part to
get some of the other tools to work :S

Anything I can do to get this not broken ...

-- 

Med Venlig Hilsen

Kalle R. Møller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: net-mgmt/flowd - broken ?

2009-08-05 Thread Mel Flynn
On Wednesday 05 August 2009 10:35:02 Kalle Møller wrote:

> make WITH_PERL="YES"
>
> But it returns that it is broken ?
>
> flowd-0.9.1_1 is marked as broken: Incomplete pkg-plist.
>
> Without perl it installs fine. The problem is that I need the perl part to
> get some of the other tools to work :S
>
> Anything I can do to get this not broken ...

You could fix the plist and ping the maintainer (added to CC).
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: net-mgmt/flowd - broken ?

2009-08-06 Thread Kalle Møller
Damn have no clue how to build fix or anything with plist ... Except it
seemd to be a list of the files used ??

On Wed, Aug 5, 2009 at 8:48 PM, Mel Flynn <
mel.flynn+fbsd.questi...@mailing.thruhere.net
> wrote:

> On Wednesday 05 August 2009 10:35:02 Kalle Møller wrote:
>
> > make WITH_PERL="YES"
> >
> > But it returns that it is broken ?
> >
> > flowd-0.9.1_1 is marked as broken: Incomplete pkg-plist.
> >
> > Without perl it installs fine. The problem is that I need the perl part
> to
> > get some of the other tools to work :S
> >
> > Anything I can do to get this not broken ...
>
> You could fix the plist and ping the maintainer (added to CC).
> --
> Mel
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>



-- 

Med Venlig Hilsen

Kalle R. Møller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: net-mgmt/flowd - broken ?

2009-08-06 Thread Vincent Hoffman
Kalle Møller wrote:
> Damn have no clue how to build fix or anything with plist ... Except it
> seemd to be a list of the files used ??


Pretty much, the porters handbook has a decent section on it if your
interested. Any installed files except man pages and documentation
(which are specified in the makefile) should be listed as far as i can
tell. Have a read at
http://www.freebsd.org/doc/en/books/porters-handbook/porting-desc.html#AEN100
and
http://www.freebsd.org/doc/en/books/porters-handbook/plist.html

I think this is a simple one, if no one else does then I'll try and look
at it tomorrow.

my guess is that
%%with_per...@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto
should be
%%with_per...@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
and possibly
lib/perl5/5.8.9/mach/perllocal.pod
(or the appropriate variables in place of a static path)
need to be added.

Vince

> 
> On Wed, Aug 5, 2009 at 8:48 PM, Mel Flynn <
> mel.flynn+fbsd.questi...@mailing.thruhere.net
>> wrote:
> 
>> On Wednesday 05 August 2009 10:35:02 Kalle Møller wrote:
>>
>>> make WITH_PERL="YES"
>>>
>>> But it returns that it is broken ?
>>>
>>> flowd-0.9.1_1 is marked as broken: Incomplete pkg-plist.
>>>
>>> Without perl it installs fine. The problem is that I need the perl part
>> to
>>> get some of the other tools to work :S
>>>
>>> Anything I can do to get this not broken ...
>> You could fix the plist and ping the maintainer (added to CC).
>> --
>> Mel
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscr...@freebsd.org"
>>
> 
> 
> 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: net-mgmt/flowd - broken ?

2009-08-07 Thread Kalle Møller
That would be neat :)
And I think your correct about the dirrmtry .. since the auto could contain
shared files

But I don't know about the rest


On Thu, Aug 6, 2009 at 7:44 PM, Vincent Hoffman  wrote:

> Kalle Møller wrote:
> > Damn have no clue how to build fix or anything with plist ... Except it
> > seemd to be a list of the files used ??
>
>
> Pretty much, the porters handbook has a decent section on it if your
> interested. Any installed files except man pages and documentation
> (which are specified in the makefile) should be listed as far as i can
> tell. Have a read at
>
> http://www.freebsd.org/doc/en/books/porters-handbook/porting-desc.html#AEN100
> and
> http://www.freebsd.org/doc/en/books/porters-handbook/plist.html
>
> I think this is a simple one, if no one else does then I'll try and look
> at it tomorrow.
>
> my guess is that
> %%with_per...@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto
> should be
> %%with_per...@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
> and possibly
> lib/perl5/5.8.9/mach/perllocal.pod
> (or the appropriate variables in place of a static path)
> need to be added.
>
> Vince
>
> >
> > On Wed, Aug 5, 2009 at 8:48 PM, Mel Flynn <
> > mel.flynn+fbsd.questi...@mailing.thruhere.net
> 
> >
> >> wrote:
> >
> >> On Wednesday 05 August 2009 10:35:02 Kalle Møller wrote:
> >>
> >>> make WITH_PERL="YES"
> >>>
> >>> But it returns that it is broken ?
> >>>
> >>> flowd-0.9.1_1 is marked as broken: Incomplete pkg-plist.
> >>>
> >>> Without perl it installs fine. The problem is that I need the perl part
> >> to
> >>> get some of the other tools to work :S
> >>>
> >>> Anything I can do to get this not broken ...
> >> You could fix the plist and ping the maintainer (added to CC).
> >> --
> >> Mel
> >> ___
> >> freebsd-questions@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to "
> >> freebsd-questions-unsubscr...@freebsd.org"
> >>
> >
> >
> >
>
>


-- 

Med Venlig Hilsen

Kalle R. Møller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: net-mgmt/flowd - broken ?

2009-08-07 Thread Mel Flynn
On Thursday 06 August 2009 06:54:52 Kalle Møller wrote:
> Damn have no clue how to build fix or anything with plist ... Except it
> seemd to be a list of the files used ??

Try attached patch. Checking WITH_PYTHON now. Also fixed pkg-install while I 
was in there to respect a FLOWD_UID variable, so that one can assign a uid 
rather then using the next available.
-- 
Mel
Index: net-mgmt/flowd/Makefile
===
RCS file: /home/ncvs/ports/net-mgmt/flowd/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- net-mgmt/flowd/Makefile 13 Jul 2009 16:22:56 -  1.14
+++ net-mgmt/flowd/Makefile 7 Aug 2009 20:44:36 -
@@ -22,13 +22,14 @@
 MAN5=  flowd.conf.5
 PORTDOCS=  README INSTALL
 FLOWD_USER?=   _flowd
+.if defined(FLOWD_UID)
+SCRIPTS_ENV+=  FLOWD_UID="${FLOWD_UID}"
+.endif
 
 .if defined(WITH_PERL)
 USE_PERL5= yes
 PLIST_SUB+=WITH_PERL=""
-#MAN3PREFIX=   ${PREFIX}/lib/perl5/${PERL_VERSION}
-#MAN3= Flowd.3
-BROKEN=Incomplete pkg-plist
+MAN3=  Flowd.3
 .else
 PLIST_SUB+=WITH_PERL="@comment "
 .endif
@@ -67,9 +68,10 @@
 
 .if defined(WITH_PERL)
cd ${WRKSRC}/Flowd-perl && \
-   ${PERL} Makefile.PL  && \
+   ${PERL} Makefile.PL INSTALLSITEMAN3DIR=${MAN3PREFIX}/man/man3 && \
${GMAKE} && \
-   ${GMAKE} install
+   ${GMAKE} install;
+   -${RM} -f ${SITE_PERL}/${PERL_ARCH}/perllocal.pod
 .endif
 
 .if defined(WITH_PYTHON)
Index: net-mgmt/flowd/pkg-install
===
RCS file: /home/ncvs/ports/net-mgmt/flowd/pkg-install,v
retrieving revision 1.2
diff -u -r1.2 pkg-install
--- net-mgmt/flowd/pkg-install  4 Jun 2005 00:43:20 -   1.2
+++ net-mgmt/flowd/pkg-install  7 Aug 2009 20:16:59 -
@@ -20,9 +20,15 @@
shell=/nonexistent
fi
uhome="/var/empty"
+   if [ -z "${FLOWD_UID}" ]; then
+   uid=`${PW} usernext`;
+   uid=${uid%%:*}
+   else
+   uid=${FLOWD_UID}
+   fi
 
if ! ${PW} show user ${USER} -q >/dev/null; then
-   if ! ${PW} add user ${USER} -g ${GROUP} -d "${uhome}" \
+   if ! ${PW} add user ${USER} -u ${uid} -g ${GROUP} -d "${uhome}" 
\
-c "flowd privilege separation user" -s 
"${shell}" -p "*" \
; then
e=$?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: net-mgmt/flowd - broken ?

2009-08-08 Thread Mel Flynn
On Wednesday 05 August 2009 10:35:02 Kalle Møller wrote:
> Hi
>
> I'm trying to build flowd with perl
>
> make WITH_PERL="YES"
>
> But it returns that it is broken ?

PR filed: http://www.freebsd.org/cgi/query-pr.cgi?pr=137560
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"