Re: porting software using glibc's getline()
On Friday 21 September 2007 18:22:08 Dmitry Marakasov wrote: > I have a problem porting a piece of software that use > getline(char**, int*, FILE*). This function is only present in glibc > so I wonder what do I do in this case? Maybe there is some port which > provides required functionality (like for example argp-standalone)? Just a guess, but maybe devel/libgetline? ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD Port: net/xmlrpc-c update please?
hi there, i wanted to try the new version too, so i followed your steps. attached you'll find a diff for the port. i did not submit via send-pr because i've never done a port myself and i think it's in a bad shape: - did not check redundant or additinal dependencies - missing man pages in the pkg - never fiddled with automake tools, and the vanilla tgz did not build on fbsd 6.2. it failed with the default patch-autotools target. it would only build with the ./ltmain.sh (sed $basename issue). i would guess that this is not a recommended and even problematic way (eg. `cc` instead of `gcc`, some `expr` errors) - removed all patches in files/ it works for me, and i can build rtorrent with --with-xmlrpc-c. rtorrent itself successfully registered its functions and `xmlrpc localhost system.listMethods` works fine. maybe someone finds it useful. regards, andre Simon Barner wrote: Abdullah Ibn Hamad Al-Marri wrote: I hope you are doing well today. Yes, I am, thanks. Maybe my first message sounded a bit harsh (apologies if it did). All I wanted to do is to encourage you to try and update the port on your own. I wish I'm a coder to be able to do it, and enhance FreeBSD ports :) Ok. Quick start guide: 1.) Create a copy of the original port directory 2.) In Makefile, set PORTVERSION to the latest version, remove PORTREVISION 3.) run make makesum to update distinfo 4.) Try to build the port 5.) Check it's plist (list of installed files): make package PREFIX=/tmp/pref (must not complain about missing files) pkg_delete the_pkg find /tmp/pref -type f (must not report any remaining files) check /tmp/pref for new directories (not likely when you update a port) 6.) diff -ruN portdir.orig port > the.patch 7.) run portlint -A on your port and try to fix the warnings it emits (you can ignore warnings the apply to new ports only). 8.) Submit the.patch via send-pr If you are lucky, step 4.) goes well immediately, and you need no programming experience at all to update the port. Again, if you have questions, refer to the material from my first email, or ask this mailing list. Certainly, your first port update will take some time, but after all, it's fun to do it, isn't it? ;-) diff -ur /usr/ports/net/xmlrpc-c/Makefile xmlrpc-c/Makefile --- /usr/ports/net/xmlrpc-c/MakefileSat Mar 3 20:44:24 2007 +++ xmlrpc-c/Makefile Sat Sep 22 12:39:20 2007 @@ -7,28 +7,27 @@ # PORTNAME= xmlrpc-c -PORTVERSION= 0.9.10 -PORTREVISION= 2 +PORTVERSION= 1.06.18 CATEGORIES=net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=${PORTNAME} +EXTRACT_SUFX= .tgz MAINTAINER=[EMAIL PROTECTED] COMMENT= XML-RPC library for C and C++ LIB_DEPENDS= wwwcore.1:${PORTSDIR}/www/libwww -RUN_DEPENDS= ${SITE_PERL}/Frontier/Client.pm:${PORTSDIR}/net/p5-Frontier-RPC USE_AUTOTOOLS= libtool:15 USE_GMAKE= yes +MAKEFILE= GNUmakefile GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFLICTS= xmlrpc-epi-0.* -MAN1= meerkat-app-list.1 xml-rpc-api2cpp.1 xmlrpc-c-config.1 \ - query-meerkat.1 xml-rpc-api2txt.1 -MAN7= xmlrpc-c.7 +patch-autotools: + @${DO_NADA} post-patch: @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \ diff -ur /usr/ports/net/xmlrpc-c/distinfo xmlrpc-c/distinfo --- /usr/ports/net/xmlrpc-c/distinfoSat Nov 26 14:41:55 2005 +++ xmlrpc-c/distinfo Sat Sep 22 10:32:05 2007 @@ -1,3 +1,3 @@ -MD5 (xmlrpc-c-0.9.10.tar.gz) = 847410fae881f0fb641a186db6c8c015 -SHA256 (xmlrpc-c-0.9.10.tar.gz) = fbe8c4899325edbc005807d7e6e06c8709299d7324a00a87fc8cf3d44752622b -SIZE (xmlrpc-c-0.9.10.tar.gz) = 436181 +MD5 (xmlrpc-c-1.06.18.tgz) = 711a2905c03afa1fc7fd6860e445 +SHA256 (xmlrpc-c-1.06.18.tgz) = e89609055b3d858222130c7531c52767b2d4d6c7083317490dcc994c86a2ec67 +SIZE (xmlrpc-c-1.06.18.tgz) = 690590 Only in /usr/ports/net/xmlrpc-c/files: patch-examples::interop-client::InteropEchoProxy.cc Only in /usr/ports/net/xmlrpc-c/files: patch-examples::interop-client::InteropEchoProxy.h Only in /usr/ports/net/xmlrpc-c/files: patch-examples::interop-client::interop-client.cc Only in /usr/ports/net/xmlrpc-c/files: patch-examples::meerkat-app-list.cc Only in /usr/ports/net/xmlrpc-c/files: patch-lib::abyss::src::data.c Only in /usr/ports/net/xmlrpc-c/files: patch-src::XmlRpcCpp.cc Only in /usr/ports/net/xmlrpc-c/files: patch-src::XmlRpcCpp.h Only in /usr/ports/net/xmlrpc-c/files: patch-src::cpptest.cc Only in /usr/ports/net/xmlrpc-c/files: patch-src::validatee.c Only in /usr/ports/net/xmlrpc-c/files: patch-src::xmlrpc.h Only in /usr/ports/net/xmlrpc-c/files: patch-src::xmlrpc_abyss.c Only in /usr/ports/net/xmlrpc-c/files: patch-src::xmlrpc_data.c Only in /usr/ports/net/xmlrpc-c/files: patch-src::xmlrpc_support.c Only in /usr/ports/net/xmlrpc-c/files: patch-tools::xml-rpc-api2cpp::DataType.cc Only in /usr/ports/net/xmlrpc-c/files: patch-tools::xml-rpc-api2cpp::DataType.h Only in /usr/ports/net/xmlrpc-c/fi
Re: xorg 7.3: xorgcfg is missing
Greg Rivers wrote: After upgrading to 7.3 I noticed that xorgcfg is no longer installed. It is no longer included in the x11-servers/xorg-server port, but does still appear to be installed by x11-servers/xorg-server-snap. Is this intentional? Yes, it has been removed from the build. -- Florent Thoumie [EMAIL PROTECTED] FreeBSD Committer ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Build error - openoffice.org 2.3.0
Maho, I've noticed the following error while building openoffice.org 2.3.0 on 6.2-STABLE (amd64). Knobs used were WITH_TTF_BYTECODE_ENABLED and WITH_CUPS = Building project freetype = /usr/ports/editors/openoffice.org-2/work/OOG680_m5/freetype mkout -- version: 1.7 - if ( -e ./unxfbsdx.pro/misc/build/freetype-2.2.1 ) mv ./unxfbsdx.pro/misc/build/freetype-2.2.1 ./unxfbsdx.pro/misc/build/freetype-2.2.1_removeme rm -rf ./unxfbsdx.pro/misc/build/freetype-2.2.1_removeme mkdir: ./unxfbsdx.pro/misc/: File exists dmake: Executing shell macro: $(TYPE) $(PRJ)$/$(ROUT)$/misc$/$(TARFILE_NAME).unpack cd ./unxfbsdx.pro/misc/build && ( sh -c "gunzip -c ../../../download/freetype-2.2.1.tar.gz | tar -xvf - ") && touch so_unpacked_so_freetype [snip] x freetype-2.2.1/include/freetype/internal/psaux.h x freetype-2.2.1/include/freetype/ttnameid.h x freetype-2.2.1/ChangeLog.20 x freetype-2.2.1/ChangeLog.21 make writeable... cd ./unxfbsdx.pro/misc/build && cat ../../../freetype-2.2.1.patch | /usr/local/bin/gpatch -p2 && touch so_patched_so_freetype patching file freetype-2.2.1/include/freetype/config/ftmodule.h Hunk #1 FAILED at 10644. Hunk #2 FAILED at 14420. Hunk #3 FAILED at 17684. Hunk #4 FAILED at 20153. 4 out of 4 hunks FAILED -- saving rejects to file freetype-2.2.1/include/freetype/config/ftmodule.h.rej patching file freetype-2.2.1/include/freetype/config/ftmodule.h patching file freetype-2.2.1/include/freetype/config/ftoption.h patching file freetype-2.2.1/src/truetype/ttgload.c Hunk #1 succeeded at 269 (offset -2 lines). Hunk #2 succeeded at 683 (offset -3 lines). Hunk #3 succeeded at 711 (offset -2 lines). dmake: Error code 1, while making 'unxfbsdx.pro/misc/build/so_patched_so_freetype' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOG680_m5/freetype dmake: Error code 1, while making 'build_instsetoo_native' ---* *--- *** Error code 255 Stop in /usr/ports/editors/openoffice.org-2. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
graphviz: stuck with "Undefined symbol" problem
Hello. Running doxygen from a makefile I get a lot of messages like the following ones: /libexec/ld-elf.so.1: /usr/local/lib/graphviz/libgvplugin_gd.so.4: Undefined symbol "gd_alternate_fontlist" Problems running dot: exit code=1, command='dot', arguments='"xxx__incl.dot" -Tpng -o "xxx__incl.png"' Now: # which dot /usr/local/bin/dot # pkg_which /usr/local/bin/dot graphviz-2.14.1 # pkg_which /usr/local/lib/graphviz/libgvplugin_gd.so.4 graphviz-2.14.1 I did a "portupgrade -RNf graphviz", but I still experience the same problem. On another box the same procedure runs fine. Any hint? bye & Thanks av. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sendmal + cyrus imap + ckuser
I apologize if this is considered OT. I've got a primary mailserver with sendmail+cyrus and two backup mailservers which forward messages to the primary. In order to allow for rejection at the SMTP dialogue level, I started using ckuser_cyrus.m4 (which comes with the sendmail port). The primary mailserver now does this fine; however I don't know how to configure the other ones to do this as well. Ideally I'd like sendmail to check with the primary for mailbox existance via TCP, but another solution would be to configure the cyrusv2 mailer on the backup servers too, but making it talk to cyrus imapd on the primary. Any help? bye & Thanks av. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sendmal + cyrus imap + ckuser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Andrea Venturoli wrote: > I apologize if this is considered OT. > > I've got a primary mailserver with sendmail+cyrus and two backup > mailservers which forward messages to the primary. > > In order to allow for rejection at the SMTP dialogue level, I started > using ckuser_cyrus.m4 (which comes with the sendmail port). > The primary mailserver now does this fine; however I don't know how to > configure the other ones to do this as well. > > Ideally I'd like sendmail to check with the primary for mailbox > existance via TCP, but another solution would be to configure the > cyrusv2 mailer on the backup servers too, but making it talk to cyrus > imapd on the primary. This isn't really a question for freebsd-ports, but... The way to do this is to configure the cyrus smmapd to listen on a network port -- something like this in /usr/local/etc/cyrus.conf # Sendmail socket map daemon smmapdcmd="smmapd"listen="192.168.1.1:smmap" prefork=1 smmapdunixcmd="smmapd"listen="/var/imap/socket/smmapd" prefork=1 Then you can tell your 2ary sendmails to use that to check for mailbox existence and quota availability -- in /etc/mail/`hostname`.mc: FEATURE(`ckuser_cyrus', `inet:[EMAIL PROTECTED]')dnl You'll have to choose what port smmapd will use: I added a line like this to /etc/services: smmap 10026/tcp # Sendmail Socket Map Oh, and I'd be wary of exposing the smmapd port on the internet: either arrange for your 1ary and 2ary mailers to have a private back-end network they can communicate on, or have fun with firewalling and/or VPNs. Making your 2ary machines speak LMTP to cyrus on your mail box server involves very similar tweaks. You'll need something like this in your .mc file: define(`confLOCAL_MAILER', `cyrusv2')dnl define(`CYRUSV2_MAILER_ARGS', `TCP your.mail.server lmtp')dnl dnl dnl Mailer definitions dnl MAILER(local) MAILER(smtp) MAILER(cyrusv2) and again, you'll have to decide what port LMTP listens on and set up cyrus.conf so lmtpd is listening on a network interface, and protect the LMTP daemon from abuse. The '-a' flag to lmtpd is very handy in this situation: saves lots of hair loss trying to make authentication work... Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG9TJK8Mjk52CukIwRCJu2AJ99hr1k0FOpnws678AF6CU1fQ/6NgCfTmwv ucx5YjKjSkDOeouGzwEj57w= =Rrz4 -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: devel/callgrind should be marked obsolete?
[EMAIL PROTECTED] wrote: > I noticed at the callgrind download page > (http://kcachegrind.sourceforge.net/cgi-bin/show.cgi/KcacheGrindDownload) > that the separate package is now obsolete since it's been merged with > Valgrind 3.2.x. Should devel/callgrind therefore be marked obsolete? Yes, probably. The problem is, that our FreeBSD port is still based on valgrind 2.x, and updating to 3.x is both beyond my capabilities and my FreeBSD time budget. Best regards, Simon (valgrind / callgrind maintainer) pgp4RhQwwiBVl.pgp Description: PGP signature
Re: graphviz: stuck with "Undefined symbol" problem
On Sat, Sep 22, 2007 at 04:01:17PM +0200, Andrea Venturoli wrote: > /libexec/ld-elf.so.1: /usr/local/lib/graphviz/libgvplugin_gd.so.4: > Undefined symbol "gd_alternate_fontlist" > Problems running dot: exit code=1, command='dot', > arguments='"xxx__incl.dot" -Tpng -o "xxx__incl.png"' I'm seeing the same problem on one of my RELENG_6_2 machines here - but I can not reproduce it on my -CURRENT machine. I haven't been able to find the source of the problem yet... Regards, Brix -- Henrik Brix Andersen <[EMAIL PROTECTED]> pgpyJn4GeRvJq.pgp Description: PGP signature