Confirm your Twitter account, Brackett VanSchaick

2014-11-17 Thread Twitter via freebsd-ports
Brackett VanSchaick,

Confirm your email address to complete your Twitter account. It's easy - just 
click on the button below.

Click on the link below or copy and paste it into a browser:

https://twitter.com/i/redirect?url=https%3A%2F%2Ftwitter.com%2Faccount%2Fconfirm_email%2Fvanschaick36ln%2FA2844-23FFF-141628%3Ft%3D1%26cn%3DY29uZmlybV9ibGFzdF9uZXdfdGVtcGxhdGU%253D%26sig%3Db6a996aa024d8605a75723cb4a8e8b090ef06fef%26al%3D1%26iid%3Decea8e2dcaed470a9b371f3e96724543%26ac%3D1%26autoactions%3D1416285416%26uid%3D2851874679%26nid%3D244%2B308%2B20141117&t=1&cn=Y29uZmlybV9ibGFzdF9uZXdfdGVtcGxhdGU%3D&sig=ad98f5794e333ed1664b2fb98ef6497114e2a21a&iid=ecea8e2dcaed470a9b371f3e96724543&uid=2851874679&nid=244+308+20141117
___
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: help w/ port just installing files...

2014-11-17 Thread Waitman Gobble

On Mon, November 17, 2014 12:14 pm, Waitman Gobble wrote:
>

> On Mon, November 17, 2014 7:31 pm, John-Mark Gurney wrote:
>
>> So, I'm trying to get a port that will install the NIST's KAT vectors
>> so I can write a test program using them...
>>
>> I don't know what is the best way to handle plist creation and
>> installation.  I have this Makefile so far: # Created by: John-Mark
>> Gurney
>> 
>> # $FreeBSD$
>>
>>
>>
>> PORTNAME=nist-kat
>> DISTVERSION= 1.0
>> CATEGORIES=  security
>>
>>
>>
>> MAINTAINER=  j...@freebsd.org
>> COMMENT= Collection of NIST's Know Answer Test Vectors
>>
>>
>>
>> #LICENSE=PUBLICDOMAIN
>>
>>
>>
>> BASE_URL=http://csrc.nist.gov/groups/STM/cavp/documents
>> MASTER_SITES=${BASE_URL}/aes/:aes
>> MASTER_SITES+=   ${BASE_URL}/des/:des
>> MASTER_SITES+=   ${BASE_URL}/mac/:mac
>>
>>
>>
>> DISTFILES=   KAT_AES.zip:aes
>> DISTFILES+=  XTSTestVectors.zip:aes
>> DISTFILES+=  KAT_TDES.zip:des
>> DISTFILES+=  gcmtestvectors.zip:mac
>> DISTFILES+=  hmactestvectors.zip:mac
>>
>>
>>
>> # We want each dist file in it's own subdir
>> EXTRACT_CMD= mkdir $${file%.zip}; ${TAR}
>> EXTRACT_AFTER_ARGS=-C $${file%.zip}
>>
>>
>>
>> NO_BUILD=
>> NO_WRKSUBDIR=
>>
>>
>>
>> do-install:
>> mkdir -p ${PREFIX}/share/nist-kat && \ cp -Rp ${WRKSRC}/
>> ${PREFIX}/share/nist-kat
>>
>>
>>
>> .include 
>>
>>
>>
>> But the cp command copies more than I want, including the staging dir.
>>
>>
>>
>> Does someone know an easier way to do this?
>>
>>
>>
>> Thanks.
>>
>>
>>
>> --
>> John-Mark Gurney Voice: +1 415 225 5579
>>
>>
>>
>> "All that I will do, has been done, All that I have, has not."
>> ___
>> 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"
>>
>>
>>
>
>
> I tested this, it seems to work. But it installs everything in
> /usr/local/share/nist-kat without sub-directories. (if you want that?)
>
>
> There's no need to create the directory under /usr/local/share...
>
>
> 'make deinstall' also removes all the rsp files, which is good i think.
>
>
> do-install:
> cd ${WRKSRC}/KAT_AES && ${COPYTREE_SHARE} . ${DOCSDIR} && \ cd
> ${WRKSRC}/XTSTestVectors && ${COPYTREE_SHARE} . ${DOCSDIR} && \
> cd ${WRKSRC}/KAT_TDES && ${COPYTREE_SHARE} . ${DOCSDIR} && \ cd
> ${WRKSRC}/gcmtestvectors && ${COPYTREE_SHARE} . ${DOCSDIR} && \
> cd ${WRKSRC}/hmactestvectors && ${COPYTREE_SHARE} . ${DOCSDIR}
>
>
>
>
> --
> Waitman Gobble
> Los Altos California USA
> +1.510-830-7975
>
>
> ___
> 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"
>
>

