chiark / gitweb /
Debianization for 1.03-1
[qmail] / BIN.Makefile
1 SHELL=/bin/sh
2
3 # Files are edited in the installation directory, then copied.
4 # There are 40 arguments to idedit after the filename,
5 # showing the positions of each byte in the following ten ints:
6 # uida, uidd, uidl, uido, uidp, uidq, uidr, uids, gidq, gidn.
7 # Normal little-endian positions are n n+1 n+2 ... n+39 for some n.
8 # Normal big-endian positions are n+3 n+2 n+1 n n+7 ... n+36 for some n.
9
10 setup:
11         mkdir /var/qmail
12         ./idedit install-big XXX
13         ./idedit qmail-lspawn XXX
14         ./idedit qmail-queue XXX
15         ./idedit qmail-rspawn XXX
16         ./idedit qmail-showctl XXX
17         ./idedit qmail-start XXX
18         ./install-big
19         cp /var/qmail/boot/binm1+df /var/qmail/rc
20         chmod 755 /var/qmail/rc
21         echo '|fastforward -d /etc/aliases.cdb' > /var/qmail/alias/.qmail-default
22         chmod 644 /var/qmail/alias/.qmail-default
23         hostname | grep -q '\.'
24         ./config-fast `hostname`