aboutsummaryrefslogtreecommitdiffstats
path: root/security/slush/files/patch-aa
blob: b7a70d5f78471f2ab2e8e01c2b110f967ce8d780 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
*** Makefile.in.orig    Tue Apr  6 03:05:04 1999
--- Makefile.in Sun May  9 00:05:44 1999
***************
*** 9,27 ****
  
  CC=@CC@
  INSTALL=@INSTALL@
! CFLAGS=@CFLAGS@ -Wall -DVERSION=\"$(VERSION)\" -I/usr/local/ssl/include -I/usr/include/ssl
! LIBS=@LIBS@ -L/usr/local/ssl/lib -lssl -lcrypto
  
  all: slush slushd
  
  slushd: slushd.o common.o
!   $(CC) $(LDFLAGS) -s -o $@ slushd.o common.o $(LIBS)
  
  slushd.o: slushd.c common.o
    $(CC) -c $(CFLAGS) slushd.c
  
  slush: slush.o common.o
!   $(CC) $(LDFLAGS) -s -o $@ slush.o common.o $(LIBS)
  
  slush.o: slush.c common.o
    $(CC) -c $(CFLAGS) slush.c
--- 9,27 ----
  
  CC=@CC@
  INSTALL=@INSTALL@
! CFLAGS=@CFLAGS@ -Wall -DVERSION=\"$(VERSION)\" -I/usr/local/include
! LIBS=@LIBS@ -L/usr/local/lib -lssl -lcrypto $(EXTRA_SSL_LIBS) -lutil
  
  all: slush slushd
  
  slushd: slushd.o common.o
!   $(CC) -static $(LDFLAGS) -o $@ slushd.o common.o $(LIBS)
  
  slushd.o: slushd.c common.o
    $(CC) -c $(CFLAGS) slushd.c
  
  slush: slush.o common.o
!   $(CC) -static $(LDFLAGS) -o $@ slush.o common.o $(LIBS)
  
  slush.o: slush.c common.o
    $(CC) -c $(CFLAGS) slush.c
***************
*** 38,44 ****
  install: $(SBINDIR)/slushd $(MANDIR)/slush.8
  
  cert:
!   ssleay req -new -x509 -nodes \
        -out slushd.pem -days 365 -keyout slushd.pem
  
  clean:
--- 38,44 ----
  install: $(SBINDIR)/slushd $(MANDIR)/slush.8
  
  cert:
!   openssl req -new -x509 -nodes \
        -out slushd.pem -days 365 -keyout slushd.pem
  
  clean: