Re: [update] net/mtr

2013-11-18 Thread Alexey E. Suslikov
David Hill  mindcry.org> writes:

>  COMMENT= Matt's traceroute - network diagnostic tool#'

the end of COMMENT line looks strange to me.



Re: Broken QCad -> LibreCad vs QCad Community Edition

2013-11-10 Thread Alexey E. Suslikov
J. Scott Heppler  earthlink.net> writes:

> QCad vs LibreCad? I understand there is gpu based rendering for
>   Intel and ATI video chips

afaik, LibreCad isn't such an active project as Qcad is.



Re: [PATCH] x11/py-gtk2: -mxgot workaround for mips64*

2013-10-30 Thread Alexey E. Suslikov
Brian Callahan  devio.us> writes:

> Woah. Cool! Got this built on my loongson.
> One of the tests fails on loongson (I don't know what it looks like on 
> other archs) but I don't think that's a reason not to get this in.
> ok for me if someone wants to commit.

(for archive)

http://gcc.gnu.org/onlinedocs/gcc/MIPS-Options.html

-mxgot
-mno-xgot

Lift (do not lift) the usual restrictions on the size of the global
offset table.

GCC normally uses a single instruction to load values from the GOT.
While this is relatively efficient, it only works if the GOT is smaller
than about 64k. Anything larger causes the linker to report an error
such as:

  relocation truncated to fit: R_MIPS_GOT16 foobar

If this happens, you should recompile your code with -mxgot. This works
with very large GOTs, although the code is also less efficient, since it
takes three instructions to fetch the value of a global symbol.

Note that some linkers can create multiple GOTs. If you have such a
linker, you should only need to use -mxgot when a single object file
accesses more than 64k's worth of GOT entries. Very few do.

These options have no effect unless GCC is generating position
independent code.



Re: [update] lang/node 0.10.20 -> 0.10.21

2013-10-22 Thread Alexey E. Suslikov
Aaron Bieber  gmail.com> writes:

> 
> Trivial update to bring node up to the latest to take care of:
> http://www.openwall.com/lists/oss-security/2013/10/19/4

as advisory says, node guys backported the fix to 0.8
branch, so we should backport to stable branches, imo.



Re: Pre-time_t switch build errors

2013-08-13 Thread Alexey E. Suslikov
Christian Weisgerber  mips.inka.de> writes:

> databases/node-pg   plist: +  link

MAINTAINER update to node-pg 2.3.x is planned after time_t
world stabilization.

Cheers,
Alexey



Re: dkimproxy

2013-07-15 Thread Alexey E. Suslikov
Giovanni Bechis  bigio.snb.it> writes:

> Fixed users id, other than that, ok giovanni  
>  Cheers
>   Giovanni

Is anyone about to finally import it? ;)



Re: dkimproxy

2013-07-15 Thread Alexey E. Suslikov
Giovanni Bechis  bigio.snb.it> writes:

> On 07/14/13 18:48, Roman Kravchuk wrote:
> > Updated port from sthen  
> > 
> > * Include rc scripts with fix from william  
> > * My fix: installed perl library to libdata/perl5/site_perl
> > 
> > Ok? Comments?
> > 
> Fixed users id, other than that, ok giovanni  

in Makefile

# $OpenBSD: Makefile.template,v 1.54 2008/01/13 16:43:57 espie Exp $

must be

# $OpenBSD$



Re: subtitles on vlc

2013-07-05 Thread Alexey E. Suslikov
Christian Weisgerber  mips.inka.de> writes:

> 
> David Coppa  gmail.com> wrote:
> 
> > > I got a video in another language and a matching .srt file for playing
> > > subtitle on screen, when I play it in vlc. I get this in xterm
> > >
> > > [0x154034af3a58] main xml reader error: XML reader not found
> > 
> > I have not tried to rebuild the port (yet), but this is strange, since
> > our vlc ports has xml2 support enabled...
> 
> ... and .srt isn't XML-based to begin with.

http://forum.videolan.org/viewtopic.php?f=13&t=39171
http://forum.videolan.org/viewtopic.php?f=13&t=103611



Re: subtitles on vlc

2013-07-05 Thread Alexey E. Suslikov
Amit Kulkarni  gmail.com> writes:

> I got a video in another language and a matching .srt file for playing
> subtitle on screen, when I play it in vlc. I get this in xterm

Giving a fact you use different language (and port has libxml enabled)...

> [0x154034af3a58] main xml reader error: XML reader not found

