Re: Use of exists() in a Makefile

2011-10-06 Thread David Cantrell
On 10/06/2011 09:55 AM, Stuart Henderson wrote: On 2011-10-04, David Cantrell wrote: My suggestion was to add support to the ports system infrastructure to allow people an easy way to locally package up stuff from projects that do not release tarballs. You could add something like this to

Re: Use of exists() in a Makefile

2011-10-06 Thread David Cantrell
On 10/04/2011 05:38 PM, Marc Espie wrote: On Tue, Oct 04, 2011 at 04:43:12PM -0400, David Cantrell wrote: You don't and you don't care about that. I'm talking about extending the infrastructure to support more fetch mechanisms. If people are building from source anyway, esp

Re: Use of exists() in a Makefile

2011-10-06 Thread David Cantrell
On 10/04/2011 05:00 PM, Christian Weisgerber wrote: David Cantrell wrote: pre-fetch: .if !exists(${DISTDIR}/${DISTNAME}.tar.gz) The problem I'm hitting is that !exists() is not working as I think it should. .if conditions are evaluated on the spot and... exists() ignores ${DI

Re: Use of exists() in a Makefile

2011-10-04 Thread David Cantrell
On 10/04/2011 04:27 PM, Marc Espie wrote: On Tue, Oct 04, 2011 at 02:44:42PM -0400, David Cantrell wrote: On 10/04/2011 02:31 PM, Marc Espie wrote: On Tue, Oct 04, 2011 at 02:11:13PM -0400, David Cantrell wrote: On 10/04/2011 01:39 PM, Antoine Jacoutot wrote: On Tue, 4 Oct 2011, David

Re: Use of exists() in a Makefile

2011-10-04 Thread David Cantrell
On 10/04/2011 02:31 PM, Marc Espie wrote: On Tue, Oct 04, 2011 at 02:11:13PM -0400, David Cantrell wrote: On 10/04/2011 01:39 PM, Antoine Jacoutot wrote: On Tue, 4 Oct 2011, David Cantrell wrote: I'm working on a local port where the source archive is not available via anything other

Re: Use of exists() in a Makefile

2011-10-04 Thread David Cantrell
On 10/04/2011 01:39 PM, Antoine Jacoutot wrote: On Tue, 4 Oct 2011, David Cantrell wrote: I'm working on a local port where the source archive is not available via anything other than svn. I'm trying to use pre-fetch to see if a checkout of the release I want already exists in

Use of exists() in a Makefile

2011-10-04 Thread David Cantrell
/infrastructure/mk looks to be doing anything different from what I'm trying to do. There are absolute path checks in there too. Anyone have any ideas or suggestions? -- David Cantrell WH6DSN | http://blog.burdell.org/

Re: [UPDATE] misc/rpm - rpm-4.9.1.1

2011-09-11 Thread David Cantrell
On 09/11/11 14:17, Jasper Lievisse Adriaanse wrote: On Sun, Sep 11, 2011 at 01:22:24PM -0400, David Cantrell wrote: On 09/06/11 20:29, Amit Kulkarni wrote: On Tue, Sep 6, 2011 at 3:29 PM, David Cantrell wrote: Attached is a patch for misc/rpm that brings it up to the latest stable release

Re: [UPDATE] misc/rpm - rpm-4.9.1.1

2011-09-11 Thread David Cantrell
On 09/06/11 20:29, Amit Kulkarni wrote: On Tue, Sep 6, 2011 at 3:29 PM, David Cantrell wrote: Attached is a patch for misc/rpm that brings it up to the latest stable release. Based on a conversation with Marc Espie at the beginning of July, he did not mind me taking over maintenance of this

[UPDATE] misc/rpm - rpm-4.9.1.1

2011-09-06 Thread David Cantrell
Attached is a patch for misc/rpm that brings it up to the latest stable release. Based on a conversation with Marc Espie at the beginning of July, he did not mind me taking over maintenance of this port. -- David Cantrell WH6DSN | http://blog.burdell.org/ Index: Makefile

Re: struggling with qemu guests using >256M memory

2011-08-22 Thread David Cantrell
rounds are easy, either make a change in /etc/login.conf similar to what described or don't use bash and expect ulimit to behave. When I get some spare time, I want to dig in to bash and see why it's ulimit builtin is behaving incorrectly. Thanks, -- David Cantrell WH6DSN | http://blog.burdell.org/

Re: struggling with qemu guests using >256M memory

2011-08-22 Thread David Cantrell
On 08/22/11 01:21, Ryan Freeman wrote: On Sun, Aug 21, 2011 at 10:09:30PM -0400, David Cantrell wrote: I am unable to start a qemu guest with more than 256M of memory, despite having 4G in my system. I get ENOMEM and qemu exits. Using 256M or less works just fine. After some debugging, I see

struggling with qemu guests using >256M memory

2011-08-21 Thread David Cantrell
to running GENERIC.MP unmodified on OpenBSD 4.9. Thanks, -- David Cantrell WH6DSN | http://blog.burdell.org/

Re: Upgrade misc/rpm to rpm-4.9.0

2011-07-04 Thread David Cantrell
On 07/04/11 15:12, Mikolaj Kucharski wrote: On Mon, Jul 04, 2011 at 12:15:08PM -0400, David Cantrell wrote: -SHARED_LIBS = rpm 0.1 \ - rpmbuild0.0 +SHARED_LIBS += rpmio 2.0 # 2.0 \ + rpm 2.0 # 2.0

