Date: Sat, 18 Apr 2009 00:31:14 GMT From: "Martin Solčiansky" <solko-freebsd@imladris.sk> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/133829: Wrong plist generated if nonstandard MANPREFIX and PREFIX used. Message-ID: <200904180031.n3I0VENR035626@www.freebsd.org> Resent-Message-ID: <200904180040.n3I0e01l039665@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 133829 >Category: ports >Synopsis: Wrong plist generated if nonstandard MANPREFIX and PREFIX used. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 18 00:40:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Martin Solčiansky >Release: 7.1 >Organization: >Environment: FreeBSD blurp.euba.sk 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #0: Mon Apr 6 14:57:58 CEST 2009 solko@blurp.euba.sk:/usr/obj/usr/src/sys/solko_pf_web_nocompat amd64 >Description: If a port tries to install while using nonstandard PREFIX and nonstandard MANPREFIX, plist gets generated incorrectly. Example: --- PREFIX= /opt/zimbra/logger/mysql MANPREFIX= /usr/local MAN1= myisamchk.1 myisamlog.1 myisampack.1 \ my_print_defaults.1 mysql_tzinfo_to_sql.1 \ mysqld_safe.1 mysql.server.1 perror.1 replace.1 \ mysql_config.1 mysql.1 mysqladmin.1 mysqlbinlog.1 \ mysqlcheck.1 mysqldump.1 mysqlimport.1 mysqlshow.1 MAN8= mysqlmanager.8 --- configure script will receive --mandir=/usr/local/man, man pages will get installed into proper location. However +CONTENTS: @comment PKG_FORMAT_REVISION:1.1 @name zcs-tp-mysql50-5.0.77_1 @comment ORIGIN:mail/zcs-tp-mysql50 @cwd /opt/zimbra/logger/mysql @conflicts mysql-server-3.* @conflicts mysql-server-4.* @conflicts mysql-server-5.0.* @conflicts mysql-server-5.1.* @conflicts mysql-server-6.* @conflicts mysql-client-3.* @conflicts mysql-client-4.* @conflicts mysql-client-5.0.* @conflicts mysql-client-5.1.* @conflicts mysql-client-6.* /usr/local/man/man1/myisamchk.1.gz /usr/local/man/man1/myisamlog.1.gz .. which means that deinstall will try to remove /opt/zimbra/logger/mysql//usr/local/man/man1/... instead of /usr/local/man/man1/... >How-To-Repeat: See full description. >Fix: Insert "@cwd /" before manpage deinstalling if MANPREFIX isn't standard one. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904180031.n3I0VENR035626>