... this may indicate xml reader instantiation failure - possibly due to
locale initialization failure.

Running under ktrace may give a clue.



Re: New net/stuntman

2013-06-18 Thread Alexey E. Suslikov
David Coppa  gmail.com> writes:

> On Tue, Jun 18, 2013 at 1:45 PM, Stuart Henderson  openbsd.org>
wrote:
> > On 2013/06/18 13:41, David Coppa wrote:
> >> Why "stuntman-${VERSION:S/_/./g}" for PKGNAME?
> >
> > Oh, I missed that, thanks.

that's a remnant from earlier porting work when distfiles
were packaged with underscores instead of dots.

> So, is the port called "stuntman" or "stunserver"? ;)

STUNTMAN, Open source STUN server software.



UPDATE: databases/node-pg 1.1.0 -> 1.1.1

2013-05-21 Thread Alexey E. Suslikov
Index: Makefile
===
RCS file: /cvs/ports/databases/node-pg/Makefile,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 Makefile
--- Makefile19 May 2013 15:22:51 -  1.11
+++ Makefile21 May 2013 20:13:58 -
@@ -2,7 +2,7 @@
 
 COMMENT =  postgresql client for Node.js
 
-NPM_VERSION =  1.1.0
+NPM_VERSION =  1.1.1
 NPM_NAME = pg
 CATEGORIES =   databases
 
Index: distinfo
===
RCS file: /cvs/ports/databases/node-pg/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo19 May 2013 15:22:51 -  1.3
+++ distinfo21 May 2013 20:13:58 -
@@ -1,2 +1,2 @@
-SHA256 (pg-1.1.0.tgz) = 81EW5BZgciba7hInOZg2vtBT+mhGh+30wz9t4iyAoPk=
-SIZE (pg-1.1.0.tgz) = 216884
+SHA256 (pg-1.1.1.tgz) = IhdE20oyG1Tr/Zus9b48RbkZVVnaB69gcWIOsqnHIYQ=
+SIZE (pg-1.1.1.tgz) = 65776
Index: pkg/PLIST
===
RCS file: /cvs/ports/databases/node-pg/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 PLIST
--- pkg/PLIST   19 May 2013 15:22:51 -  1.3
+++ pkg/PLIST   21 May 2013 20:13:58 -
@@ -84,6 +84,7 @@ lib/node_modules/pg/test/integration/cli
 lib/node_modules/pg/test/integration/client/prepared-statement-tests.js
 lib/node_modules/pg/test/integration/client/query-callback-error-tests.js
 lib/node_modules/pg/test/integration/client/query-error-handling-tests.js
+lib/node_modules/pg/test/integration/client/result-as-arrays-tests.js
 lib/node_modules/pg/test/integration/client/result-metadata-tests.js
 lib/node_modules/pg/test/integration/client/simple-query-tests.js
 lib/node_modules/pg/test/integration/client/ssl-tests.js
@@ -153,5 +154,4 @@ lib/node_modules/pg/test/unit/pool/basic
 lib/node_modules/pg/test/unit/pool/timeout-tests.js
 lib/node_modules/pg/test/unit/test-helper.js
 lib/node_modules/pg/test/unit/utils-tests.js
-lib/node_modules/pg/v8.log
 lib/node_modules/pg/wscript




Re: outdated HOMEPAGEs

2013-05-17 Thread Alexey E. Suslikov
Martin Natano  natano.net> writes:

> 
> On Thu, May 16, 2013 at 08:48:37PM +0100, Stuart Henderson wrote:
> > good. next step is to identify whether sites are just down temporarily,
> > or permanently (hint: if they still show in google when searching for the
> > software, they are probably just down temporarily), and if it looks
> > permanent, see if there is an alternative page.
> > 
> ok, I'll prepare a diff. Thank you for the hint.

some ports got fixed recently. could you post updated list?





Re: outdated HOMEPAGEs

2013-05-16 Thread Alexey E. Suslikov
Martin Natano  natano.net> writes:

> net/netbsd-iscsi-target http://www.alistaircrooks.co.uk/software.html

we have a diff for this one.



Re: Moving KDE3 out of Python 2.5

2013-05-15 Thread Alexey E. Suslikov
Vadim Zhukov  gmail.com> writes:

>  #XXX missing -rpath to /usr/local ?

not actually related to diff itself, but do we have
working -rpath after these recent ld.so improvements
by kurt@?

cheers,
alexey



Re: New: net/kannel

