[Bug 193941] New: /usr/ports/www/mod_auth_mysql_another patch to work with apache24

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 26 10:44:57 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193941

            Bug ID: 193941
           Summary: /usr/ports/www/mod_auth_mysql_another patch to work
                    with apache24
           Product: Ports Tree
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: dan at sunsaturn.com
                CC: apache at FreeBSD.org
                CC: apache at FreeBSD.org

/usr/ports/www/mod_auth_mysql_another Makefile will not allow port to compile
against apache24, following patch allows it to work with apache24

http://sourceforge.net/p/modauthmysql/patches/13/attachment/mod_auth_mysql_3.0.0_patch_apache2.4.diff

Proof of working(running fine on my system):

sunsaturn:/root # tar fvxz mod_auth_mysql-3.0.0.tar.gz                  
x mod_auth_mysql-3.0.0/BUILD
x mod_auth_mysql-3.0.0/CHANGES
x mod_auth_mysql-3.0.0/CONFIGURE
x mod_auth_mysql-3.0.0/README
x mod_auth_mysql-3.0.0/mod_auth_mysql.c
sunsaturn:/root # patch -p0 < mod_auth_mysql_3.0.0_patch_apache2.4.diff 
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- mod_auth_mysql-3.0.0/mod_auth_mysql.c      2005-06-22 12:17:45.000000000
-0400
|+++ mod_auth_mysql-3.0.0_patch_apache_2.4/mod_auth_mysql.c     2013-12-30
18:07:27.646704470 -0500
--------------------------
Patching file mod_auth_mysql-3.0.0/mod_auth_mysql.c using Plan A...
Hunk #1 succeeded at 206.
Hunk #2 succeeded at 237.
Hunk #3 succeeded at 589.
Hunk #4 succeeded at 905.
Hunk #5 succeeded at 1270.
done
sunsaturn:/root # cd mod_auth_mysql-3.0.0
sunsaturn:/root/mod_auth_mysql-3.0.0 # ls
BUILD  CHANGES  CONFIGURE  README  mod_auth_mysql.c  mod_auth_mysql.c.orig
sunsaturn:/root/mod_auth_mysql-3.0.0 # apxs -c -I/usr/local/include/mysql
-L/usr/local/lib/mysql -lmysqlclient -lz -lm mod_auth_mysql.c
/usr/local/share/apr/build-1/libtool --silent --mode=compile cc -prefer-pic -O2
-pipe -I/usr/include -fno-strict-aliasing    -I/usr/local/include/apache24 
-I/usr/local/include/apr-1   -I/usr/local/include/apr-1 -I/usr/include
-I/usr/local/include -I/usr/local/include/db5 -I/usr/local/include/mysql  -c -o
mod_auth_mysql.lo mod_auth_mysql.c && touch mod_auth_mysql.slo
mod_auth_mysql.c:892:9: warning: format specifies type 'int' but the argument
has type 'long' [-Wformat]
                      pos-output, output);
                      ^~~~~~~~~~
mod_auth_mysql.c:228:53: note: expanded from macro 'LOG_ERROR_2'
          ap_log_rerror (APLOG_MARK, lvl, stat, rqst, msg, parm1, parm2)
                                                           ^
/usr/local/include/apache24/http_log.h:448:44: note: expanded from macro
'ap_log_rerror'
#define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__)
                                           ^
/usr/local/include/apache24/http_log.h:451:63: note: expanded from macro
'ap_log_rerror__'
             ap_log_rerror_(file, line, mi, level, status, r, __VA_ARGS__); \
                                                              ^
1 warning generated.
/usr/local/share/apr/build-1/libtool --silent --mode=link cc -L/usr/lib
-Wl,-rpath,/usr/lib:/usr/local/lib   -o mod_auth_mysql.la 
-L/usr/local/lib/mysql -lmysqlclient -lz -lm -rpath /usr/local/libexec/apache24
-module -avoid-version    mod_auth_mysql.lo
sunsaturn:/root/mod_auth_mysql-3.0.0 # apxs -i mod_auth_mysql.la
/usr/local/share/apache24/build/instdso.sh
SH_LIBTOOL='/usr/local/share/apr/build-1/libtool' mod_auth_mysql.la
/usr/local/libexec/apache24
/usr/local/share/apr/build-1/libtool --mode=install install mod_auth_mysql.la
/usr/local/libexec/apache24/
libtool: install: install .libs/mod_auth_mysql.so
/usr/local/libexec/apache24/mod_auth_mysql.so
libtool: install: install .libs/mod_auth_mysql.lai
/usr/local/libexec/apache24/mod_auth_mysql.la
libtool: install: install .libs/mod_auth_mysql.a
/usr/local/libexec/apache24/mod_auth_mysql.a
libtool: install: chmod 644 /usr/local/libexec/apache24/mod_auth_mysql.a
libtool: install: ranlib /usr/local/libexec/apache24/mod_auth_mysql.a
chmod 755 /usr/local/libexec/apache24/mod_auth_mysql.so
sunsaturn:/root/mod_auth_mysql-3.0.0 #

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Maintainers CC'd

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-apache mailing list