head 1.146;
access;
symbols
OPENPKG_E1_MP_HEAD:1.136
OPENPKG_E1_MP:1.136
OPENPKG_E1_MP_2_STABLE:1.130.2.3
OPENPKG_E1_FP:1.130.2.3
OPENPKG_2_STABLE_MP:1.137
OPENPKG_2_STABLE_20061018:1.130.2.2
OPENPKG_2_STABLE_20060622:1.130.2.1
OPENPKG_2_STABLE:1.130.0.2
OPENPKG_2_STABLE_BP:1.130
OPENPKG_2_5_RELEASE:1.125.2.1
OPENPKG_2_5_SOLID:1.125.0.2
OPENPKG_2_5_SOLID_BP:1.125
OPENPKG_2_4_RELEASE:1.124.2.1
OPENPKG_2_4_SOLID:1.124.0.2
OPENPKG_2_4_SOLID_BP:1.124
OPENPKG_CW_FP:1.122
OPENPKG_2_3_RELEASE:1.122.2.1
OPENPKG_2_3_SOLID:1.122.0.2
OPENPKG_2_3_SOLID_BP:1.122
OPENPKG_2_2_RELEASE:1.114.2.1
OPENPKG_2_2_SOLID:1.114.0.2
OPENPKG_2_2_SOLID_BP:1.114
OPENPKG_2_1_RELEASE:1.113.2.1
OPENPKG_2_1_SOLID:1.113.0.2
OPENPKG_2_1_SOLID_BP:1.113
OPENPKG_2_0_RELEASE:1.109.2.1
OPENPKG_2_0_SOLID:1.109.0.2
OPENPKG_2_0_SOLID_BP:1.109
OPENPKG_1_3_RELEASE:1.51.2.5.2.2
OPENPKG_1_3_SOLID:1.51.2.5.0.2
OPENPKG_1_3_SOLID_BP:1.51.2.5
OPENPKG_1_STABLE_MP:1.94
OPENPKG_1_2_RELEASE:1.51.2.1.2.1
OPENPKG_1_2_SOLID:1.51.2.1.0.2
OPENPKG_1_2_SOLID_BP:1.51.2.1
OPENPKG_1_STABLE:1.51.0.2
OPENPKG_1_STABLE_BP:1.51
OPENPKG_0_0:1.1.1.1
OPENPKG:1.1.1;
locks; strict;
comment @-- @;
1.146
date 2009.04.18.13.15.20; author rse; state Exp;
branches;
next 1.145;
commitid 4pHXU27WTIGCZuKt;
1.145
date 2008.05.04.07.27.51; author rse; state Exp;
branches;
next 1.144;
commitid Wn7epSCUdRI3nC1t;
1.144
date 2008.01.01.15.04.31; author rse; state Exp;
branches;
next 1.143;
commitid B8esaHJHoduuKILs;
1.143
date 2007.12.13.17.55.01; author rse; state Exp;
branches;
next 1.142;
commitid bnMND9kMGVscriJs;
1.142
date 2007.11.02.08.14.58; author rse; state Exp;
branches;
next 1.141;
commitid GaqONffHVxoVxYDs;
1.141
date 2007.10.27.11.59.57; author cs; state Exp;
branches;
next 1.140;
commitid XKMxflRJ6S7CYdDs;
1.140
date 2007.07.20.20.18.16; author thl; state Exp;
branches;
next 1.139;
commitid yCyWfcoNSNOaUxqs;
1.139
date 2007.04.18.21.46.23; author thl; state Exp;
branches;
next 1.138;
commitid WyQKNMwmoITBoBes;
1.138
date 2007.04.04.15.38.51; author cs; state Exp;
branches;
next 1.137;
commitid BU5FgsMlm7SGOLcs;
1.137
date 2007.02.01.17.31.56; author rse; state Exp;
branches;
next 1.136;
commitid EClOl2bCwZZ2rO4s;
1.136
date 2007.01.01.17.41.44; author rse; state Exp;
branches;
next 1.135;
commitid BicZD6VUl7GuqP0s;
1.135
date 2006.12.28.20.12.34; author rse; state Exp;
branches;
next 1.134;
commitid zBuHZgpDkODUrk0s;
1.134
date 2006.10.22.18.01.29; author rse; state Exp;
branches;
next 1.133;
commitid 4K4KajBG7FJrSHRr;
1.133
date 2006.10.13.17.34.05; author thl; state Exp;
branches;
next 1.132;
commitid q5GSxzsSDX29XxQr;
1.132
date 2006.08.25.19.19.09; author rse; state Exp;
branches;
next 1.131;
commitid Tvsj1UyQ8rQ89gKr;
1.131
date 2006.08.10.07.20.19; author rse; state Exp;
branches;
next 1.130;
commitid vOJbNwaLHqaZFgIr;
1.130
date 2006.06.19.13.41.41; author rse; state Exp;
branches
1.130.2.1;
next 1.129;
commitid ofufnQIjUkqrsCBr;
1.129
date 2006.06.14.19.02.32; author rse; state Exp;
branches;
next 1.128;
commitid HSljCAOpBUuto0Br;
1.128
date 2006.03.22.18.26.43; author rse; state Exp;
branches;
next 1.127;
commitid gAoMrRK3ClbBTcqr;
1.127
date 2006.02.19.18.31.01; author rse; state Exp;
branches;
next 1.126;
commitid hOfr0k2h0TnQUdmr;
1.126
date 2006.01.01.13.22.04; author rse; state Exp;
branches;
next 1.125;
commitid otZG8yKMCw1JFTfr;
1.125
date 2005.09.17.05.39.24; author mk; state Exp;
branches
1.125.2.1;
next 1.124;
1.124
date 2005.03.28.06.45.38; author rse; state Exp;
branches
1.124.2.1;
next 1.123;
1.123
date 2005.03.24.11.20.16; author rse; state Exp;
branches;
next 1.122;
1.122
date 2005.02.10.09.13.47; author rse; state Exp;
branches
1.122.2.1;
next 1.121;
1.121
date 2005.02.10.08.39.09; author rse; state Exp;
branches;
next 1.120;
1.120
date 2005.02.09.15.06.36; author rse; state Exp;
branches;
next 1.119;
1.119
date 2005.01.12.15.24.11; author ms; state Exp;
branches;
next 1.118;
1.118
date 2005.01.01.10.54.38; author rse; state Exp;
branches;
next 1.117;
1.117
date 2004.12.31.12.30.34; author rse; state Exp;
branches;
next 1.116;
1.116
date 2004.12.16.11.52.35; author ms; state Exp;
branches;
next 1.115;
1.115
date 2004.12.08.15.09.08; author ms; state Exp;
branches;
next 1.114;
1.114
date 2004.08.01.10.26.39; author rse; state Exp;
branches
1.114.2.1;
next 1.113;
1.113
date 2004.07.02.10.21.55; author rse; state Exp;
branches
1.113.2.1;
next 1.112;
1.112
date 2004.06.21.09.03.48; author thl; state Exp;
branches;
next 1.111;
1.111
date 2004.05.10.16.54.27; author rse; state Exp;
branches;
next 1.110;
1.110
date 2004.04.05.07.15.40; author rse; state Exp;
branches;
next 1.109;
1.109
date 2004.02.11.14.25.02; author thl; state Exp;
branches
1.109.2.1;
next 1.108;
1.108
date 2004.02.07.17.58.42; author rse; state Exp;
branches;
next 1.107;
1.107
date 2004.02.05.22.31.39; author thl; state Exp;
branches;
next 1.106;
1.106
date 2004.02.03.20.06.12; author rse; state Exp;
branches;
next 1.105;
1.105
date 2004.01.23.13.13.54; author rse; state Exp;
branches;
next 1.104;
1.104
date 2004.01.20.23.59.40; author thl; state Exp;
branches;
next 1.103;
1.103
date 2004.01.19.08.51.01; author rse; state Exp;
branches;
next 1.102;
1.102
date 2003.10.23.12.30.54; author rse; state Exp;
branches;
next 1.101;
1.101
date 2003.10.20.12.02.49; author thl; state Exp;
branches;
next 1.100;
1.100
date 2003.09.20.19.35.54; author rse; state Exp;
branches;
next 1.99;
1.99
date 2003.09.19.07.53.45; author rse; state Exp;
branches;
next 1.98;
1.98
date 2003.09.19.07.38.17; author rse; state Exp;
branches;
next 1.97;
1.97
date 2003.09.18.16.45.49; author rse; state Exp;
branches;
next 1.96;
1.96
date 2003.09.18.11.52.13; author ms; state Exp;
branches;
next 1.95;
1.95
date 2003.09.17.17.41.06; author rse; state Exp;
branches;
next 1.94;
1.94
date 2003.08.01.09.37.08; author mlelstv; state Exp;
branches;
next 1.93;
1.93
date 2003.07.23.13.45.27; author thl; state Exp;
branches;
next 1.92;
1.92
date 2003.07.23.13.32.22; author rse; state Exp;
branches;
next 1.91;
1.91
date 2003.07.23.08.33.29; author mlelstv; state Exp;
branches;
next 1.90;
1.90
date 2003.07.22.08.11.10; author rse; state Exp;
branches;
next 1.89;
1.89
date 2003.07.21.14.46.10; author rse; state Exp;
branches;
next 1.88;
1.88
date 2003.07.21.08.40.50; author thl; state Exp;
branches;
next 1.87;
1.87
date 2003.07.19.17.06.29; author rse; state Exp;
branches;
next 1.86;
1.86
date 2003.07.17.15.33.16; author thl; state Exp;
branches;
next 1.85;
1.85
date 2003.07.15.10.01.28; author thl; state Exp;
branches;
next 1.84;
1.84
date 2003.07.14.14.26.21; author thl; state Exp;
branches;
next 1.83;
1.83
date 2003.07.10.07.51.06; author rse; state Exp;
branches;
next 1.82;
1.82
date 2003.07.09.08.23.40; author rse; state Exp;
branches;
next 1.81;
1.81
date 2003.07.08.14.42.25; author rse; state Exp;
branches;
next 1.80;
1.80
date 2003.07.08.14.25.20; author rse; state Exp;
branches;
next 1.79;
1.79
date 2003.07.08.09.20.56; author rse; state Exp;
branches;
next 1.78;
1.78
date 2003.07.07.13.52.47; author rse; state Exp;
branches;
next 1.77;
1.77
date 2003.07.07.10.37.24; author mlelstv; state Exp;
branches;
next 1.76;
1.76
date 2003.07.04.14.31.32; author rse; state Exp;
branches;
next 1.75;
1.75
date 2003.07.04.14.02.42; author rse; state Exp;
branches;
next 1.74;
1.74
date 2003.06.29.15.17.51; author mlelstv; state Exp;
branches;
next 1.73;
1.73
date 2003.06.28.15.03.58; author rse; state Exp;
branches;
next 1.72;
1.72
date 2003.06.24.13.28.44; author thl; state Exp;
branches;
next 1.71;
1.71
date 2003.06.23.21.01.40; author thl; state Exp;
branches;
next 1.70;
1.70
date 2003.06.12.18.46.07; author mlelstv; state Exp;
branches;
next 1.69;
1.69
date 2003.06.05.00.16.27; author mlelstv; state Exp;
branches;
next 1.68;
1.68
date 2003.05.30.18.50.42; author rse; state Exp;
branches;
next 1.67;
1.67
date 2003.05.09.11.12.27; author mlelstv; state Exp;
branches;
next 1.66;
1.66
date 2003.05.08.19.59.07; author mlelstv; state Exp;
branches;
next 1.65;
1.65
date 2003.05.08.19.51.10; author mlelstv; state Exp;
branches;
next 1.64;
1.64
date 2003.04.09.15.09.14; author mlelstv; state Exp;
branches;
next 1.63;
1.63
date 2003.04.08.15.18.22; author mlelstv; state Exp;
branches;
next 1.62;
1.62
date 2003.04.05.20.07.17; author rse; state Exp;
branches;
next 1.61;
1.61
date 2003.04.05.18.37.32; author rse; state Exp;
branches;
next 1.60;
1.60
date 2003.03.30.10.42.26; author mlelstv; state Exp;
branches;
next 1.59;
1.59
date 2003.03.29.20.14.09; author mlelstv; state Exp;
branches;
next 1.58;
1.58
date 2003.03.28.12.24.46; author cs; state Exp;
branches;
next 1.57;
1.57
date 2003.03.27.16.27.48; author mlelstv; state Exp;
branches;
next 1.56;
1.56
date 2003.03.04.06.52.32; author mlelstv; state Exp;
branches;
next 1.55;
1.55
date 2003.02.05.13.52.24; author rse; state Exp;
branches;
next 1.54;
1.54
date 2003.02.04.08.54.01; author mlelstv; state Exp;
branches;
next 1.53;
1.53
date 2003.01.30.11.21.24; author mlelstv; state Exp;
branches;
next 1.52;
1.52
date 2003.01.29.16.55.45; author mlelstv; state Exp;
branches;
next 1.51;
1.51
date 2003.01.14.14.47.49; author rse; state Exp;
branches
1.51.2.1;
next 1.50;
1.50
date 2003.01.03.11.43.22; author rse; state Exp;
branches;
next 1.49;
1.49
date 2002.12.30.22.06.45; author rse; state Exp;
branches;
next 1.48;
1.48
date 2002.12.30.14.32.54; author rse; state Exp;
branches;
next 1.47;
1.47
date 2002.12.30.07.58.55; author rse; state Exp;
branches;
next 1.46;
1.46
date 2002.12.30.07.58.10; author rse; state Exp;
branches;
next 1.45;
1.45
date 2002.12.11.10.50.18; author mlelstv; state Exp;
branches;
next 1.44;
1.44
date 2002.12.10.21.33.43; author mlelstv; state Exp;
branches;
next 1.43;
1.43
date 2002.12.06.13.51.53; author rse; state Exp;
branches;
next 1.42;
1.42
date 2002.12.05.14.48.08; author mlelstv; state Exp;
branches;
next 1.41;
1.41
date 2002.11.12.13.41.57; author thl; state Exp;
branches;
next 1.40;
1.40
date 2002.10.22.13.48.23; author ms; state Exp;
branches;
next 1.39;
1.39
date 2002.10.14.20.56.17; author ms; state Exp;
branches;
next 1.38;
1.38
date 2002.09.09.18.06.58; author ms; state Exp;
branches;
next 1.37;
1.37
date 2002.08.29.10.09.37; author ms; state Exp;
branches;
next 1.36;
1.36
date 2002.08.26.09.39.45; author rse; state Exp;
branches;
next 1.35;
1.35
date 2002.08.22.09.23.28; author ms; state Exp;
branches;
next 1.34;
1.34
date 2002.08.21.13.52.45; author ms; state Exp;
branches;
next 1.33;
1.33
date 2002.08.19.08.05.57; author ms; state Exp;
branches;
next 1.32;
1.32
date 2002.08.13.12.49.52; author rse; state Exp;
branches;
next 1.31;
1.31
date 2002.08.12.15.39.03; author ms; state Exp;
branches;
next 1.30;
1.30
date 2002.08.10.18.44.57; author rse; state Exp;
branches;
next 1.29;
1.29
date 2002.08.09.13.41.08; author ms; state Exp;
branches;
next 1.28;
1.28
date 2002.08.09.12.41.56; author ms; state Exp;
branches;
next 1.27;
1.27
date 2002.08.09.10.37.02; author ms; state Exp;
branches;
next 1.26;
1.26
date 2002.08.09.09.46.15; author ms; state Exp;
branches;
next 1.25;
1.25
date 2002.08.08.17.20.03; author ms; state Exp;
branches;
next 1.24;
1.24
date 2002.08.08.17.17.58; author ms; state Exp;
branches;
next 1.23;
1.23
date 2002.05.29.20.02.19; author rse; state Exp;
branches;
next 1.22;
1.22
date 2002.03.19.12.47.23; author rse; state Exp;
branches;
next 1.21;
1.21
date 2002.02.08.10.49.54; author rse; state Exp;
branches;
next 1.20;
1.20
date 2002.02.07.14.21.11; author rse; state Exp;
branches;
next 1.19;
1.19
date 2002.01.24.08.56.23; author rse; state Exp;
branches;
next 1.18;
1.18
date 2001.12.31.15.00.40; author rse; state Exp;
branches;
next 1.17;
1.17
date 2001.11.30.22.21.52; author rse; state Exp;
branches;
next 1.16;
1.16
date 2001.11.30.20.11.16; author rse; state Exp;
branches;
next 1.15;
1.15
date 2001.11.30.14.27.48; author rse; state Exp;
branches;
next 1.14;
1.14
date 2001.11.26.16.34.14; author rse; state Exp;
branches;
next 1.13;
1.13
date 2001.11.26.15.20.14; author rse; state Exp;
branches;
next 1.12;
1.12
date 2001.11.21.09.21.45; author rse; state Exp;
branches;
next 1.11;
1.11
date 2001.11.14.09.38.49; author cs; state Exp;
branches;
next 1.10;
1.10
date 2001.11.02.20.07.43; author rse; state Exp;
branches;
next 1.9;
1.9
date 2001.11.02.20.07.06; author rse; state Exp;
branches;
next 1.8;
1.8
date 2001.10.30.19.26.44; author rse; state Exp;
branches;
next 1.7;
1.7
date 2001.10.23.11.24.12; author rse; state Exp;
branches;
next 1.6;
1.6
date 2001.10.17.15.06.49; author rse; state Exp;
branches;
next 1.5;
1.5
date 2001.09.25.08.20.36; author rse; state Exp;
branches;
next 1.4;
1.4
date 2001.09.21.09.01.41; author rse; state Exp;
branches;
next 1.3;
1.3
date 2001.09.19.07.50.22; author rse; state Exp;
branches;
next 1.2;
1.2
date 2001.09.19.07.48.19; author rse; state Exp;
branches;
next 1.1;
1.1
date 2001.09.18.09.48.29; author rse; state Exp;
branches
1.1.1.1;
next ;
1.130.2.1
date 2006.06.20.15.24.39; author rse; state Exp;
branches;
next 1.130.2.2;
commitid P9b9BoNafLYTTKBr;
1.130.2.2
date 2006.10.16.14.56.14; author rse; state Exp;
branches;
next 1.130.2.3;
commitid iZxwRSmmWscPXUQr;
1.130.2.3
date 2006.10.22.18.02.31; author rse; state Exp;
branches;
next 1.130.2.4;
commitid Ac483USD5lmNSHRr;
1.130.2.4
date 2007.02.07.20.36.49; author thl; state Exp;
branches;
next ;
commitid buiDpkvFRFCkgB5s;
1.125.2.1
date 2005.10.11.12.51.51; author rse; state Exp;
branches;
next 1.125.2.2;
1.125.2.2
date 2006.03.22.18.43.34; author rse; state Exp;
branches;
next ;
commitid VOxYDD5V0ppnZcqr;
1.124.2.1
date 2005.06.15.19.05.29; author rse; state Exp;
branches;
next 1.124.2.2;
1.124.2.2
date 2006.03.22.18.38.56; author rse; state Exp;
branches;
next ;
commitid FqbG8t5SPibNXcqr;
1.122.2.1
date 2005.02.21.17.08.31; author rse; state Exp;
branches;
next 1.122.2.2;
1.122.2.2
date 2006.03.22.18.40.57; author rse; state Exp;
branches;
next ;
commitid 7UHzYax5TX6uYcqr;
1.114.2.1
date 2004.10.11.18.58.56; author rse; state Exp;
branches;
next ;
1.113.2.1
date 2004.07.02.15.27.47; author rse; state Exp;
branches;
next ;
1.109.2.1
date 2004.02.18.14.51.38; author rse; state Exp;
branches;
next 1.109.2.2;
1.109.2.2
date 2004.04.05.07.17.10; author rse; state Exp;
branches;
next ;
1.51.2.1
date 2003.01.18.14.14.37; author rse; state Exp;
branches
1.51.2.1.2.1;
next 1.51.2.2;
1.51.2.2
date 2003.03.04.08.36.18; author mlelstv; state Exp;
branches;
next 1.51.2.3;
1.51.2.3
date 2003.03.30.10.50.45; author mlelstv; state Exp;
branches;
next 1.51.2.4;
1.51.2.4
date 2003.03.30.12.07.18; author rse; state Exp;
branches;
next 1.51.2.5;
1.51.2.5
date 2003.07.24.20.50.36; author rse; state Exp;
branches
1.51.2.5.2.1;
next 1.51.2.6;
1.51.2.6
date 2003.08.01.11.01.21; author rse; state Exp;
branches;
next ;
1.51.2.1.2.1
date 2003.01.18.17.22.43; author rse; state Exp;
branches;
next 1.51.2.1.2.2;
1.51.2.1.2.2
date 2003.03.04.08.40.30; author mlelstv; state Exp;
branches;
next 1.51.2.1.2.3;
1.51.2.1.2.3
date 2003.03.30.10.58.56; author mlelstv; state Exp;
branches;
next 1.51.2.1.2.4;
1.51.2.1.2.4
date 2003.03.30.12.06.11; author rse; state Exp;
branches;
next 1.51.2.1.2.5;
1.51.2.1.2.5
date 2003.08.26.10.23.40; author mlelstv; state Exp;
branches;
next 1.51.2.1.2.6;
1.51.2.1.2.6
date 2003.09.19.07.46.43; author rse; state Exp;
branches;
next ;
1.51.2.5.2.1
date 2003.07.29.15.01.29; author rse; state Exp;
branches;
next 1.51.2.5.2.2;
1.51.2.5.2.2
date 2003.08.01.11.01.43; author rse; state Exp;
branches;
next 1.51.2.5.2.3;
1.51.2.5.2.3
date 2003.09.19.07.42.59; author rse; state Exp;
branches;
next 1.51.2.5.2.4;
1.51.2.5.2.4
date 2003.10.20.12.09.47; author thl; state Exp;
branches;
next ;
1.1.1.1
date 2001.09.18.09.48.29; author rse; state Exp;
branches;
next ;
desc
@@
1.146
log
@bump years in copyright messages
@
text
@##
## sendmail.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: sendmail
Summary: Mail Transfer Agent
URL: http://www.sendmail.org/
Vendor: Eric Allman
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: BASE
Group: Mail
License: BSD
Version: 8.14.3
Release: 20080504
# package options
%option with_fsl yes
%option with_milter yes
%option with_ssl no
%option with_sasl no
%option with_ldap no
%option with_mysql no
%option with_ipv6 no
%option with_socketmap no
# list of sources
Source0: ftp://ftp.sendmail.org/pub/sendmail/sendmail.%{version}.tar.gz
Source1: sendmail.etc.txt
Source2: sendmail.cf.txt
Source3: fsl.sendmail
Source4: rc.sendmail
Patch0: sendmail.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20060823, m4, gcc, make
PreReq: OpenPKG, openpkg >= 20060823, m4, make, perl, procmail
BuildPreReq: db >= 4.1.25
PreReq: db >= 4.1.25
%if "%{with_fsl}" == "yes"
BuildPreReq: fsl
PreReq: fsl
%endif
%if "%{with_ssl}" == "yes"
BuildPreReq: openssl
PreReq: openssl
%endif
%if "%{with_sasl}" == "yes"
BuildPreReq: sasl, openssl
PreReq: sasl, openssl
%endif
%if "%{with_ldap}" == "yes"
BuildPreReq: openldap, openssl
PreReq: openldap, openssl
%endif
%if "%{with_mysql}" == "yes"
BuildPreReq: mysql
PreReq: mysql
%endif
AutoReq: no
AutoReqProv: no
Provides: MTA
Conflicts: exim, postfix, ssmtp
%description
Sendmail is the most popular Mail Transfer Agent (MTA). This copy
contains features specific to the OpenPKG distribution including
fsl(3) logging rather than syslog(3) and optional STARTTLS,
SMTPAUTH, Milter and LDAP support.
%track
prog sendmail = {
version = %{version}
url = ftp://ftp.sendmail.org/pub/sendmail/
regex = sendmail.(\d+\.\d+\.\d+)\.tar\.gz
}
%prep
# unpack standard tarballs
%setup -q
%patch -p0
# make install process unprivileged
%{l_shtool} subst \
-e 's;ln -s *;$(LN) $(LNOPTS) $(DESTDIR);' \
-e 's;chown;true;g' \
-e 's;chgrp;true;g' \
Makefile */Makefile */Makefile.m4 */*/Makefile
%{l_shtool} subst \
-e 's;\$chown;true;g' \
-e 's;chgrp;true;g' \
-e 's;chmod;true;g' \
devtools/bin/install.sh
# add own M4 stuff to Sendmail configuration set
for name in `grep "^/d" -e "/<\/file>/,\$d" >$name
done
# override platform-specific definitions
( echo "#ifdef _PATH_SENDMAIL"
echo "#undef _PATH_SENDMAIL"
echo "#endif"
) >sed.include
%{l_shtool} subst \
-e 's;\(define *SMRSH_CMDDIR *\).*;\1 "%{l_prefix}/var/sendmail/sm.bin";g' \
-e 's;\(define *_PATH_SENDMAIL *\).*;\1 "%{l_prefix}/sbin/sendmail";g' \
-e '/# *include *.*/r sed.include' \
-e '/undef *_PATH_SENDMAILPID/d' \
include/sendmail/pathnames.h include/sm/conf.h
rm -f sed.include
%build
# indicate with a plus sign that we use a patched version
%{l_shtool} subst \
-e 's;\(Version\[\][^"]*\)"[^"]*";\1"%{version}+";' \
sendmail/version.c
# correctly specify missing realtime functions library
extlibs="%{l_fsl_libs} -ldb"
case "%{l_platform -t}" in
*-sunos* ) extlibs="$extlibs -lrt" ;;
esac
# configure Sendmail
( echo "define(\`confCC', \`%{l_cc} %{l_cflags}')dnl"
echo "define(\`confMAPDEF', \`-DMAP_REGEX')dnl"
echo "define(\`confSBINOWN', \`%{l_musr}')dnl"
echo "define(\`confSBINGRP', \`%{l_mgrp}')dnl"
echo "define(\`confUBINOWN', \`%{l_musr}')dnl"
echo "define(\`confUBINGRP', \`%{l_mgrp}')dnl"
echo "define(\`confMANOWN', \`%{l_musr}')dnl"
echo "define(\`confMANGRP', \`%{l_mgrp}')dnl"
echo "define(\`confEBINDIR', \`%{l_prefix}/libexec/sendmail')dnl"
echo "define(\`confHFDIR', \`%{l_prefix}/etc/sendmail')dnl"
echo "define(\`confHFFILE', \`sendmail.help')dnl"
echo "define(\`confINCLUDEDIR', \`%{l_prefix}/include/sendmail')dnl"
echo "define(\`confINSTALL_RAWMAN', \`1')dnl"
echo "define(\`confLIBDIR', \`%{l_prefix}/lib/sendmail')dnl"
echo "define(\`confMANROOT', \`%{l_prefix}/man/cat')dnl"
echo "define(\`confMANROOTMAN', \`%{l_prefix}/man/man')dnl"
echo "define(\`confMBINDIR', \`%{l_prefix}/sbin')dnl"
echo "define(\`confSBINDIR', \`%{l_prefix}/sbin')dnl"
echo "define(\`confSHAREDLIBDIR', \`%{l_prefix}/lib')dnl"
echo "define(\`confSTDIR', \`%{l_prefix}/var/sendmail')dnl"
echo "define(\`confSTFILE', \`sendmail.stat')dnl"
echo "define(\`confUBINDIR', \`%{l_prefix}/bin')dnl"
echo "define(\`confLNOPTS', \`-f')dnl"
echo "define(\`confFORCE_RMAIL', \`yes')dnl"
echo "APPENDDEF(\`confMSP_QUEUE_DIR',\`%{l_prefix}/var/sendmail/clientmqueue')dnl"
echo "APPENDDEF(\`confENVDEF', \`-D_PATH_SENDMAILCF=\\\"%{l_prefix}/etc/sendmail/sendmail.cf\\\"')dnl"
echo "APPENDDEF(\`confENVDEF', \`-D_PATH_SENDMAILPID=\\\"%{l_prefix}/var/sendmail/sendmail.pid\\\"')dnl"
echo "APPENDDEF(\`confENVDEF', \`-D_DIR_SENDMAILCF=\\\"%{l_prefix}/etc/sendmail/\\\"')dnl"
echo "APPENDDEF(\`confENVDEF', \`-DNEWDB')dnl"
echo "APPENDDEF(\`confINCDIRS', \`%{l_cppflags}')dnl"
echo "APPENDDEF(\`confLIBDIRS', \`%{l_ldflags}')dnl"
echo "APPENDDEF(\`confLIBS', \`$extlibs')dnl"
echo "define(\`confSTDIO_TYPE', \`portable')dnl"
echo "APPENDDEF(\`confENVDEF', \`-DDNSMAP')dnl"
%if "%{with_ssl}" == "yes"
echo "APPENDDEF(\`conf_sendmail_ENVDEF', \`-DSTARTTLS')dnl"
echo "APPENDDEF(\`conf_sendmail_ENVDEF', \`-DHASURANDOMDEV')dnl"
echo "APPENDDEF(\`conf_sendmail_LIBS', \`-lssl -lcrypto')dnl"
%endif
%if "%{with_sasl}" == "yes"
echo "APPENDDEF(\`confENVDEF', \`-DSASL=1')dnl"
echo "APPENDDEF(\`confINCDIRS', \`%{l_cppflags sasl .}')dnl"
echo "APPENDDEF(\`confLIBS', \`-lsasl2 -lcrypto')dnl"
%endif
%if "%{with_milter}" == "yes"
echo "APPENDDEF(\`conf_sendmail_ENVDEF', \`-DMILTER=1')dnl"
%else
echo "APPENDDEF(\`conf_sendmail_ENVDEF', \`-DMILTER=0')dnl"
%endif
%if "%{with_ldap}" == "yes"
echo "APPENDDEF(\`confMAPDEF', \`-DLDAPMAP')dnl"
echo "APPENDDEF(\`confENVDEF', \`-DSM_CONF_LDAP_MEMFREE=1')dnl"
echo "APPENDDEF(\`confLIBS', \`-lldap -llber -lssl -lcrypto')dnl"
%endif
%if "%{with_mysql}" == "yes"
echo "APPENDDEF(\`confMAPDEF',\`-DMYSQLMAP')dnl"
echo "APPENDDEF(\`confINCDIRS',\`%{l_cppflags mysql .}')dnl"
echo "APPENDDEF(\`confLIBS',\`%{l_ldflags mysql .} -lmysqlclient -lz -lm')dnl"
%endif
%if "%{with_ipv6}" == "yes"
echo "APPENDDEF(\`conf_sendmail_ENVDEF', \`-DNETINET6')dnl"
%endif
echo "APPENDDEF(\`conf_sendmail_ENVDEF', \`-DPICKY_HELO_CHECK')dnl"
%if "%{with_socketmap}" == "yes"
echo "APPENDDEF(\`conf_sendmail_ENVDEF', \`-DSOCKETMAP')dnl"
%endif
) >devtools/Site/site.config.m4
# build Sendmail package
%{l_make} %{l_mflags}
%install
rm -rf $RPM_BUILD_ROOT
# manually create filesystem hierarchy, because Sendmail's
# install target doesn't properly create it itself.
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix} \
$RPM_BUILD_ROOT%{l_prefix}/etc/sendmail \
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/sbin \
$RPM_BUILD_ROOT%{l_prefix}/lib \
$RPM_BUILD_ROOT%{l_prefix}/libexec/sendmail \
$RPM_BUILD_ROOT%{l_prefix}/man \
$RPM_BUILD_ROOT%{l_prefix}/man/man1 \
$RPM_BUILD_ROOT%{l_prefix}/man/man5 \
$RPM_BUILD_ROOT%{l_prefix}/man/man8 \
$RPM_BUILD_ROOT%{l_prefix}/man/cat1 \
$RPM_BUILD_ROOT%{l_prefix}/man/cat5 \
$RPM_BUILD_ROOT%{l_prefix}/man/cat8
# install Sendmail
%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT \
INSTALL=`pwd`/devtools/bin/install.sh \
MAILDIR=%{l_prefix}/etc/sendmail
mv $RPM_BUILD_ROOT%{l_prefix}/bin/rmail \
$RPM_BUILD_ROOT%{l_prefix}/sbin/rmail
# remember the Sendmail M4 stuff for re-configuration
( %{l_tar} cf $RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/cf.tar cf ) || exit $?
%{l_gzip} $RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/cf.tar
%{l_shtool} install -c -m 644 cf/README \
$RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/cf.README
%{l_shtool} install -c -m 755 \
-e 's;^#!.*;#!%{l_prefix}/bin/perl;' \
contrib/re-mqueue.pl $RPM_BUILD_ROOT%{l_prefix}/sbin/re-mqueue
%{l_shtool} install -c -m 755 \
-e 's;^#!.*;#!%{l_prefix}/bin/perl;' \
contrib/qtool.pl $RPM_BUILD_ROOT%{l_prefix}/sbin/qtool
%{l_shtool} install -c -m 755 \
-e 's;^#!.*;#!%{l_prefix}/bin/perl;' \
contrib/qtool.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/qtool.8
# install a reasonable default configuration
l_hostname=`%{l_shtool} echo -e %h`
l_domainname=`%{l_shtool} echo -e %d | cut -c2-`
l_ostype=bsd4.4
case "%{l_platform -t}" in
*-freebsd[6-8]* ) l_ostype=freebsd6 ;;
*-freebsd5* ) l_ostype=freebsd5 ;;
*-freebsd4* ) l_ostype=freebsd4 ;;
*-freebsd* ) l_ostype=bsd4.4 ;;
*-sunos5.[8-9] | *-sunos5.10 ) l_ostype=solaris8 ;;
*-sunos* ) l_ostype=solaris2 ;;
*-linux* ) l_ostype=linux ;;
esac
for name in `grep "^/d" -e "/<\/file>/,\$d" >$name
%{l_shtool} install -c -m 644 %{l_value -s -a} \
-e "s;@@l_hostname@@;${l_hostname};g" \
-e "s;@@l_domainname@@;${l_domainname};g" \
-e "s;@@l_ostype@@;${l_ostype};g" \
$name $RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/
done
# install the run-command script
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE rc.sendmail} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
# create important files which have to be present from the beginning
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/var/sendmail/sm.bin \
$RPM_BUILD_ROOT%{l_prefix}/var/sendmail/mqueue \
$RPM_BUILD_ROOT%{l_prefix}/var/sendmail/mqueue/.hoststat
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/var/sendmail/clientmqueue \
$RPM_BUILD_ROOT%{l_prefix}/var/sendmail/clientmqueue/.hoststat
touch $RPM_BUILD_ROOT%{l_prefix}/var/sendmail/sendmail.log
# install OSSP fsl configuration
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/fsl
%{l_shtool} install -c -m 644 %{l_value -s -a} \
%{SOURCE fsl.sendmail} \
$RPM_BUILD_ROOT%{l_prefix}/etc/fsl/
# adjust installation tree
rm -rf $RPM_BUILD_ROOT%{l_prefix}/man/cat*
rm -f $RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/submit.cf
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* 2>/dev/null || true
strip $RPM_BUILD_ROOT%{l_prefix}/sbin/* 2>/dev/null || true
strip $RPM_BUILD_ROOT%{l_prefix}/libexec/sendmail/* 2>/dev/null || true
# determine installation files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%config %{l_prefix}/etc/fsl/fsl.sendmail' \
'%attr(2755,%{l_susr},%{l_rgrp}) %{l_prefix}/sbin/sendmail' \
'%attr(4755,%{l_susr},%{l_mgrp}) %{l_prefix}/bin/hoststat' \
'%attr(4755,%{l_susr},%{l_mgrp}) %{l_prefix}/bin/mailq' \
'%attr(4755,%{l_susr},%{l_mgrp}) %{l_prefix}/bin/newaliases' \
'%attr(4755,%{l_susr},%{l_mgrp}) %{l_prefix}/bin/purgestat' \
'%attr(4755,%{l_susr},%{l_mgrp}) %{l_prefix}/bin/vacation' \
'%attr(4755,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/sendmail/smrsh' \
'%attr(755,%{l_susr},%{l_mgrp}) %{l_prefix}/etc/sendmail' \
'%config %{l_prefix}/etc/sendmail/*' \
'%config %attr(644,%{l_susr},%{l_mgrp}) %{l_prefix}/etc/sendmail/ca.crt' \
'%config %attr(644,%{l_susr},%{l_mgrp}) %{l_prefix}/etc/sendmail/sendmail.crt' \
'%config %attr(600,%{l_susr},%{l_mgrp}) %{l_prefix}/etc/sendmail/sendmail.key' \
'%attr(700,%{l_susr},%{l_mgrp}) %{l_prefix}/var/sendmail/mqueue' \
'%attr(700,%{l_susr},%{l_mgrp}) %{l_prefix}/var/sendmail/mqueue/.hoststat' \
'%attr(770,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/sendmail/clientmqueue' \
'%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/sendmail/clientmqueue/.hoststat' \
'%attr(644,%{l_susr},%{l_mgrp}) %{l_prefix}/var/sendmail/sendmail.log'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
%pre
# before upgrade, save status and stop service
if [ $1 -eq 2 ]; then
eval `%{l_rc} sendmail status 2>/dev/null | tee %{l_tmpfile}`
%{l_rc} sendmail stop 2>/dev/null
fi
exit 0
%post
if [ $1 -eq 1 ]; then
( cd $RPM_INSTALL_PREFIX/etc/sendmail; %{l_make} all >/dev/null 2>&1 || true ) || true
elif [ $1 -gt 1 ]; then
( cd $RPM_INSTALL_PREFIX/etc/sendmail; %{l_make} clean all >/dev/null 2>&1 || true ) || true
$RPM_INSTALL_PREFIX/bin/openpkg rc sendmail reload >/dev/null 2>&1 || true
fi
if [ $1 -eq 2 ]; then
# after upgrade, restore status
eval `cat %{l_tmpfile}`; rm -f %{l_tmpfile}
[ ".$sendmail_active" = .yes ] && %{l_rc} sendmail start
fi
exit 0
%preun
if [ $1 -eq 0 ]; then
# before erase, stop service and remove residual files
%{l_rc} sendmail stop 2>/dev/null
rm -f $RPM_INSTALL_PREFIX/var/sendmail/*.log* >/dev/null 2>&1 || true
( cd $RPM_INSTALL_PREFIX/etc/sendmail/;
%{l_make} distclean >/dev/null 2>&1 || true
) || true
d=$RPM_INSTALL_PREFIX/var/sendmail/mqueue/.hoststat/*
if [ ."$d" != . ]; then
rm -rf $d
fi
d=$RPM_INSTALL_PREFIX/var/sendmail/clientmqueue/.hoststat/*
if [ ."$d" != . ]; then
rm -rf $d
fi
fi
exit 0
@
1.145
log
@upgrading package: sendmail 8.14.2 -> 8.14.3
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.144
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d34 2
a35 2
Version: 8.14.2
Release: 20080101
@
1.143
log
@support FreeBSD 8
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d35 1
a35 1
Release: 20071213
@
1.142
log
@upgrading package: sendmail 8.14.1 -> 8.14.2
@
text
@d36 1
a36 1
Release: 20071102
d270 1
a270 1
*-freebsd[6-7]* ) l_ostype=freebsd6 ;;
@
1.141
log
@Drop version information of OSSP fsl dependency since it doesn't make to much sense in an CURRENT-only world. Additionally, in several cases it has been choosen quite at will without being correct.
@
text
@d35 2
a36 2
Version: 8.14.1
Release: 20071027
@
1.140
log
@remove "%not %dir" construct, allowing proper directory ownership tracking and removal when erasing last provider
@
text
@d36 1
a36 1
Release: 20070720
d64 2
a65 2
BuildPreReq: fsl >= 1.2.0
PreReq: fsl >= 1.2.0
@
1.139
log
@get rid of direct /etc/rc call and replace them with openpkg
@
text
@d36 1
a36 1
Release: 20070418
a318 1
'%not %dir %{l_prefix}/etc/fsl' \
@
1.138
log
@upgrading package: sendmail 8.14.0 -> 8.14.1
@
text
@d36 1
a36 1
Release: 20070404
d357 1
a357 1
$RPM_INSTALL_PREFIX/etc/rc sendmail reload >/dev/null 2>&1 || true
@
1.137
log
@upgrading package: sendmail 8.13.8 -> 8.14.0
@
text
@d35 2
a36 2
Version: 8.14.0
Release: 20070201
@
1.136
log
@Welcome Year 2007!
@
text
@d35 2
a36 2
Version: 8.13.8
Release: 20061228
@
1.135
log
@make with_milter=yes just build the MILTER server-side into Sendmail, but no longer build and install the client-side (libmilter) as this will be soon provided by a separate 'milter' package
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@
1.134
log
@convert from binary *.tar to textual *.txt files for the configuration content
@
text
@d36 1
a36 1
Release: 20061022
a197 1
echo "APPENDDEF(\`conf_libmilter_ENVDEF', \`-D_FFR_MILTER_ROOT_UNSAFE')dnl"
a212 1
echo "APPENDDEF(\`conf_libmilter_ENVDEF', \`-DNETINET6')dnl"
a222 7
%if "%{with_milter}" == "yes"
# have to separately invoke "Build" script in libmilter dir
( cd libmilter
./Build
) || exit $?
%endif
a249 15
%if "%{with_milter}" == "yes"
# install libraries and includes for building milters
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/include/libmilter
%{l_shtool} install -c -m 644 \
include/libmilter/*.h \
$RPM_BUILD_ROOT%{l_prefix}/include/libmilter/
%{l_shtool} install -c -m 644 \
obj.*/libsm/libsm.a \
obj.*/libsmutil/libsmutil.a \
obj.*/libsmdb/libsmdb.a \
obj.*/libmilter/libmilter.a \
$RPM_BUILD_ROOT%{l_prefix}/lib/
%endif
@
1.133
log
@new world order for "Packager" and "Distribution" headers
@
text
@d36 1
a36 1
Release: 20061013
d50 2
a51 2
Source1: etc.sendmail.tar
Source2: cf.tar
a103 1
%setup -q -T -D -a 1
d119 6
a124 1
%{l_tar} xf %{SOURCE cf.tar}
d290 21
a310 17
( cd etc.sendmail
l_hostname=`%{l_shtool} echo -e %h`
l_domainname=`%{l_shtool} echo -e %d | cut -c2-`
l_ostype=bsd4.4
case "%{l_platform -t}" in
*-freebsd4*) l_ostype=freebsd4 ;;
*-freebsd*) l_ostype=bsd4.4 ;;
*-sunos5.8) l_ostype=solaris8 ;;
*-sunos*) l_ostype=solaris2 ;;
*-linux*) l_ostype=linux ;;
esac
%{l_shtool} install -c -m 644 %{l_value -s -a} \
-e "s;@@l_hostname@@;${l_hostname};g" \
-e "s;@@l_domainname@@;${l_domainname};g" \
-e "s;@@l_ostype@@;${l_ostype};g" \
* $RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/
) || exit $?
@
1.132
log
@replace '@@l_prefix@@/lib/openpkg/bash @@l_prefix@@/etc/rc' in shebang with '@@l_prefix@@/bin/openpkg rc' to allow people who run the rc.xxx scripts directly (as executables) to leverage from the Set-UID functionality
@
text
@d30 2
a31 2
Packager: OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release: 20060825
@
1.131
log
@upgrading package: sendmail 8.13.7 -> 8.13.8
@
text
@d36 1
a36 1
Release: 20060810
d59 2
a60 2
BuildPreReq: OpenPKG, openpkg >= 20040130, m4, gcc, make
PreReq: OpenPKG, openpkg >= 20040130, m4, make, perl, procmail
@
1.130
log
@apply two vendor patches
@
text
@d35 2
a36 2
Version: 8.13.7
Release: 20060619
a54 2
Patch1: http://www.sendmail.org/patches/queue.c.20060614
Patch2: http://www.sendmail.org/patches/main.c.DaemonPid.p0
a105 1
%patch -p0 -d sendmail -P 1 2
@
1.130.2.1
log
@bump release numbers for OpenPKG 2.20060622 in advance
@
text
@d36 1
a36 1
Release: 2.20060622
d61 2
a62 2
BuildPreReq: OpenPKG, openpkg >= 2.20060622, m4, gcc, make
PreReq: OpenPKG, openpkg >= 2.20060622, m4, make, perl, procmail
@
1.130.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@d30 2
a31 2
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
d35 2
a36 2
Version: 8.13.8
Release: 2.20061018
d55 2
d61 2
a62 2
BuildPreReq: OpenPKG, openpkg >= 2.20061018, m4, gcc, make
PreReq: OpenPKG, openpkg >= 2.20061018, m4, make, perl, procmail
d108 1
@
1.130.2.3
log
@MFC: convert from binary *.tar to textual *.txt files for the configuration content
@
text
@d36 1
a36 1
Release: 2.20061022
d50 2
a51 2
Source1: sendmail.etc.txt
Source2: sendmail.cf.txt
d104 1
d120 1
a120 6
for name in `grep "^/d" -e "/<\/file>/,\$d" >$name
done
d286 17
a302 21
l_hostname=`%{l_shtool} echo -e %h`
l_domainname=`%{l_shtool} echo -e %d | cut -c2-`
l_ostype=bsd4.4
case "%{l_platform -t}" in
*-freebsd[6-7]* ) l_ostype=freebsd6 ;;
*-freebsd5* ) l_ostype=freebsd5 ;;
*-freebsd4* ) l_ostype=freebsd4 ;;
*-freebsd* ) l_ostype=bsd4.4 ;;
*-sunos5.[8-9] | *-sunos5.10 ) l_ostype=solaris8 ;;
*-sunos* ) l_ostype=solaris2 ;;
*-linux* ) l_ostype=linux ;;
esac
for name in `grep "^/d" -e "/<\/file>/,\$d" >$name
%{l_shtool} install -c -m 644 %{l_value -s -a} \
-e "s;@@l_hostname@@;${l_hostname};g" \
-e "s;@@l_domainname@@;${l_domainname};g" \
-e "s;@@l_ostype@@;${l_ostype};g" \
$name $RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/
done
@
1.130.2.4
log
@MFC: make up leeway for 2_STABLE by virtue of build-time results
@
text
@d3 2
a4 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d35 2
a36 2
Version: 8.14.0
Release: 2.20070207
d198 1
d214 1
d225 7
d259 15
@
1.129
log
@upgrading package: sendmail 8.13.6 -> 8.13.7
@
text
@d36 1
a36 1
Release: 20060614
d55 2
d108 1
@
1.128
log
@upgrading package: sendmail 8.13.5 -> 8.13.6
@
text
@d35 2
a36 2
Version: 8.13.6
Release: 20060322
@
1.127
log
@pass C compiler and flags to the build process (submitted by: Joerg Lehrke)
@
text
@d35 2
a36 2
Version: 8.13.5
Release: 20060219
@
1.126
log
@adjust copyrights for new year 2006
@
text
@d36 1
a36 1
Release: 20050917
d148 2
a149 1
( echo "define(\`confMAPDEF', \`-DMAP_REGEX')dnl"
@
1.125
log
@upgrading package: sendmail 8.13.4 -> 8.13.5
@
text
@d3 2
a4 2
## Copyright (c) 2000-2005 OpenPKG Foundation e.V.
## Copyright (c) 2000-2005 Ralf S. Engelschall
@
1.125.2.1
log
@bump release numbers for OpenPKG 2.5
@
text
@d36 1
a36 1
Release: 2.5.0
d59 2
a60 2
BuildPreReq: OpenPKG, openpkg >= 2.5.0, m4, gcc, make
PreReq: OpenPKG, openpkg >= 2.5.0, m4, make, perl, procmail
@
1.125.2.2
log
@apply large vendor security fix (CVE-2006-0058)
@
text
@d36 1
a36 1
Release: 2.5.1
a54 1
Patch1: ftp://ftp.sendmail.org/pub/sendmail/8.13.5.p0
d105 1
a105 1
%patch -p0 -P 0 1
@
1.124
log
@upgrading package: sendmail 8.13.3 -> 8.13.4
@
text
@d35 2
a36 2
Version: 8.13.4
Release: 20050328
@
1.124.2.1
log
@bump release numbers for OpenPKG 2.4
@
text
@d36 1
a36 1
Release: 2.4.0
d59 2
a60 2
BuildPreReq: OpenPKG, openpkg >= 2.4.0, m4, gcc, make
PreReq: OpenPKG, openpkg >= 2.4.0, m4, make, perl, procmail
@
1.124.2.2
log
@apply large vendor security fix (CVE-2006-0058)
@
text
@d36 1
a36 1
Release: 2.4.1
a54 1
Patch1: ftp://ftp.sendmail.org/pub/sendmail/8.13.5.p0
a105 1
sed -e '/^diff -ru sendmail\/version\.c/,$d' <%{PATCH1} | %{l_patch} -s -p0
@
1.123
log
@Adjust the copyright declaration in this (RSE's) copy of the OpenPKG
source code now that the fork point for C&W was established (CVS tag
OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is
no longer active (as C&W no longer officially sponsors OpenPKG) and the
new shared copyright from RSE can be taken over by the newly established
juristic entity OpenPKG Foundation e.V. (instead of the non-juristic
entity OpenPKG Project).
@
text
@d35 2
a36 2
Version: 8.13.3
Release: 20050210
a54 1
Patch1: http://www.sendmail.org/patches/close_wait.p2
d105 1
a105 2
%patch -p0 -P 0
%patch -p0 -d sendmail -P 1
@
1.122
log
@apply vendor patch
@
text
@d2 3
a4 4
## sendmail.spec -- OpenPKG RPM Specification
## Copyright (c) 2000-2005 The OpenPKG Project
## Copyright (c) 2000-2005 Ralf S. Engelschall
## Copyright (c) 2000-2005 Cable & Wireless
d30 1
a30 1
Packager: The OpenPKG Project
@
1.122.2.1
log
@bump release numbers for OpenPKG 2.3
@
text
@d37 1
a37 1
Release: 2.3.0
d61 2
a62 2
BuildPreReq: OpenPKG, openpkg >= 2.3.0, m4, gcc, make
PreReq: OpenPKG, openpkg >= 2.3.0, m4, make, perl, procmail
@
1.122.2.2
log
@apply large vendor security fix (CVE-2006-0058)
@
text
@d37 1
a37 1
Release: 2.3.1
a56 1
Patch2: ftp://ftp.sendmail.org/pub/sendmail/8.13.5.p0
a108 1
sed -e '/^diff -ru sendmail\/version\.c/,$d' <%{PATCH2} | %{l_patch} -s -p0
@
1.121
log
@fix building under Solaris 10 (final release version)
@
text
@d56 1
d107 2
a108 1
%patch -p0
@
1.120
log
@- Add ability to enable IPV6 support
- Enable PICKY_HELO_CHECK warning by default
- Add ability to enable "socket" map functionality
Submitted by: Stephane Lentz
@
text
@d37 1
a37 1
Release: 20050209
@
1.119
log
@upgrading package: sendmail 8.13.2 -> 8.13.3
@
text
@d37 1
a37 1
Release: 20050112
d40 8
a47 6
%option with_fsl yes
%option with_milter yes
%option with_ssl no
%option with_sasl no
%option with_ldap no
%option with_mysql no
d208 8
@
1.118
log
@Happy New Year 2005
@
text
@d36 2
a37 2
Version: 8.13.2
Release: 20041231
@
1.117
log
@correctly disable MILTER support and switch MILTER on by default
@
text
@d3 3
a5 3
## Copyright (c) 2000-2004 The OpenPKG Project
## Copyright (c) 2000-2004 Ralf S. Engelschall
## Copyright (c) 2000-2004 Cable & Wireless
@
1.116
log
@upgrading package: sendmail 8.13.1 -> 8.13.2
@
text
@d37 1
a37 1
Release: 20041216
d41 1
a43 1
%option with_milter no
d191 1
a191 1
echo "APPENDDEF(\`conf_sendmail_ENVDEF', \`-DMILTER')dnl"
d193 2
@
1.115
log
@conditionally specify missing realtime functions library
@
text
@d36 2
a37 2
Version: 8.13.1
Release: 20041208
@
1.114
log
@upgrading package: sendmail 8.13.0 -> 8.13.1
@
text
@d37 1
a37 1
Release: 20040801
d140 6
d177 1
a177 1
echo "APPENDDEF(\`confLIBS', \`%{l_fsl_libs} -ldb')dnl"
@
1.114.2.1
log
@bump release numbers for OpenPKG 2.2
@
text
@d37 1
a37 1
Release: 2.2.0
d58 2
a59 2
BuildPreReq: OpenPKG, openpkg >= 2.2.0, m4, gcc, make
PreReq: OpenPKG, openpkg >= 2.2.0, m4, make, perl, procmail
@
1.113
log
@bless for BASE class
@
text
@d36 2
a37 2
Version: 8.13.0
Release: 20040702
@
1.113.2.1
log
@bump release numbers for OpenPKG 2.1
@
text
@d37 1
a37 1
Release: 2.1.0
d58 2
a59 2
BuildPreReq: OpenPKG, openpkg >= 2.1.0, m4, gcc, make
PreReq: OpenPKG, openpkg >= 2.1.0, m4, make, perl, procmail
@
1.112
log
@upgrading package: sendmail 8.12.11 -> 8.13.0
@
text
@d33 1
a33 1
Class: PLUS
d37 1
a37 1
Release: 20040621
@
1.111
log
@Include Sendmail PID file handling patch.
Submitted by: Darrell Fuhriman
@
text
@d36 2
a37 2
Version: 8.12.11
Release: 20040510
a53 1
Patch1: sendmail.patch.pidfile
d104 1
a104 1
%patch -p0 -P 0 1
@
1.110
log
@s/tar\.Z/tar\.gz/g
Submitted by: Birger Krägelin
@
text
@d37 1
a37 1
Release: 20040405
d54 1
d105 1
a105 1
%patch -p0
@
1.109
log
@unsetenv() will be added in Solaris 10 but is not yet available in our Solaris 10beta
@
text
@d37 1
a37 1
Release: 20040211
@
1.109.2.1
log
@bump release numbers for OpenPKG 2.0
@
text
@d37 1
a37 1
Release: 2.0.0
d58 2
a59 2
BuildPreReq: OpenPKG, openpkg >= 2.0.0, m4, gcc, make
PreReq: OpenPKG, openpkg >= 2.0.0, m4, make, perl, procmail
@
1.109.2.2
log
@MFC: s/tar\.Z/tar\.gz/g
@
text
@d37 1
a37 1
Release: 2.0.1
@
1.108
log
@Mass Commit:
reduce redundancy within .spec files by referencing
macros defining vendor source versions whenever possible.
This was half-way automated and half-way manually edited.
As a result the PMOD activity in 95% of all cases
just means editing the version in one single place, only.
@
text
@d37 1
a37 1
Release: 20040207
@
1.107
log
@remove all numbers immediately following %setup/%patch to ease overriding of these macros and thus make version tracking working; also clean up option order; do not use setup/patch number when only one file exists but enforce patch number on multiple files
@
text
@d37 1
a37 1
Release: 20040205
d95 1
a95 1
version = 8.12.11
@
1.106
log
@Mass-Commit:
- split "Distribution" header into "Distribution" (old) and "Class"
(new) headers by moving the attached class information.
- embed the vendor version tracking configuration through the
new "%track" section.
- bump up the OpenPKG bootstrap dependency, because the "Class" header
and "%track" section are only supported by our latest bootstrap version.
@
text
@d37 1
a37 1
Release: 20040203
d103 1
a103 1
%setup -q -D -T -a 1
@
1.105
log
@bump year in copyright messages to cover new year 2004. This is a CVS only commit -- no packages were rolled intentionally
@
text
@d32 2
a33 1
Distribution: OpenPKG [PLUS]
d37 1
a37 1
Release: 20040121
d58 2
a59 2
BuildPreReq: OpenPKG, openpkg >= 20030909, m4, gcc, make
PreReq: OpenPKG, openpkg >= 20030909, m4, make, perl, procmail
d92 7
@
1.104
log
@cleanup consistency of options by renaming some of them
@
text
@d3 3
a5 3
## Copyright (c) 2000-2003 The OpenPKG Project
## Copyright (c) 2000-2003 Ralf S. Engelschall
## Copyright (c) 2000-2003 Cable & Wireless
@
1.103
log
@upgrading package: sendmail 8.12.10 -> 8.12.11
@
text
@d36 1
a36 1
Release: 20040119
d40 1
a40 1
%option with_tls no
d65 1
a65 1
%if "%{with_tls}" == "yes"
d166 1
a166 1
%if "%{with_tls}" == "yes"
@
1.102
log
@switch from compress/uncompress to gzip (because strange platforms like SuSE not even have compress/uncompress)
@
text
@d35 2
a36 2
Version: 8.12.10
Release: 20031023
@
1.101
log
@force usage of /dev/urandom (issue on Solaris 8) reported and fix contributed by Steffen Weinreich
@
text
@d36 1
a36 1
Release: 20031020
d246 1
a246 1
compress $RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/cf.tar
@
1.100
log
@remove garbage at end of submit.m4 file
@
text
@d36 1
a36 1
Release: 20030920
d168 1
@
1.99
log
@simplify packaging by reducing the number of required subshells
@
text
@d36 1
a36 1
Release: 20030919
@
1.98
log
@remove broken and unportable newline-containing sed(1) construct with unpretty but portable and working construct
@
text
@d94 3
a96 7
%setup0 -q -c
%setup1 -q -T -D -a 1
# apply patches for MySQL map support
( cd sendmail-%{version}
%{l_patch} -p1 <%{PATCH sendmail.patch}
) || exit $?
d99 10
a108 12
( cd sendmail-%{version}
%{l_shtool} subst \
-e 's;ln -s *;$(LN) $(LNOPTS) $(DESTDIR);' \
-e 's;chown;true;g' \
-e 's;chgrp;true;g' \
Makefile */Makefile */Makefile.m4 */*/Makefile
%{l_shtool} subst \
-e 's;\$chown;true;g' \
-e 's;chgrp;true;g' \
-e 's;chmod;true;g' \
devtools/bin/install.sh
) || exit $?
d111 1
a111 3
( cd sendmail-%{version}
%{l_tar} xf %{SOURCE cf.tar}
) || exit $?
d114 5
a118 6
( cd sendmail-%{version}
( echo "#ifdef _PATH_SENDMAIL"
echo "#undef _PATH_SENDMAIL"
echo "#endif"
) >sed.include
%{l_shtool} subst \
d124 1
a124 2
rm -f sed.include
) || exit $?
d127 39
a165 42
# build Sendmail
( cd sendmail-%{version}
# indicate with a plus sign that we use a patched version
%{l_shtool} subst \
-e 's;\(Version\[\][^"]*\)"[^"]*";\1"%{version}+";' \
sendmail/version.c
# configure Sendmail
( echo "define(\`confMAPDEF', \`-DMAP_REGEX')dnl"
echo "define(\`confSBINOWN', \`%{l_musr}')dnl"
echo "define(\`confSBINGRP', \`%{l_mgrp}')dnl"
echo "define(\`confUBINOWN', \`%{l_musr}')dnl"
echo "define(\`confUBINGRP', \`%{l_mgrp}')dnl"
echo "define(\`confMANOWN', \`%{l_musr}')dnl"
echo "define(\`confMANGRP', \`%{l_mgrp}')dnl"
echo "define(\`confEBINDIR', \`%{l_prefix}/libexec/sendmail')dnl"
echo "define(\`confHFDIR', \`%{l_prefix}/etc/sendmail')dnl"
echo "define(\`confHFFILE', \`sendmail.help')dnl"
echo "define(\`confINCLUDEDIR', \`%{l_prefix}/include/sendmail')dnl"
echo "define(\`confINSTALL_RAWMAN', \`1')dnl"
echo "define(\`confLIBDIR', \`%{l_prefix}/lib/sendmail')dnl"
echo "define(\`confMANROOT', \`%{l_prefix}/man/cat')dnl"
echo "define(\`confMANROOTMAN', \`%{l_prefix}/man/man')dnl"
echo "define(\`confMBINDIR', \`%{l_prefix}/sbin')dnl"
echo "define(\`confSBINDIR', \`%{l_prefix}/sbin')dnl"
echo "define(\`confSHAREDLIBDIR', \`%{l_prefix}/lib')dnl"
echo "define(\`confSTDIR', \`%{l_prefix}/var/sendmail')dnl"
echo "define(\`confSTFILE', \`sendmail.stat')dnl"
echo "define(\`confUBINDIR', \`%{l_prefix}/bin')dnl"
echo "define(\`confLNOPTS', \`-f')dnl"
echo "define(\`confFORCE_RMAIL', \`yes')dnl"
echo "APPENDDEF(\`confMSP_QUEUE_DIR',\`%{l_prefix}/var/sendmail/clientmqueue')dnl"
echo "APPENDDEF(\`confENVDEF', \`-D_PATH_SENDMAILCF=\\\"%{l_prefix}/etc/sendmail/sendmail.cf\\\"')dnl"
echo "APPENDDEF(\`confENVDEF', \`-D_PATH_SENDMAILPID=\\\"%{l_prefix}/var/sendmail/sendmail.pid\\\"')dnl"
echo "APPENDDEF(\`confENVDEF', \`-D_DIR_SENDMAILCF=\\\"%{l_prefix}/etc/sendmail/\\\"')dnl"
echo "APPENDDEF(\`confENVDEF', \`-DNEWDB')dnl"
echo "APPENDDEF(\`confINCDIRS', \`%{l_cppflags}')dnl"
echo "APPENDDEF(\`confLIBDIRS', \`%{l_ldflags}')dnl"
echo "APPENDDEF(\`confLIBS', \`%{l_fsl_libs} -ldb')dnl"
echo "define(\`confSTDIO_TYPE', \`portable')dnl"
echo "APPENDDEF(\`confENVDEF', \`-DDNSMAP')dnl"
d167 2
a168 2
echo "APPENDDEF(\`conf_sendmail_ENVDEF', \`-DSTARTTLS')dnl"
echo "APPENDDEF(\`conf_sendmail_LIBS', \`-lssl -lcrypto')dnl"
d171 3
a173 3
echo "APPENDDEF(\`confENVDEF', \`-DSASL=1')dnl"
echo "APPENDDEF(\`confINCDIRS', \`%{l_cppflags sasl .}')dnl"
echo "APPENDDEF(\`confLIBS', \`-lsasl2 -lcrypto')dnl"
d176 2
a177 2
echo "APPENDDEF(\`conf_sendmail_ENVDEF', \`-DMILTER')dnl"
echo "APPENDDEF(\`conf_libmilter_ENVDEF', \`-D_FFR_MILTER_ROOT_UNSAFE')dnl"
d180 3
a182 3
echo "APPENDDEF(\`confMAPDEF', \`-DLDAPMAP')dnl"
echo "APPENDDEF(\`confENVDEF', \`-DSM_CONF_LDAP_MEMFREE=1')dnl"
echo "APPENDDEF(\`confLIBS', \`-lldap -llber -lssl -lcrypto')dnl"
d185 3
a187 3
echo "APPENDDEF(\`confMAPDEF',\`-DMYSQLMAP')dnl"
echo "APPENDDEF(\`confINCDIRS',\`%{l_cppflags mysql .}')dnl"
echo "APPENDDEF(\`confLIBS',\`%{l_ldflags mysql .} -lmysqlclient -lz -lm')dnl"
d189 1
a189 1
) >devtools/Site/site.config.m4
d191 2
a192 2
# build Sendmail package
%{l_make} %{l_mflags}
d195 4
a198 4
# have to separately invoke "Build" script in libmilter dir
( cd libmilter
./Build
) || exit $?
a199 1
) || exit $?
d222 5
a226 6
( cd sendmail-%{version}
%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT \
INSTALL=`pwd`/devtools/bin/install.sh \
MAILDIR=%{l_prefix}/etc/sendmail
mv $RPM_BUILD_ROOT%{l_prefix}/bin/rmail \
$RPM_BUILD_ROOT%{l_prefix}/sbin/rmail
d229 28
a256 29
# install libraries and includes for building milters
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/include/libmilter
%{l_shtool} install -c -m 644 \
include/libmilter/*.h \
$RPM_BUILD_ROOT%{l_prefix}/include/libmilter/
%{l_shtool} install -c -m 644 \
obj.*/libsm/libsm.a \
obj.*/libsmutil/libsmutil.a \
obj.*/libsmdb/libsmdb.a \
obj.*/libmilter/libmilter.a \
$RPM_BUILD_ROOT%{l_prefix}/lib/
%endif
# remember the Sendmail M4 stuff for re-configuration
( %{l_tar} cf $RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/cf.tar cf ) || exit $?
compress $RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/cf.tar
%{l_shtool} install -c -m 644 cf/README \
$RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/cf.README
%{l_shtool} install -c -m 755 \
-e 's;^#!.*;#!%{l_prefix}/bin/perl;' \
contrib/re-mqueue.pl $RPM_BUILD_ROOT%{l_prefix}/sbin/re-mqueue
%{l_shtool} install -c -m 755 \
-e 's;^#!.*;#!%{l_prefix}/bin/perl;' \
contrib/qtool.pl $RPM_BUILD_ROOT%{l_prefix}/sbin/qtool
%{l_shtool} install -c -m 755 \
-e 's;^#!.*;#!%{l_prefix}/bin/perl;' \
contrib/qtool.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/qtool.8
) || exit $?
@
1.97
log
@convert to new %{l_platform} world order
@
text
@d36 1
a36 1
Release: 20030918
d123 4
d130 1
a130 1
-e 's;\(include *.*\);\1\n#ifdef _PATH_SENDMAIL\n#undef _PATH_SENDMAIL\n#endif;g' \
d133 1
@
1.96
log
@Implemented features in ticket #202, though this means that sendmail no longer listens on all IPs by default (and thus must be configured before operation)
@
text
@d57 2
a58 2
BuildPreReq: OpenPKG, openpkg >= 20030718, m4, gcc, make
PreReq: OpenPKG, openpkg >= 20030718, m4, make, perl, procmail
d274 1
a274 1
case "%{l_target}" in
d277 2
a278 2
*-solaris2.8) l_ostype=solaris8 ;;
*-solaris*) l_ostype=solaris2 ;;
@
1.95
log
@upgrading package: sendmail 8.12.9 -> 8.12.10
@
text
@d36 1
a36 1
Release: 20030917
d344 8
d359 6
d368 3
a370 1
$RPM_INSTALL_PREFIX/etc/rc sendmail stop >/dev/null 2>&1 || true
d383 1
@
1.94
log
@fix perl path for re-mqueue
@
text
@d35 2
a36 2
Version: 8.12.9
Release: 20030801
@
1.93
log
@sort conflict for MTA providers
@
text
@d36 1
a36 1
Release: 20030723
d258 3
a260 2
%{l_shtool} install -c -m 755 contrib/re-mqueue.pl \
$RPM_BUILD_ROOT%{l_prefix}/sbin/re-mqueue
@
1.92
log
@achieve robust subshell handling by consistently using '(...) || exit 0' constructs to make sure the scripts fail if a subshell fails
@
text
@d84 1
a84 1
Conflicts: ssmtp, exim, postfix
@
1.91
log
@%status and pidfile handling, use simple 'rc reload' for logfile rotation
@
text
@d99 2
a100 1
%{l_patch} -p1 <%{PATCH sendmail.patch} )
d114 1
a114 1
)
d119 1
a119 1
)
d129 1
a129 1
)
d254 1
a254 1
(%{l_tar} cf $RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/cf.tar cf)
d345 1
a345 1
(cd $RPM_INSTALL_PREFIX/etc/sendmail; %{l_make} all >/dev/null 2>&1 || true)
d347 1
a347 1
(cd $RPM_INSTALL_PREFIX/etc/sendmail; %{l_make} clean all >/dev/null 2>&1 || true)
d356 1
a356 1
)
@
1.90
log
@cleanup the priority: move 200 to 500 and because 500 is default just ommit it; fix DNS/NTP/etc. dependencies
@
text
@d36 1
a36 1
Release: 20030722
@
1.89
log
@speclint police: achieve semantical consistency for patch references
@
text
@d36 1
a36 1
Release: 20030721
@
1.88
log
@PR#210: shtool options space before argument
@
text
@d99 1
a99 1
%{l_patch} -p1 <%{SOURCE sendmail.patch} )
@
1.87
log
@replace opXXXX with rcXXXX (PR#207)
@
text
@d36 1
a36 1
Release: 20030719
@
1.86
log
@fix PR#204, use new %{l_value -s ...}
@
text
@d36 1
a36 1
Release: 20030717
d57 2
a58 2
BuildPreReq: OpenPKG, openpkg >= 20030717, m4, gcc, make
PreReq: OpenPKG, openpkg >= 20030717, m4, make, perl, procmail
@
1.85
log
@fsllint police: fix ident/default
@
text
@d36 1
a36 1
Release: 20030715
d57 2
a58 2
BuildPreReq: OpenPKG, openpkg >= 20030710, m4, gcc, make
PreReq: OpenPKG, openpkg >= 20030710, m4, make, perl, procmail
d259 2
a260 1
%{l_shtool} install -c -m 755 -e 's;^#!.*;#!%{l_prefix}/bin/perl;' \
d262 2
a263 1
%{l_shtool} install -c -m 755 -e 's;^#!.*;#!%{l_prefix}/bin/perl;' \
d279 1
a279 6
%{l_shtool} install -c -m 644 \
-e 's;@@l_prefix@@;%{l_prefix};g' \
-e 's;@@l_musr@@;%{l_musr};g' \
-e 's;@@l_mgrp@@;%{l_mgrp};g' \
-e 's;@@l_rusr@@;%{l_rusr};g' \
-e 's;@@l_rgrp@@;%{l_rgrp};g' \
d288 1
a288 5
%{l_shtool} install -c -m 755 \
-e 's;@@l_prefix@@;%{l_prefix};g' \
-e 's;@@l_susr@@;%{l_susr};g' \
-e 's;@@l_musr@@;%{l_musr};g' \
-e 's;@@l_mgrp@@;%{l_mgrp};g' \
d303 1
a303 2
%{l_shtool} install -c -m 644 \
-e 's;@@l_prefix@@;%{l_prefix};g' \
@
1.84
log
@fix PR#182 append option for l2_channel_file now default and deprecated in fsl >= 1.2.0
@
text
@d36 1
a36 1
Release: 20030714
@
1.83
log
@use new openpkg_rc_def variable in run-command scripts for allowing the admin to change the global default for xxx_enable
@
text
@d36 1
a36 1
Release: 20030710
d62 2
a63 2
BuildPreReq: fsl
PreReq: fsl
@
1.82
log
@switch to the syntax for %{l_cppflags} amd %{l_ldflags}
@
text
@d36 1
a36 1
Release: 20030709
d57 2
a58 2
BuildPreReq: OpenPKG, openpkg >= 20030709, m4, gcc, make
PreReq: OpenPKG, openpkg >= 20030709, m4, make, perl, procmail
@
1.81
log
@cleanup copyright part by using just the main company name of Cable & Wireless and adding the URL to the global website
@
text
@d36 1
a36 1
Release: 20030708
d57 2
a58 2
BuildPreReq: OpenPKG, openpkg >= 20030708, m4, gcc, make
PreReq: OpenPKG, openpkg >= 20030708, m4, make, perl, procmail
d179 1
a179 1
echo "APPENDDEF(\`confINCDIRS', \`%{l_cppflags . -sasl')dnl}"
d193 2
a194 2
echo "APPENDDEF(\`confINCDIRS',\`%{l_cppflags . -mysql')dnl}"
echo "APPENDDEF(\`confLIBS',\`%{l_ldflags . -mysql} -lmysqlclient -lz -lm')dnl"
@
1.80
log
@finish modernization of build flags through %{l_ldflags} and %{l_cppflags}
@
text
@a2 1
## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
d5 1
@
1.79
log
@various style cleanups and adjustments
@
text
@d57 2
a58 2
BuildPreReq: OpenPKG, openpkg >= 20030516, m4, gcc, make
PreReq: OpenPKG, openpkg >= 20030516, m4, make, perl, procmail
d168 2
a169 2
echo "APPENDDEF(\`confINCDIRS', \`-I%{l_prefix}/include')dnl"
echo "APPENDDEF(\`confLIBDIRS', \`-L%{l_prefix}/lib')dnl"
d179 1
a179 1
echo "APPENDDEF(\`confINCDIRS', \`-I%{l_prefix}/include/sasl')dnl"
d193 2
a194 2
echo "APPENDDEF(\`confINCDIRS',\`-I%{l_prefix}/include/mysql')dnl"
echo "APPENDDEF(\`confLIBS',\`-L%{l_prefix}/lib/mysql -lmysqlclient -lz -lm')dnl"
@
1.78
log
@remove now officially deprecated usage of %{name} macro
@
text
@d36 1
a36 1
Release: 20030707
d308 1
a308 1
# OSSP fake syslog library
@
1.77
log
@add libraries to PreReq
@
text
@d312 1
a312 1
%{SOURCE fsl.%{name}} \
d326 1
a326 1
'%config %{l_prefix}/etc/fsl/fsl.%{name}' \
@
1.76
log
@rename patch file and apply it unconditionally because it is #ifdef'ed anyway (and this way it later can be converted to %patch more easily
@
text
@d36 1
a36 1
Release: 20030704
d57 1
a57 1
BuildPreReq: OpenPKG, openpkg >= 20030516, m4, gcc, make, db >= 4.1.25
d59 2
d67 1
d71 1
d75 1
d79 1
@
1.75
log
@mysql3 is a 'faked' package for mysql (and not an 'alternative' package as our definition states), so configure it and use it this way
@
text
@d52 1
a52 1
Patch0: sendmail-8.12.0-mysqlmap.patch
d90 2
a91 1
%if "%{with_mysql}" == "yes"
d93 2
a94 3
%{l_patch} -p1 <%{SOURCE sendmail-8.12.0-mysqlmap.patch}
)
%endif
@
1.74
log
@avoid platform specific path to pid-file
@
text
@d36 1
a36 1
Release: 20030629
d73 1
a73 1
BuildPreReq: MYSQL
@
1.73
log
@resurrect old way of rotation which includes a daemon restart
@
text
@d36 1
a36 1
Release: 20030628
d120 1
@
1.72
log
@add/unify log file trimming
@
text
@d36 1
a36 1
Release: 20030624
@
1.71
log
@make fsl optional with default yes, as promised for the next release
@
text
@d36 1
a36 1
Release: 20030623
@
1.70
log
@avoid chmod in install.sh
@
text
@d36 1
a36 1
Release: 20030612
d39 1
d57 6
a62 2
BuildPreReq: OpenPKG, openpkg >= 20030516, m4, fsl, gcc, make, db >= 4.1.25
PreReq: OpenPKG, openpkg >= 20030516, m4, fsl, make, perl, procmail
d163 1
a163 1
echo "APPENDDEF(\`confLIBS', \`-lfsl -ldb')dnl"
a244 7
# install OSSP fsl support
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/fsl
%{l_shtool} install -c -m 644 \
-e 's;@@l_prefix@@;%{l_prefix};g' \
%{SOURCE fsl.sendmail} \
$RPM_BUILD_ROOT%{l_prefix}/etc/fsl/
d301 7
d315 1
a315 1
# determine file list
d318 2
a331 2
'%config %{l_prefix}/etc/fsl/fsl.sendmail' \
'%not %dir %{l_prefix}/etc/fsl' \
@
1.69
log
@fix hardcoded platform-specific paths
@
text
@d36 1
a36 1
Release: 20030605
d100 1
@
1.68
log
@remove obsoleted chmod
@
text
@d36 1
a36 1
Release: 20030530
d108 9
d294 1
@
1.67
log
@polishing, support MSP mode
@
text
@d36 1
a36 1
Release: 20030509
d56 2
a57 2
BuildPreReq: OpenPKG, openpkg >= 20030103, m4, fsl, gcc, make, db >= 4.1.25
PreReq: OpenPKG, openpkg >= 20030103, m4, fsl, make, perl, procmail
a112 1
chmod u+w sendmail/version.c
@
1.66
log
@fix typo
@
text
@d36 1
a36 1
Release: 20030508
a290 2
touch $RPM_BUILD_ROOT%{l_prefix}/var/sendmail/sendmail.in.pid
touch $RPM_BUILD_ROOT%{l_prefix}/var/sendmail/sendmail.out.pid
d295 1
d321 1
a321 2
'%attr(644,%{l_susr},%{l_mgrp}) %{l_prefix}/var/sendmail/sendmail.log' \
'%attr(644,%{l_susr},%{l_mgrp}) %{l_prefix}/var/sendmail/sendmail.*.pid'
d339 11
a349 1
(cd $RPM_INSTALL_PREFIX/etc/sendmail/; %{l_make} clean >/dev/null 2>&1 || true)
@
1.65
log
@pounce install routines to ignore chown/chgrp and leave this to rpm
@
text
@d142 1
a142 1
echo "APPENDDEF(\`confMSP_QUEUE_DIR',\`%{l_prefix}/var/sendmail/clientmqeue')dnl"
@
1.64
log
@supply libs+includes to milter builders
@
text
@d36 1
a36 1
Release: 20030409
d90 12
d142 1
a209 29
myusr=`(id -un) 2>/dev/null ||\
(whoami) 2>/dev/null ||\
(who am i | cut "-d " -f1) 2>/dev/null ||\
echo $LOGNAME`
mygrp=`(cat /etc/passwd; ypcat passwd) 2>/dev/null |\
grep "^${myusr}:" | awk -F: '{ print $4; }' | head -1`
mygrp=`(cat /etc/group; ypcat group) 2>/dev/null |\
grep ":${mygrp}:" | awk -F: '{ print $1; }' | head -1`
%{l_shtool} subst \
-e "s;^\\(SBINOWN.*=\\).*;\\1 $myusr;" \
-e "s;^\\(SBINGRP.*=\\).*;\\1 $mygrp;" \
-e "s;^\\(UBINOWN.*=\\).*;\\1 $myusr;" \
-e "s;^\\(UBINGRP.*=\\).*;\\1 $mygrp;" \
-e "s;^\\(GBINOWN.*=\\).*;\\1 $myusr;" \
-e "s;^\\(GBINGRP.*=\\).*;\\1 $mygrp;" \
-e "s;^\\(MANOWN.*=\\).*;\\1 $myusr;" \
-e "s;^\\(MANGRP.*=\\).*;\\1 $mygrp;" \
-e "s;^\\(CFOWN.*=\\).*;\\1 $myusr;" \
-e "s;^\\(CFGRP.*=\\).*;\\1 $mygrp;" \
-e "s;^\\(MBINOWN.*=\\).*;\\1 $myusr;" \
-e "s;^\\(MBINGRP.*=\\).*;\\1 $mygrp;" \
-e "s;^\\(MSPQOWN.*=\\).*;\\1 $myusr;" \
-e "s;^\\(MSPQGRP.*=\\).*;\\1 $mygrp;" \
-e "s;^\\(LIBOWN.*=\\).*;\\1 $myusr;" \
-e "s;^\\(LIBGRP.*=\\).*;\\1 $mygrp;" \
-e "s;^\\(INCOWN.*=\\).*;\\1 $myusr;" \
-e "s;^\\(INCGRP.*=\\).*;\\1 $mygrp;" \
-e 's;ln -s *;$(LN) $(LNOPTS) $(DESTDIR);' \
Makefile */Makefile */*/Makefile
d211 2
a212 1
MSPQ=%{l_prefix}$MSPQ MAILDIR=%{l_prefix}
a296 1
chmod -R u+w $RPM_BUILD_ROOT%{l_prefix}/
@
1.63
log
@add optional mysql map support
@
text
@d36 1
a36 1
Release: 20030408
d166 8
a173 1
)
d231 15
d264 1
a264 1
)
d288 1
a288 1
)
@
1.62
log
@get rid of certainly bogus stuff
@
text
@d36 1
a36 1
Release: 20030405
d43 1
d51 1
d67 3
d85 5
d157 5
d291 3
a293 3
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* 2> /dev/null || true
strip $RPM_BUILD_ROOT%{l_prefix}/sbin/* 2> /dev/null || true
strip $RPM_BUILD_ROOT%{l_prefix}/libexec/sendmail/* 2> /dev/null || true
@
1.61
log
@speclint police
@
text
@a95 4
# add linker flag defs for fsl(3)
LDFLAGS="`%{l_prefix}/bin/fsl-config --ldflags --all`"
LIBS="`%{l_prefix}/bin/fsl-config --libs --all`"
@
1.60
log
@fix README install
@
text
@d36 1
a36 1
Release: 20030330
d97 2
a98 2
LDFLAGS="`%{l_prefix}/bin/fsl-config --ldflags --all`" \
LIBS="`%{l_prefix}/bin/fsl-config --libs --all`" \
@
1.59
log
@upgrading package: sendmail 8.12.8 -> 8.12.9
@
text
@d36 1
a36 1
Release: 20030329
d224 1
a224 1
$RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/submit.cf
@
1.58
log
@rc script and spec file clean up
@
text
@d35 2
a36 2
Version: 8.12.8
Release: 20030328
@
1.57
log
@fix MSP permissions and add config
@
text
@d36 1
a36 1
Release: 20030327
d261 1
d287 12
a298 12
'%attr(2755,root,%{l_rgrp}) %{l_prefix}/sbin/sendmail' \
'%attr(4755,root,%{l_mgrp}) %{l_prefix}/bin/hoststat' \
'%attr(4755,root,%{l_mgrp}) %{l_prefix}/bin/mailq' \
'%attr(4755,root,%{l_mgrp}) %{l_prefix}/bin/newaliases' \
'%attr(4755,root,%{l_mgrp}) %{l_prefix}/bin/purgestat' \
'%attr(4755,root,%{l_mgrp}) %{l_prefix}/bin/vacation' \
'%attr(4755,root,%{l_mgrp}) %{l_prefix}/libexec/sendmail/smrsh' \
'%attr(755,root,%{l_mgrp}) %{l_prefix}/etc/sendmail' \
'%config %{l_prefix}/etc/sendmail/*' \
'%config %attr(644,root,%{l_mgrp}) %{l_prefix}/etc/sendmail/ca.crt' \
'%config %attr(644,root,%{l_mgrp}) %{l_prefix}/etc/sendmail/sendmail.crt' \
'%config %attr(600,root,%{l_mgrp}) %{l_prefix}/etc/sendmail/sendmail.key' \
d301 6
a306 6
'%attr(700,root,%{l_mgrp}) %{l_prefix}/var/sendmail/mqueue' \
'%attr(700,root,%{l_mgrp}) %{l_prefix}/var/sendmail/mqueue/.hoststat' \
'%attr(770,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/sendmail/clientmqueue' \
'%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/sendmail/clientmqueue/.hoststat' \
'%attr(644,root,%{l_mgrp}) %{l_prefix}/var/sendmail/sendmail.log' \
'%attr(644,root,%{l_mgrp}) %{l_prefix}/var/sendmail/sendmail.*.pid'
@
1.56
log
@update 8.12.7 -> 8.12.8, security bug fix, also factors in last patch
@
text
@d36 1
a36 1
Release: 20030304
d126 1
d224 1
a224 1
$RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/cf.README
d249 2
d266 1
a266 1
%{l_shtool} mkdir -f -p -m 700 \
d269 1
a269 1
%{l_shtool} mkdir -f -p -m 770 \
d301 3
a303 1
'%attr(700,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/sendmail/clientmqueue' \
@
1.55
log
@kick out remaining/broken lmtp2nntp stuff; remove tar dependency (tar is part of the bootstrap package)
@
text
@d35 2
a36 2
Version: 8.12.7
Release: 20030205
a49 1
Patch0: http://www.sendmail.org/~ca/email/patches/proto.m4.8.649.2.14
a79 3
( cd sendmail-%{version}/cf/m4
%patch0
)
@
1.54
log
@require procmail at run-time because our config uses procmail as local mailer
@
text
@d36 1
a36 1
Release: 20030204
d55 1
a55 1
BuildPreReq: OpenPKG, openpkg >= 20030103, m4, fsl, tar, gcc, make, db >= 4.1.25
@
1.53
log
@factored out option-specific configurations
@
text
@d36 1
a36 1
Release: 20030130
d56 1
a56 1
PreReq: OpenPKG, openpkg >= 20030103, m4, fsl, make, perl
@
1.52
log
@fix proto.m4, remove SASL options from config file to avoid warnings
@
text
@d36 1
a36 1
Release: 20030129
@
1.51
log
@upgrade to PLUS class
@
text
@d36 1
a36 1
Release: 20030114
d50 1
d81 3
@
1.51.2.1
log
@Welcome OPENPKG_1_STABLE branch...
@
text
@d36 1
a36 1
Release: 1.20030114
d54 2
a55 2
BuildPreReq: OpenPKG, openpkg >= 1.20030103, m4, fsl, tar, gcc, make, db >= 4.1.25
PreReq: OpenPKG, openpkg >= 1.20030103, m4, fsl, make, perl
@
1.51.2.2
log
@CAN-2002-1337
@
text
@d36 1
a36 1
Release: 1.20030304
a49 1
Patch0: ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.12.security.cr.patch
a79 4
# apply security patch
( cd sendmail-%{version}
%patch0 -p0
)
@
1.51.2.3
log
@SA-2003.027; CAN-2003-0161; fix MSP permissions and add config"
@
text
@d36 1
a36 1
Release: 1.20030330
a50 1
Patch1: ftp://ftp.sendmail.org/pub/sendmail/prescan.tar.gz.uu
a84 6
# another security patch
( cd sendmail-%{version}
uudecode -p < %{PATCH prescan.tar.gz.uu} | gunzip -c | tar -xf -
cd sendmail
%{l_patch} < ../prescan.8.12.patch
)
a130 1
echo "APPENDDEF(\`confENVDEF', \`-D_DIR_SENDMAILCF=\\\"%{l_prefix}/etc/sendmail/\\\"')dnl"
a252 2
-e 's;@@l_rusr@@;%{l_rusr};g' \
-e 's;@@l_rgrp@@;%{l_rgrp};g' \
d303 1
a303 3
'%attr(700,root,%{l_mgrp}) %{l_prefix}/var/sendmail/mqueue/.hoststat' \
'%attr(770,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/sendmail/clientmqueue' \
'%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/sendmail/clientmqueue/.hoststat' \
@
1.51.2.4
log
@- uudecode -p is not portable (Linux doesn't support it)
- use %{l_tar} and %{l_gzip} and remove dependency to tar
- remove extra whitespaces
@
text
@d56 1
a56 1
BuildPreReq: OpenPKG, openpkg >= 1.20030103, m4, fsl, gcc, make, db >= 4.1.25
d88 1
a88 2
uudecode <%{PATCH prescan.tar.gz.uu}
%{l_gzip} -d -c prescan.tar.gz | %{l_tar} xf -
d90 1
a90 1
%{l_patch} <../prescan.8.12.patch
@
1.51.2.5
log
@mass Merge-From-CURRENT (MFC) in preparation for OpenPKG 1.3 [class PLUS only]
@
text
@d3 1
a5 1
## Copyright (c) 2000-2003 Cable & Wireless
d35 2
a36 2
Version: 8.12.9
Release: 1.20030724
a38 1
%option with_fsl yes
a42 1
%option with_mysql no
d50 2
a51 1
Patch0: sendmail.patch
d56 2
a57 8
BuildPreReq: OpenPKG, openpkg >= 1.20030724, m4, gcc, make
PreReq: OpenPKG, openpkg >= 1.20030724, m4, make, perl, procmail
BuildPreReq: db >= 4.1.25
PreReq: db >= 4.1.25
%if "%{with_fsl}" == "yes"
BuildPreReq: fsl >= 1.2.0
PreReq: fsl >= 1.2.0
%endif
a59 1
PreReq: openssl
a62 1
PreReq: sasl, openssl
a65 5
PreReq: openldap, openssl
%endif
%if "%{with_mysql}" == "yes"
BuildPreReq: mysql
PreReq: mysql
d70 1
a70 1
Conflicts: exim, postfix, ssmtp
d82 1
a82 2
# apply patches for MySQL map support
d84 3
a86 4
%{l_patch} -p1 <%{PATCH sendmail.patch}
) || exit $?
# make install process unprivileged
d88 5
a92 11
%{l_shtool} subst \
-e 's;ln -s *;$(LN) $(LNOPTS) $(DESTDIR);' \
-e 's;chown;true;g' \
-e 's;chgrp;true;g' \
Makefile */Makefile */Makefile.m4 */*/Makefile
%{l_shtool} subst \
-e 's;\$chown;true;g' \
-e 's;chgrp;true;g' \
-e 's;chmod;true;g' \
devtools/bin/install.sh
) || exit $?
d97 1
a97 11
) || exit $?
# override platform-specific definitions
( cd sendmail-%{version}
%{l_shtool} subst \
-e 's;\(define *SMRSH_CMDDIR *\).*;\1 "%{l_prefix}/var/sendmail/sm.bin";g' \
-e 's;\(define *_PATH_SENDMAIL *\).*;\1 "%{l_prefix}/sbin/sendmail";g' \
-e 's;\(include *.*\);\1\n#ifdef _PATH_SENDMAIL\n#undef _PATH_SENDMAIL\n#endif;g' \
-e '/undef *_PATH_SENDMAILPID/d' \
include/sendmail/pathnames.h include/sm/conf.h
) || exit $?
d104 1
d109 4
a136 1
echo "APPENDDEF(\`confMSP_QUEUE_DIR',\`%{l_prefix}/var/sendmail/clientmqueue')dnl"
d141 3
a143 3
echo "APPENDDEF(\`confINCDIRS', \`%{l_cppflags}')dnl"
echo "APPENDDEF(\`confLIBDIRS', \`%{l_ldflags}')dnl"
echo "APPENDDEF(\`confLIBS', \`%{l_fsl_libs} -ldb')dnl"
d152 1
a152 1
echo "APPENDDEF(\`confINCDIRS', \`%{l_cppflags sasl .}')dnl"
a163 5
%if "%{with_mysql}" == "yes"
echo "APPENDDEF(\`confMAPDEF',\`-DMYSQLMAP')dnl"
echo "APPENDDEF(\`confINCDIRS',\`%{l_cppflags mysql .}')dnl"
echo "APPENDDEF(\`confLIBS',\`%{l_ldflags mysql .} -lmysqlclient -lz -lm')dnl"
%endif
d168 1
a168 8
%if "%{with_milter}" == "yes"
# have to separately invoke "Build" script in libmilter dir
( cd libmilter
./Build
) || exit $?
%endif
) || exit $?
d192 29
d222 1
a222 2
INSTALL=`pwd`/devtools/bin/install.sh \
MAILDIR=%{l_prefix}/etc/sendmail
d226 2
a227 7
%if "%{with_milter}" == "yes"
# install libraries and includes for building milters
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/include/libmilter
%{l_shtool} install -c -m 644 \
include/libmilter/*.h \
$RPM_BUILD_ROOT%{l_prefix}/include/libmilter/
d229 3
a231 6
obj.*/libsm/libsm.a \
obj.*/libsmutil/libsmutil.a \
obj.*/libsmdb/libsmdb.a \
obj.*/libmilter/libmilter.a \
$RPM_BUILD_ROOT%{l_prefix}/lib/
%endif
d234 1
a234 1
( %{l_tar} cf $RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/cf.tar cf ) || exit $?
d240 1
a240 2
%{l_shtool} install -c -m 755 \
-e 's;^#!.*;#!%{l_prefix}/bin/perl;' \
d242 1
a242 2
%{l_shtool} install -c -m 755 \
-e 's;^#!.*;#!%{l_prefix}/bin/perl;' \
d244 1
a244 1
) || exit $?
d258 6
a263 1
%{l_shtool} install -c -m 644 %{l_value -s -a} \
d268 1
a268 1
) || exit $?
d272 4
a275 1
%{l_shtool} install -c -m 755 %{l_value -s -a} \
d279 1
a279 2
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/var/sendmail/sm.bin \
d282 1
a282 1
%{l_shtool} mkdir -f -p -m 755 \
d285 2
a288 6
# install OSSP fsl configuration
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/fsl
%{l_shtool} install -c -m 644 %{l_value -s -a} \
%{SOURCE fsl.sendmail} \
$RPM_BUILD_ROOT%{l_prefix}/etc/fsl/
d291 4
a294 4
rm -f $RPM_BUILD_ROOT%{l_prefix}/etc/sendmail/submit.cf
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* 2>/dev/null || true
strip $RPM_BUILD_ROOT%{l_prefix}/sbin/* 2>/dev/null || true
strip $RPM_BUILD_ROOT%{l_prefix}/libexec/sendmail/* 2>/dev/null || true
d296 1
a296 1
# determine installation files
d299 13
d313 6
a318 18
'%config %{l_prefix}/etc/fsl/fsl.sendmail' \
'%attr(2755,%{l_susr},%{l_rgrp}) %{l_prefix}/sbin/sendmail' \
'%attr(4755,%{l_susr},%{l_mgrp}) %{l_prefix}/bin/hoststat' \
'%attr(4755,%{l_susr},%{l_mgrp}) %{l_prefix}/bin/mailq' \
'%attr(4755,%{l_susr},%{l_mgrp}) %{l_prefix}/bin/newaliases' \
'%attr(4755,%{l_susr},%{l_mgrp}) %{l_prefix}/bin/purgestat' \
'%attr(4755,%{l_susr},%{l_mgrp}) %{l_prefix}/bin/vacation' \
'%attr(4755,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/sendmail/smrsh' \
'%attr(755,%{l_susr},%{l_mgrp}) %{l_prefix}/etc/sendmail' \
'%config %{l_prefix}/etc/sendmail/*' \
'%config %attr(644,%{l_susr},%{l_mgrp}) %{l_prefix}/etc/sendmail/ca.crt' \
'%config %attr(644,%{l_susr},%{l_mgrp}) %{l_prefix}/etc/sendmail/sendmail.crt' \
'%config %attr(600,%{l_susr},%{l_mgrp}) %{l_prefix}/etc/sendmail/sendmail.key' \
'%attr(700,%{l_susr},%{l_mgrp}) %{l_prefix}/var/sendmail/mqueue' \
'%attr(700,%{l_susr},%{l_mgrp}) %{l_prefix}/var/sendmail/mqueue/.hoststat' \
'%attr(770,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/sendmail/clientmqueue' \
'%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/sendmail/clientmqueue/.hoststat' \
'%attr(644,%{l_susr},%{l_mgrp}) %{l_prefix}/var/sendmail/sendmail.log'
d327 1
a327 1
( cd $RPM_INSTALL_PREFIX/etc/sendmail; %{l_make} all >/dev/null 2>&1 || true ) || true
d329 1
a329 1
( cd $RPM_INSTALL_PREFIX/etc/sendmail; %{l_make} clean all >/dev/null 2>&1 || true ) || true
d336 1
a336 11
( cd $RPM_INSTALL_PREFIX/etc/sendmail/;
%{l_make} distclean >/dev/null 2>&1 || true
) || true
d=$RPM_INSTALL_PREFIX/var/sendmail/mqueue/.hoststat/*
if [ ."$d" != . ]; then
rm -rf $d
fi
d=$RPM_INSTALL_PREFIX/var/sendmail/clientmqueue/.hoststat/*
if [ ."$d" != . ]; then
rm -rf $d
fi
@
1.51.2.6
log
@MFC: changes since last merge
@
text
@d36 1
a36 1
Release: 1.20030801
d258 2
a259 3
%{l_shtool} install -c -m 755 \
-e 's;^#!.*;#!%{l_prefix}/bin/perl;' \
contrib/re-mqueue.pl $RPM_BUILD_ROOT%{l_prefix}/sbin/re-mqueue
@
1.51.2.5.2.1
log
@bump release numbers on OpenPKG 1.3-STABLE branch for OpenPKG 1.3.0-RELEASE
@
text
@d36 1
a36 1
Release: 1.3.0
d57 2
a58 2
BuildPreReq: OpenPKG, openpkg >= 1.3.0, m4, gcc, make
PreReq: OpenPKG, openpkg >= 1.3.0, m4, make, perl, procmail
@
1.51.2.5.2.2
log
@MFS: changes since last merge
@
text
@d258 2
a259 3
%{l_shtool} install -c -m 755 \
-e 's;^#!.*;#!%{l_prefix}/bin/perl;' \
contrib/re-mqueue.pl $RPM_BUILD_ROOT%{l_prefix}/sbin/re-mqueue
@
1.51.2.5.2.3
log
@apply security bugfixes (CAN-2003-0694 & CAN-2003-0681) plus the sed(1) portability fix from CURRENT
@
text
@d36 1
a36 1
Release: 1.3.1
d97 1
a97 1
# apply patches for MySQL map support and Security Bugfixes
d99 1
a99 1
%{l_patch} -p0 <%{PATCH sendmail.patch}
a122 4
( echo "#ifdef _PATH_SENDMAIL"
echo "#undef _PATH_SENDMAIL"
echo "#endif"
) >sed.include
d126 1
a126 1
-e '/# *include *.*/r sed.include' \
a128 1
rm -f sed.include
@
1.51.2.5.2.4
log
@fix typo in prolog/epilog; force usage of /dev/urandom (issue on Solaris 8) both reported and fix contributed by Steffen Weinreich
@
text
@d36 1
a36 1
Release: 1.3.2
a180 1
echo "APPENDDEF(\`conf_sendmail_ENVDEF', \`-DHASURANDOMDEV')dnl"
@
1.51.2.1.2.1
log
@bump versions and dependencies for OpenPKG 1.2
@
text
@d36 1
a36 1
Release: 1.2.0
d54 2
a55 2
BuildPreReq: OpenPKG, openpkg >= 1.2.0, m4, fsl, tar, gcc, make, db >= 4.1.25
PreReq: OpenPKG, openpkg >= 1.2.0, m4, fsl, make, perl
@
1.51.2.1.2.2
log
@MFS: CAN-2002-1337
@
text
@d36 1
a36 1
Release: 1.2.1
a49 1
Patch0: ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.12.security.cr.patch
a79 4
# apply security patch
( cd sendmail-%{version}
%patch0 -p0
)
@
1.51.2.1.2.3
log
@MFS: SA-2003.027; CAN-2003-0161; fix MSP permissions and add config
@
text
@d36 1
a36 1
Release: 1.2.2
a50 1
Patch1: ftp://ftp.sendmail.org/pub/sendmail/prescan.tar.gz.uu
a84 6
# another security patch
( cd sendmail-%{version}
uudecode -p < %{PATCH prescan.tar.gz.uu} | gunzip -c | tar -xf -
cd sendmail
%{l_patch} < ../prescan.8.12.patch
)
a130 1
echo "APPENDDEF(\`confENVDEF', \`-D_DIR_SENDMAILCF=\\\"%{l_prefix}/etc/sendmail/\\\"')dnl"
a252 2
-e 's;@@l_rusr@@;%{l_rusr};g' \
-e 's;@@l_rgrp@@;%{l_rgrp};g' \
d303 1
a303 3
'%attr(700,root,%{l_mgrp}) %{l_prefix}/var/sendmail/mqueue/.hoststat' \
'%attr(770,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/sendmail/clientmqueue' \
'%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/sendmail/clientmqueue/.hoststat' \
@
1.51.2.1.2.4
log
@- uudecode -p is not portable (Linux doesn't support it)
- use %{l_tar} and %{l_gzip} and remove dependency to tar
- remove extra whitespaces
@
text
@d56 1
a56 1
BuildPreReq: OpenPKG, openpkg >= 1.2.0, m4, fsl, gcc, make, db >= 4.1.25
d88 1
a88 2
uudecode <%{PATCH prescan.tar.gz.uu}
%{l_gzip} -d -c prescan.tar.gz | %{l_tar} xf -
d90 1
a90 1
%{l_patch} <../prescan.8.12.patch
@
1.51.2.1.2.5
log
@SA-2003.037; dnsmap free on uninitialized data
@
text
@d36 1
a36 1
Release: 1.2.3
a51 1
Patch2: http://www.sendmail.org/sm_resolve.c.p1
a91 5
)
# yet another security patch
( cd sendmail-%{version}
cd sendmail
%{l_patch} <%{PATCH sm_resolve.c.p1}
@
1.51.2.1.2.6
log
@apply security bugfixes (CAN-2003-0694 & CAN-2003-0681)
@
text
@d36 1
a36 1
Release: 1.2.4
a52 1
Patch3: sendmail.patch
d92 1
a92 1
%{l_patch} -p0 <../prescan.8.12.patch
d97 1
a97 5
%{l_patch} -p0 <%{PATCH sm_resolve.c.p1}
)
# yet another security patch
( cd sendmail-%{version}
%{l_patch} -p0 <%{PATCH sendmail.patch}
d99 1
@
1.50
log
@upgrade to new %option world order
@
text
@d32 1
a32 1
Distribution: OpenPKG [EVAL]
d36 1
a36 1
Release: 20030103
@
1.49
log
@bump of Copyright messages for forthcoming years 2003
@
text
@a25 6
# package options
%option with_tls no
%option with_sasl no
%option with_milter no
%option with_ldap no
d36 7
a42 1
Release: 20021230
d54 2
a55 2
BuildPreReq: OpenPKG, openpkg >= 20021230, m4, fsl, tar, gcc, make, db >= 4.1.25
PreReq: OpenPKG, openpkg >= 20021230, m4, fsl, make, perl
a74 2
%options -p11
@
1.48
log
@switch to new %options
@
text
@d3 3
a5 3
## Copyright (c) 2000-2002 Cable & Wireless Deutschland GmbH
## Copyright (c) 2000-2002 The OpenPKG Project
## Copyright (c) 2000-2002 Ralf S. Engelschall
@
1.47
log
@be pedantic about indentation
@
text
@d27 4
a30 12
%ifndef with_tls
%define with_tls no
%endif
%ifndef with_sasl
%define with_sasl no
%endif
%ifndef with_milter
%define with_milter no
%endif
%ifndef with_ldap
%define with_ldap no
%endif
d54 2
a55 2
BuildPreReq: OpenPKG, openpkg, m4, fsl, tar, gcc, make, db >= 4.1.25
PreReq: OpenPKG, openpkg, m4, fsl, make, perl
d76 1
a76 5
Options:
--define 'with_tls %{with_tls}'
--define 'with_sasl %{with_sasl}'
--define 'with_milter %{with_milter}'
--define 'with_ldap %{with_ldap}'
@
1.46
log
@upgrading package: sendmail 8.12.6 -> 8.12.7
@
text
@d27 2
a28 2
%ifndef with_tls
%define with_tls no
d30 2
a31 2
%ifndef with_sasl
%define with_sasl no
d33 2
a34 2
%ifndef with_milter
%define with_milter no
d36 2
a37 2
%ifndef with_ldap
%define with_ldap no
@
1.45
log
@fixed/adapted config files
@
text
@d26 13
a38 9
# TODO:
# 1 User, group ids in %files must be reviewed
# 2 default config files use 8.11.6 options
# build options
%{!?with_tls: %define with_tls yes}
%{!?with_sasl: %define with_sasl no}
%{!?with_milter: %define with_milter no}
%{!?with_ldap: %define with_ldap no}
d49 2
a50 2
Version: 8.12.6
Release: 20021211
a57 5
Patch0: http://www.sendmail.org/patches/smrsh-20020924.patch
Patch1: http://www.sendmail.org/patches/proto.m4.8.649.2.13
Patch2: http://www.sendmail.org/~ca/email/patches/recipient.c.8.330.2.1
Patch3: http://www.sendmail.org/~ca/email/patches/proto.m4.8.646
Patch4: sendmail-db4.patch
d62 1
a62 1
BuildPreReq: OpenPKG, openpkg, m4, fsl, tar, gcc, make, db
d79 4
a82 3
Sendmail is the most popular Mail Transfer Agent (MTA). This copy contains
features specific to the OpenPKG distribution including fsl(3) logging
rather than syslog(3) and STARTTLS support by default.
d85 4
a88 4
--define 'with_tls %{with_tls}'
--define 'with_sasl %{with_sasl}'
--define 'with_milter %{with_milter}'
--define 'with_ldap %{with_ldap}'
a93 13
( cd sendmail-%{version}/smrsh
%patch0 -p0
)
( cd sendmail-%{version}/cf/m4
%patch1 -p0
)
( cd sendmail-%{version}/sendmail
%patch2 -p0
)
( cd sendmail-%{version}/cf/m4
%patch3 -p0
)
%patch4 -p0
@
1.44
log
@make db4 patch conditional, remove some dependencies, make tls/sasl/ldap/milter options
@
text
@d46 1
a46 1
Release: 20021210
@
1.43
log
@reduce to remaining issues
@
text
@d30 6
d46 1
a46 1
Release: 20021205
d56 3
a58 1
Patch2: sendmail-db4.patch
d63 11
a73 2
BuildPreReq: OpenPKG, openpkg >= 20020206, m4, fsl, tar, gcc, make, db >= 4.1.24, openssl
PreReq: OpenPKG, openpkg >= 20020206, m4, fsl, make, perl
d84 6
d94 1
a94 1
( cd sendmail-%{version}/smrsh ;
d100 7
a106 1
%patch2 -p0
d158 2
a160 1
echo "APPENDDEF(\`conf_sendmail_ENVDEF', \`-DDNEWDB')dnl"
d162 15
d292 2
a293 1
$RPM_BUILD_ROOT%{l_prefix}/var/sendmail/mqueue/.hoststat \
@
1.42
log
@db4.1 adaption, fix config and permissions
@
text
@d28 1
a28 9
# 2 Test alot (also with smtpfeed)
#
# Bugs:
# 1 All mitgelieferte config files use 8.11.6 options
# 2 Waehrend den %install kommt:
# NOTE: This version of mail.local is not suited for some operating
# systems such as HP-UX and Solaris. Please consult the
# README file in the mail.local directory. You can force
# the install using 'Build force-install'.
@
1.41
log
@fsl concatenates all fsl.* files and needs semicolon as separator
@
text
@d48 1
a48 1
Release: 20021112
d56 3
a58 1
Patch0: sendmail-db4.patch
d79 7
a85 1
%patch0 -p0
d255 3
a257 1
$RPM_BUILD_ROOT%{l_prefix}/var/sendmail/clientmqueue
d279 1
@
1.40
log
@Be more exact about db version requirement.
@
text
@d48 1
a48 1
Release: 20021022
@
1.39
log
@Repair build to conform to new Berkeley db 4.1.24 API.
@
text
@d48 1
a48 1
Release: 20021014
d61 1
a61 1
BuildPreReq: OpenPKG, openpkg >= 20020206, m4, fsl, tar, gcc, make, db, openssl
@
1.38
log
@Fixed fsl inclusion and related build logic.
@
text
@d48 1
a48 1
Release: 20020829
d56 1
d77 1
d124 1
d130 1
@
1.37
log
@Upgraded to 8.12.6, and added option text to comments.
@
text
@a37 5
# package options
%ifndef with_fsl
%define with_fsl no
%endif
d52 4
a55 5
Source1: ftp://ftp.openpkg.org/DST/inn/fakesyslog.tar.gz
Source2: fsl.sendmail
Source3: etc.sendmail.tar
Source4: cf.tar
Source5: rc.sendmail
d60 2
a61 6
BuildPreReq: OpenPKG, openpkg >= 20020206, m4, gcc, make, db, openssl
PreReq: OpenPKG, openpkg >= 20020206, m4, make, perl
%if "%{with_fsl}" == "yes"
BuildPreReq: fsl
PreReq: fsl
%endif
a71 3
Options:
with_fsl=%{with_fsl}
a74 1
%if "%{with_fsl}" != "yes"
a75 2
%endif
%setup3 -q -T -D -a 3
a82 12
# build faked syslog(3) library
%if "%{with_fsl}" != "yes"
fakesyslogdir="`pwd`/fakesyslog"
( cd fakesyslog
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O} -I%{l_prefix}/include" \
./configure \
--with-logfile=%{l_prefix}/var/sendmail/sendmail.log
%{l_make} %{l_mflags}
)
%endif
d92 3
a94 5
# conditionally add linker flag defs for fsl(3)
%if "%{with_fsl}" == "yes"
LDFLAGS="`%{l_prefix}/bin/fsl-config --ldflags --all`" \
LIBS="`%{l_prefix}/bin/fsl-config --libs --all`" \
%endif
a123 1
%if "%{with_fsl}" == "yes"
a124 3
%else
echo "APPENDDEF(\`confLIBS', \`-ldb')dnl"
%endif
d190 1
a190 2
# install optional OSSP fsl support
%if "%{with_fsl}" == "yes"
a195 1
%endif
a268 1
%if "%{with_fsl}" == "yes"
a270 1
%endif
@
1.36
log
@cleanup: remove $PATH fiddling, because already obsoleted by sane build environment
@
text
@d52 2
a53 2
Version: 8.12.5
Release: 20020822
d81 3
@
1.35
log
@Made fsl(3) linking conditional to fix broken lib path problem.
@
text
@a95 4
# make sure sendmail finds its own files
PATH="%{l_prefix}/bin:$PATH"
export PATH
a166 1
PATH="%{l_prefix}/bin:$PATH"; export PATH
@
1.34
log
@Correction and conditional additions for using fsl(3).
@
text
@d53 1
a53 1
Release: 20020821
d155 1
d157 3
@
1.33
log
@Linux problem was magically fixed, gcc is a requirement, and the only JUNK->REL showstopper now is linking with fsl.
@
text
@d27 2
a28 3
# 1 Link to fsl(3) and don't just build it
# 2 User, group ids in %files must be reviewed
# 3 Test alot (also with smtpfeed)
d49 1
a49 1
Distribution: OpenPKG [JUNK]
d53 1
a53 1
Release: 20020819
d107 1
a107 1
--with-logfile=%{l_prefix}/var/sendmail/log/sendmail.log
d121 6
d155 1
a155 1
echo "APPENDDEF(\`confLIBS', \`-ldb')dnl"
@
1.32
log
@Woohhooo: apply the new package classification system.
(CORE, BASE, PLUS, PRIV, EVAL, JUNK). A description of
them follows on the website soon.
@
text
@d29 1
a29 2
# 3 Fix sys_nerr on Linux platforms
# 4 Test alot (also with smtpfeed)
d54 1
a54 1
Release: 20020812
d67 1
a67 1
BuildPreReq: OpenPKG, openpkg >= 20020206, m4, make, db, openssl
@
1.31
log
@Added conflict indicator to other MTAs.
@
text
@d51 1
a51 1
Distribution: OpenPKG [BRK]
@
1.30
log
@make sure FSL config is equal to fakesyslog; remember TODO issue; update vcheck
@
text
@a30 1
# 5 RSE: I don't think SFIO is still required
d55 1
a55 1
Release: 20020810
d68 2
a69 2
BuildPreReq: OpenPKG, openpkg >= 20020206, m4, make, db, openssl, sfio
PreReq: OpenPKG, openpkg >= 20020206, m4, make, perl, procmail
d77 1
a77 1
Conflicts: ssmtp
d80 3
a82 7
Sendmail is the most popular Mail Transfer Agent (MTA).
Local specifics in this OpenPKG version:
o Sendmail uses two process pools (incoming and outgoing)
o Sendmail logs directly to the filesystem and not via syslog(3)
o Sendmail delivers local mail via Procmail to ~/.mail/inbox
o Sendmail by default supports STARTTLS
a148 1
echo "APPENDDEF(\`confENVDEF', \`-DSFIO')dnl"
a152 2
echo "APPENDDEF(\`confINCDIRS', \`-I%{l_prefix}/include/sfio')dnl"
echo "APPENDDEF(\`confLIBS', \`-lsfio')dnl"
@
1.29
log
@Add fsl option (not yet linking), and clean up sources.
@
text
@d31 1
d56 1
a56 1
Release: 20020809
@
1.28
log
@Verify that PreReq and BuildPreReq are correct, and try to fix package
conflict with ssmtp.
@
text
@d27 4
a30 3
# 1 Add fakesyslog library
# 2 User and group ids in file list must be reviewed
# 3 Test, test, and more test (also with smtpfeed)
d40 5
d59 5
a63 3
Source1: etc.sendmail.tar
Source2: cf.tar
Source2: rc.sendmail
d70 4
d91 1
d93 2
d102 15
a116 1
PATH="%{l_prefix}/bin:$PATH"; export PATH
d224 10
d306 4
@
1.27
log
@Corrected list of installed programs, and tried to verify their permissions.
@
text
@d27 3
a29 3
# 1 User and group ids in file list must be reviewed
# 2 Add fakesyslog library
# 3 See if BuildPreReq and PreReq lists are still correct
d65 1
@
1.26
log
@Autonomous patch code varies wildly from new Sendmail implementations. Also,
as stated in the smtpfeed docs the 3.3WIDE patch is not needed with Sendmail
v8.12.X as long as no special WIDE configurations are needed.
@
text
@d27 1
d29 1
a29 3
# 3 Make smtpfeed an option, possibly reducing patching
# 4 Ensure that no new programs are in $RPM_BUILD_ROOT left unaccounted in .spec
# 5 See if BuildPreReq and PreReq lists are still correct
d255 1
a255 1
'%attr(4755,root,%{l_rgrp}) %{l_prefix}/sbin/sendmail' \
d260 2
@
1.25
log
@Deleted an unused variable reference.
@
text
@a26 1
# 1 Check out if old patches are still relevant or needed
d50 1
a50 1
Release: 20020808
@
1.24
log
@It is building again on all but linux platforms, but I don't know if it works
yet.
@
text
@a40 2
%define V_sendmail 8.12.5
d50 1
a50 1
Version: %{V_sendmail}
d54 1
a54 1
Source0: ftp://ftp.sendmail.org/pub/sendmail/sendmail.%{V_sendmail}.tar.gz
d83 1
a83 1
( cd sendmail-%{V_sendmail}
d91 1
a91 1
( cd sendmail-%{V_sendmail}
d96 1
a96 1
-e 's;\(Version\[\][^"]*\)"[^"]*";\1"%{V_sendmail}+";' \
d162 1
a162 1
( cd sendmail-%{V_sendmail}
@
1.23
log
@strip trailing whitespaces
@
text
@d26 16
a41 2
%define V_sendmail 8.11.6
%define V_wide 8.11.6+3.4W
d53 1
a53 1
Release: 20020206
d57 3
a59 6
Source1: fakesyslog.tar.gz
Source2: etc.sendmail.tar
Source3: cf.tar
Source4: rc.sendmail
Patch0: ftp://ftp.kyoto.wide.ad.jp/pub/mail/sendmail/sendmail%{V_wide}.patch.gz
Patch1: sendmail.%{V_sendmail}.patch.autonomous
d64 2
a65 2
BuildPreReq: openpkg >= 20020206.0, m4, make, db, openssl, sfio, patch
PreReq: openpkg >= 20020206.0, m4, make, perl, procmail
d71 1
a71 1
Sendmail is the most-popular Mail Transfer Agent (MTA).
a82 8
%setup2 -q -T -D -a 2
# apply Sendmail patch manually
( cd sendmail-%{V_sendmail}/sendmail
%{l_gzip} -dc %{SOURCE sendmail%{V_wide}.patch.gz} |\
sed -e 's;LOG_INFO;LOG_DEBUG;' | %{l_patch} -p1
%{l_patch} -p1 <%{SOURCE sendmail.%{V_sendmail}.patch.autonomous}
)
a91 10
# build faked syslog(3) library
fakesyslogdir="`pwd`/fakesyslog"
( cd fakesyslog
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
./configure \
--with-logfile=%{l_prefix}/var/sendmail/sendmail.log
%{l_make} %{l_mflags}
)
a124 1
echo "APPENDDEF(\`confENVDEF', \`-DPATCH_AUTONOMOUS')dnl"
a135 2
echo "APPENDDEF(\`confLIBDIRS', \`-L$fakesyslogdir')dnl"
echo "APPENDDEF(\`confLIBS', \`-lfakesyslog')dnl"
d178 2
d182 10
d194 2
a195 1
%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
d242 3
a244 1
%{l_shtool} mkdir -f -p -m 700 $RPM_BUILD_ROOT%{l_prefix}/var/sendmail/mqueue
d259 1
a259 1
'%attr(4755,root,%{l_mgrp}) %{l_prefix}/sbin/sendmail' \
d264 1
a264 1
'%config %{l_prefix}/etc/sendmail/*' \
d269 1
@
1.22
log
@still broken
@
text
@d23 2
a24 2
## SUCH DAMAGE.
##
d83 1
a83 1
%{l_tar} xf %{SOURCE cf.tar}
d96 1
a96 1
%{l_make} %{l_mflags}
d149 1
a149 1
%{l_make} %{l_mflags}
d209 1
a209 1
( cd etc.sendmail
d272 1
a272 1
%post
@
1.21
log
@Because our latest GNU shtool 1.6.0 (as used in openpkg >= 20020206)
provides a full-featured "shtool subst" command, we finally switch from
our old "rpmtool subst cmd cmd ... -- file ..." to "shtool subst -e cmd
-e cmd ... file ...". Please do no longer use "rpmtool subst" because
its "subst" command will be removed soon, too.
@
text
@d35 1
a35 1
Distribution: OpenPKG [EXP]
@
1.20
log
@Switch to l_{s,m,r,n}{usr,grp}.
@
text
@d104 3
a106 3
%{l_rpmtool} subst \
's;\(Version\[\][^"]*\)"[^"]*";\1"%{V_sendmail}+";' \
-- sendmail/version.c
d183 9
a191 9
%{l_rpmtool} subst \
"s;^\\(SBINOWN.*=\\).*;\\1 $myusr;" \
"s;^\\(SBINGRP.*=\\).*;\\1 $mygrp;" \
"s;^\\(UBINOWN.*=\\).*;\\1 $myusr;" \
"s;^\\(UBINGRP.*=\\).*;\\1 $mygrp;" \
"s;^\\(MANOWN.*=\\).*;\\1 $myusr;" \
"s;^\\(MANGRP.*=\\).*;\\1 $mygrp;" \
's;ln -s *;$(LN) $(LNOPTS) $(DESTDIR);' \
-- Makefile */Makefile */*/Makefile
@
1.19
log
@replace double-quotes by single-quotes in substs if possible
@
text
@d39 1
a39 1
Release: 20011201
d53 2
a54 2
BuildPreReq: openpkg >= 20011126.0, m4, make, db, openssl, sfio, patch
PreReq: openpkg >= 20011126.0, m4, make, perl, procmail
d110 6
a115 6
echo "define(\`confSBINOWN', \`%{l_fsusr}')dnl"
echo "define(\`confSBINGRP', \`%{l_fsgrp}')dnl"
echo "define(\`confUBINOWN', \`%{l_fsusr}')dnl"
echo "define(\`confUBINGRP', \`%{l_fsgrp}')dnl"
echo "define(\`confMANOWN', \`%{l_fsusr}')dnl"
echo "define(\`confMANGRP', \`%{l_fsgrp}')dnl"
d222 2
a223 2
-e 's;@@l_fsusr@@;%{l_fsusr};g' \
-e 's;@@l_fsgrp@@;%{l_fsgrp};g' \
d234 2
a235 2
-e 's;@@l_fsusr@@;%{l_fsusr};g' \
-e 's;@@l_fsgrp@@;%{l_fsgrp};g' \
d254 5
a258 5
'%attr(4755,root,%{l_fsgrp}) %{l_prefix}/sbin/sendmail' \
'%attr(4755,root,%{l_fsgrp}) %{l_prefix}/bin/hoststat' \
'%attr(4755,root,%{l_fsgrp}) %{l_prefix}/bin/mailq' \
'%attr(4755,root,%{l_fsgrp}) %{l_prefix}/bin/newaliases' \
'%attr(4755,root,%{l_fsgrp}) %{l_prefix}/bin/purgestat' \
d260 6
a265 6
'%config %attr(644,root,%{l_fsgrp}) %{l_prefix}/etc/sendmail/ca.crt' \
'%config %attr(644,root,%{l_fsgrp}) %{l_prefix}/etc/sendmail/sendmail.crt' \
'%config %attr(600,root,%{l_fsgrp}) %{l_prefix}/etc/sendmail/sendmail.key' \
'%attr(700,root,%{l_fsgrp}) %{l_prefix}/var/sendmail/mqueue' \
'%attr(644,root,%{l_fsgrp}) %{l_prefix}/var/sendmail/sendmail.log' \
'%attr(644,root,%{l_fsgrp}) %{l_prefix}/var/sendmail/sendmail.*.pid'
@
1.18
log
@bump copyright years
@
text
@d221 3
a223 3
-e "s;@@l_prefix@@;%{l_prefix};g" \
-e "s;@@l_fsusr@@;%{l_fsusr};g" \
-e "s;@@l_fsgrp@@;%{l_fsgrp};g" \
@
1.17
log
@remove trailing zero to conform with new scheme
@
text
@d3 3
a5 3
## Copyright (c) 2000-2001 Cable & Wireless Deutschland GmbH
## Copyright (c) 2000-2001 The OpenPKG Project
## Copyright (c) 2000-2001 Ralf S. Engelschall
@
1.16
log
@reduce to experimental because it has problems
@
text
@d39 1
a39 1
Release: 20011201.0
@
1.15
log
@adjust distribution and release
@
text
@d35 1
a35 1
Distribution: OpenPKG [REL]
@
1.14
log
@Bump releases.
@
text
@d35 1
a35 1
Distribution: OpenPKG [EXP]
d39 1
a39 1
Release: 20011126.0
@
1.13
log
@add OpenPKG to copyright lines
@
text
@d39 1
a39 1
Release: 20011122.0
d53 2
a54 2
BuildPreReq: openpkg >= 0.9-24, m4, make, db, openssl, sfio, patch
PreReq: openpkg >= 0.9-24, m4, make, perl, procmail
@
1.12
log
@Hmmmm.... goodbye good thought out but in practice unusable %{l_branch}
variable. We have to use a static value here (implies manual editing again),
because else source and binary RPM filenames won't match if binary is built
one or more days after the source was rolled.
@
text
@d4 1
d39 1
a39 1
Release: 20011121.0
@
1.11
log
@strip binaries
@
text
@d38 1
a38 1
Release: %{l_branch}.0
@
1.10
log
@fakesyslog is local only
@
text
@d246 3
a248 2
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* 2> /dev/null || true
strip $RPM_BUILD_ROOT%{l_prefix}/sbin/* 2> /dev/null || true
@
1.9
log
@Remove smtpfeed and lmtp2nntp because these are now
already provided as separate packages.
@
text
@d42 1
a42 1
Source1: ftp://ftp.openpkg.org/DST/sendmail/fakesyslog.tar.gz
@
1.8
log
@install rmail command
@
text
@a26 2
%define V_smtpfeed 1.16
%define V_lmtp2nntp 1.0.0
d42 4
a45 6
Source1: ftp://ftp.kyoto.wide.ad.jp/pub/mail/smtpfeed/smtpfeed-%{V_smtpfeed}.tar.gz
Source2: ftp://ftp.ossp.org/pkg/lmtp2nntp/lmtp2nntp-%{V_lmtp2nntp}.tar.gz
Source3: etc.sendmail.tar
Source4: ftp://ftp.openpkg.org/DST/sendmail/fakesyslog.tar.gz
Source5: cf.tar
Source6: rc.sendmail
a64 1
o Sendmail by default uses SMTPfeed for outgoing mass-delivery
a71 2
%setup3 -q -T -D -a 3
%setup4 -q -T -D -a 4
a150 23
# build the LMTP mailer SMTPFeed
( cd smtpfeed-%{V_smtpfeed}
%{l_rpmtool} subst \
's;smtpfeed 1.[0-9]*;smtpfeed %{V_smtpfeed};' \
-- version.c
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
LDFLAGS="-L$fakesyslogdir" \
LIBS="-lfakesyslog" \
./configure \
--prefix=%{l_prefix}
%{l_make} %{l_mflags -O}
)
# build the LMTP mailer LMTP2NNTP
( cd lmtp2nntp-%{V_lmtp2nntp}
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
./configure \
--prefix=%{l_prefix}
%{l_make} %{l_mflags}
)
a204 16
)
# install SMTPFeed
( cd smtpfeed-%{V_smtpfeed}
%{l_shtool} install -c -s -m 755 \
smtpfeed $RPM_BUILD_ROOT%{l_prefix}/libexec/sendmail/
%{l_shtool} install -c -m 644 \
smtpfeed.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/
)
# install LMTP2NNTP
( cd lmtp2nntp-%{V_lmtp2nntp}
%{l_shtool} install -c -s -m 755 \
lmtp2nntp $RPM_BUILD_ROOT%{l_prefix}/libexec/sendmail/
%{l_shtool} install -c -m 644 \
lmtp2nntp.1 %$RPM_BUILD_ROOT%{l_prefix}/man/man8/lmtp2nntp.8
@
1.7
log
@Switch to using "YYYYMMDD.X" as Release for -CURRENT packages.
@
text
@d137 1
d222 2
@
1.6
log
@provide new born MTA variables
@
text
@d40 1
a40 1
Release: 14
@
1.5
log
@Cleanup:
1. Move "Group:" below "Distribution:"
2. Use "The OpenPKG Project" for "Packager:"
3. Add type tag to "Distribution:" (default is now EXP)
@
text
@d40 1
a40 1
Release: 13
d315 1
a315 1
(cd $RPM_INSTALL_PREFIX/etc/sendmail; %{l_make} all >/dev/null 2>&1)
d317 1
a317 1
(cd $RPM_INSTALL_PREFIX/etc/sendmail; %{l_make} clean all >/dev/null 2>&1)
d324 1
a324 1
(cd $RPM_INSTALL_PREFIX/etc/sendmail/; %{l_make} clean >/dev/null 2>&1)
@
1.4
log
@MSA is port 587 and not 987
@
text
@a32 1
Group: Mail
d35 3
a37 2
Packager: rse@@openpkg.org
Distribution: OpenPKG
@
1.3
log
@ops, forgot to bump release numbers
@
text
@d40 1
a40 1
Release: 12
@
1.2
log
@Change virtual package name from "mta" to "MTA" and also replace
"sendmail" requirements to "MTA" in order to allow packages to work with
Postfix instead of Sendmail.
@
text
@d40 1
a40 1
Release: 11
@
1.1
log
@Initial revision
@
text
@d60 1
a60 1
Provides: mta
@
1.1.1.1
log
@Import OpenPKG sources into CVS repository
@
text
@@