OOPs, jumped the gun. It's putting in /usr/local/share/doc.

If you want in /usr/local/share/${PORT_NAME} then use ${DATADIR}

Also, it's not removing them on make deinstall, I was looking in the wrong
place. :(

if you want them in sub-directories..

do-install:
mkdir -p ${DATADIR}/KAT_AES && \
mkdir -p ${DATADIR}/XTSTestVectors && \
mkdir -p ${DATADIR}/KAT_TDES && \
mkdir -p ${DATADIR}/gcmtestvectors && \
mkdir -p ${DATADIR}/hmactestvectors && \
cd ${WRKSRC}/KAT_AES && ${COPYTREE_SHARE} . ${DATADIR}/KAT_AES && \
cd ${WRKSRC}/XTSTestVectors && ${COPYTREE_SHARE} .
${DATADIR}/XTSTestVectors && \
cd ${WRKSRC}/KAT_TDES && ${COPYTREE_SHARE} . ${DATADIR}/KAT_TDES && \
cd ${WRKSRC}/gcmtestvectors && ${COPYTREE_SHARE} .
${DATADIR}/gcmtestvectors && \
cd ${WRKSRC}/hmactestvectors && ${COPYTREE_SHARE} .
${DATADIR}/hmactestvectors


-- 
Waitman Gobble
Los Altos California USA
+1.510-830-7975

___
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: help w/ port just installing files...

2014-11-17 Thread Chris H
On Mon, 17 Nov 2014 19:31:10 -0800 John-Mark Gurney  wrote

> So, I'm trying to get a port that will install the NIST's KAT vectors
> so I can write a test program using them...
> 
> I don't know what is the best way to handle plist creation and
> installation.  I have this Makefile so far:
> # Created by: John-Mark Gurney 
> # $FreeBSD$
> 
> PORTNAME=nist-kat
> DISTVERSION=1.0
> CATEGORIES=security
> 
> MAINTAINER=j...@freebsd.org
> COMMENT=Collection of NIST's Know Answer Test Vectors
> 
> #LICENSE=PUBLICDOMAIN
> 
> BASE_URL=http://csrc.nist.gov/groups/STM/cavp/documents
> MASTER_SITES=${BASE_URL}/aes/:aes
> MASTER_SITES+=${BASE_URL}/des/:des
> MASTER_SITES+=${BASE_URL}/mac/:mac
> 
> DISTFILES=KAT_AES.zip:aes
> DISTFILES+=XTSTestVectors.zip:aes
> DISTFILES+=KAT_TDES.zip:des
> DISTFILES+=gcmtestvectors.zip:mac
> DISTFILES+=hmactestvectors.zip:mac
> 
> # We want each dist file in it's own subdir
> EXTRACT_CMD=mkdir $${file%.zip}; ${TAR}
> EXTRACT_AFTER_ARGS=-C $${file%.zip}
> 
> NO_BUILD=
> NO_WRKSUBDIR=
> 
> do-install:
> mkdir -p ${PREFIX}/share/nist-kat && \
> cp -Rp ${WRKSRC}/ ${PREFIX}/share/nist-kat
> 
> .include 
> 
> But the cp command copies more than I want, including the staging dir.
> 
> Does someone know an easier way to do this?
> 
> Thanks.
I don't know the exact layout you have in ${WRKSRC}
But it might be as simple as:
(cd ${WRKSRC} && cp -Rp . ${STAGEDIR}${PREFIX}/share/nist-kat)

or some slight derivative. :)

