Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 246459
Collapse All | Expand All

(-)mod_ntlm2-0.1.orig/Makefile (-2 / +2 lines)
Lines 6-12 Link Here
6
6
7
#   the used tools
7
#   the used tools
8
APXS=apxs
8
APXS=apxs
9
APACHECTL=/etc/rc.d/apache
9
APACHECTL=/etc/init.d/apache2
10
10
11
#   the default target
11
#   the default target
12
all: mod_ntlm.so
12
all: mod_ntlm.so
Lines 17-23 Link Here
17
17
18
#   install the shared object file into Apache 
18
#   install the shared object file into Apache 
19
install: all
19
install: all
20
	$(APXS) -i -a -n 'ntlm' mod_ntlm.so
20
	$(APXS) -i -a -n 'ntlm' .libs/mod_ntlm.so
21
21
22
#   cleanup
22
#   cleanup
23
clean:
23
clean:
(-)mod_ntlm2-0.1.orig/mod_ntlm.c (-1 / +1 lines)
Lines 587-593 Link Here
587
        return NULL;
587
        return NULL;
588
    }
588
    }
589
589
590
    apr_pool_sub_make(&sp,p,NULL);
590
    apr_pool_create_ex(&sp,p,NULL,NULL);
591
591
592
    while (!(ap_cfg_getline(l, MAX_STRING_LEN, f))) {
592
    while (!(ap_cfg_getline(l, MAX_STRING_LEN, f))) {
593
        if ((l[0] == '#') || (!l[0]))
593
        if ((l[0] == '#') || (!l[0]))
(-)mod_ntlm2-0.1.orig/smbval/rfcnb-util.inc.c (-1 / +1 lines)
Lines 21-27 Link Here
21
 * 675 Mass Ave, Cambridge, MA 02139, USA. */
21
 * 675 Mass Ave, Cambridge, MA 02139, USA. */
22
22
23
#include <string.h>
23
#include <string.h>
24
#include <malloc.h>
24
#include <stdlib.h>
25
25
26
#include "std-includes.h"
26
#include "std-includes.h"
27
#include "rfcnb-priv.h"
27
#include "rfcnb-priv.h"
(-)mod_ntlm2-0.1.orig/smbval/session.inc.c (-1 / +1 lines)
Lines 21-27 Link Here
21
 * with this program; if not, write to the Free Software Foundation, Inc., 
21
 * with this program; if not, write to the Free Software Foundation, Inc., 
22
 * 675 Mass Ave, Cambridge, MA 02139, USA. */
22
 * 675 Mass Ave, Cambridge, MA 02139, USA. */
23
23
24
#include <malloc.h>
24
#include <stdlib.h>
25
#include <string.h>
25
#include <string.h>
26
26
27
static int RFCNB_errno = 0;
27
static int RFCNB_errno = 0;
(-)mod_ntlm2-0.1.orig/smbval/smbencrypt.inc.c (-1 / +2 lines)
Lines 19-25 Link Here
19
#include <arpa/inet.h>
19
#include <arpa/inet.h>
20
#include <dirent.h>
20
#include <dirent.h>
21
#include <string.h>
21
#include <string.h>
22
#include <sys/vfs.h>
22
#include <sys/param.h>
23
#include <sys/mount.h>
23
#include <netinet/in.h>
24
#include <netinet/in.h>
24
25
25
#include "smblib-priv.h"
26
#include "smblib-priv.h"
(-)mod_ntlm2-0.1.orig/smbval/smblib.inc.c (-4 / +4 lines)
Lines 20-29 Link Here
20
 * with this program; if not, write to the Free Software Foundation, Inc., 
20
 * with this program; if not, write to the Free Software Foundation, Inc., 
21
 * 675 Mass Ave, Cambridge, MA 02139, USA. */
21
 * 675 Mass Ave, Cambridge, MA 02139, USA. */
22
#include <stdio.h>
22
#include <stdio.h>
23
#include <malloc.h>
23
#include <stdlib.h>
24
24
25
static int SMBlib_errno;
25
int SMBlib_errno;
26
static int SMBlib_SMB_Error;
26
int SMBlib_SMB_Error;
27
#define SMBLIB_ERRNO
27
#define SMBLIB_ERRNO
28
#define uchar unsigned char
28
#define uchar unsigned char
29
#include "smblib-priv.h"
29
#include "smblib-priv.h"
Lines 32-38 Link Here
32
32
33
#include <signal.h>
33
#include <signal.h>
34
34
35
static SMB_State_Types SMBlib_State;
35
SMB_State_Types SMBlib_State;
36
36
37
/* Initialize the SMBlib package     */
37
/* Initialize the SMBlib package     */
38
static int 
38
static int 
(-)mod_ntlm2-0.1.orig/smbval/smblib-util.inc.c (-1 / +1 lines)
Lines 21-27 Link Here
21
 * 675 Mass Ave, Cambridge, MA 02139, USA. */
21
 * 675 Mass Ave, Cambridge, MA 02139, USA. */
22
22
23
#include "smblib-priv.h"
23
#include "smblib-priv.h"
24
#include <malloc.h>
24
#include <stdlib.h>
25
25
26
#include "rfcnb.h"
26
#include "rfcnb.h"
27
27

Return to bug 246459