Re: Upgrade misc/rpm to rpm-4.9.0

2011-07-04 Thread David Cantrell
On 07/03/11 10:36, David Cantrell wrote: On 07/03/11 04:59, Landry Breuil wrote: On Sat, Jul 02, 2011 at 08:25:10PM -0400, David Cantrell wrote: On 07/02/11 17:57, Amit Kulkarni wrote: Index: Makefile === RCS file: /cvs/ports

Re: Upgrade misc/rpm to rpm-4.9.0

2011-07-03 Thread David Cantrell
On 07/03/11 04:59, Landry Breuil wrote: On Sat, Jul 02, 2011 at 08:25:10PM -0400, David Cantrell wrote: On 07/02/11 17:57, Amit Kulkarni wrote: Index: Makefile === RCS file: /cvs/ports/misc/rpm/Makefile,v retrieving revision

Re: Upgrade misc/rpm to rpm-4.9.0

2011-07-02 Thread David Cantrell
rts tree. I assume this will need a few revisions before it's clean to commit to the ports tree, so let me know what changes are required and I'll take care of it. I would have sent it inline, but I'm not that trusting of Thunderbird to not mangle the diff. Thanks, --

Re: Upgrade misc/rpm to rpm-4.9.0

2011-07-02 Thread David Cantrell
for tracking, in Makefile and distinfo. Please do it for the other files too if needed and send it as inline diff (I think cvs diff -Nup) and as a attachment. It is difficult to merge your changes by hand. Thanks Ah, sure, no problem. Sorry about that. Will do that and resend. -- David Cantrell WH6DSN | http://blog.burdell.org/

Upgrade misc/rpm to rpm-4.9.0

2011-07-02 Thread David Cantrell
. Some of the source files needed some extra includes. I'm submitting these upstream so future rpm releases will build on OpenBSD cleanly. -- David Cantrell WH6DSN | http://blog.burdell.org/

Re: PATCH sysutils/conky - enable apm_* vars on amd64

2011-03-02 Thread David Cantrell
). I added a new test for APM support on OpenBSD. I check for the existence of and if so, enable the APM support in the code. Better than a long arch list in the ifdefs. I've submitted my patchset upstream here: http://sourceforge.net/tracker/?func=detail&aid=3195517&group_id=143975&atid=757310 If the port is updated to 1.8.1, these patches should make things work correctly. Lastly, the master branch for conky is now completely different from the 1.8.x series. They've rewritten it in C++ and restructed a lot of the code and how things work, so my patches will not directly apply to master. That's next on the to do list, but I figured I'd post these now with the hopes that we can get the OpenBSD port updated and working on OpenBSD systems. Thanks, -- David Cantrell KB1PCX | http://blog.burdell.org/

Re: Fix for /etc/vpnc/vpnc-script in security/vpnc

2010-12-20 Thread David Cantrell
On 12/16/2010 11:30 AM, David Cantrell wrote: The script tries to set IPROUTE to the 'ip' command. The script works fine when IPROUTE is empty, but without an additional 2>/dev/null, the script always displays errors from which(1). Attached is an updated patch-vpnc-script_in for the

Fix for /etc/vpnc/vpnc-script in security/vpnc

2010-12-16 Thread David Cantrell
The script tries to set IPROUTE to the 'ip' command. The script works fine when IPROUTE is empty, but without an additional 2>/dev/null, the script always displays errors from which(1). Attached is an updated patch-vpnc-script_in for the port. -- David Cantrell

Minor fix for x11/gnome/doc-utils

2010-12-06 Thread David Cantrell
nugetopt -qn$progname $longopts -- c:d:e:o:x:nvVh "$@"` + if [ "$?" != "0" ]; then print_help_html $doc_format 1>&2; exit 1; fi + eval set -- "$options"; + while [ "$1" != "--" ]; do -- David Cantrell | KB1PCX http://www.burdell.org/

Re: Trouble with MODULES=devel/gettext

2010-12-06 Thread David Cantrell
On 12/06/2010 04:05 PM, Stuart Henderson wrote: On 2010/12/06 14:24, David Cantrell wrote: On ports that have: MODULES = devel/gettext in the Makefile, I am consistently getting these errors when trying to build: ===> Verifying specs: c intl>=5 iconv>=6 c intl>=5 icon

Trouble with MODULES=devel/gettext

2010-12-06 Thread David Cantrell
atal error I have searched documentation and read through bsd.port.mk and resolve-lib in /usr/ports/infrastructure, but I cannot determine what is happening. Any pointers people can provide, I'd appreciate it. Thanks, -- David Cantrell | KB1PCX http://www.burdell.org/

Re: x11/xmonad dep issues

2010-12-03 Thread David Cantrell
On 12/02/2010 09:23 PM, Matthias Kilian wrote: On Thu, Dec 02, 2010 at 07:32:38PM -1000, David Cantrell wrote: Perhaps this is something I am doing wrong, but I noticed that if you: pkg_add -v xmonad (After setting PKG_PATH to point to a location with packages.), you will not get the

x11/xmonad dep issues

2010-12-02 Thread David Cantrell
naming style than xmonad and xmonad-lib. I am using OpenBSD 4.8 on i386, tracking -stable. -- David Cantrell | KB1PCX http://www.burdell.org/