Hope this helps.

--Chris

> 
> -- 
>   John-Mark GurneyVoice: +1 415 225 5579
> 
>  "All that I will do, has been done, All that I have, has not."
> ___
> 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"


Re: help w/ port just installing files...

2014-11-17 Thread Waitman Gobble

On Mon, November 17, 2014 7:31 pm, John-Mark Gurney wrote:
> So, I'm trying to get a port that will install the NIST's KAT vectors
> so I can write a test program using them...
>
> I don't know what is the best way to handle plist creation and
> installation.  I have this Makefile so far: # Created by: John-Mark Gurney
> 
> # $FreeBSD$
>
>
> PORTNAME= nist-kat
> DISTVERSION=  1.0
> CATEGORIES=   security
>
>
> MAINTAINER=   j...@freebsd.org
> COMMENT=  Collection of NIST's Know Answer Test Vectors
>
>
> #LICENSE= PUBLICDOMAIN
>
>
> BASE_URL= http://csrc.nist.gov/groups/STM/cavp/documents
> MASTER_SITES= ${BASE_URL}/aes/:aes
> MASTER_SITES+=${BASE_URL}/des/:des
> MASTER_SITES+=${BASE_URL}/mac/:mac
>
>
> DISTFILES=KAT_AES.zip:aes
> DISTFILES+=   XTSTestVectors.zip:aes
> DISTFILES+=   KAT_TDES.zip:des
> DISTFILES+=   gcmtestvectors.zip:mac
> DISTFILES+=   hmactestvectors.zip:mac
>
>
> # We want each dist file in it's own subdir
> EXTRACT_CMD=  mkdir $${file%.zip}; ${TAR}
> EXTRACT_AFTER_ARGS=-C $${file%.zip}
>
>
> NO_BUILD=
> NO_WRKSUBDIR=
>
>
> do-install:
> mkdir -p ${PREFIX}/share/nist-kat && \ cp -Rp ${WRKSRC}/
> ${PREFIX}/share/nist-kat
>
>
> .include 
>
>
> But the cp command copies more than I want, including the staging dir.
>
>
> Does someone know an easier way to do this?
>
>
> Thanks.
>
>
> --
> John-Mark Gurney  Voice: +1 415 225 5579
>
>
> "All that I will do, has been done, All that I have, has not."
> ___
> 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"
>
>


I tested this, it seems to work. But it installs everything in
/usr/local/share/nist-kat without sub-directories. (if you want that?)

There's no need to create the directory under /usr/local/share...

'make deinstall' also removes all the rsp files, which is good i think.

do-install:
cd ${WRKSRC}/KAT_AES && ${COPYTREE_SHARE} . ${DOCSDIR} && \
cd ${WRKSRC}/XTSTestVectors && ${COPYTREE_SHARE} . ${DOCSDIR} && \
cd ${WRKSRC}/KAT_TDES && ${COPYTREE_SHARE} . ${DOCSDIR} && \
cd ${WRKSRC}/gcmtestvectors && ${COPYTREE_SHARE} . ${DOCSDIR} && \
cd ${WRKSRC}/hmactestvectors && ${COPYTREE_SHARE} . ${DOCSDIR}




-- 
Waitman Gobble
Los Altos California USA
+1.510-830-7975

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


help w/ port just installing files...

2014-11-17 Thread John-Mark Gurney
So, I'm trying to get a port that will install the NIST's KAT vectors
so I can write a test program using them...

I don't know what is the best way to handle plist creation and
installation.  I have this Makefile so far:
# Created by: John-Mark Gurney 
# $FreeBSD$

PORTNAME=   nist-kat
DISTVERSION=1.0
CATEGORIES= security

MAINTAINER= j...@freebsd.org
COMMENT=Collection of NIST's Know Answer Test Vectors

#LICENSE=   PUBLICDOMAIN

BASE_URL=   http://csrc.nist.gov/groups/STM/cavp/documents
MASTER_SITES=   ${BASE_URL}/aes/:aes
MASTER_SITES+=  ${BASE_URL}/des/:des
MASTER_SITES+=  ${BASE_URL}/mac/:mac