2013-04-18 Thread Alexey E. Suslikov
Stuart Henderson  openbsd.org> writes:

> slightly tweaked version attached: diff against your version below.
> notably I moved the primary category to telephony/ which I think makes
> sense - net/ is fairly huge so I'd like to avoid putting new ports
> there if there's a good alternative.
> 
> would anyone like to give me an OK to import this?

ping.

kannel is not a software mere mortals daily use, so receiving
grounded OKs maybe problematic.

Stuart, could you please commit this? Me and Roman use various
versions of this port on heavy loaded systems during many months,
if not years.



Re: Update: telephony/kamailio to 4.0.0

2013-04-15 Thread Alexey E. Suslikov
Roman Kravchuk  gmail.com> writes:

> This is update kamailio port to version 4.0.0

From
http://www.kamailio.org/w/kamailio-v4-0-0-release-notes/

Kamailio version 4.0 brings a lot of improvements and new
features to the leading Open Source SIP Server.  Here's a
few examples of the core new features in this major release
(and the reasons we're releasing a 4.x series upgrade):

* End of Kamailio – SER integration: In the 3.x release
series, Kamailio and SER shared the core source code, but
there was duplicated modules and different database
structures. Now the project is back to one set of modules,
with all the duplicated modules having been integrated.
There's now one set of modules, not three.

* New transport layer: Starting with this release,
Kamailio supports the WebSocket transport layer (both
plain and secure), in addition to UDP, TCP, TLS and SCTP.
WebSocket support (as outlined in an IETF draft with one
of the Kamailio developers as co-author) allow modern Web
browsers and Javascript SIP stacks to place calls and chat
using SIP for signaling.

* Kamailio is the default application name (aka, default
flavour), what the project is packaging. SER can be built
manually, and the "SER" flavour is kept for historical
and maintenance reasons.



Re: NEW: textproc/clit

2013-03-25 Thread Alexey E. Suslikov
Stuart Henderson  spacehopper.org> writes:

> > -CFLAGS=-funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I
../lib/des -I .^M
> > +CFLAGS=-funsigned-char -Wall -O2 -I ../libtommath-0.42.0/ -I ../lib -I
../lib/des -I .^M

It looks like some of the lines have MS-DOS line endings
(visible as \^M).



Re: nxsshd dies when client connecting

2013-03-12 Thread Alexey E. Suslikov
Alexis de BRUYN  de-bruyn.fr> writes:

> 
> Hi Everybody,
> 
> I am trying to use nxsshd port on my -current machine (in addition to
> /usr/sbin/sshd):
> OpenBSD 5.3-current (GENERIC.MP) #0: Fri Mar  8 18:45:36 CET 2013
> root  test.me:/usr/src/sys/arch/i386/compile/GENERIC.MP
> 
> But when the client is connecting, the daemon dies :
> 
> # /usr/ports/pobj/nxssh-3.5.0.2/nxssh/nxsshd -4 -p 2 -f
> /etc/ssh/ssh_config -h /etc/ssh/ssh_host_dsa_key -d

What is the (weird) reason to not run installed package but
use /usr/ports/pobj/ instead?



Re: small diff to netbsd-iscsi-target

2012-03-21 Thread Alexey E. Suslikov
Claudio Jeker  diehard.n-r-g.com> writes:

> 
> This diff changes the VPD page with the serial numbers so that OpenBSD and
> Solaris are able to use the netbsd-iscsi-target via multipath.
> With this in I'm able to add the iscsi-target to sym(4) and so the
> disk is not lost when iscsid is restarted.
> 
> According to dlg@ the NetBSD code is wrong and that's why this diff came
> up.

no regression on our iscsi testing setup. not using mpath though.

Mar 21 14:57:58 buildbox iscsi-target: > iSCSI Normal login  successful from
iqn.1995-11.org.openbsd.iscsid:buildbox on 192.168.5.200 disk 0, ISID
140987753934438, TSIH 2
Mar 21 14:57:58 buildbox /bsd: sd0 at scsibus1 targ 0 lun 0:  SCSI3 0/direct fixed t10.NetBSD_0x4f69d05698694873
Mar 21 14:57:58 buildbox /bsd: sd0: 100MB, 512 bytes/sector, 204800 sectors




KDE 3.5.4 is out

2006-08-03 Thread Alexey E. Suslikov
KDE 3.5.4 features translations in 65 languages, enhanced removable device 
support and improvements in the HTML rendering engine (KHTML).

http://kde.org/announcements/announce-3.5.4.php
http://kde.org/announcements/changelogs/changelog3_5_3to3_5_4.php



PATCH: null storeio support in squid

2006-07-21 Thread Alexey E. Suslikov
Works for me on i386 since 3.8/2.5.STABLE12. Very useful on low
disk space boxes there I need just proxying without caching.

--- www/squid/Makefile.orig Sat Jan 14 18:19:26 2006
+++ www/squid/Makefile  Sat Jan 14 18:20:10 2006
@@ -43,7 +43,7 @@
--enable-external-acl-helpers="ip_user unix_group" \
--enable-removal-policies="lru heap" \
--enable-ssl \
-   --enable-storeio="ufs diskd" \
+   --enable-storeio="ufs diskd null" \
--localstatedir="${SQUIDDIR}"
 
 .if ${FLAVOR:L:Mtransparent}



vmware in -current

2006-07-14 Thread Alexey E. Suslikov
Peter Valchev wrote:

> Vmware has been broken in -current for a long time now by the PAE
> changes.  If you have an interest in a working vmware in the next release,
> and want to try your hand at a hard problem, someone stepping up
> with a fix would be great.  todd@ and mcbride@ should have details,
> and in fact posting them to the list may be a good idea.

VMware Server is now free. See release notes here:

http://www.vmware.com/support/server/doc/releasenotes_server.html

Maybe it is a good idea to try make VMware Server work instead of old
(3.x) Workstation?



NEW: p5-Spreadsheet-WriteExcel

2006-07-14 Thread Alexey E. Suslikov
The Spreadsheet::WriteExcel module can be used to create
a cross-platform Excel binary file. Multiple worksheets can be
added to a workbook and formatting can be applied to cells.
Text, numbers, formulas, hyperlinks and images can be written
to the cells.


p5-Spreadsheet-WriteExcel-port.tgz
Description: application/tgz


FYI: KDE4 switched to cmake

2006-06-30 Thread Alexey E. Suslikov
Hello ports@openbsd.org,

Just FYI: KDE4 switched to cmake. See here
http://lwn.net/Articles/188693/http://lwn.net/Articles/188693/

I have found cmake port
http://marc.theaimsgroup.com/?l=openbsd-ports&m=113927035306085&w=2

but looks like it is not commited.

Bye.



Re: NEW: RFC 2217 compliant Telnet serial port redirector

2006-06-19 Thread Alexey E. Suslikov
your diff, diff for man page and MESSAGE file are included. updated port
is attached.

if you wish to add me as a MAINTAINER, please use the following address

alexeysuslikovgmailcom

On Sunday 18 June 2006 01:15, Aleksander Piotrowski wrote:

> Alexey E. Suslikov <[EMAIL PROTECTED]> wrote:
> > Sredird is a serial port redirector that is compliant with the RFC 2217
> > "Telnet Com Port Control Option" protocol. This protocol lets you share
> > a serial port through the network.
>
> Basically your port looks OK to me.  You missed some important stuff,
> though.  Please consider applying following diff.  Also, I think that
> you should add short blurb that describes what to do after installing
> sredird, ie. add to pkg/MESSAGE or pkg/DESCR information from section
> "5 - Installation" of README file that comes with sredird distfile.
>
> Alek
>
> diff -urN sredird.orig/Makefile sredird/Makefile
> --- sredird.orig/Makefile Sun Jun 18 01:59:45 2006
> +++ sredird/Makefile  Sun Jun 18 02:09:41 2006
> @@ -1,22 +1,25 @@
> +# $OpenBSD$
> +
>  COMMENT= "RFC 2217 compliant Telnet serial port redirector"
>
>  DISTNAME=sredird-2.2.2
> -PKGNAME= ${DISTNAME}
>  CATEGORIES=  net comms
>
>  MASTER_SITES=http://www.ibiblio.org/pub/Linux/system/serial/
>
> +# GPL
>  PERMIT_PACKAGE_CDROM=Yes
>  PERMIT_PACKAGE_FTP=  Yes
>  PERMIT_DISTFILES_CDROM=  Yes
>  PERMIT_DISTFILES_FTP=Yes
> +WANTLIB= c
>
> -do-build:
> +NO_REGRESS=  Yes
>
> +do-build:
>   ${CC} ${CFLAGS} -Wall -o ${WRKSRC}/sredird ${WRKSRC}/sredird.c
>
>  do-install:
> -
>   ${INSTALL_PROGRAM} ${WRKSRC}/sredird ${PREFIX}/libexec
>   ${INSTALL_MAN} ${WRKSRC}/sredird.8 ${PREFIX}/man/man8
>
> diff -urN sredird.orig/patches/patch-sredird_c
> sredird/patches/patch-sredird_c ---
> sredird.orig/patches/patch-sredird_c  Sun Jun 18 01:59:45 2006
> +++ sredird/patches/patch-sredird_c   Sun Jun 18 02:10:18 2006
> @@ -1,5 +1,6 @@
>  sredird.c.orig   Fri Mar  3 17:12:46 2006
> -+++ sredird.cFri Mar  3 17:21:34 2006
> +$OpenBSD$
> +--- sredird.c.orig   Fri Aug 12 16:10:46 2005
>  sredird.cSun Jun 18 02:10:10 2006
>  @@ -110,9 +110,9 @@
>   #include 
>   #include 
> @@ -11,7 +12,7 @@
>   #include 
>   #include 
>
> -@@ -714,8 +717,6 @@
> +@@ -714,8 +714,6 @@ unsigned long int GetPortSpeed(int PortF
>   return(115200UL);
>   case B230400:
>   return(230400UL);
> @@ -20,7 +21,7 @@
>   default:
>   return(0UL);
>   }
> -@@ -1094,9 +1095,6 @@
> +@@ -1094,9 +1092,6 @@ void SetPortSpeed(int PortFd, unsigned l
>   case 230400UL:
>   Speed = B230400;
>   break;
> @@ -30,7 +31,7 @@
>   default:
>   LogMsg(LOG_WARNING,"Unknwon baud rate 
> requested, setting to 9600.");
>   Speed = B9600;
> -@@ -2024,10 +2022,10 @@
> +@@ -2024,10 +2019,10 @@ int main(int argc, char * argv[])
>*/
>   SockParm = IPTOS_LOWDELAY;
>  
>   
> setsockopt(STDIN_FILENO,SOL_SOCKET,SO_KEEPALIVE,&SockParmEnable,sizeof(So
>ckParmEnable)); diff -urN sredird.orig/pkg/PLIST sredird/pkg/PLIST
> --- sredird.orig/pkg/PLISTSun Jun 18 01:59:45 2006
> +++ sredird/pkg/PLIST Sun Jun 18 02:04:02 2006
> @@ -1,2 +1,3 @@
> [EMAIL PROTECTED] $OpenBSD$
>  libexec/sredird
> -man/man8/sredird.8
> [EMAIL PROTECTED] man/man8/sredird.8


sredird-2.2.2-port.tgz
Description: application/tgz


NEW: RFC 2217 compliant Telnet serial port redirector

2006-06-16 Thread Alexey E. Suslikov
Sredird is a serial port redirector that is compliant with the RFC 2217
"Telnet Com Port Control Option" protocol. This protocol lets you share
a serial port through the network.

RFC 2217 was orginally implemented in Cisco Terminal Servers in IOS
version 11.x.



sredird-2.2.2-port.tgz
Description: application/tgz


OOo 2.0.3m166 BUILD SUCCESS

2006-05-15 Thread Alexey E. Suslikov
Robert Nagy wrote:

> it segfaults because our ld.so does not support $ORIGIN yet,
> which is needed for OpenOffice to load some shared objects.
>
> Until it gets implemented we should fix the packages problems
> and other dependency issues.

i don't think so. see here (for example)

http://archives.neohapsis.com/archives/openbsd/2005-04/0851.html

where espie@ wrote:

> That's a common size mismatch.
>
> Basically, you've got a symbol declared in two places, in such a way
> that the object file only stores its size, and the size is not the same.



OOo 2.0.3m166 BUILD SUCCESS

2006-05-12 Thread Alexey E. Suslikov
Hello.

1. checkout port/distfile from robert@'s CVS/MASTER_SITE and place it to
 /usr/ports/productivity/openoffice

2. add this chunk to patches/patch-instsetoo_native_util_makefile_mk

@@ -100,7 +100,8 @@
 .IF "$(BUILD_TYPE)"=="$(BUILD_TYPE):s/ODK//"
 ALLTAR : openoffice
 .ELSE
-ALLTAR : openoffice sdkoo_en-US ure_en-US
+#ALLTAR : openoffice sdkoo_en-US ure_en-US
+ALLTAR : openoffice
 .ENDIF
 .ELSE  # "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
 ALLTAR : updatepack

3. cd /usr/ports/productivity/openoffice && make install

4. after 8 hour build dies at "Faking installation..." with no target for
gmake.

5. go to
w-openoffice-2.0.3m166/ooo_SRC680_m166_src/\
instsetoo_native/unxobsd.pro/OpenOffice/portable/\
install/en-US/openbsd-3.9-intel

6. all *.sw files are tar files so decompress them (for example) 
to /usr/local/openoffice

7. export LD_LIBRARY_PATH=/usr/local/openoffice/program

8. cd /usr/local/openoffice/program &&
sudo ln -s libstlport_gcc.so libstlport_gcc.so.4.5

9. ./swrite
/usr/local/openoffice/program/soffice.bin:\
/usr/local/openoffice/program/libicuuc.so.26.0:\
/usr/local/openoffice/program/libicudata.so.26.0:\
WARNING: symbol(icudt26_dat) size mismatch, relink your program
Segmentation fault

Any ideas? :) BTW, why "portable" packaging were chosen instead of "bsd"?

P.S. there is no problem to add "do-install", decompress files by tar, fix
link to libstlport_gcc.so and make port's "make install" working.



php5-xsl in OPENBSD_3_7

2005-09-16 Thread Alexey E. Suslikov
Paul Tomlin wrote:

> On 13/09/05, Nikolay Sturm <[EMAIL PROTECTED]> wrote:
>> * Paul Tomlin [2005-09-12]:
>> > Is there any particular reason php5-xsl wasn't added to
>> > the -STABLE?
>> 
>> We don't add to stable, we only fix severe bugs.
> 
> Even if it was forgotten/missed initially and is part of a port that
> was there at -BASE?
> 
> Obviously not my call, but I'd be tempted to say missing functionality
> is a bug [severe or otherwise], since now, in order to use php5-xsl,
> I'll have to go against all the rules and use a mashed package. Or
> worse still, build from (non-port) source. Or use -CURRENT.
> 
> Or not php5-xsl for another few months
> 
> *grumble grumble*

i have checked php5 from trunk on my 3.7 and built
it: works very well including xsl tranformations.



Free(Net)BSD builds OpenOffice without STLport?

2005-07-26 Thread Alexey E. Suslikov
Hello ports@openbsd.org,

Does somebody looked at OpenOffice ports in FreeBSD or
NetBSD ports trees? There is no dependency on STLport
in both trees.

What is the gpc231.tar.Z? Both ports trees uses this.

FreeBSD port is too complex to port, but NetBSD looks
simplier.

Maybe our ports gurus will stand up and say a couple
words? ;)

Thanks.



mplayer plug-in for mozilla

2005-07-20 Thread Alexey E. Suslikov

Hello ports@openbsd.org,

has anyone working (has feedback) on mplayer plug-in
for mozilla?

http://mplayerplug-in.sourceforge.net

version 3.00 is just released

http://sourceforge.net/project/showfiles.php?group_id=71239&package_id=70736&release_id=343166

Thanks.



PATCH: freetds msdblib flavor

2005-06-21 Thread Alexey E. Suslikov

this patch adds msdblib flavor to freetds.

we have been running msdblib flavored freetds 0.62.4
(via php mssql extension) against Windows 2000 Server
from Feb till now without any issues.

needs for upcoming php mssql extension.

--- Makefile.orig   Sat Jun 18 18:59:06 2005
+++ MakefileSat Jun 18 19:29:14 2005
@@ -18,12 +18,20 @@

 MAINTAINER=joshua stein <[EMAIL PROTECTED]>

+FLAVORS=   msdblib
+FLAVOR?=
+
 CONFIGURE_STYLE= gnu
 CONFIGURE_ARGS=${CONFIGURE_SHARED} \
--enable-static \
--with-libiconv-prefix="${LOCALBASE}" \
--disable-threadsafe \
--disable-odbc
+
+.if $(FLAVOR:L:Mmsdblib)
+CONFIGURE_ARGS+=--enable-msdblib
+.endif
+
 MAKE_ENV=  RM=rm
 MODULES=   converters/libiconv
 DOC=   share/doc/freetds-$V



DEPENDing on FLAVORed port

2005-06-01 Thread Alexey E. Suslikov

Hello ports@openbsd.org,

 how can some port can depend on some other FLAVORed port?

 what should I use in

 SOME_DEPENDS=  other.0::otherlocation/other

 if I need not just "other" but "other-flavor"?

Thanks.