Re: expat dependencies
Hi, On Wed, 15.08.2007 at 01:20:49 +0200, Marc Espie [EMAIL PROTECTED] wrote: On Tue, Aug 14, 2007 at 06:15:44PM -0500, Emilio Perea wrote: I understand that (at least) xbase is necessary to build packages, but assume it is not required to install pre-built ones. (No big deal if it is, but thought to ask just in case.) You have to install at least part of xbase, namely, the shared libraries. while I'm in a hurry and trying to generate my own 4.2, I found out that this is not easily possible: Building X11 from source (FAQ#5) requires tcl and tk to be installed. but tk requires X11 to be installed before it can be built. So, if I need expat (yes, for python-expat), I'm kind of stuck since the expat port is also disabled: # make install === expat-2.0.0p0 -- expat comes with OpenBSD as of release 4.2. IOW, I'll have to fiddle with it to get the expat port compile in order to subsequently avoid installing xbase which I can't compile. How do you guys actually bootstrap it? Best, --Toni++
Building X11, was: Re: expat dependencies
Hi, On Tue, 23.10.2007 at 10:50:12 +0200, Toni Mueller [EMAIL PROTECTED] wrote: IOW, I'll have to fiddle with it to get the expat port compile in order to subsequently avoid installing xbase which I can't compile. How do you guys actually bootstrap it? that should have read: How do you guys actually bootstrap X11? Best, --Toni++
Re: Maintainer Update: net/pptp
Stefan Sperling [EMAIL PROTECTED] wrote: * Add patch to ${WRKSRC}/util.c that prevents pptp from logging the same stuff into both /var/log/daemon and /var/log/messages. Just log to /var/log/daemon. That doesn't sound right. This is a syslog configuration issue. I don't know, but I don't think so. I'm using the default syslog config. Never touched it: *.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none /var/log/messages daemon.info /var/log/daemon Yes, and that logs messages of facility LOG_DAEMON and priority LOG_NOTICE to both /var/log/messages and /var/log/daemon. If you don't like this, see syslog.conf(5). pptp is using LOG_NOTICE to log 'normal' messages. ppp(8) never uses LOG_NOTICE at all, it uses LOG_INFO instead. Well, maybe LOG_NOTICE is indeed the wrong priority, but that is a different argument from changing it as a workaround to reconfiguring syslogd. -- Christian naddy Weisgerber [EMAIL PROTECTED]
NEW: www/wordpress-mu
This is a multi-user version of wordpress. Further information on http://mu.wordpress.org Please test and comment, or even an ok? Marc wordpress-mu.tgz Description: Binary data
Re: Maintainer Update: net/pptp
On Tue, Oct 23, 2007 at 10:01:16AM +, Christian Weisgerber wrote: *.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none /var/log/messages daemon.info /var/log/daemon Yes, and that logs messages of facility LOG_DAEMON and priority LOG_NOTICE to both /var/log/messages and /var/log/daemon. If you don't like this, see syslog.conf(5). OK, thanks. I see it now: *.notice matches daemon.notice. pptp is using LOG_NOTICE to log 'normal' messages. ppp(8) never uses LOG_NOTICE at all, it uses LOG_INFO instead. Well, maybe LOG_NOTICE is indeed the wrong priority, but that is a different argument from changing it as a workaround to reconfiguring syslogd. Yes, it is indeed the wrong priority, at least from looking at ppp(8). Let's use the wrong priority argument so? :) -- stefan http://stsp.name PGP Key: 0xF59D25F0 pgpy21A0lCDv7.pgp Description: PGP signature
Re: Building X11, was: Re: expat dependencies
Toni Mueller wrote: Hi, On Tue, 23.10.2007 at 10:50:12 +0200, Toni Mueller [EMAIL PROTECTED] wrote: IOW, I'll have to fiddle with it to get the expat port compile in order to subsequently avoid installing xbase which I can't compile. How do you guys actually bootstrap it? that should have read: How do you guys actually bootstrap X11? until the FAQ is updated for 4.2 (Nov. 1), you need to see .../xenocara/README and man 8 release Nick.
openmotif-2.3.0p0.tgz chokes at lib not found expat.8.0?
OpenBSD 4.2-current (GENERIC) #452: Sun Oct 21 22:08:12 MDT 2007 [full dmesg and pkg_info -A at bottom] Hello. here is an installog of pkg_add ftp://ftp.stacken.kth.se/pub/OpenBSD/snapshots/packages/i386/openmotif-2.3.0p0.tgz; which I needed to compile Java 1.7.0. (which depends upon 1.5.2 which depends upon openmotif...) (I did not have time or space to wait for my computer to compile openmotif-2.3.0p0.tgz, so I tried to take a shortcut... ) # echo $PKG_PATH ftp://ftp.stacken.kth.se/pub/OpenBSD/snapshots/packages/i386/ # pkg_add -v ftp://ftp.stacken.kth.se/pub/OpenBSD/snapshots/packages/i386/openmotif-2.3.0p0.tgz parsing ftp://ftp.stacken.kth.se/pub/OpenBSD/snapshots/packages/i386/openmotif-2.3.0p0.tgz Dependencies for openmotif-2.3.0p0 resolve to: libiconv-1.9.2p4 found libspec ICE.8.1 in /usr/X11R6/lib found libspec SM.8.0 in /usr/X11R6/lib found libspec X11.11.0 in /usr/X11R6/lib found libspec Xau.9.0 in /usr/X11R6/lib found libspec Xdmcp.9.0 in /usr/X11R6/lib found libspec Xext.10.0 in /usr/X11R6/lib found libspec Xft.7.0 in /usr/X11R6/lib found libspec Xmu.10.0 in /usr/X11R6/lib found libspec Xp.10.0 in /usr/X11R6/lib found libspec Xrender.5.0 in /usr/X11R6/lib found libspec Xt.10.0 in /usr/X11R6/lib found libspec c.42.0 in /usr/lib Can't install openmotif-2.3.0p0: lib not found expat.8.0 Dependencies for openmotif-2.3.0p0 resolve to: libiconv-1.9.2p4 Full dependency tree is libiconv-1.9.2p4 expat.8.0: partial match in /usr/lib: major=9, minor=0 (bad major) found libspec fontconfig.5.1 in /usr/X11R6/lib found libspec freetype.15.0 in /usr/X11R6/lib found libspec iconv.4.0 in package libiconv-1.9.2p4 found libspec z.4.1 in /usr/lib I have tried pkg_info, but it did not gave any help to resolve the depencies issues. [I should have tried more at pkg_info, but I am too busy/lazy right now...] The package openmotif-2.3.0p0.tgz chokes at lib not found expat.8.0, but it did not needed these libs as I gived up and compiled the openmotif in the ports: # pkg_info | grep expat # Note to self: Be better to avoid the easy way. ;) # dmesg OpenBSD 4.2-current (GENERIC) #452: Sun Oct 21 22:08:12 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) III Mobile CPU 866MHz (GenuineIntel 686-class) 864 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 133603328 (127MB) avail mem = 121397248 (115MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 01/24/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf76c0 (61 entries) bios0: vendor Dell Computer Corporation version A12 date 01/24/2003 bios0: Dell Computer Corporation Inspiron 4100 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 100% apm0: AC on, battery charge high, charging, estimated 2:48 hours pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfbb90/208 (11 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371 ISA and IDE rev 0x00) pcibios0: PCI bus #4 is the last bus bios0: ROM list: 0xc/0xf000 0xcf000/0x800! 0xcf800/0x800! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82830MP CPU-I/O-1 rev 0x02 ppb0 at pci0 dev 1 function 0 Intel 82830MP CPU-AGP rev 0x02 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M6 LY rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci0 at pci0 dev 29 function 0 Intel 82801CA/CAM USB rev 0x01: irq 11 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x41 pci2 at ppb1 bus 2 xl0 at pci2 dev 0 function 0 3Com 3c905C 100Base-TX rev 0x78: irq 11, address 00:06:5b:37:71:0f exphy0 at xl0 phy 24: 3Com internal media interface cbb0 at pci2 dev 1 function 0 TI PCI1420 CardBus rev 0x00: irq 11 cbb1 at pci2 dev 1 function 1 TI PCI1420 CardBus rev 0x00: irq 11 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0x20 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 4 device 0 cacheline 0x8, lattimer 0x20 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 Intel 82801CAM LPC rev 0x01: 24-bit timer at 3579545Hz: Speed Step pciide0 at pci0 dev 31 function 1 Intel 82801CAM IDE rev 0x01: DMA, channel 0 configured to comp atibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: ST92011A wd0: 16-sector PIO, LBA48, 19077MB, 39070080 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: TOSHIBA, DVD-ROM SD-C2502, XD13 SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 auich0 at pci0 dev 31 function 5 Intel 82801CA/CAM AC97 rev 0x01: irq 11, ICH3 AC97 ac97: codec id 0x4352595b (Cirrus Logic CS4205 rev 3) ac97: codec features mic channel, tone, simulated stereo,
Re: Maintainer Update: net/pptp
On Tue, Oct 23, 2007 at 01:05:03AM +0200, Paul de Weerd wrote: On Tue, Oct 23, 2007 at 12:07:50AM +0200, Stefan Sperling wrote: | * Add patch to ${WRKSRC}/pptp_gre.c to automatically enable | the net.inet.gre.allow sysctl before trying to bind | the GRE socket, and disable the sysctl again after | closing the socket. Is disabling after use the best way to go ? No, in fact it isn't. Theo also helped me realise that disabling the sysctl is a stupid idea. In case you run two VPN tunnels and one of them goes down for some reason the other one stops working, too, because the first one will disable GRE system-wide. The obvious solution is to simply live with leaving GRE enabled. In fact no one ever talked about disabling it, only about enabling it. I somehow just made up disabling it while writing the patch. I should probably not be writing patches late at night. Third update, both the diff and the list of changes have been changed. List of changes: * Update my email address. * Add detailed option descriptions to pptp(8) man page. * Move OpenBSD configuration examples from text file ${PREFIX}/share/doc/pptp/USING into pptp(8) man page, and remove patch to ${WRKSRC}/USING. Extend and revise examples while at it. * Add patch to ${WRKSRC}/util.c to make pptp log normal informational messages with level LOG_INFO instead of LOG_NOTICE. * Update pkg/DESCR with a new description based on upstream web site. * Fix URL to list of pptp security flaws in pkg/MESSAGE. * [Re-]Create patches with `make update-patches'. * Add patch to ${WRKSRC}/pptp_gre.c to automatically enable the net.inet.gre.allow sysctl before trying to bind the GRE socket. * Remove '@sysctl net.inet.gre.allow=1' from PLIST. Index: Makefile === RCS file: /cvs/ports/net/pptp/Makefile,v retrieving revision 1.17 diff -u -r1.17 Makefile --- Makefile15 Sep 2007 22:36:58 - 1.17 +++ Makefile23 Oct 2007 10:28:42 - @@ -3,13 +3,15 @@ COMMENT= PPTP client package for Microsoft VPN servers -DISTNAME= pptp-1.7.1 +VERSION= 1.7.1 +DISTNAME= pptp-${VERSION} +PKGNAME= ${DISTNAME}p0 CATEGORIES=net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pptpclient/} HOMEPAGE= http://pptpclient.sf.net -MAINTAINER=Stefan Sperling [EMAIL PROTECTED] +MAINTAINER=Stefan Sperling [EMAIL PROTECTED] # GPL PERMIT_PACKAGE_CDROM= Yes Index: files/pptp_8 === RCS file: /cvs/ports/net/pptp/files/pptp_8,v retrieving revision 1.5 diff -u -r1.5 pptp_8 --- files/pptp_812 Nov 2006 10:10:09 - 1.5 +++ files/pptp_823 Oct 2007 10:28:42 - @@ -14,10 +14,19 @@ .Sh SYNOPSIS .Nm .Ar hostname -[ -.Op Ar --phone phone number -.Op Ar --quirks ISP_NAME --- ] +.Op Fl -version +.Op Fl -phone Ar number +.Op Fl -nolaunchpppd +.Op Fl -quirks Ar quirk +.Op Fl -debug +.Op Fl -sync +.Op Fl -timeout Ar secs +.Op Fl -nobuffer +.Op Fl -idle-wait Ar time +.Op Fl -max-echo-wait Ar time +.Op Fl -logstring Ar name +.Op Fl -localbind Ar addr +.Op Fl -loglevel Ar level .Op Ar ppp options .Sh DESCRIPTION .Nm @@ -37,33 +46,285 @@ The .Ar hostname parameter specifies which host should be contacted as the PPTP server. -Additional parameters are passed on to -.Ic ppp +.Pp +.Op Ar ppp options +are passed on to +.Xr ppp 8 and typically include a remote username or a file containing options. .Pp .Nm must be run as root. - -.Sh EXAMPLE +.Pp .Nm -.Ar hostname -.Op Ar ppp options +accepts the following options: +.Bl -tag -width Ds +.It Fl -version +Display version number and exit. +.It Fl -phone Ar number +Pass +.Ar number +to remote host as phone number. +.It Fl -nolaunchpppd +Do not launch a ppp daemon, for use as a ppp daemon pty. +.It Fl -quirks Ar quirk +Work around a buggy PPTP implementation. +The only currently recognised value is +.Ar BEZEQ_ISRAEL . +See the file +.Pa PREFIX/share/doc/pptp/USING +for details. +.It Fl -debug +Run in foreground (for debugging with gdb). +.It Fl -sync +Enable Synchronous HDLC. +.Xr ppp 8 +must use it, too. +.It Fl -timeout Ar secs +Time to wait for reordered packets (0.01 to 10 secs). +.It Fl -nobuffer +Disable packet buffering and reordering completely +.It Fl -idle-wait Ar secs +Time to wait before sending echo request. +.It Fl -max-echo-wait Ar secs +Time to wait before giving up on lack of reply. This option +seems to be unimplemented, because the flag can be set but is +never evaluated (look at pptp_ctrl.c) \(em dead, unused code? +.It Fl -logstring Ar name +Use +.Ar name +instead of +.Dq anon +in syslog messages. +.It Fl -localbind Ar addr +Bind to specified IP address instead of wildcard. +.It Fl -loglevel Ar level +Sets the debugging level (0=low, 1=default, 2=high). +.Sh EXAMPLES +.Ss PPTP on a stand-alone VPN client +This example assumes that you want to use
Re: openmotif-2.3.0p0.tgz chokes at lib not found expat.8.0?
On 2007/10/23 13:02, Atle Kristensen wrote: Hello. here is an installog of pkg_add ftp://ftp.stacken.kth.se/pub/OpenBSD/snapshots/packages/i386/openmotif-2.3.0p0.tgz; stacken probably had an old package snap when you tried it; it's updated now. http://www.openbsd.org/faq/current.html#20071020
Re: openmotif-2.3.0p0.tgz chokes at lib not found expat.8.0?
stacken probably had an old package snap when you tried it; it's updated now. http://www.openbsd.org/faq/current.html#20071020 Thanks, that's the thing; stacken was'nt updated enought. I had a complety clean install (deleted my 3.8-current). I downloaded it earlier and the version I tried was 10/20/07: $ ls -lah openmotif-2.3.0p0.tgz md5 openmotif-2.3.0p0.tgz -rw-r--r-- 1 atle wheel 26.5M Oct 23 11:26 openmotif-2.3.0p0.tgz MD5 (openmotif-2.3.0p0.tgz) = f0a388af37a6b096e9380f6e4278efd4 ftp.stacken.se: openmotif-2.3.0p0.tgz 27090 KB10/20/0715:31:00 -- # Atle Kristensen - OpenBSD 3.4-beta GENERIC#135 i386 That is not dead which can eternal lie. And with strange aeons even death may die.
Re: UPDATE: x11/dwm
On Tue, Oct 16, 2007 at 08:48:36AM -0400, Jim Razmus wrote: Uplift dwm to version 4.5. Adds a patch for config.h to encourage dwm to respect Xresources when starting an xterm. Lastly, folds in my color preferences so I don't have to maintain my own one off in my tree. Tested on three i386 machines that I use daily. Questions? Concerns? Jim Committed. Thanks. -ME
Re: [NEW] databases/postgresql-odbc
On Tue, Oct 09, 2007 at 05:05:24PM +0300, Paul Irofti wrote: On Wed, Oct 03, 2007 at 06:26:48PM +0300, Paul Irofti wrote: This is the postgresql odbc driver for iodbc. Works fine for amd64 and i386. pkg/DESCR: The official PostgreSQL ODBC Driver I've attempted to make this a multipackage for unicode but failed miserably. If anyone is willing to help me make it into a multipackage please send a patch or guide me through emails, here is what I've put extra inside the Makefile for the MULTI_PACKAGES: MULTI_PACKAGES=-main -unicode COMMENT-main= The official PostgreSQL ODBC Driver COMMENT-unicode= The official PostgreSQL ODBC Driver with unicode support PKGNAME-main= postgresql-odbc-${VERSION} PKGNAME-unicode= postgresql-odbc-unicode-${VERSION} CONFIGURE_ARGS+= --with-iodbc --without-unixodbc --enable-pthreads .if !defined(SUBPACKAGE) CONFIGURE_ARGS+= --disable-unicode .endif I can build both packages separately, but when I do a `make package' there is no second configure+compile stage and the -unicode package errors out. It seems that there's no need for two packages, the unicode enabled driver can handle plain ascii as well. Here is the new port, tested on i386 and amd64 with both unicode and ascii. I've attached some configs that can be used in order to lighten the test process, hope this will make submitting this port faster. There are two database dumps (one using simple ASCII and the other UTF8) and two config files .odbc*.ini that should be placed in $HOME. Afterwards running iodbctest and selecting DSN=test or DSN=testw will drop you off to an sql cli where further testing may be done. -- -- PostgreSQL database dump -- SET client_encoding = 'UTF8'; SET standard_conforming_strings = off; SET check_function_bodies = false; SET client_min_messages = warning; SET escape_string_warning = off; -- -- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: postgres -- COMMENT ON SCHEMA public IS 'Standard public schema'; -- -- Name: public; Type: ACL; Schema: -; Owner: postgres -- REVOKE ALL ON SCHEMA public FROM PUBLIC; REVOKE ALL ON SCHEMA public FROM postgres; GRANT ALL ON SCHEMA public TO postgres; GRANT ALL ON SCHEMA public TO PUBLIC; -- -- PostgreSQL database dump complete -- [ODBC Data Sources] test = postgresql testw = postgresql [test] Driver = /usr/local/lib/psqlodbcw.so Description = Test Database database= test [ODBC] Trace = 0 TraceAutoStop = 0 TraceFile = sql.log [testw] Driver = /usr/local/lib/psqlodbcw.so Description = Test Unicode Database database= uni_test [ODBC Drivers] postgresql = Installed [postgresql] Driver = /usr/local/lib/psqlodbcw.so Setup = /usr/local/lib/psqlodbcw.so [ODBC Connection Pooling] PerfMon= 0 Retry Wait = -- -- PostgreSQL database dump -- SET client_encoding = 'SQL_ASCII'; SET standard_conforming_strings = off; SET check_function_bodies = false; SET client_min_messages = warning; SET escape_string_warning = off; -- -- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: postgres -- COMMENT ON SCHEMA public IS 'Standard public schema'; SET search_path = public, pg_catalog; SET default_tablespace = ''; SET default_with_oids = false; -- -- Name: users; Type: TABLE; Schema: public; Owner: bulibuta; Tablespace: -- CREATE TABLE users ( id integer NOT NULL, address character(120), name character(50) ); ALTER TABLE public.users OWNER TO bulibuta; -- -- Name: users_id_seq; Type: SEQUENCE; Schema: public; Owner: bulibuta -- CREATE SEQUENCE users_id_seq INCREMENT BY 1 NO MAXVALUE NO MINVALUE CACHE 1; ALTER TABLE public.users_id_seq OWNER TO bulibuta; -- -- Name: users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: bulibuta -- ALTER SEQUENCE users_id_seq OWNED BY users.id; -- -- Name: users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: bulibuta -- SELECT pg_catalog.setval('users_id_seq', 37, true); -- -- Name: id; Type: DEFAULT; Schema: public; Owner: bulibuta -- ALTER TABLE users ALTER COLUMN id SET DEFAULT nextval('users_id_seq'::regclass); -- -- Data for Name: users; Type: TABLE DATA; Schema: public; Owner: bulibuta -- -- -- Name: unique id; Type: CONSTRAINT; Schema: public; Owner: bulibuta; Tablespace: -- ALTER TABLE ONLY users ADD CONSTRAINT unique id PRIMARY KEY (id); -- -- Name: public; Type: ACL; Schema: -; Owner: postgres -- REVOKE ALL ON SCHEMA public FROM PUBLIC; REVOKE ALL ON SCHEMA public FROM postgres; GRANT ALL ON SCHEMA public TO postgres; GRANT ALL ON SCHEMA public TO PUBLIC; -- -- PostgreSQL database dump complete --
Re: expat dependencies
On 10/23/07, Toni Mueller [EMAIL PROTECTED] wrote: Hi, On Wed, 15.08.2007 at 01:20:49 +0200, Marc Espie [EMAIL PROTECTED] wrote: On Tue, Aug 14, 2007 at 06:15:44PM -0500, Emilio Perea wrote: I understand that (at least) xbase is necessary to build packages, but assume it is not required to install pre-built ones. (No big deal if it is, but thought to ask just in case.) You have to install at least part of xbase, namely, the shared libraries. while I'm in a hurry and trying to generate my own 4.2, I found out that this is not easily possible: Building X11 from source (FAQ#5) requires tcl and tk to be installed. but tk requires X11 to be installed before it can be built. So, if I need expat (yes, for python-expat), I'm kind of stuck since the expat port is also disabled: # make install === expat-2.0.0p0 -- expat comes with OpenBSD as of release 4.2. IOW, I'll have to fiddle with it to get the expat port compile in order to subsequently avoid installing xbase which I can't compile. How do you guys actually bootstrap it? Best, --Toni++ Same here with the expat issue, I tried to build 4.2 as my firewall to test (pf-related enhancements) as well as a network stack improvements and i find it quite difficult. expat is now builtin to 4.2, and when i try to build ports gmake against a 4.2 snapshot i get stopped by some missing expat libs. i tried pulling out binaries from the snapshot packages link and same result. I noticed that the 4.1 expat and 4.2 versions (2.0.0) are the same so I tried to pull the expat on 4.1ports and install put it on the 4.2 snapshot, it build cleanly but still i got stopped by a file expat.6.0.. i guess we just need to wait it out till the official release comes in and just pre-order the 4.2 CD. regards, -pf
Re: expat dependencies
On October 23, 2007 11:23:12 am you wrote: On 10/23/07, Toni Mueller [EMAIL PROTECTED] wrote: Hi, On Wed, 15.08.2007 at 01:20:49 +0200, Marc Espie [EMAIL PROTECTED] wrote: On Tue, Aug 14, 2007 at 06:15:44PM -0500, Emilio Perea wrote: I understand that (at least) xbase is necessary to build packages, but assume it is not required to install pre-built ones. (No big deal if it is, but thought to ask just in case.) You have to install at least part of xbase, namely, the shared libraries. while I'm in a hurry and trying to generate my own 4.2, I found out that this is not easily possible: Building X11 from source (FAQ#5) requires tcl and tk to be installed. but tk requires X11 to be installed before it can be built. So, if I need expat (yes, for python-expat), I'm kind of stuck since the expat port is also disabled: # make install === expat-2.0.0p0 -- expat comes with OpenBSD as of release 4.2. IOW, I'll have to fiddle with it to get the expat port compile in order to subsequently avoid installing xbase which I can't compile. How do you guys actually bootstrap it? Best, --Toni++ Same here with the expat issue, I tried to build 4.2 as my firewall to test (pf-related enhancements) as well as a network stack improvements and i find it quite difficult. expat is now builtin to 4.2, and when i try to build ports gmake against a 4.2 snapshot i get stopped by some missing expat libs. i tried pulling out binaries from the snapshot packages link and same result. I noticed that the 4.1 expat and 4.2 versions (2.0.0) are the same so I tried to pull the expat on 4.1ports and install put it on the 4.2 snapshot, it build cleanly but still i got stopped by a file expat.6.0.. i guess we just need to wait it out till the official release comes in and just pre-order the 4.2 CD. regards, -pf with 4.2 you have to install the xbase/xshare sets. with -current this has been corrected and expat is now in the base sets.
Re: jabberd ports Makefile patch
Alexander Iliev [EMAIL PROTECTED], ports@openbsd.org wrote: If anyone thinks that it's worth committing it into the tree - go ahead. :) It is not. The goal of the patch is to allow users to add extra configure parameters during the build with: make CONFIGURE_ARGS+=argument ... We don't support that sort of ad hoc customization. -- Christian naddy Weisgerber [EMAIL PROTECTED]
Problem with symon
Hi I have installed symon on my openbsd 4.2. The script to create rrd database doesn't find the fullpath of symux, because symux are installed on /usr/local/libexec/. To correct this i create a symbolic link or add /usr/local/libexec to my PATH. It's possible to fix this bogus script to avoid other user to pass on same problems? # /usr/local/share/symon/c_smrrds.sh 1 30 all /usr/local/share/symon/c_smrrds.sh[272]: symux: not found -- Giancarlo Rubio
graphics/gd: does not ignore freetyp1
Hi, I tried to create the gd package for 4.2, which broke because somehow the configure system detected the presence of the freetype library, even when freetype isn't installed, but (naturally) failed to compile because the dependency on freetype is weak (WANT* instead of DEPEND), and it's on freetype2 which is not in the ports or system. I modified the Makefile like this: # diff -u Makefile.orig Makefile --- Makefile.orig Tue Oct 23 23:01:26 2007 +++ MakefileTue Oct 23 23:01:03 2007 @@ -22,7 +22,7 @@ PERMIT_DISTFILES_FTP= Yes CONFIGURE_STYLE= gnu -CONFIGURE_ARGS+= --without-xpm +CONFIGURE_ARGS+= --without-xpm --without-freetype USE_X11= Yes USE_LIBTOOL= Yes With this change, I can create the package, but I'd like to know whether someone has successfully built this package on 4.2 with freetype, and how. TIA! Best, --Toni++
[NEW] hplip-2.7.10
pkg/DESCR HPLIP is an HP developed solution for printing, scanning, and faxing with HP inkjet and laser based printers in Unix. The HPLIP project provides printing support for 1,248 printer models, including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy), Business Inkjet, LaserJet, Edgeline MFP, and LaserJet MFP. This is loosely based on a port sent to me by Federico G. Schwindt. I do not have any HP printer/scanner around right now and would appreciate *any* kind of testing. Note that this port supersed print/hpijs. Thanks! -- Antoine hplip.tgz Description: Binary data
Re: Problem with symon
On Tue 2007.10.23 at 17:31 -0200, Giancarlo Rubio wrote: Hi I have installed symon on my openbsd 4.2. The script to create rrd database doesn't find the fullpath of symux, because symux are installed on /usr/local/libexec/. To correct this i create a symbolic link or add /usr/local/libexec to my PATH. It's possible to fix this bogus script to avoid other user to pass on same problems? but it has been; are you sure you have symon-2.76? # /usr/local/share/symon/c_smrrds.sh 1 30 all /usr/local/share/symon/c_smrrds.sh[272]: symux: not found -- Giancarlo Rubio
Re: Problem with symon
I have installed symon yesterday on a -current machine, it's work. # cat /usr/local/share/symon/c_smrrds.sh | grep symux junk SYMUX=`find_exec $SYMUX /usr/libexec:/usr/local/libexec symux` On 10/23/07, Okan Demirmen [EMAIL PROTECTED] wrote: On Tue 2007.10.23 at 17:31 -0200, Giancarlo Rubio wrote: Hi I have installed symon on my openbsd 4.2. The script to create rrd database doesn't find the fullpath of symux, because symux are installed on /usr/local/libexec/. To correct this i create a symbolic link or add /usr/local/libexec to my PATH. It's possible to fix this bogus script to avoid other user to pass on same problems? but it has been; are you sure you have symon-2.76? # /usr/local/share/symon/c_smrrds.sh 1 30 all /usr/local/share/symon/c_smrrds.sh[272]: symux: not found -- Giancarlo Rubio -- Julien Cabillot
NEW: x11/roxterm
Hi! This is my first openbsd port, I hope I did well. It was very easy, it built out of the box. Could you please test and comment? Thanks! Kind regards, Jona roxterm.tar.gz Description: Binary data
quake2 with opengl
with the following patch, you can use the opengl renderer. now it also works on amd64 (and probably most other places) if you don't use the soft renderer. Index: Makefile === RCS file: /cvs/ports/games/quake2/Makefile,v retrieving revision 1.7 diff -u -u -r1.7 Makefile --- Makefile15 Sep 2007 18:01:02 - 1.7 +++ Makefile24 Oct 2007 05:02:19 - @@ -1,6 +1,6 @@ # $OpenBSD: Makefile,v 1.7 2007/09/15 18:01:02 simon Exp $ -ONLY_FOR_ARCHS=i386 +#ONLY_FOR_ARCHS= i386 SHARED_ONLY= Yes COMMENT= first person shooter @@ -30,6 +30,7 @@ USE_LIBTOOL= Yes LIBTOOL_FLAGS= --tag=disable-static CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= --with-opengl=/usr/X11R6 NO_REGRESS=Yes CFLAGS+=-pthread -g Index: pkg/PLIST === RCS file: /cvs/ports/games/quake2/pkg/PLIST,v retrieving revision 1.2 diff -u -u -r1.2 PLIST --- pkg/PLIST 7 Apr 2007 12:13:41 - 1.2 +++ pkg/PLIST 24 Oct 2007 05:02:19 - @@ -7,6 +7,10 @@ lib/quake2/ctf/ lib/quake2/ctf/game.la lib/quake2/ctf/game.so +lib/quake2/ref_glx.la +lib/quake2/ref_glx.so +lib/quake2/ref_sdlgl.la +lib/quake2/ref_sdlgl.so lib/quake2/ref_softsdl.la lib/quake2/ref_softsdl.so lib/quake2/ref_softx.la --- /dev/null Tue Oct 23 22:02:47 2007 +++ patches/patch-configure Tue Oct 23 21:49:37 2007 @@ -0,0 +1,11 @@ +--- configure.orig Tue Oct 23 21:36:09 2007 configure Tue Oct 23 21:35:28 2007 +@@ -21176,7 +21176,7 @@ + echo $ECHO_N (cached) $ECHO_C 6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS=-lGL $OPENGL_LIBS ++LIBS=-lGL -lm $OPENGL_LIBS +$LIBS + cat conftest.$ac_ext _ACEOF + /* confdefs.h. */ --- /dev/null Tue Oct 23 22:02:59 2007 +++ patches/patch-src_glw_h Tue Oct 23 21:43:28 2007 @@ -0,0 +1,11 @@ +--- src/glw.h.orig Tue Oct 23 21:38:51 2007 src/glw.h Tue Oct 23 21:39:04 2007 +@@ -30,7 +30,7 @@ + #ifndef __GLW_H__ + #define __GLW_H__ + +-#if defined (__linux__) || defined (__bsd__) || defined (__sgi) || defined (__FreeBSD__) || defined (__NetBSD__) || defined (__sun__) ++#if defined (__linux__) || defined (__bsd__) || defined (__sgi) || defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__sun__) + + typedef struct + { --- /dev/null Tue Oct 23 22:03:06 2007 +++ patches/patch-src_qgl_c Tue Oct 23 21:42:49 2007 @@ -0,0 +1,38 @@ +--- src/qgl.c.orig Tue Oct 23 21:41:18 2007 src/qgl.c Tue Oct 23 21:41:47 2007 +@@ -70,7 +70,7 @@ + #endif + + /* merged in from qgl_bsd.c -- jaq */ +-#if defined(__bsd__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__sun__) ++#if defined(__bsd__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__sun__) || defined (__OpenBSD__) + /* + //FX Mesa Functions + fxMesaContext (*qfxMesaCreateContext)(GLuint win, GrScreenResolution_t, GrScreenRefresh_t, const GLint attribList[]); +@@ -3020,7 +3020,7 @@ + qglVertexPointer = NULL; + qglViewport = NULL; + /* merged in from qgl_bsd.c -- jaq */ +-#if defined(__bsd__) || defined(__FreeBSD__) || defined(__NetBSD__) ++#if defined(__bsd__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined (__OpenBSD__) + /* + qfxMesaCreateContext = NULL; + qfxMesaCreateBestContext = NULL; +@@ -3041,7 +3041,7 @@ + } + + /* merged in from qgl_bsd.c -- jaq */ +-#if defined(__linux__) || defined (__FreeBSD__) || defined(__NetBSD__) || defined (__sun__) ++#if defined(__linux__) || defined (__FreeBSD__) || defined(__NetBSD__) || defined (__sun__) || defined (__OpenBSD__) + #define GPA( a ) dlsym( glw_state.OpenGLLib, a ) + + void *qwglGetProcAddress(char *symbol) +@@ -3444,7 +3444,7 @@ + qglVertexPointer = dllVertexPointer = GPA( glVertexPointer ); + qglViewport = dllViewport = GPA( glViewport ); + /* merged in from qgl_bsd.c -- jaq */ +-#if defined(__bsd__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__sun__) ++#if defined(__bsd__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__sun__) || defined (__OpenBSD__) + /* + qfxMesaCreateContext = GPA(fxMesaCreateContext); + qfxMesaCreateBestContext = GPA(fxMesaCreateBestContext);