DISTFILES=  KAT_AES.zip:aes
DISTFILES+= XTSTestVectors.zip:aes
DISTFILES+= KAT_TDES.zip:des
DISTFILES+= gcmtestvectors.zip:mac
DISTFILES+= hmactestvectors.zip:mac

# We want each dist file in it's own subdir
EXTRACT_CMD=mkdir $${file%.zip}; ${TAR}
EXTRACT_AFTER_ARGS=-C $${file%.zip}

NO_BUILD=
NO_WRKSUBDIR=

do-install:
mkdir -p ${PREFIX}/share/nist-kat && \
cp -Rp ${WRKSRC}/ ${PREFIX}/share/nist-kat

.include 

But the cp command copies more than I want, including the staging dir.

Does someone know an easier way to do this?

Thanks.

-- 
  John-Mark Gurney  Voice: +1 415 225 5579

 "All that I will do, has been done, All that I have, has not."
___
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"


wrong docs for EXTRACT_CMD & friends...

2014-11-17 Thread John-Mark Gurney
Looks like when EXTRACT_CMD was updated, the docs at the begining
of bsd.ports.mk wasn't updated...

EXTRACT_CMD is defined as ${TAR}, but it says earlier:
# EXTRACT_CMD   - Command for extracting archive: "bzip2" if USE_BZIP2
# is set, "gzip" otherwise.

Looks like the same for _BEFORE_ARGS and _AFTER_ARGS...

Could someone update these?

Thanks.

-- 
  John-Mark Gurney  Voice: +1 415 225 5579

 "All that I will do, has been done, All that I have, has not."
___
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: archivers/arj fails to build

2014-11-17 Thread Dr. Peter Voigt
On Tue, 18 Nov 2014 06:16:02 +1100
andrew clarke  wrote:

> On Mon 2014-11-17 20:00:01 UTC+0100, Kurt Jaeger (li...@opsec.eu)
> wrote:
> 
> > > Unfortunately, archivers/arj fails to build:
> > 
> > I just tested it on my reference install (10.1, amd64). It just
> > builds.
> 
> ARJ builds OK here on 10.1.
> 
> My first thought is the OP has something unusual in /etc/make.conf.
> 
> My second thought is whether you actually need ARJ. ClamAV evidently
> has it as a dependency, but I think it probably shouldn't given that
> ARJ archives are rarely seen "in the wild" these days.
> 
> In any case you can exclude arj from the rebuild with:
> 
> portmaster [options] -x arj
> 
> Regards
> Andrew

Yeah, you're right. ClamAV is the only reverse dependency. And I could
deselect this configuration option of ClamAV. I cannot remember
anymore, if it was once pre-selected or if I explicitly selected it.

Nevertheless, I am just proceeding with "-x arj", thank you very much.

Regards,
Peter
___
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: archivers/arj fails to build

2014-11-17 Thread andrew clarke
On Mon 2014-11-17 20:00:01 UTC+0100, Kurt Jaeger (li...@opsec.eu) wrote:

> > Unfortunately, archivers/arj fails to build:
> 
> I just tested it on my reference install (10.1, amd64). It just builds.

ARJ builds OK here on 10.1.

My first thought is the OP has something unusual in /etc/make.conf.

My second thought is whether you actually need ARJ. ClamAV evidently
has it as a dependency, but I think it probably shouldn't given that
ARJ archives are rarely seen "in the wild" these days.

In any case you can exclude arj from the rebuild with:

portmaster [options] -x arj

Regards
Andrew
___
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: archivers/arj fails to build

2014-11-17 Thread Dr. Peter Voigt
On Mon, 17 Nov 2014 20:00:01 +0100
Kurt Jaeger  wrote:

> Hi!
> 
> > Unfortunately, archivers/arj fails to build:
> 
> I just tested it on my reference install (10.1, amd64). It just
> builds.
> 
> But: I used 
> 
> /usr/local/sbin/portupgrade -aprRf -M BATCH=yes
> 
> to rebuild everything before that (which worked, to a certain level).
> 

Thanks for quick feedback. I did two further tests:

1.) 10.1, amd64, VirtualBox VM: portmaster fails
2.) 10.1, amd64, real hardware: Both portmaster and make build fail

