summaryrefslogtreecommitdiff
path: root/net/ipa/patches/patch-aa
blob: e40789ead2d9319e0f032240255e90ebdcda0848 (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
57
58
59
60
$NetBSD: patch-aa,v 1.8 2003/03/05 07:11:41 wiz Exp $

--- Makefile.orig	Thu Feb 20 07:06:58 2003
+++ Makefile	Thu Feb 27 11:11:33 2003
@@ -38,7 +38,7 @@
 #	-Ox   - optimize;
 #	-g    - produce debugging information.
 #
-CFLAGS=		-Wall -O1 -g
+#CFLAGS=		-Wall -O1 -g
 
 #
 # PREFIX - prefix for all below listed paths
@@ -58,7 +58,7 @@
 #
 # DST_ETC_DIR - where to install template configuration
 #
-DST_ETC_DIR=	${PREFIX}/etc
+DST_ETC_DIR=	${DST_EXAMPLE_DIR}
 
 #
 # DST_RC_DIR - where to install sample rc-script
@@ -81,10 +81,10 @@
 #
 # INSTALL_* variables
 #
-INSTALL_MAN=		${INSTALL} -c -g wheel -o root -m 0444
-INSTALL_DATA=		${INSTALL} -c -g wheel -o root -m 0444
-INSTALL_PROGRAM=	${INSTALL} -c -g wheel -o root -m 0555
-INSTALL_SCRIPT=		${INSTALL} -c -g wheel -o root -m 0500 
+INSTALL_MAN=		${BSD_INSTALL_MAN}
+INSTALL_DATA=		${BSD_INSTALL_DATA}
+INSTALL_PROGRAM=	${BSD_INSTALL_PROGRAM}
+INSTALL_SCRIPT=		${BSD_INSTALL_SCRIPT}
 INSTALL_MAN_DIR=	${INSTALL} -d -m 0555 -g wheel -o root
 INSTALL_DATA_DIR=	${INSTALL} -d -m 0555 -g wheel -o root
 
@@ -207,21 +207,9 @@
 	${INSTALL_PROGRAM} ipa ipastat ${DST_BIN_DIR}
 	${INSTALL_MAN} man/ipa.5 man/ipa.conf.5 ${DST_MAN_DIR}/man5
 	${INSTALL_MAN} man/ipa.8 man/ipastat.8 ${DST_MAN_DIR}/man8
-.if !exists(${DST_MAN_DIR}/ru_RU.KOI8-R/man5)
-	${INSTALL_MAN_DIR} ${DST_MAN_DIR}/ru_RU.KOI8-R/man5
-.endif
-.if !exists(${DST_MAN_DIR}/ru_RU.KOI8-R/man8)
-	${INSTALL_MAN_DIR} ${DST_MAN_DIR}/ru_RU.KOI8-R/man8
-.endif
-.if !exists(${DST_MAN_DIR}/ru_SU.KOI8-R)
-	${LN} -s ${DST_MAN_DIR}/ru_RU.KOI8-R ${DST_MAN_DIR}/ru_SU.KOI8-R
-.endif
-	${INSTALL_MAN} man/ru_RU.KOI8-R/ipa.5 man/ru_RU.KOI8-R/ipa.conf.5 ${DST_MAN_DIR}/ru_RU.KOI8-R/man5
-	${INSTALL_MAN} man/ru_RU.KOI8-R/ipa.8 man/ru_RU.KOI8-R/ipastat.8 ${DST_MAN_DIR}/ru_RU.KOI8-R/man8
-	${INSTALL_DATA_DIR} ${DST_EXAMPLE_DIR}
 	${INSTALL_DATA} examples/* ${DST_EXAMPLE_DIR}
 .if exists(${DST_RC_DIR})
-	${INSTALL_SCRIPT} etc/ipa.sh.sample ${DST_RC_DIR}
+	${INSTALL_SCRIPT} etc/ipa.sh.sample ${DST_RC_DIR}/ipa
 .else
 	@${ECHO}
 	@${ECHO} ">> Can't find directory ${DST_RC_DIR}, the ipa.sh.sample file was not installed (not a problem)."