blob: 4cd47449a1114411738578cb27b95438d76981a6 (
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
|
diff -Nru cracklib,2.7.old/cracklib/Makefile cracklib,2.7/cracklib/Makefile
--- cracklib,2.7.old/cracklib/Makefile 2004-09-01 08:05:36.149998376 -0400
+++ cracklib,2.7/cracklib/Makefile 2004-09-01 08:10:57.108205312 -0400
@@ -27,7 +27,8 @@
-rm -f $(OBJ) $(LIB).so $(LIB).a $(LIB).so.$(VERSION) *~
install: $(LIB).so $(LIB).a crack.h
- install -m 755 $(LIB).so.$(VERSION) $(DESTDIR)/usr/lib
- ln -sf $(LIB).so.$(VERSION) $(DESTDIR)/usr/lib/$(LIB).so
- install -m 755 $(LIB).a $(DESTDIR)/usr/lib
+ install -m 644 $(LIB).so $(DESTDIR)/$(LIBDIR)
+ install -m 755 $(LIB).so.$(VERSION) $(DESTDIR)/$(LIBDIR)
+ ln -sf $(LIB).so.$(VERSION) $(DESTDIR)/$(LIBDIR)/$(LIB).so
+ install -m 755 $(LIB).a $(DESTDIR)/$(LIBDIR)
install -m 644 crack.h $(DESTDIR)/usr/include
--- cracklib,2.7.old/Makefile 2004-12-15 21:06:24.890087088 -0500
+++ cracklib,2.7/Makefile 2004-12-15 21:07:21.674454552 -0500
@@ -14,9 +14,13 @@
export MAJOR MINOR VERSION
+###
+# Where do we stick libraries
+LIBDIR=/usr/lib
+
###
# set this to the absolute path (less extn) of compressed dict.
-DICTPATH="/usr/lib/cracklib_dict"
+DICTPATH="$(LIBDIR)/cracklib_dict"
###
# Set this to the path of one or more files continaing wordlists.
|