System 1.) is upgraded via freebsd-update and 2.) is upgraded via make
buildworld.

Regards,
Peter
___
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: Deleting ports distfiles

2014-11-17 Thread Jeffrey Bouquet via freebsd-ports


>>On Mon, 11/17/14, Warren Block  wrote:


 
 >>Actually, portmaster can do
 >>that also:
 >>portmaster -t -y
 >>-clean-distfiles
 ___
 Test first"   I did not want the majority deleted...

#portsclean -DD -n | tee -a /gz_files
#sed -i bak 's.Delete \/usr\/ports\/distfiles\/..g'   /gz_files
. fifteen minutes on the web to find that line above escaping the path
# grep / /gz_files | less   # in another xterm, /bin/rm -rf the extra 
directories
# grep -v / /gz_files | grep bz2 | xargs -J % /bin/rm -iv %... tests it, 
check output
# ..-v %
 does the above
Repeat the immeditate two lines
above (-iv then -v ) for gz, -i zip, xz, 
(the latter I forgot BTW) and that should be most
of them. I deleted 500 files that way, so am done for the year.
.
Easier posting here than in the forum...
Pardon any typos.
___
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: archivers/arj fails to build

2014-11-17 Thread Kurt Jaeger
Hi!

> Unfortunately, archivers/arj fails to build:

I just tested it on my reference install (10.1, amd64). It just builds.

But: I used 

/usr/local/sbin/portupgrade -aprRf -M BATCH=yes

to rebuild everything before that (which worked, to a certain level).

-- 
p...@opsec.eu+49 171 3101372 6 years to go !
___
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: archivers/arj fails to build

2014-11-17 Thread Dr. Peter Voigt
Sorry, command for rebuilding all ports was:

# portmaster --no-confirm --no-term-title -D -G -a -f

Regards,
Peter
___
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"


archivers/arj fails to build

2014-11-17 Thread Dr. Peter Voigt
I am in the process of rebuilding all ports.

I am using for this:

# portmaster --no-confirm --no-term-title -D -G archivers/arj

Unfortunately, archivers/arj fails to build:

cc -DSFL=4 -c -Ifreebsd10.1 -I./freebsd10.1/POSIX/rs -I. -O2 -pipe
-fPIC -fstack-protector -fno-strict-aliasing -DLOCALE=LANG_POSIX
-DLOCALE_DESC="\"POSIX\"" -DPKGLIBDIR="\"/usr/local/lib/arj\"" -D_UNIX
-O2 -pipe  -fPIC -fstack-protector -fno-strict-aliasing
-ofreebsd10.1/POSIX/rs/arj/integr.o integr.c cc -DSFL=4 -c
-Ifreebsd10.1 -I./freebsd10.1/POSIX/rs -I. -O2 -pipe  -fPIC
-fstack-protector -fno-strict-aliasing -DLOCALE=LANG_POSIX
-DLOCALE_DESC="\"POSIX\"" -DPKGLIBDIR="\"/usr/local/lib/arj\"" -D_UNIX
-O2 -pipe  -fPIC -fstack-protector -fno-strict-aliasing
-ofreebsd10.1/POSIX/rs/arj/file_reg.o file_reg.c file_reg.c:57:10:
warning: passing 'unsigned char *' to parameter of type 'char *'
converts between pointers to integer types with different sign
[-Wpointer-sign] alltrim(regdata+REG_KEY1_SHIFT);
^~ ./arj_proc.h:58:20: note: passing argument to
parameter 'cmd' here void alltrim(char *cmd); ^ 1 warning generated. cc
-DSFL=4 -c -Ifreebsd10.1 -I./freebsd10.1/POSIX/rs -I. -O2 -pipe  -fPIC
-fstack-protector -fno-strict-aliasing -DLOCALE=LANG_POSIX
-DLOCALE_DESC="\"POSIX\"" -DPKGLIBDIR="\"/usr/local/lib/arj\"" -D_UNIX
-O2 -pipe  -fPIC -fstack-protector -fno-strict-aliasing
-ofreebsd10.1/POSIX/rs/arj/decode.o decode.c decode.c:73:19: warning:
passing 'unsigned char *' to parameter of type 'char *' converts
between pointers to integer types with different sign [-Wpointer-sign]
garble_decode(&byte_buf, 1); ^ ./garble.h:15:26: note: passing
argument to parameter 'data' here void garble_decode(char *data, int
len); ^ decode.c:124:24: error: use of undeclared identifier
'M_BADTABLE_G' msg_cprintf(H_ERR, M_BADTABLE_G); ^ decode.c:131:24:
error: use of undeclared identifier 'M_BADTABLE' msg_cprintf(H_ERR,
M_BADTABLE); ^ decode.c:173:27: error: use of undeclared identifier
'M_BADTABLE_G' msg_cprintf(H_ERR, M_BADTABLE_G); ^
decode.c:180:27: error: use of undeclared identifier 'M_BADTABLE'
   msg_cprintf(H_ERR, M_BADTABLE);
  ^
