# Debian bug report logs - #23361
apache: a patch to apxs to enable correct build of php3

Package: apache; Reported by: <gorgo@lovi.inf.elte.hu>; dated Tue, 9 Jun 1998 22:48:02 GMT; Maintainer for apache is Johnie Ingram <johnie@debian.org>.

## Message received at submit@bugs.debian.org:

    Received: (at submit) by bugs.debian.org; 9 Jun 1998 22:47:23 +0000
    Received: (qmail 32743 invoked from network); 9 Jun 1998 22:47:22 -0000
    Received: from lovi.inf.elte.hu (gorgo@157.181.92.4)
      by debian.novare.net with SMTP; 9 Jun 1998 22:47:22 -0000
    Received: (from gorgo@localhost)
    	by lovi.inf.elte.hu (8.8.8/8.8.8/Debian/GNU) id AAA18637;
    	Wed, 10 Jun 1998 00:47:20 +0200
    Date: Wed, 10 Jun 1998 00:47:20 +0200
    Message-Id: <199806092247.AAA18637@lovi.inf.elte.hu>
    From: <gorgo@lovi.inf.elte.hu>
    Subject: apache: a patch to apxs to enable correct build of php3
    To: submit@bugs.debian.org
    X-Mailer: bug 3.1.5

    Package: apache
    Version: 1.3.0-1

    This patch adds a -s option to apxs with which I can define a soname
    for the shared object which is built. If the object does not have a soname,
    any additional shared objects which are linked against this one (php3) won't
    find it.

    --- apxs.old	Wed Jun 10 00:41:46 1998
    +++ apxs	Wed Jun 10 00:41:50 1998
    @@ -1,4 +1,4 @@
    -#!/usr/local/bin/perl
    +#!/usr/bin/perl
     ## ====================================================================
     ## Copyright (c) 1998 The Apache Group.  All rights reserved.
     ##
    @@ -114,6 +114,7 @@
     my $opt_a = 0;
     my $opt_A = 0;
     my $opt_q = 0;
    +my $opt_s = '';

     #   this subroutine is derived from Perl's getopts.pl with the enhancement of
     #   the "+" metacharater at the format string to allow a list to be build by
    @@ -191,7 +192,7 @@

     #   option handling
     my $rc;
    -($rc, @ARGV) = &Getopts("qn:gco:I+D+L+l+iaA", @ARGV);
    +($rc, @ARGV) = &Getopts("qn:gco:I+D+L+l+iaAs:", @ARGV);
     &usage if ($rc == 0);
     &usage if ($#ARGV == -1 and not $opt_g);
     &usage if (not $opt_q and not ($opt_g and $opt_n) and not $opt_i and not $opt_c);
    @@ -351,6 +352,7 @@
         foreach $opt_l (@opt_l) {
             $opt .= " -l$opt_l";
         }
    +    $opt .= " -soname $opt_s" if $opt_s;
         $cmd .= $opt;
         push(@cmds, $cmd);

    -- System Information
    Debian Release: 2.0
    Kernel Version: Linux lovi 2.0.33 #1 Mon Apr 20 19:01:41 CEST 1998 i586 unknown

    Versions of the packages apache depends on:
    ii  libc6           2.0.7pre1-4    The GNU C library version 2 (run-time files)
    ii  mime-support    2.17-1         MIME files 'mime.types' & 'mailcap', and sup
    ii  perl            5.004.04-5     Larry Wall's Practical Extracting and Report

Acknowledgement sent to `<gorgo@lovi.inf.elte.hu>`:
New bug report received and forwarded. Copy sent to `Johnie Ingram <johnie@debian.org>`. Full text available.

Report forwarded to `debian-bugs-dist@lists.debian.org, Johnie Ingram <johnie@debian.org>`:
`Bug#23361`; Package `apache`. Full text available.

Last modified: 12:39:01 GMT Wed 10 Jun (timestamp page available).