Bug 47192 - New port
Summary: New port
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Adam Weinberger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-18 18:20 UTC by Anselm Garbe
Modified: 2003-06-03 22:50 UTC (History)
0 users

See Also:


Attachments
file.shar (2.03 KB, text/plain)
2003-01-18 18:20 UTC, Anselm Garbe
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anselm Garbe 2003-01-18 18:20:02 UTC
portsman is a curses based front-end for the FreeBSD ports collection.
It handles installation/deinstallation/upgrade of ports, provides several
browsing/filtering/searching modes to find ports. It's written in C.
Comment 1 Adam Weinberger freebsd_committer freebsd_triage 2003-01-18 20:20:31 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.
Comment 2 Adam Weinberger freebsd_committer freebsd_triage 2003-01-19 01:23:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->adamw

Submitter and I are working on shoring up this port.
Comment 3 corecode@corecode.ath.cx 2003-01-19 06:32:52 UTC
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
Comment 4 Mark Linimon 2003-05-24 22:26:48 UTC
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
Comment 5 Adam Weinberger freebsd_committer freebsd_triage 2003-06-03 22:50:05 UTC
State Changed
From-To: open->closed

The new version runs great! Committed, thanks!