qmail/qmail-1.03-echouser.patch

42 lines
1.8 KiB
Diff

diff -Nur -x '*.orig' -x '*.rej' qmail-1.03/Makefile mezzanine_patched_qmail-1.03/Makefile
--- qmail-1.03/Makefile 1998-06-15 04:53:16.000000000 -0600
+++ mezzanine_patched_qmail-1.03/Makefile 2007-05-03 10:28:43.000000000 -0600
@@ -112,16 +112,27 @@
auto_uids.c: \
auto-uid auto-gid conf-users conf-groups
- ( ./auto-uid auto_uida `head -1 conf-users` \
- &&./auto-uid auto_uidd `head -2 conf-users | tail -1` \
- &&./auto-uid auto_uidl `head -3 conf-users | tail -1` \
- &&./auto-uid auto_uido `head -4 conf-users | tail -1` \
- &&./auto-uid auto_uidp `head -5 conf-users | tail -1` \
- &&./auto-uid auto_uidq `head -6 conf-users | tail -1` \
- &&./auto-uid auto_uidr `head -7 conf-users | tail -1` \
- &&./auto-uid auto_uids `head -8 conf-users | tail -1` \
- &&./auto-gid auto_gidq `head -1 conf-groups` \
- &&./auto-gid auto_gidn `head -2 conf-groups | tail -1` \
+# ( ./auto-uid auto_uida `head -1 conf-users` \
+# &&./auto-uid auto_uidd `head -2 conf-users | tail -1` \
+# &&./auto-uid auto_uidl `head -3 conf-users | tail -1` \
+# &&./auto-uid auto_uido `head -4 conf-users | tail -1` \
+# &&./auto-uid auto_uidp `head -5 conf-users | tail -1` \
+# &&./auto-uid auto_uidq `head -6 conf-users | tail -1` \
+# &&./auto-uid auto_uidr `head -7 conf-users | tail -1` \
+# &&./auto-uid auto_uids `head -8 conf-users | tail -1` \
+# &&./auto-gid auto_gidq `head -1 conf-groups` \
+# &&./auto-gid auto_gidn `head -2 conf-groups | tail -1` \
+# ) > auto_uids.c.tmp && mv auto_uids.c.tmp auto_uids.c
+ ( echo -e "int auto_uida = 400;\n" \
+ "int auto_uidd = 401;\n" \
+ "int auto_uidl = 402;\n" \
+ "int auto_uido = 0;\n" \
+ "int auto_uidp = 403;\n" \
+ "int auto_uidq = 404;\n" \
+ "int auto_uidr = 405;\n" \
+ "int auto_uids = 406;\n" \
+ "int auto_gidq = 401;\n" \
+ "int auto_gidn = 400;\n" \
) > auto_uids.c.tmp && mv auto_uids.c.tmp auto_uids.c
auto_uids.o: \