decode.c:395:10: error: use of undeclared identifier 'M_OUT_OF_MEMORY'
   error(M_OUT_OF_MEMORY);
 ^
decode.c:397:10: error: use of undeclared identifier 'M_OUT_OF_MEMORY'
   error(M_OUT_OF_MEMORY);
 ^
decode.c:445:25: warning: passing 'unsigned char *' to parameter of type
  'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
 if(extraction_stub(dec_text, DICSIZ, action))
^~~~
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
  ^
decode.c:470:27: warning: passing 'unsigned char *' to parameter of type
  'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
   if(extraction_stub(dec_text, DICSIZ, action))
  ^~~~
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
  ^
decode.c:483:19: warning: passing 'unsigned char *' to parameter of type
  'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
  extraction_stub(dec_text, r, action);
  ^~~~
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
  ^
decode.c:565:24: warning: passing 'unsigned char *' to parameter of type
  'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
if(extraction_stub(ntext, FDICSIZ, action))
   ^
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
  ^
decode.c:582:25: warning: passing 'unsigned char *' to parameter of type
  'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
 if(extraction_stub(ntext, FDICSIZ, action))
^
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
  ^
decode.c:591:19: warning: passing 'unsigned char *' to parameter of type
  'char *' converts between pointers to integer types with
different sign [-Wpointer-sign]
  extraction_stub(ntext, r, action);
  ^
./arj_file.h:29:27: note: passing argument to parameter 'block' here
int extraction_stub(char *block, int block_len, int action);
  ^
7 warnings and 6 errors generated.
GNUmakefile:132: recipe for target 'freebsd10.1/POSIX/rs/arj/decode.o'
failed gmake[2]: *** [freebsd10.1/POSIX/rs/arj/decode.o] Error 1
gmake[2]: Leaving d

Re: Deleting ports distfiles

2014-11-17 Thread Warren Block

On Mon, 17 Nov 2014, RW wrote:


portupgrade's portsclean utility and distviper (from
sysutils/bsdadminscripts) can do it more flexibly.

portmaster removes any files not associated with currently installed
packages, the other two do can do that, but also have the option to
leave any files that are still up-to-date with respect to the ports
tree.


Actually, portmaster can do that also:
portmaster -t -y --clean-distfiles
___
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: cfengine36-3.6.1_3,1

2014-11-17 Thread Jurica Borozan
Hi,

I am trying to run cfengine 3.6.1 and 3.5.8 but it will not work with
XML files: "error: Cannot edit XML files without LIBXML2"

Installing libxml2-2.9.2_2 did not help. Which dependency is the one
used in creation of this CFengine package (it is not enlisted in
requirements) ?

Many thanks and kindest regards
jurica
___
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: Deleting ports distfiles

2014-11-17 Thread Adam Vande More
On Mon, Nov 17, 2014 at 7:12 AM, RW  wrote:

> portmaster removes any files not associated with currently installed
> packages, the other two do can do that, but also have the option to
> leave any files that are still up-to-date with respect to the ports
> tree.


This is a misleading statement.  portmaster also has that option.

-- 
Adam
___
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: textproc/sphinxsearch - fails to listen on the file socket under 9.3

