forked from pool/postfix
This commit is contained in:
commit
150864677b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
2245
dynamic_maps.patch
Normal file
2245
dynamic_maps.patch
Normal file
File diff suppressed because it is too large
Load Diff
787
dynamic_maps_pie.patch
Normal file
787
dynamic_maps_pie.patch
Normal file
@ -0,0 +1,787 @@
|
|||||||
|
Index: postfix-2.3.0/makedefs
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/makedefs
|
||||||
|
+++ postfix-2.3.0/makedefs
|
||||||
|
@@ -418,4 +418,5 @@ AWK = $AWK
|
||||||
|
STRCASE = $STRCASE
|
||||||
|
EXPORT = AUXLIBS='$AUXLIBS' CCARGS='$CCARGS' OPT='$OPT' DEBUG='$DEBUG'
|
||||||
|
WARN = $WARN
|
||||||
|
+PIE = $PIE
|
||||||
|
EOF
|
||||||
|
Index: postfix-2.3.0/src/anvil/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/anvil/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/anvil/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = anvil
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/cleanup/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/cleanup/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/cleanup/Makefile.in
|
||||||
|
@@ -18,11 +18,14 @@ PROG = cleanup
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libmilter.a ../../lib/libglobal.a \
|
||||||
|
../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/discard/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/discard/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/discard/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = discard
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/error/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/error/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/error/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = error
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/flush/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/flush/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/flush/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = flush
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/fsstone/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/fsstone/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/fsstone/Makefile.in
|
||||||
|
@@ -9,6 +9,9 @@ TESTPROG=
|
||||||
|
PROG = fsstone
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
@@ -20,7 +23,7 @@ Makefile: Makefile.in
|
||||||
|
(cat ../../conf/makedefs.out $?) >$@
|
||||||
|
|
||||||
|
fsstone: fsstone.o $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ fsstone.o $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ fsstone.o $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
test: $(TESTPROG)
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/local/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/local/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/local/Makefile.in
|
||||||
|
@@ -15,11 +15,14 @@ PROG = local
|
||||||
|
TESTPROG=
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/master/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/master/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/master/Makefile.in
|
||||||
|
@@ -20,7 +20,7 @@ LIB_DIR = ../../lib
|
||||||
|
INC_DIR = ../../include
|
||||||
|
BIN_DIR = ../../libexec
|
||||||
|
|
||||||
|
-.c.o:; $(CC) `for i in $(LIB_OBJ); do [ $$i = $@ ] && echo -fPIC; done` $(CFLAGS) -c $*.c
|
||||||
|
+.c.o:; $(CC) -fPIC $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
all: $(PROG) $(LIB)
|
||||||
|
|
||||||
|
@@ -30,7 +30,7 @@ Makefile: Makefile.in
|
||||||
|
(cat ../../conf/makedefs.out $?) >$@
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
test: $(TESTPROG)
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/oqmgr/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/oqmgr/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/oqmgr/Makefile.in
|
||||||
|
@@ -13,11 +13,14 @@ TESTPROG=
|
||||||
|
PROG = qmgr
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/pickup/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/pickup/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/pickup/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = pickup
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/pipe/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/pipe/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/pipe/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = pipe
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/postalias/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/postalias/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/postalias/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = postalias
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/postcat/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/postcat/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/postcat/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = postcat
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/postdrop/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/postdrop/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/postdrop/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = postdrop
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/postfix/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/postfix/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/postfix/Makefile.in
|
||||||
|
@@ -10,11 +10,14 @@ INC_DIR = ../../include
|
||||||
|
TESTPROG=
|
||||||
|
PROG = postfix
|
||||||
|
LIBS = ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/postkick/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/postkick/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/postkick/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = postkick
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/postlock/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/postlock/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/postlock/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = postlock
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/postlog/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/postlog/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/postlog/Makefile.in
|
||||||
|
@@ -10,11 +10,14 @@ INC_DIR = ../../include
|
||||||
|
TESTPROG=
|
||||||
|
PROG = postlog
|
||||||
|
LIBS = ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/postmap/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/postmap/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/postmap/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = postmap
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/postqueue/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/postqueue/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/postqueue/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = postqueue
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/postsuper/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/postsuper/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/postsuper/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = postsuper
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/proxymap/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/proxymap/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/proxymap/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = proxymap
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/qmgr/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/qmgr/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/qmgr/Makefile.in
|
||||||
|
@@ -15,11 +15,14 @@ TESTPROG=
|
||||||
|
PROG = qmgr
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/qmqpd/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/qmqpd/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/qmqpd/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = qmqpd
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libdns.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/scache/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/scache/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/scache/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = scache
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/sendmail/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/sendmail/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/sendmail/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = sendmail
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/showq/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/showq/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/showq/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = showq
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/smtpstone/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/smtpstone/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/smtpstone/Makefile.in
|
||||||
|
@@ -9,6 +9,9 @@ TESTPROG=
|
||||||
|
INC_DIR = ../../include
|
||||||
|
PROG = smtp-source smtp-sink qmqp-source qmqp-sink
|
||||||
|
LIBS = ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
@@ -20,16 +23,16 @@ Makefile: Makefile.in
|
||||||
|
(cat ../../conf/makedefs.out $?) >$@
|
||||||
|
|
||||||
|
smtp-sink: smtp-sink.o $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ smtp-sink.o $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ smtp-sink.o $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
smtp-source: smtp-source.o $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ smtp-source.o $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ smtp-source.o $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
qmqp-sink: qmqp-sink.o $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ qmqp-sink.o $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ qmqp-sink.o $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
qmqp-source: qmqp-source.o $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ qmqp-source.o $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ qmqp-source.o $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
test: $(TESTPROG)
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/spawn/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/spawn/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/spawn/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = spawn
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/tlsmgr/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/tlsmgr/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/tlsmgr/Makefile.in
|
||||||
|
@@ -10,11 +10,14 @@ PROG = tlsmgr
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libtls.a ../../lib/libglobal.a \
|
||||||
|
../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/trivial-rewrite/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/trivial-rewrite/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/trivial-rewrite/Makefile.in
|
||||||
|
@@ -12,13 +12,16 @@ LIBS = ../../lib/libmaster.a ../../lib/l
|
||||||
|
LIB_DIR = ../../lib
|
||||||
|
INC_DIR = ../../include
|
||||||
|
BIN_DIR = ../../libexec
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
all: $(PROG) $(LIB)
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/verify/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/verify/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/verify/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ TESTPROG=
|
||||||
|
PROG = verify
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/virtual/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/virtual/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/virtual/Makefile.in
|
||||||
|
@@ -9,11 +9,14 @@ PROG = virtual
|
||||||
|
TESTPROG=
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/bounce/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/bounce/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/bounce/Makefile.in
|
||||||
|
@@ -16,13 +16,16 @@ PROG = bounce
|
||||||
|
SAMPLES = ../../conf/bounce.cf.default
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
all: $(PROG) ../../conf/bounce.cf.default
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
# Eliminate dependency on installed Postfix.
|
||||||
|
../../conf/bounce.cf.default: template_test.ref annotate.pl
|
||||||
|
Index: postfix-2.3.0/src/postconf/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/postconf/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/postconf/Makefile.in
|
||||||
|
@@ -12,11 +12,14 @@ PROG = postconf
|
||||||
|
SAMPLES = ../../conf/main.cf.default
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libxsasl.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
../../conf/main.cf.default: $(PROG) Makefile
|
||||||
|
rm -f $@
|
||||||
|
Index: postfix-2.3.0/src/smtp/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/smtp/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/smtp/Makefile.in
|
||||||
|
@@ -14,11 +14,14 @@ PROG = smtp
|
||||||
|
INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libtls.a ../../lib/libdns.a \
|
||||||
|
../../lib/libxsasl.a ../../lib/libglobal.a ../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/smtpd/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/smtpd/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/smtpd/Makefile.in
|
||||||
|
@@ -16,11 +16,14 @@ INC_DIR = ../../include
|
||||||
|
LIBS = ../../lib/libmaster.a ../../lib/libtls.a ../../lib/libdns.a \
|
||||||
|
../../lib/libxsasl.a ../../lib/libmilter.a ../../lib/libglobal.a \
|
||||||
|
../../lib/libutil.a
|
||||||
|
+ifdef PIE
|
||||||
|
+CFLAGS += -fPIE
|
||||||
|
+endif
|
||||||
|
|
||||||
|
.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
$(PROG): $(OBJS) $(LIBS)
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS) $(PIE)
|
||||||
|
|
||||||
|
$(OBJS): ../../conf/makedefs.out
|
||||||
|
|
||||||
|
Index: postfix-2.3.0/src/xsasl/Makefile.in
|
||||||
|
===================================================================
|
||||||
|
--- postfix-2.3.0.orig/src/xsasl/Makefile.in
|
||||||
|
+++ postfix-2.3.0/src/xsasl/Makefile.in
|
||||||
|
@@ -18,7 +18,7 @@ LIB_DIR = ../../lib
|
||||||
|
INC_DIR = ../../include
|
||||||
|
MAKES =
|
||||||
|
|
||||||
|
-.c.o:; $(CC) $(CFLAGS) -c $*.c
|
||||||
|
+.c.o:; $(CC) -fPIC $(CFLAGS) -c $*.c
|
||||||
|
|
||||||
|
all: $(LIB)
|
||||||
|
|
3
postfix-2.3.2.tar.gz
Normal file
3
postfix-2.3.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9487d86349da28980a73c8c2ced8df0568c80f1349d2351f3d8dd20b46289b4e
|
||||||
|
size 2792371
|
3
postfix-SuSE.tar.gz
Normal file
3
postfix-SuSE.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:653d0b3af0b6e0383cf64c56d3466235becc82bb71dc329f4470173bef3e12c1
|
||||||
|
size 16582
|
1749
postfix.changes
Normal file
1749
postfix.changes
Normal file
File diff suppressed because it is too large
Load Diff
1563
postfix.spec
Normal file
1563
postfix.spec
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user