| Summary: | New port | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Anselm Garbe <anselmg> | ||||
| Component: | Individual Port(s) | Assignee: | Adam Weinberger <adamw> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Anselm Garbe
2003-01-18 18:20:02 UTC
On my machine, I get a SIGSEGV at line 53,
if (strcmp(getenv("OSTYPE"), FREEBSD) == 0) {
commenting out that block makes it run properly.
Consider using preprocessor directives instead:
#if defined(__FreeBSD__)
if(getuid() != blahblahblah
# Adam
--
Adam Weinberger
vectors.cx >> adam@vectors.cx
FreeBSD.org << adamw@FreeBSD.ORG
Bayer Berkeley >> adam.weinberger.b@bayer.com
#vim:set ts=8: 8-char tabs prevent tooth decay.
Responsible Changed From-To: freebsd-ports-bugs->adamw Submitter and I are working on shoring up this port. Lately Anselm Garbe told: > sed 's/^X//' >portsman/Makefile << 'END-of-portsman/Makefile' [...] > XMAN1= portsman.1 > XMAN5= portsmanrc.5 > XUSE_GZIP= yes 1. funny spacing 2. USE_GZIP doesn't exist (any more?) cheers simon -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News This is for the proposed new port "sysutils/portsman", which although is claimed to have been committed to the ports tree, I've never found it in the CVS archives. In any case it updates to the newest version, fixes the deinstall, removes pkg_comment, and other such things. It compiles and runs, but I haven't spent a lot of time with it yet. # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # portsman # portsman/Makefile # portsman/distinfo # portsman/pkg-descr # portsman/pkg-plist # portsman/files # portsman/files/patch-config:Makefile.am # echo c - portsman mkdir -p portsman > /dev/null 2>&1 echo x - portsman/Makefile sed 's/^X//' >portsman/Makefile << 'END-of-portsman/Makefile' X# New ports collection makefile for: portsman X# Date created: 18 January 2003 X# Whom: Anselm R. Garbe <anselmg@t-online.de> X# X# $FreeBSD$ X# X XPORTNAME= portsman XPORTVERSION= 0.2 X# temporary XDISTNAME= ${PORTNAME}-${PORTVERSION}-rc2 XCATEGORIES= sysutils XMASTER_SITES= http://download.berlios.de/portsman/ X XMAINTAINER= anselmg@t-online.de XCOMMENT= An ncurses based front-end to manage the FreeBSD ports collection X X.include <bsd.port.pre.mk> X X.if ${OSVERSION} < 400000 XLIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses X.endif X XMAN1= portsman.1 XMAN5= portsmanrc.5 XUSE_GZIP= yes XGNU_CONFIGURE= yes X X.include <bsd.port.post.mk> END-of-portsman/Makefile echo x - portsman/distinfo sed 's/^X//' >portsman/distinfo << 'END-of-portsman/distinfo' XMD5 (portsman-0.2-rc2.tar.gz) = 624c5ad75088afc802e52008a017dbdd END-of-portsman/distinfo echo x - portsman/pkg-descr sed 's/^X//' >portsman/pkg-descr << 'END-of-portsman/pkg-descr' XPorts manager is a ncurses based, graphical front-end to manage Xthe FreeBSD ports collection. It behaves like a package manager Xand comes with many features. X XWWW: http://portsman.berlios.de X-- X Anselm R. Garbe END-of-portsman/pkg-descr echo x - portsman/pkg-plist sed 's/^X//' >portsman/pkg-plist << 'END-of-portsman/pkg-plist' Xbin/portsman Xetc/portsman/portsmanrc.sample X@dirrm etc/portsman END-of-portsman/pkg-plist echo c - portsman/files mkdir -p portsman/files > /dev/null 2>&1 echo x - portsman/files/patch-config:Makefile.am sed 's/^X//' >portsman/files/patch-config:Makefile.am << 'END-of-portsman/files/patch-config:Makefile.am' X--- config/Makefile.am.dist Wed Jan 29 13:55:33 2003 X+++ config/Makefile.am Sat May 24 16:13:00 2003 X@@ -1,2 +1,2 @@ X-pmanrcdir = $(prefix)/etc X+pmanrcdir = $(prefix)/etc/portsman X dist_pmanrc_DATA = portsmanrc.sample END-of-portsman/files/patch-config:Makefile.am exit State Changed From-To: open->closed The new version runs great! Committed, thanks! |