2014-11-17 Thread Matthew Seaman
On 2014/11/17 12:22, Volodymyr Kostyrko wrote:
> Hi all.
> 
> Is anyone else seeing this:
> 
> [Mon Nov 17 14:13:30.493 2014] [17507] accepting connections
> [Mon Nov 17 14:13:31.006 2014] [17507] FATAL: setsockopt() failed:
> Invalid argument
> [Mon Nov 17 14:13:31.098 2014] [17507] shutdown complete
> [Mon Nov 17 14:13:31.100 2014] [17506] last message repeated 1 times
> [Mon Nov 17 14:13:31.100 2014] [17506] watchdog: main process 17507
> exited cleanly (exit code 1), shutting down
> 
> This happens just after start. Previous port version at r370488 works.
> 

Looks like the changes to src/indexer.cpp have gone a bit awry between
2.2.5 and 2.2.6.  It's odd though -- all they've done is move around
where they are setting TCP_NODELAY in the code.

I'll investigate further tonight.

Cheers,

Matthew

___
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: Deleting ports distfiles

2014-11-17 Thread RW
On Sun, 16 Nov 2014 14:10:00 -0900
Royce Williams wrote:

> On Sun, Nov 16, 2014 at 1:55 PM, andrew clarke 
> wrote:
> > On Sun 2014-11-16 23:29:37 UTC+0100, Dr. Peter Voigt
> > (pvo...@uos.de) wrote:
> >
> >> I have just seen that /usr/ports/distfiles has grown up to 12 GiB.
> >> My hopefully not too stupid question is: Can I safely delete all
> >> files under /usr/ports/distfiles, e.g.
> >>
> >> # rm -rf /usr/ports/distfiles/*
> >>
> >> I strongly suppose so but I am not sure. Thanks for any feedback.
> >
> > Yes. Missing distfiles will be redownloaded when/if you rebuild a
> > port.
> 
> You can also delete just the unused ones, if you're using portmaster
> or portupgrade ('portsclean' command).  See the bottom of the "Using
> the Ports Collection" docs page:
> 
> https://www.freebsd.org/doc/handbook/ports-using.html
> 
> Even if you don't use portmaster for anything else, using it for this
> purpose is worth the install, IMO.

portupgrade's portsclean utility and distviper (from
sysutils/bsdadminscripts) can do it more flexibly.

portmaster removes any files not associated with currently installed
packages, the other two do can do that, but also have the option to
leave any files that are still up-to-date with respect to the ports
tree. Most distfiles are replaced every few months, so it doesn't make
a huge difference in terms of disk space. 
___
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"


textproc/sphinxsearch - fails to listen on the file socket under 9.3

2014-11-17 Thread Volodymyr Kostyrko

Hi all.

Is anyone else seeing this:

[Mon Nov 17 14:13:30.493 2014] [17507] accepting connections
[Mon Nov 17 14:13:31.006 2014] [17507] FATAL: setsockopt() failed: 
Invalid argument

[Mon Nov 17 14:13:31.098 2014] [17507] shutdown complete
[Mon Nov 17 14:13:31.100 2014] [17506] last message repeated 1 times
[Mon Nov 17 14:13:31.100 2014] [17506] watchdog: main process 17507 
exited cleanly (exit code 1), shutting down


This happens just after start. Previous port version at r370488 works.

--
Sphinx of black quartz judge my vow.
___
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 you maintain which are out of date

2014-11-17 Thread portscout
Dear port maintainer,

The portscout new distfile checker has detected that one or more of your
ports appears to be out of date. Please take the opportunity to check
each of the ports listed below, and if possible and appropriate,
submit/commit an update. If any ports have already been updated, you can
safely ignore the entry.

You will not be e-mailed again for any of the port/version combinations
below.

Full details can be found at the following URL:
http://portscout.freebsd.org/po...@freebsd.org.html


Port| Current version | New version
+-+
graphics/geoserver  | 2.1.1   | 2.6.1
+-+


If any of the above results are invalid, please check the following page
for details on how to improve portscout's detection and selection of
distfiles on a per-port basis:

http://portscout.freebsd.org/info/portscout-portconfig.txt

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"