Subject: pkg/14232: axps utility of apache pkgsrc under Solaris 2.7/zoularis
To: None <gnats-bugs@gnats.netbsd.org>
From: None <pierre.bourgin@netbsd.org>
List: netbsd-bugs
Date: 10/12/2001 04:33:09
>Number: 14232
>Category: pkg
>Synopsis: axps utility of apache pkgsrc under Solaris 2.7/zoularis
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 12 04:34:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Pierre Bourgin
>Release: SunOS 5.7
>Organization:
PCO Technologies
>Environment:
SunOS ******* 5.7 Generic_106541-14 sun4u sparc SUNW,Ultra-4
zoularis_20010323
>Description:
unable to make install ap-* packages of pkgsrc, because of an
apxs bug (from apache-1.3.19nb1 bug).
the 'install' program used in this perl script does not have the
right parameters.
This must happens under any version of pkgsrc > 25th, April 2001
for any Solaris version and zoularis (not to old, I presume)
>How-To-Repeat:
- compile and install apache package under Solaris/zoularis
- compile any ap-* package (I used www/ap-auth-ldap)
If you try to install your fresh compiled ap-* packge ('make install'
or 'bmake install' under zoularis), the following logs and fail will
apply:
---
[...]
install -c -m 555 -o 0 -g 0 auth_ldap.so /usr/pkg/lib/httpd/auth_ldap.so
install: The -c, -f, -n options each require a directory following!
apxs:Break: Command failed with rc=2
*** Error code 1
---
>Fix:
create a patch (update NetBSD-current/pkgsrc/www/apache/patches/patch-ai
version '$NetBSD: patch-ai,v 1.5 2001/06/09 06:36:43 jlam Exp $'
for example),
in order that for Solaris 2.7 ONLY , apxs diff looks like :
# gdiff -bu /usr/pkg/sbin/apxs.orig /usr/pkg/sbin/apxs
--- /usr/pkg/sbin/apxs.orig Fri Oct 12 12:36:32 2001
+++ /usr/pkg/sbin/apxs Fri Oct 12 12:40:59 2001
@@ -427,7 +427,7 @@
my $t = $f;
$t =~ s|^.+/([^/]+)$|$1|;
if ($opt_i) {
- push(@cmds, "install -c -m 555 -o 0 -g 0 $f $CFG_LIBEXECDIR/t");
+ push(@cmds, "/usr/ucb/install -c -m 555 -o root -g other $f $CFG_LIBEXECDIR/$t");
}
# determine module symbolname and filename
=== end of diff
>Release-Note:
>Audit-Trail:
>Unformatted: