]> git.pld-linux.org Git - packages/cipe.git/blob - cipe-makefile.patch
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/cipe.git] / cipe-makefile.patch
1 --- cipe-1.5.2/pkcipe/Makefile.in       Sat Dec 16 19:27:35 2000
2 +++ cipe-1.5.2-p/pkcipe/Makefile.in     Wed Nov  7 16:19:10 2001
3 @@ -40,12 +40,12 @@
4         -mkdir -p $(bindir) $(sbindir)
5         $(INSTALL) -m 755 rsa-keygen $(bindir)
6         $(INSTALL) -m 755 pkcipe $(sbindir)
7 -       [ -d /etc/cipe/pk ] || mkdir -p /etc/cipe/pk
8 -       [ -d /var/run/cipe ] || mkdir -p /var/run/cipe
9 -       chmod 700 /etc/cipe /etc/cipe/pk /var/run/cipe
10 -       @if [ ! -f /etc/cipe/identity.priv ] ; then \
11 +       [ -d $(SYSCONFDIR)/pk ] || mkdir -p $(SYSCONFDIR)/pk
12 +       [ -d $(LOCALSTATEDIR)/run/cipe ] || mkdir -p $(LOCALSTATEDIR)/run/cipe
13 +       chmod 700 $(SYSCONFDIR) $(SYSCONFDIR)/pk $(LOCALSTATEDIR)/run/cipe
14 +       @if [ ! -f $(SYSCONFDIR)/identity.priv ] ; then \
15                 echo "*** Generating new identity (host) key ***" ;\
16 -               rsa-keygen /etc/cipe/identity ;\
17 +               echo rsa-keygen $(SYSCONFDIR)/identity ;\
18         fi
19  
20  clean:
21 diff -Naur cipe-1.5.2/conf/Makefile-obj.in cipe-1.5.2-p/conf/Makefile-obj.in
22 --- cipe-1.5.2/conf/Makefile-obj.in     Fri Apr 26 10:29:53 2002
23 +++ cipe-1.5.2-p/conf/Makefile-obj.in   Fri Apr 26 10:22:33 2002
24 @@ -40,6 +40,8 @@
25  
26  all::  $(MODULE) $(CIPED)
27  
28 +modules:: $(MODULE)
29 +
30  install:: all
31         -mkdir -p $(MODDIR) $(BINDIR)
32         install -m 644 $(MODULE) $(MODDIR)
33 diff -Naur cipe-1.5.2/conf/Makefile-top.in cipe-1.5.2-p/conf/Makefile-top.in
34 --- cipe-1.5.2/conf/Makefile-top.in     Fri Apr 26 10:30:00 2002
35 +++ cipe-1.5.2-p/conf/Makefile-top.in   Fri Apr 26 10:22:22 2002
36 @@ -23,6 +23,9 @@
37  
38  default: all
39  
40 +modules:
41 +       $(MAKE) -C $(BUILD) modules
42 +
43  SRCS:= cipe.h crypto.h \
44         ciped.c ciped.h ioctl.c ioctl.h options.in genoptions.pl \
45         module.c device.c sock.c output.c encaps.c \
This page took 0.066449 seconds and 3 git commands to generate.