summaryrefslogtreecommitdiffstats
path: root/security/donkey/files/patch-aa
blob: 4bd82583e91251dcba731379a814edb9817b1c88 (plain)
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
*** src/Makefile.in.orig	Sun Apr 30 14:13:56 1995
--- src/Makefile.in	Wed Oct 16 17:03:57 1996
***************
*** 2,8 ****
  # Makefile for Donkey
  #
  
! BINDIR = /usr/local/bin
  
  SRCS = donkey.c getopt.c passphrase.c btoe.c skey.c md.c md2.c md4.c md5.c
  OBJS = donkey.o getopt.o passphrase.o btoe.o skey.o md.o md2.o md4.o md5.o
--- 2,9 ----
  # Makefile for Donkey
  #
  
! PREFIX ?= /usr/local
! BINDIR = ${PREFIX}/bin
  
  SRCS = donkey.c getopt.c passphrase.c btoe.c skey.c md.c md2.c md4.c md5.c
  OBJS = donkey.o getopt.o passphrase.o btoe.o skey.o md.o md2.o md4.o md5.o
***************
*** 10,16 ****
  CMPT = key
  
  CC	= @CC@
! CFLAGS	= @CFLAGS@
  #CFLAGS	= -Aa -D_INCLUDE_POSIX_SOURCE
  DEFS	= @DEFS@
  #DEFS = -DDefaultMD=MD5
--- 11,17 ----
  CMPT = key
  
  CC	= @CC@
! CFLAGS	+= @CFLAGS@
  #CFLAGS	= -Aa -D_INCLUDE_POSIX_SOURCE
  DEFS	= @DEFS@
  #DEFS = -DDefaultMD=MD5
***************
*** 25,32 ****
  	$(CC) -o $(PROG) $(CFLAGS) $(OBJS) $(LIBS)
  
  install:
! 	cp $(PROG) $(BINDIR)
! 	ln -s $(PROG) $(BINDIR)/$(CMPT)
  
  clean:
  	rm -f $(PROG) $(OBJS)
--- 26,33 ----
  	$(CC) -o $(PROG) $(CFLAGS) $(OBJS) $(LIBS)
  
  install:
! 	install -cs -o bin -g bin -m 755  $(PROG) $(BINDIR)
! 	ln -fs $(PROG) $(BINDIR)/$(CMPT)
  
  clean:
  	rm -f $(PROG) $(OBJS)
OpenPOWER on IntegriCloud