head	1.208;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.175
	OPENPKG_E1_MP:1.175
	OPENPKG_E1_MP_2_STABLE:1.167.2.2
	OPENPKG_E1_FP:1.167.2.2
	OPENPKG_2_STABLE_MP:1.167
	OPENPKG_2_STABLE_20061018:1.167.2.2
	OPENPKG_2_STABLE:1.167.0.2
	OPENPKG_CW_FP:1.148
	OPENPKG_1_STABLE_MP:1.88;
locks; strict;
comment	@-- @;


1.208
date	2009.09.23.18.49.47;	author rse;	state Exp;
branches;
next	1.207;
commitid	zbSXDy1iGSGBQP4u;

1.207
date	2009.09.19.07.24.36;	author rse;	state Exp;
branches;
next	1.206;
commitid	WxUmipOxbcFvbg4u;

1.206
date	2009.09.15.17.29.21;	author rse;	state Exp;
branches;
next	1.205;
commitid	nlKeX7rvWsuXEN3u;

1.205
date	2009.09.14.20.04.40;	author rse;	state Exp;
branches;
next	1.204;
commitid	9NX8cYkmKXweyG3u;

1.204
date	2009.09.13.18.59.49;	author rse;	state Exp;
branches;
next	1.203;
commitid	Vd0VdVC1fCWYdy3u;

1.203
date	2009.08.07.17.13.09;	author rse;	state Exp;
branches;
next	1.202;
commitid	DSHkM452Xu27PMYt;

1.202
date	2009.06.11.08.33.01;	author rse;	state Exp;
branches;
next	1.201;
commitid	Rruboy0TU8nhMpRt;

1.201
date	2009.05.29.17.15.19;	author rse;	state Exp;
branches;
next	1.200;
commitid	sLddfTWNsAsm5NPt;

1.200
date	2009.05.08.16.57.02;	author rse;	state Exp;
branches;
next	1.199;
commitid	JuVhCGqTa9VWE5Nt;

1.199
date	2009.05.06.18.43.02;	author rse;	state Exp;
branches;
next	1.198;
commitid	286CTdTFgDMijQMt;

1.198
date	2009.04.18.13.14.56;	author rse;	state Exp;
branches;
next	1.197;
commitid	4pHXU27WTIGCZuKt;

1.197
date	2009.04.18.07.58.51;	author rse;	state Exp;
branches;
next	1.196;
commitid	kVDPf0QMKURaktKt;

1.196
date	2009.01.08.20.00.27;	author rse;	state Exp;
branches;
next	1.195;
commitid	taASzTxVC611xGxt;

1.195
date	2008.11.13.07.50.31;	author rse;	state Exp;
branches;
next	1.194;
commitid	XxQYL5bXZ9pciqqt;

1.194
date	2008.08.19.16.20.15;	author rse;	state Exp;
branches;
next	1.193;
commitid	y6gDb3ane7ltSpft;

1.193
date	2008.07.25.19.10.06;	author rse;	state Exp;
branches;
next	1.192;
commitid	skEzZmgCOEQyCdct;

1.192
date	2008.07.12.12.37.28;	author rse;	state Exp;
branches;
next	1.191;
commitid	AgjglKYGsYELRvat;

1.191
date	2008.06.17.06.16.01;	author rse;	state Exp;
branches;
next	1.190;
commitid	JUDkN1fgDWkJyg7t;

1.190
date	2008.02.07.18.30.35;	author rse;	state Exp;
branches;
next	1.189;
commitid	NlMjgcOcfb8OPuQs;

1.189
date	2008.01.31.06.45.23;	author rse;	state Exp;
branches;
next	1.188;
commitid	hh4YKpGcP1RO9xPs;

1.188
date	2008.01.23.20.17.20;	author rse;	state Exp;
branches;
next	1.187;
commitid	Z8LtfiMHGZgjUzOs;

1.187
date	2008.01.01.15.04.07;	author rse;	state Exp;
branches;
next	1.186;
commitid	B8esaHJHoduuKILs;

1.186
date	2007.12.21.08.23.13;	author rse;	state Exp;
branches;
next	1.185;
commitid	ALxGCOsJuS461hKs;

1.185
date	2007.11.03.09.01.52;	author rse;	state Exp;
branches;
next	1.184;
commitid	jaH1JRgwwaK0M6Es;

1.184
date	2007.11.02.17.57.07;	author rse;	state Exp;
branches;
next	1.183;
commitid	di8iHKhpAQpDL1Es;

1.183
date	2007.10.02.10.33.53;	author rse;	state Exp;
branches;
next	1.182;
commitid	kfWSThPxzV0mj0As;

1.182
date	2007.09.07.09.32.22;	author rse;	state Exp;
branches;
next	1.181;
commitid	g9WbRrFkqAt4MMws;

1.181
date	2007.07.06.07.27.11;	author rse;	state Exp;
branches;
next	1.180;
commitid	VFl4WtCFktjG6Gos;

1.180
date	2007.06.22.11.01.43;	author rse;	state Exp;
branches;
next	1.179;
commitid	SHTWVKTIONh7KTms;

1.179
date	2007.06.11.17.48.48;	author cs;	state Exp;
branches;
next	1.178;
commitid	7FRUc88S7h3Llwls;

1.178
date	2007.05.17.13.31.47;	author rse;	state Exp;
branches;
next	1.177;
commitid	UBizE1q9EVepJhis;

1.177
date	2007.04.18.21.46.22;	author thl;	state Exp;
branches;
next	1.176;
commitid	WyQKNMwmoITBoBes;

1.176
date	2007.04.01.08.27.14;	author rse;	state Exp;
branches;
next	1.175;
commitid	xP8SYYB1B4KBwlcs;

1.175
date	2007.01.01.17.41.34;	author rse;	state Exp;
branches;
next	1.174;
commitid	BicZD6VUl7GuqP0s;

1.174
date	2006.12.22.08.19.33;	author rse;	state Exp;
branches;
next	1.173;
commitid	gUPtG3hP1ZigHuZr;

1.173
date	2006.12.20.19.35.49;	author rse;	state Exp;
branches;
next	1.172;
commitid	31yXVZBktwsfviZr;

1.172
date	2006.12.19.07.19.38;	author rse;	state Exp;
branches;
next	1.171;
commitid	XoAyLIff25tGs6Zr;

1.171
date	2006.12.17.09.27.08;	author rse;	state Exp;
branches;
next	1.170;
commitid	uLmw3ms6SVrpeRYr;

1.170
date	2006.11.19.07.52.09;	author rse;	state Exp;
branches;
next	1.169;
commitid	1tzlMt6MglZCBfVr;

1.169
date	2006.11.12.15.42.35;	author rse;	state Exp;
branches;
next	1.168;
commitid	6kemFw7f3txXqoUr;

1.168
date	2006.10.18.10.04.44;	author cs;	state Exp;
branches;
next	1.167;
commitid	Iw6f39YIapoRm9Rr;

1.167
date	2006.10.15.06.49.31;	author rse;	state Exp;
branches
	1.167.2.1;
next	1.166;
commitid	beWN1a3rccMSnKQr;

1.166
date	2006.10.13.17.33.51;	author thl;	state Exp;
branches;
next	1.165;
commitid	q5GSxzsSDX29XxQr;

1.165
date	2006.09.26.15.08.03;	author cs;	state Exp;
branches;
next	1.164;
commitid	bVkRkee487aMKlOr;

1.164
date	2006.09.23.12.13.03;	author rse;	state Exp;
branches;
next	1.163;
commitid	S7LN19SwnMeISWNr;

1.163
date	2006.08.25.19.19.01;	author rse;	state Exp;
branches;
next	1.162;
commitid	Tvsj1UyQ8rQ89gKr;

1.162
date	2006.06.06.10.22.16;	author rse;	state Exp;
branches;
next	1.161;
commitid	L3BRkfdVideWLVzr;

1.161
date	2006.01.12.20.39.23;	author rse;	state Exp;
branches;
next	1.160;
commitid	j5Hd1OvIRHGCQlhr;

1.160
date	2006.01.11.18.46.54;	author rse;	state Exp;
branches;
next	1.159;
commitid	X6VRAQJd8Yd1gdhr;

1.159
date	2006.01.07.08.22.10;	author rse;	state Exp;
branches;
next	1.158;
commitid	LW6aYjx1WPRFVDgr;

1.158
date	2006.01.01.13.21.35;	author rse;	state Exp;
branches;
next	1.157;
commitid	otZG8yKMCw1JFTfr;

1.157
date	2005.11.22.13.44.09;	author rse;	state Exp;
branches;
next	1.156;
commitid	xgOQeg7D1OqObLar;

1.156
date	2005.11.21.11.03.17;	author rse;	state Exp;
branches;
next	1.155;
commitid	xDT6AENkUTlBkCar;

1.155
date	2005.11.21.10.02.40;	author thl;	state Exp;
branches;
next	1.154;
commitid	PydZxJE3zYhOZBar;

1.154
date	2005.08.29.17.27.07;	author rse;	state Exp;
branches;
next	1.153;

1.153
date	2005.08.22.17.28.29;	author cs;	state Exp;
branches;
next	1.152;

1.152
date	2005.08.13.08.58.10;	author rse;	state Exp;
branches;
next	1.151;

1.151
date	2005.08.11.09.30.36;	author thl;	state Exp;
branches;
next	1.150;

1.150
date	2005.05.06.06.49.21;	author rse;	state Exp;
branches;
next	1.149;

1.149
date	2005.03.24.11.20.13;	author rse;	state Exp;
branches;
next	1.148;

1.148
date	2005.03.18.19.42.06;	author rse;	state Exp;
branches;
next	1.147;

1.147
date	2005.02.16.19.04.08;	author rse;	state Exp;
branches;
next	1.146;

1.146
date	2005.02.10.08.29.32;	author rse;	state Exp;
branches;
next	1.145;

1.145
date	2005.01.01.10.54.26;	author rse;	state Exp;
branches;
next	1.144;

1.144
date	2004.12.15.18.55.48;	author rse;	state Exp;
branches;
next	1.143;

1.143
date	2004.11.07.10.40.28;	author rse;	state Exp;
branches;
next	1.142;

1.142
date	2004.11.02.11.06.16;	author tho;	state Exp;
branches;
next	1.141;

1.141
date	2004.10.05.18.27.57;	author rse;	state Exp;
branches;
next	1.140;

1.140
date	2004.09.29.17.35.15;	author rse;	state Exp;
branches;
next	1.139;

1.139
date	2004.09.11.11.44.58;	author rse;	state Exp;
branches;
next	1.138;

1.138
date	2004.08.29.11.46.51;	author rse;	state Exp;
branches;
next	1.137;

1.137
date	2004.08.01.11.20.05;	author rse;	state Exp;
branches;
next	1.136;

1.136
date	2004.07.16.14.44.41;	author rse;	state Exp;
branches;
next	1.135;

1.135
date	2004.07.02.08.21.56;	author thl;	state Exp;
branches;
next	1.134;

1.134
date	2004.06.30.17.48.15;	author rse;	state Exp;
branches;
next	1.133;

1.133
date	2004.06.10.06.43.03;	author rse;	state Exp;
branches;
next	1.132;

1.132
date	2004.06.02.19.03.41;	author rse;	state Exp;
branches;
next	1.131;

1.131
date	2004.05.26.18.44.50;	author rse;	state Exp;
branches;
next	1.130;

1.130
date	2004.04.27.08.45.26;	author rse;	state Exp;
branches;
next	1.129;

1.129
date	2004.04.22.07.34.36;	author rse;	state Exp;
branches;
next	1.128;

1.128
date	2004.04.15.09.06.03;	author rse;	state Exp;
branches;
next	1.127;

1.127
date	2004.04.13.15.09.44;	author rse;	state Exp;
branches;
next	1.126;

1.126
date	2004.04.06.06.59.29;	author rse;	state Exp;
branches;
next	1.125;

1.125
date	2004.03.18.20.25.23;	author rse;	state Exp;
branches;
next	1.124;

1.124
date	2004.03.16.15.27.13;	author ms;	state Exp;
branches;
next	1.123;

1.123
date	2004.03.16.15.25.03;	author ms;	state Exp;
branches;
next	1.122;

1.122
date	2004.02.18.12.22.56;	author rse;	state Exp;
branches;
next	1.121;

1.121
date	2004.02.07.17.58.31;	author rse;	state Exp;
branches;
next	1.120;

1.120
date	2004.02.05.22.31.38;	author thl;	state Exp;
branches;
next	1.119;

1.119
date	2004.02.03.20.05.58;	author rse;	state Exp;
branches;
next	1.118;

1.118
date	2004.01.28.10.36.03;	author rse;	state Exp;
branches;
next	1.117;

1.117
date	2004.01.26.13.09.45;	author thl;	state Exp;
branches;
next	1.116;

1.116
date	2004.01.23.13.13.37;	author rse;	state Exp;
branches;
next	1.115;

1.115
date	2004.01.20.23.59.39;	author thl;	state Exp;
branches;
next	1.114;

1.114
date	2004.01.03.08.48.03;	author rse;	state Exp;
branches;
next	1.113;

1.113
date	2004.01.01.09.03.13;	author rse;	state Exp;
branches;
next	1.112;

1.112
date	2003.12.19.10.51.15;	author rse;	state Exp;
branches;
next	1.111;

1.111
date	2003.12.13.08.13.05;	author rse;	state Exp;
branches;
next	1.110;

1.110
date	2003.12.09.11.17.49;	author ms;	state Exp;
branches;
next	1.109;

1.109
date	2003.11.25.15.59.04;	author rse;	state Exp;
branches;
next	1.108;

1.108
date	2003.11.20.11.16.38;	author thl;	state Exp;
branches;
next	1.107;

1.107
date	2003.11.13.12.18.19;	author ms;	state Exp;
branches;
next	1.106;

1.106
date	2003.10.24.08.19.15;	author rse;	state Exp;
branches;
next	1.105;

1.105
date	2003.10.24.08.10.18;	author rse;	state Exp;
branches;
next	1.104;

1.104
date	2003.10.15.11.03.32;	author ms;	state Exp;
branches;
next	1.103;

1.103
date	2003.10.14.08.49.49;	author thl;	state Exp;
branches;
next	1.102;

1.102
date	2003.10.10.06.09.11;	author rse;	state Exp;
branches;
next	1.101;

1.101
date	2003.10.08.07.25.15;	author rse;	state Exp;
branches;
next	1.100;

1.100
date	2003.10.07.07.54.29;	author thl;	state Exp;
branches;
next	1.99;

1.99
date	2003.09.26.07.28.22;	author rse;	state Exp;
branches;
next	1.98;

1.98
date	2003.09.23.07.36.28;	author rse;	state Exp;
branches;
next	1.97;

1.97
date	2003.09.18.18.07.07;	author rse;	state Exp;
branches;
next	1.96;

1.96
date	2003.09.09.15.35.39;	author ms;	state Exp;
branches;
next	1.95;

1.95
date	2003.09.04.13.15.12;	author ms;	state Exp;
branches;
next	1.94;

1.94
date	2003.08.28.17.54.53;	author rse;	state Exp;
branches;
next	1.93;

1.93
date	2003.08.15.08.43.48;	author rse;	state Exp;
branches;
next	1.92;

1.92
date	2003.08.07.10.46.40;	author mlelstv;	state Exp;
branches;
next	1.91;

1.91
date	2003.08.06.10.02.04;	author mlelstv;	state Exp;
branches;
next	1.90;

1.90
date	2003.08.05.14.54.17;	author mlelstv;	state Exp;
branches;
next	1.89;

1.89
date	2003.08.01.08.01.57;	author rse;	state Exp;
branches;
next	1.88;

1.88
date	2003.07.25.06.00.17;	author rse;	state Exp;
branches;
next	1.87;

1.87
date	2003.07.23.08.25.30;	author thl;	state Exp;
branches;
next	1.86;

1.86
date	2003.07.22.08.11.08;	author rse;	state Exp;
branches;
next	1.85;

1.85
date	2003.07.21.12.16.56;	author rse;	state Exp;
branches;
next	1.84;

1.84
date	2003.07.21.07.19.43;	author rse;	state Exp;
branches;
next	1.83;

1.83
date	2003.07.19.17.06.25;	author rse;	state Exp;
branches;
next	1.82;

1.82
date	2003.07.18.06.55.43;	author rse;	state Exp;
branches;
next	1.81;

1.81
date	2003.07.17.15.33.12;	author thl;	state Exp;
branches;
next	1.80;

1.80
date	2003.07.15.06.54.12;	author thl;	state Exp;
branches;
next	1.79;

1.79
date	2003.07.14.07.31.01;	author thl;	state Exp;
branches;
next	1.78;

1.78
date	2003.07.13.18.39.43;	author rse;	state Exp;
branches;
next	1.77;

1.77
date	2003.07.10.17.40.01;	author mlelstv;	state Exp;
branches;
next	1.76;

1.76
date	2003.07.10.07.51.02;	author rse;	state Exp;
branches;
next	1.75;

1.75
date	2003.07.09.14.59.39;	author thl;	state Exp;
branches;
next	1.74;

1.74
date	2003.07.09.07.16.52;	author rse;	state Exp;
branches;
next	1.73;

1.73
date	2003.07.08.14.42.16;	author rse;	state Exp;
branches;
next	1.72;

1.72
date	2003.07.08.09.27.40;	author rse;	state Exp;
branches;
next	1.71;

1.71
date	2003.07.07.13.52.45;	author rse;	state Exp;
branches;
next	1.70;

1.70
date	2003.07.04.14.01.53;	author rse;	state Exp;
branches;
next	1.69;

1.69
date	2003.06.30.07.05.44;	author rse;	state Exp;
branches;
next	1.68;

1.68
date	2003.06.25.08.21.35;	author thl;	state Exp;
branches;
next	1.67;

1.67
date	2003.06.24.07.55.01;	author thl;	state Exp;
branches;
next	1.66;

1.66
date	2003.06.23.10.09.55;	author thl;	state Exp;
branches;
next	1.65;

1.65
date	2003.06.17.17.55.07;	author mlelstv;	state Exp;
branches;
next	1.64;

1.64
date	2003.06.06.07.30.40;	author rse;	state Exp;
branches;
next	1.63;

1.63
date	2003.06.05.05.59.18;	author mlelstv;	state Exp;
branches;
next	1.62;

1.62
date	2003.05.29.18.21.26;	author rse;	state Exp;
branches;
next	1.61;

1.61
date	2003.05.28.15.46.03;	author rse;	state Exp;
branches;
next	1.60;

1.60
date	2003.05.28.14.29.43;	author rse;	state Exp;
branches;
next	1.59;

1.59
date	2003.05.27.12.00.53;	author thl;	state Exp;
branches;
next	1.58;

1.58
date	2003.05.23.18.04.00;	author rse;	state Exp;
branches;
next	1.57;

1.57
date	2003.05.20.08.43.59;	author mlelstv;	state Exp;
branches;
next	1.56;

1.56
date	2003.05.17.18.18.02;	author rse;	state Exp;
branches;
next	1.55;

1.55
date	2003.05.16.13.38.07;	author rse;	state Exp;
branches;
next	1.54;

1.54
date	2003.05.16.09.46.29;	author mlelstv;	state Exp;
branches;
next	1.53;

1.53
date	2003.05.15.13.57.10;	author mlelstv;	state Exp;
branches;
next	1.52;

1.52
date	2003.05.03.18.07.44;	author rse;	state Exp;
branches;
next	1.51;

1.51
date	2003.05.02.08.50.05;	author rse;	state Exp;
branches;
next	1.50;

1.50
date	2003.04.30.18.15.35;	author rse;	state Exp;
branches;
next	1.49;

1.49
date	2003.04.29.11.45.18;	author ms;	state Exp;
branches;
next	1.48;

1.48
date	2003.04.28.18.04.55;	author rse;	state Exp;
branches;
next	1.47;

1.47
date	2003.04.27.18.52.14;	author rse;	state Exp;
branches;
next	1.46;

1.46
date	2003.04.20.06.20.47;	author rse;	state Exp;
branches;
next	1.45;

1.45
date	2003.04.19.06.03.44;	author rse;	state Exp;
branches;
next	1.44;

1.44
date	2003.04.17.10.53.00;	author mlelstv;	state Exp;
branches;
next	1.43;

1.43
date	2003.04.16.09.00.33;	author mlelstv;	state Exp;
branches;
next	1.42;

1.42
date	2003.04.07.10.20.48;	author mlelstv;	state Exp;
branches;
next	1.41;

1.41
date	2003.04.04.15.39.11;	author rse;	state Exp;
branches;
next	1.40;

1.40
date	2003.04.04.14.53.42;	author rse;	state Exp;
branches;
next	1.39;

1.39
date	2003.04.03.13.37.25;	author mlelstv;	state Exp;
branches;
next	1.38;

1.38
date	2003.04.03.09.25.16;	author ps;	state Exp;
branches;
next	1.37;

1.37
date	2003.04.02.13.05.46;	author mlelstv;	state Exp;
branches;
next	1.36;

1.36
date	2003.04.01.11.26.54;	author mlelstv;	state Exp;
branches;
next	1.35;

1.35
date	2003.03.27.14.01.02;	author mlelstv;	state Exp;
branches;
next	1.34;

1.34
date	2003.03.27.11.24.14;	author mlelstv;	state Exp;
branches;
next	1.33;

1.33
date	2003.03.27.11.07.48;	author mlelstv;	state Exp;
branches;
next	1.32;

1.32
date	2003.03.24.11.20.10;	author rse;	state Exp;
branches;
next	1.31;

1.31
date	2003.03.22.18.44.38;	author rse;	state Exp;
branches;
next	1.30;

1.30
date	2003.03.05.18.51.50;	author rse;	state Exp;
branches;
next	1.29;

1.29
date	2003.03.04.11.23.22;	author mlelstv;	state Exp;
branches;
next	1.28;

1.28
date	2003.02.28.14.59.28;	author mlelstv;	state Exp;
branches;
next	1.27;

1.27
date	2003.02.21.11.36.31;	author ps;	state Exp;
branches;
next	1.26;

1.26
date	2003.02.03.13.21.06;	author mlelstv;	state Exp;
branches;
next	1.25;

1.25
date	2003.02.03.12.39.07;	author mlelstv;	state Exp;
branches;
next	1.24;

1.24
date	2003.02.02.09.44.35;	author rse;	state Exp;
branches;
next	1.23;

1.23
date	2003.01.29.07.26.35;	author mlelstv;	state Exp;
branches;
next	1.22;

1.22
date	2003.01.28.12.31.55;	author mlelstv;	state Exp;
branches;
next	1.21;

1.21
date	2003.01.28.09.02.57;	author mlelstv;	state Exp;
branches;
next	1.20;

1.20
date	2003.01.27.16.19.27;	author mlelstv;	state Exp;
branches;
next	1.19;

1.19
date	2003.01.27.12.43.19;	author mlelstv;	state Exp;
branches;
next	1.18;

1.18
date	2003.01.24.14.51.23;	author mlelstv;	state Exp;
branches;
next	1.17;

1.17
date	2003.01.16.17.00.40;	author mlelstv;	state Exp;
branches;
next	1.16;

1.16
date	2003.01.13.11.24.49;	author mlelstv;	state Exp;
branches;
next	1.15;

1.15
date	2003.01.13.10.26.29;	author mlelstv;	state Exp;
branches;
next	1.14;

1.14
date	2003.01.12.23.47.44;	author mlelstv;	state Exp;
branches;
next	1.13;

1.13
date	2003.01.10.14.45.30;	author mlelstv;	state Exp;
branches;
next	1.12;

1.12
date	2003.01.03.10.54.38;	author rse;	state Exp;
branches;
next	1.11;

1.11
date	2002.12.30.22.06.34;	author rse;	state Exp;
branches;
next	1.10;

1.10
date	2002.12.30.21.06.43;	author rse;	state Exp;
branches;
next	1.9;

1.9
date	2002.12.20.19.33.13;	author rse;	state Exp;
branches;
next	1.8;

1.8
date	2002.10.05.15.12.51;	author rse;	state Exp;
branches;
next	1.7;

1.7
date	2002.08.13.12.49.45;	author rse;	state Exp;
branches;
next	1.6;

1.6
date	2002.07.20.10.33.16;	author rse;	state Exp;
branches;
next	1.5;

1.5
date	2002.05.29.20.02.13;	author rse;	state Exp;
branches;
next	1.4;

1.4
date	2002.03.31.08.33.50;	author rse;	state Exp;
branches;
next	1.3;

1.3
date	2002.02.08.10.49.52;	author rse;	state Exp;
branches;
next	1.2;

1.2
date	2002.02.07.14.21.08;	author rse;	state Exp;
branches;
next	1.1;

1.1
date	2002.01.09.09.40.58;	author rse;	state Exp;
branches;
next	;

1.167.2.1
date	2006.10.15.06.49.31;	author rse;	state dead;
branches;
next	1.167.2.2;
commitid	iZxwRSmmWscPXUQr;

1.167.2.2
date	2006.10.16.14.55.55;	author rse;	state Exp;
branches;
next	;
commitid	iZxwRSmmWscPXUQr;


desc
@@


1.208
log
@modifying package: rt-3.8.5 20090919 -> 20090923
@
text
@##
##  rt.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
##
##  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 versions
%define       V_rt                         3.8.5
%define       V_log_dispatch               2.26
%define       V_html_mason                 1.42
%define       V_mldbm                      2.01
%define       V_html_format                2.04
%define       V_html_scrubber              0.08
%define       V_module_version             1.02

#   package information
Name:         rt
Summary:      Request Tracker
URL:          http://bestpractical.com/rt/
Vendor:       Best Practical
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Ticketing
License:      GPL
Version:      %{V_rt}
Release:      20090923

#   package options
%option       with_db_sqlite       no
%option       with_db_mysql        yes
%option       with_db_pgsql        no
%option       with_db_oracle       no

#   fixing conflicting options
%if "%{with_db_sqlite}" == "yes" || "%{with_db_pgsql}" == "yes" || "%{with_db_oracle}" == "yes"
%undefine     with_db_mysql
%define       with_db_mysql        no
%endif

#   list of sources
Source0:      http://download.bestpractical.com/pub/rt/release/rt-%{V_rt}.tar.gz
Source1:      http://www.cpan.org/modules/by-module/Log/Log-Dispatch-%{V_log_dispatch}.tar.gz
Source2:      http://www.cpan.org/modules/by-module/HTML/HTML-Mason-%{V_html_mason}.tar.gz
Source3:      http://www.cpan.org/modules/by-authors/id/C/CH/CHAMAS/MLDBM-%{V_mldbm}.tar.gz
Source4:      http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/HTML-Format-%{V_html_format}.tar.gz
Source5:      http://www.cpan.org/modules/by-authors/id/P/PO/PODMASTER/HTML-Scrubber-%{V_html_scrubber}.tar.gz
Source6:      http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/Module-Versions-Report-%{V_module_version}.tar.gz
Source7:      rc.rt
Source8:      rtsetup
Source9:      rtcleanup
Source10:     rtupgrade
Source11:     rtapachectl
Source12:     rtapache.conf
Source13:     config.layout
Source14:     rt-mailgate.sh
Patch0:       rt.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20060823, perl, perl-openpkg >= 5.8.3-20051031
PreReq:       OpenPKG, openpkg >= 20060823, perl
BuildPreReq:  perl-sys, perl-util, perl-ds, perl-text, perl-apache, perl-module
PreReq:       perl-sys, perl-util, perl-ds, perl-text, perl-apache, perl-module
BuildPreReq:  perl-dbi, perl-dbix, perl-mail, perl-www, perl-locale, perl-devel, perl-cache
PreReq:       perl-dbi, perl-dbix, perl-mail, perl-www, perl-locale, perl-devel, perl-cache
BuildPreReq:  apache, apache-perl
PreReq:       apache, apache-perl
%if "%{with_db_sqlite}" == "yes"
PreReq:       sqlite, perl-dbi::with_sqlite = yes
%endif
%if "%{with_db_mysql}" == "yes"
PreReq:       mysql, mysql::with_innobase = yes, perl-dbi::with_mysql = yes
%endif
%if "%{with_db_pgsql}" == "yes"
PreReq:       postgresql, perl-dbi::with_pgsql = yes
%endif
%if "%{with_db_oracle}" == "yes"
PreReq:       oracle, perl-dbi::with_oracle = yes
%endif
PreReq:       MTA
AutoReq:      no
AutoReqProv:  no

%description
    RT is an industrial-grade ticketing system. It lets a group of
    people intelligently and efficiently manage requests submitted by a
    community of users. RT is used by systems administrators, customer
    support staffs, NOCs, developers and even marketing departments at
    over a thousand sites around the world.

%track
    prog rt = {
        version   = %{V_rt}
        url       = http://bestpractical.com/rt/download.html
        regex     = rt-(__VER__)\.tar\.gz
    }
    prog rt:html-format = {
        version   = %{V_html_format}
        url       = http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/
        regex     = HTML-Format-(__VER__)\.tar\.gz
    }
    prog rt:html-mason = {
        version   = %{V_html_mason}00
        url       = http://www.cpan.org/modules/by-module/HTML/
        regex     = HTML-Mason-(__VER__)\.tar\.gz
        transform = "s/^(\\d+\\.\\d\\d)$/${1}00/; $_"
    }
    prog rt:log-dispatch = {
        version   = %{V_log_dispatch}
        url       = http://www.cpan.org/modules/by-module/Log/
        regex     = Log-Dispatch-(__VER__)\.tar\.gz
    }
    prog rt:mldbm = {
        version   = %{V_mldbm}
        url       = http://www.cpan.org/modules/by-authors/id/C/CH/CHAMAS/
        regex     = MLDBM-(__VER__)\.tar\.gz
    }
    prog rt:html-scrubber = {
        version   = %{V_html_scrubber}
        url       = http://www.cpan.org/modules/by-authors/id/P/PO/PODMASTER/
        regex     = HTML-Scrubber-(__VER__)\.tar\.gz
    }
    prog rt:module-version = {
        version   = %{V_module_version}
        url       = http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/
        regex     = Module-Versions-Report-(__VER__)\.tar\.gz
    }

%prep
    #   unpack distribution tarballs
    %setup -q -c
    %setup -q -T -D -a 1
    %setup -q -T -D -a 2
    %setup -q -T -D -a 3
    %setup -q -T -D -a 4
    %setup -q -T -D -a 5
    %setup -q -T -D -a 6

    #   patch RT distribution
    cd rt-%{V_rt}
    %patch -p0
    %{l_shtool} install -c -m 0644 %{l_value -s -a} \
        %{SOURCE config.layout} .
    %{l_shtool} subst \
        -e 's;chown;true;g' \
        -e 's;chgrp;true;g' \
        -e 's;chmod;true;g' \
        -e 's;mkdir -p;%{l_shtool} mkdir -p;g' \
        Makefile.in
    %{l_shtool} subst \
        -e 's;Locale::Maketext 1\.04;Locale::Maketext 1.03;' \
        lib/RT/I18N.pm
    %{l_shtool} subst \
        -e 's;/usr/sbin/sendmail;%{l_prefix}/sbin/sendmail;g' \
        etc/RT_Config.pm.in

%build
    #   configure RT part
    cd rt-%{V_rt}
    PERL=%{l_prefix}/bin/perl
    ./configure \
        --enable-layout=OPKG \
        --with-db-host=localhost \
        --with-db-home=%{l_prefix} \
%if "%{with_db_sqlite}" == "yes"
        --with-db-type=SQLite \
        --with-db-dba=%{l_rusr} \
        --with-db-database=%{l_prefix}/var/rt/run/rt.db \
        --with-db-user=rt \
        --with-db-pass=XXX \
%endif
%if "%{with_db_mysql}" == "yes"
        --with-db-type=mysql \
        --with-db-dba=root \
        --with-db-database=rt \
        --with-db-user=rt \
        --with-db-pass=XXX \
%endif
%if "%{with_db_pgsql}" == "yes"
        --with-db-type=Pg \
        --with-db-dba=postgresql \
        --with-db-database=rt \
        --with-db-user=rt \
        --with-db-pass=XXX \
%endif
%if "%{with_db_oracle}" == "yes"
        --with-db-type=Oracle \
        --with-db-dba=system \
        --with-db-database=rt \
        --with-db-user=rt \
        --with-db-pass=XXX \
%endif
        --with-web-user=%{l_rusr} \
        --with-web-group=%{l_rgrp} \
        --with-customdir=%{l_prefix}/etc/rt/local \
        --with-customhtmldir=%{l_prefix}/etc/rt/local/html \
        --with-customlibdir=%{l_prefix}/etc/rt/local/lib \
        --with-customlexdir=%{l_prefix}/etc/rt/local/po

%install
    rm -rf $RPM_BUILD_ROOT

    #   perform common Perl prolog operations
    %{l_shtool} mkdir -f -p -m 755 ${RPM_BUILD_ROOT}%{l_prefix}/libexec/rt
    %{l_prefix}/bin/perl-openpkg prepare

    #   install remaining prerequisite Perl modules which
    #   are not part of the OpenPKG perl-xxx packages.
    %{l_prefix}/bin/perl-openpkg -d Log-Dispatch-%{V_log_dispatch} \
        -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d HTML-Mason-%{V_html_mason} \
        -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d MLDBM-%{V_mldbm} \
        -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d HTML-Format-%{V_html_format} \
        -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d HTML-Scrubber-%{V_html_scrubber} \
        -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d Module-Versions-Report-%{V_module_version} \
        -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup

    #   create installation file hierarchy
    %{l_shtool} mkdir -f -p -m 0755 \
        $RPM_BUILD_ROOT%{l_prefix}/sbin \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
        $RPM_BUILD_ROOT%{l_prefix}/cgi/rt \
        $RPM_BUILD_ROOT%{l_prefix}/share/rt \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/upgrade \
        $RPM_BUILD_ROOT%{l_prefix}/var/rt/mason-data \
        $RPM_BUILD_ROOT%{l_prefix}/var/rt/mason-session \
        $RPM_BUILD_ROOT%{l_prefix}/var/rt/log \
        $RPM_BUILD_ROOT%{l_prefix}/var/rt/run

    #   perform RT installation procedure
    ( cd rt-%{V_rt}
      %{l_make} %{l_mflags} \
          config-install dirs libs-install etc-install bin-install \
          sbin-install html-install doc-install \
          DESTDIR=$RPM_BUILD_ROOT
      cp -rp \
          etc/upgrade/* \
          $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/upgrade/
      %{l_shtool} install -c -m 0644 \
          -e '/Set($WebBaseURL/s;"[^"]*";"";' \
          etc/RT_Config.pm \
          $RPM_BUILD_ROOT%{l_prefix}/etc/rt/RT_SiteConfig.pm
    ) || exit $?

    #   post-adjust installation hierarchy
    %{l_shtool} mkln -f -s \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/RT_SiteConfig.pm \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/RT_SiteConfig.pm
    mv \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT/html/NoAuth/css/print.css \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/print.css
    %{l_shtool} mkln -f -s \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/print.css \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT/html/NoAuth/css/print.css
    mv \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/local \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/local
    %{l_shtool} mkln -f -s \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/local \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/local
    mv \
        $RPM_BUILD_ROOT%{l_prefix}/bin/webmux.pl \
        $RPM_BUILD_ROOT%{l_prefix}/bin/mason_handler.fcgi \
        $RPM_BUILD_ROOT%{l_prefix}/cgi/rt/
    mv \
        $RPM_BUILD_ROOT%{l_prefix}/bin/rt-crontool \
        $RPM_BUILD_ROOT%{l_prefix}/bin/rt-mailgate \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/
    %{l_shtool} install -c -m 755 %{l_value -s -a} \
        %{SOURCE rt-mailgate.sh} \
        $RPM_BUILD_ROOT%{l_prefix}/bin/rt-mailgate

    #   strip installation hierarchy
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/convert*
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/*.svc
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/rt-test-dependencies
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/t
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/RT.pm.in
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/xgettext.pl
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/pod2test
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/man/man3
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/rt

    #   install own setup/cleanup/upgrade script
%if "%{with_db_sqlite}" == "yes"
    rt_db_dba=%{l_rusr}
%endif
%if "%{with_db_mysql}" == "yes"
    rt_db_dba=root
%endif
%if "%{with_db_pgsql}" == "yes"
    rt_db_dba=postgresql
%endif
%if "%{with_db_oracle}" == "yes"
    rt_db_dba=system
%endif
    %{l_shtool} install -c -m 755 %{l_value -s -a} \
        -e "s;@@rt_db_dba@@;$rt_db_dba;g" \
        %{SOURCE rtsetup} %{SOURCE rtcleanup} %{SOURCE rtupgrade} \
        $RPM_BUILD_ROOT%{l_prefix}/sbin/

    #   install OpenPKG run-command script
    %{l_shtool} install -c -m 755 %{l_value -s -a} \
        %{SOURCE rc.rt} \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/

    #   install Apache "apachectl" wrapper
    %{l_shtool} install -c -m 755 %{l_value -s -a} \
        %{SOURCE rtapachectl} \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/

    #   install Apache configuration
    l_hostname=`%{l_shtool} echo -e %h`
    l_domainname=`%{l_shtool} echo -e %d | cut -c2-`
    %{l_shtool} install -c -m 755 %{l_value -s -a} \
        -e "s;@@l_hostname@@;$l_hostname;g" \
        -e "s;@@l_domainname@@;$l_domainname;g" \
        %{SOURCE rtapache.conf} \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/

    #   final post-adjustments to installation hierarchy
    find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt \
          -type f -name "*.html" -print | xargs chmod 644
    find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt \
          -type f -name "*.pm" -print | xargs chmod 644
    find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt \
          -type f -print | xargs chmod a+r
    find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt \
          -type d -print | xargs chmod 755
    find ${RPM_BUILD_ROOT}${l_prefix} -name .packlist -print | xargs rm -f

    #   determine installation files
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
        %{l_files_std} `cat perl-openpkg-files` \
        '%{l_prefix}/libexec/rt' \
        '%attr(755,%{l_musr},%{l_mgrp}) %{l_prefix}/libexec/rt/tools/rt-setup-database' \
        '%attr(755,%{l_musr},%{l_mgrp}) %{l_prefix}/libexec/rt/tools/rt-crontool' \
        '%attr(755,%{l_musr},%{l_mgrp}) %{l_prefix}/libexec/rt/tools/rt-mailgate' \
        '%config %attr(640,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/RT_SiteConfig.pm' \
        '%config %attr(640,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/rtapache.conf' \
        '%config %attr(644,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/print.css' \
        '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/mason-data' \
        '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/mason-data/*' \
        '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/mason-session' \
        '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/log' \
        '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/run'

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

%post
    if [ $1 -eq 1 ]; then
        #   activate in MTA configuration
        aliases_file=`$RPM_INSTALL_PREFIX/bin/openpkg rc --query MTA_aliases_file`
        aliases_update=`$RPM_INSTALL_PREFIX/bin/openpkg rc --query MTA_aliases_update`
        if [ ".$aliases_file" != . ]; then
            ( echo "rt:         \"|$RPM_INSTALL_PREFIX/bin/rt-mailgate --action correspond --queue general --url http://127.0.0.1:8380/\""
              echo "rt-comment: \"|$RPM_INSTALL_PREFIX/bin/rt-mailgate --action comment    --queue general --url http://127.0.0.1:8380/\""
            ) | %{l_rpmtool} config -a -i "$RPM_INSTALL_PREFIX:rt" $aliases_file
        fi
        if [ ".$aliases_update" != . ]; then
            eval $aliases_update
        fi

        #   display final hint after initial installation
        ( echo "To complete installation of RT, please check the file"
          echo "    $RPM_INSTALL_PREFIX/etc/rt/RT_SiteConfig.pm"
          echo "In particular, you have to assign a password to the RT"
          echo "database user. Then you have to start the MySQL RDBMS and"
          echo "create the initial RT database with:"
          echo "    \$ $RPM_INSTALL_PREFIX/bin/openpkg rc mysql start"
          echo "    \$ $RPM_INSTALL_PREFIX/sbin/rtsetup"
          echo "After this post-installation, start RT by running"
          echo "    \$ $RPM_INSTALL_PREFIX/bin/openpkg rc rt start"
          echo "and connect with a browser to:"
          echo "    http://127.0.0.1:8380/"
          echo "Login as 'root' (with initial password 'password')"
          echo "to change the password to a custom one."
        ) | %{l_rpmtool} msg -b -t notice
    elif [ $1 -gt 1 ]; then
        #   display final hint after upgrading
        ( echo "If you have an old RT database you can erase it with:"
          echo "    \$ $RPM_INSTALL_PREFIX/sbin/rtcleanup"
          echo "Upgrading from an earlier RT 3.x database you can with:"
          echo "    \$ $RPM_INSTALL_PREFIX/sbin/rtupgrade <old-rt-version>"
        ) | %{l_rpmtool} msg -b -t notice
    fi

%preun
    if [ $1 -eq 0 ]; then
        #   stop perhaps still running server
        $RPM_INSTALL_PREFIX/bin/openpkg rc rt stop

        #   deactivate in MTA configuration
        aliases_file=`$RPM_INSTALL_PREFIX/bin/openpkg rc --query MTA_aliases_file`
        aliases_update=`$RPM_INSTALL_PREFIX/bin/openpkg rc --query MTA_aliases_update`
        if [ ".$aliases_file" != . ]; then
            %{l_rpmtool} config -r -i "$RPM_INSTALL_PREFIX:rt" $aliases_file
        fi
        if [ ".$aliases_update" != . ]; then
            eval $aliases_update
        fi

        #   remove generated files
        rm -f  $RPM_INSTALL_PREFIX/var/rt/mason-session/*
        rm -rf $RPM_INSTALL_PREFIX/var/rt/mason-data/*/*
        rm -f  $RPM_INSTALL_PREFIX/var/rt/log/*
        rm -f  $RPM_INSTALL_PREFIX/var/rt/run/apache.pid
        rm -f  $RPM_INSTALL_PREFIX/var/rt/run/ssl_scache
    fi

@


1.207
log
@modifying package: rt-3.8.5 20090915 -> 20090919
@
text
@d26 1
a26 1
%define       V_log_dispatch               2.25
d44 1
a44 1
Release:      20090919
@


1.206
log
@upgrading package: rt 3.8.4 -> 3.8.5
@
text
@d26 1
a26 1
%define       V_log_dispatch               2.24
d44 1
a44 1
Release:      20090915
@


1.205
log
@modifying package: rt-3.8.4 20090913 -> 20090914
@
text
@d25 1
a25 1
%define       V_rt                         3.8.4
d44 1
a44 1
Release:      20090914
@


1.204
log
@modifying package: rt-3.8.4 20090807 -> 20090913
@
text
@d26 1
a26 1
%define       V_log_dispatch               2.23
d44 1
a44 1
Release:      20090913
@


1.203
log
@try to fix packaging
@
text
@d26 1
a26 1
%define       V_log_dispatch               2.22
d44 1
a44 1
Release:      20090807
@


1.202
log
@upgrading package: rt 3.8.3 -> 3.8.4
@
text
@d44 1
a44 1
Release:      20090611
@


1.201
log
@upgrading package: rt 3.8.2 -> 3.8.3
@
text
@d25 1
a25 1
%define       V_rt                         3.8.3
d44 1
a44 1
Release:      20090529
@


1.200
log
@modifying package: rt-3.8.2 20090506 -> 20090508
@
text
@d25 1
a25 1
%define       V_rt                         3.8.2
d44 1
a44 1
Release:      20090508
@


1.199
log
@modifying package: rt-3.8.2 20090418 -> 20090506
@
text
@d27 1
a27 1
%define       V_html_mason                 1.41
d44 1
a44 1
Release:      20090506
@


1.198
log
@bump years in copyright messages
@
text
@d27 1
a27 1
%define       V_html_mason                 1.40
d44 1
a44 1
Release:      20090418
@


1.197
log
@adjust dependency
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.196
log
@upgrading package: rt 3.8.1 -> 3.8.2
@
text
@d44 1
a44 1
Release:      20090108
d88 1
a88 1
PreReq:       sqlite, perl-dbi::with_dbd_sqlite = yes
d91 1
a91 1
PreReq:       mysql, mysql::with_innobase = yes, perl-dbi::with_dbd_mysql = yes
d94 1
a94 1
PreReq:       postgresql, perl-dbi::with_dbd_pgsql = yes
d97 1
a97 1
PreReq:       oracle, perl-dbi::with_dbd_oracle = yes
@


1.195
log
@modifying package: rt-3.8.1 20080819 -> 20081113
@
text
@d25 1
a25 1
%define       V_rt                         3.8.1
d44 1
a44 1
Release:      20081113
@


1.194
log
@upgrading package: rt 3.8.0 -> 3.8.1
@
text
@d26 1
a26 1
%define       V_log_dispatch               2.21
d44 1
a44 1
Release:      20080819
@


1.193
log
@modifying package: rt-3.8.0 20080712 -> 20080725
@
text
@d25 1
a25 1
%define       V_rt                         3.8.0
d44 1
a44 1
Release:      20080725
@


1.192
log
@upgrading package: rt 3.6.7 -> 3.8.0
@
text
@d27 1
a27 1
%define       V_html_mason                 1.39
d44 1
a44 1
Release:      20080712
@


1.191
log
@upgrading package: rt 3.6.6 -> 3.6.7
@
text
@d25 1
a25 1
%define       V_rt                         3.6.7
d44 1
a44 1
Release:      20080617
@


1.190
log
@modifying package: rt-3.6.6 20080131 -> 20080207
@
text
@d25 1
a25 1
%define       V_rt                         3.6.6
d44 1
a44 1
Release:      20080207
@


1.189
log
@modifying package: rt-3.6.6 20080123 -> 20080131
@
text
@d26 1
a26 1
%define       V_log_dispatch               2.20
d44 1
a44 1
Release:      20080131
@


1.188
log
@upgrading package: rt 3.6.5 -> 3.6.6
@
text
@d27 1
a27 1
%define       V_html_mason                 1.38
d44 1
a44 1
Release:      20080123
@


1.187
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d25 1
a25 1
%define       V_rt                         3.6.5
d44 1
a44 1
Release:      20080101
@


1.186
log
@modifying package: rt-3.6.5 20071103 -> 20071221
@
text
@d3 1
a3 2
##  Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
d44 1
a44 1
Release:      20071221
@


1.185
log
@modifying package: rt-3.6.5 20071102 -> 20071103
@
text
@d28 1
a28 1
%define       V_html_mason                 1.37
d45 1
a45 1
Release:      20071103
@


1.184
log
@modifying package: rt-3.6.5 20071002 -> 20071102
@
text
@d27 1
a27 1
%define       V_log_dispatch               2.19
d45 1
a45 1
Release:      20071102
@


1.183
log
@upgrading package: rt 3.6.4 -> 3.6.5
@
text
@d27 1
a27 1
%define       V_log_dispatch               2.18
d45 1
a45 1
Release:      20071002
@


1.182
log
@modifying package: rt-3.6.4 20070706 -> 20070907
@
text
@d26 1
a26 1
%define       V_rt                         3.6.4
d45 1
a45 1
Release:      20070907
@


1.181
log
@upgrading package: rt 3.6.3 -> 3.6.4
@
text
@d28 1
a28 1
%define       V_html_mason                 1.36
d45 1
a45 1
Release:      20070706
@


1.180
log
@new OpenPKG world order: upgrade from Apache 1.3 to 2.2 (part 2/3: modified dependency packages)
@
text
@a24 2
#   FIXME: rse: Error: MM: mm:core: failed to open semaphore file (Permission denied): OS: No such file or directory

d26 1
a26 1
%define       V_rt                         3.6.3
d45 1
a45 1
Release:      20070622
@


1.179
log
@modifying package: rt-3.6.3 20070517 -> 20070611
@
text
@d47 1
a47 1
Release:      20070611
d88 2
a89 2
BuildPreReq:  apache, apache::with_mod_perl = yes
PreReq:       apache, apache::with_mod_perl = yes
@


1.178
log
@modifying package: rt-3.6.3 20070418 -> 20070517
@
text
@d30 1
a30 1
%define       V_html_mason                 1.35
d47 1
a47 1
Release:      20070517
@


1.177
log
@get rid of direct /etc/rc call and replace them with openpkg
@
text
@d29 1
a29 1
%define       V_log_dispatch               2.17
d47 1
a47 1
Release:      20070418
@


1.176
log
@modifying package: rt-3.6.3 20061222 -> 20070401
@
text
@d47 1
a47 1
Release:      20070401
d385 2
a386 2
        aliases_file=`$RPM_INSTALL_PREFIX/etc/rc --query MTA_aliases_file`
        aliases_update=`$RPM_INSTALL_PREFIX/etc/rc --query MTA_aliases_update`
d423 1
a423 1
        $RPM_INSTALL_PREFIX/etc/rc rt stop
d426 2
a427 2
        aliases_file=`$RPM_INSTALL_PREFIX/etc/rc --query MTA_aliases_file`
        aliases_update=`$RPM_INSTALL_PREFIX/etc/rc --query MTA_aliases_update`
@


1.175
log
@Welcome Year 2007!
@
text
@d29 1
a29 1
%define       V_log_dispatch               2.16
d47 1
a47 1
Release:      20061222
@


1.174
log
@upgrading package: rt 3.6.2 -> 3.6.3
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
@


1.173
log
@modifying package: rt-3.6.2 20061219 -> 20061220
@
text
@d28 1
a28 1
%define       V_rt                         3.6.2
d47 1
a47 1
Release:      20061220
@


1.172
log
@upgrading package: rt 3.6.1 -> 3.6.2
@
text
@d29 1
a29 1
%define       V_log_dispatch               2.15
d47 1
a47 1
Release:      20061219
@


1.171
log
@modifying package: rt-3.6.1 20061119 -> 20061217
@
text
@d28 1
a28 1
%define       V_rt                         3.6.1
d47 1
a47 1
Release:      20061217
@


1.170
log
@modifying package: rt-3.6.1 20061112 -> 20061119
@
text
@d29 1
a29 1
%define       V_log_dispatch               2.14
d47 1
a47 1
Release:      20061119
@


1.169
log
@finally upgrade to RT 3.6 (including SQLite support ;-)
@
text
@d29 1
a29 1
%define       V_log_dispatch               2.13
d47 1
a47 1
Release:      20061112
@


1.168
log
@modifying package: rt-3.4.5 20061015 -> 20061018
@
text
@d28 1
a28 1
%define       V_rt                         3.4.5
a34 1
%define       V_cache_simple_timedexpiry   0.26
d47 1
a47 1
Release:      20061018
d50 1
a50 2
%option       with_color_primary   336699
%option       with_color_secondary dddddd
d56 1
a56 5
%if "%{with_db_oracle}" == "yes"
%undefine     with_db_pgsql
%define       with_db_pgsql        no
%endif
%if "%{with_db_oracle}" == "yes" || "%{with_db_pgsql}" == "yes"
d69 8
a76 9
Source7:      http://www.cpan.org/modules/by-module/Cache/Cache-Simple-TimedExpiry-%{V_cache_simple_timedexpiry}.tar.gz
Source8:      rc.rt
Source9:      rtsetup
Source10:     rtcleanup
Source11:     rtupgrade
Source12:     rtapachectl
Source13:     rtapache.conf
Source14:     config.layout
Source15:     rt-mailgate.sh
d90 3
d94 1
a94 1
PreReq:       mysql, mysql::with_innodb = yes, perl-dbi::with_dbd_mysql = yes
a149 5
    prog rt:cache-simple-timedexpiry = {
        version   = %{V_cache_simple_timedexpiry}
        url       = http://www.cpan.org/modules/by-module/Cache/
        regex     = Cache-Simple-TimedExpiry-(__VER__)\.tar\.gz
    }
a159 1
    %setup -q -T -D -a 7
a184 1
        --with-db-type=mysql \
d187 7
d195 1
d202 1
d209 1
d215 2
a216 2
        --with-web-user=%{l_nusr} \
        --with-web-group=%{l_ngrp} \
a242 2
    %{l_prefix}/bin/perl-openpkg -d Cache-Simple-TimedExpiry-%{V_cache_simple_timedexpiry} \
        -l %{l_prefix}/libexec/rt configure build install
d265 1
a265 1
      %{l_shtool} install -c -m 0644 \
d279 2
a280 2
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT/html/NoAuth/webrt.css \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/webrt.css
d282 2
a283 2
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/webrt.css \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT/html/NoAuth/webrt.css
d303 1
d314 3
a350 5
    %{l_shtool} subst \
        -e 's;#336699;#%{with_color_primary};g' \
        -e 's;#dddddd;#%{with_color_secondary};g' \
        `find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT \
              -type f -print | grep -v gif | grep -v jpg | grep -v .orig`
d370 1
a370 1
        '%config %attr(644,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/webrt.css' \
d402 1
a402 1
          echo "    \$ $RPM_INSTALL_PREFIX/etc/rc mysql start"
d405 1
a405 1
          echo "    \$ $RPM_INSTALL_PREFIX/etc/rc rt start"
@


1.167
log
@modifying package: rt-3.4.5 20061013 -> 20061015
@
text
@d30 1
a30 1
%define       V_html_mason                 1.34
d48 1
a48 1
Release:      20061015
@


1.167.2.1
log
@file rt.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:55:55 +0000
@
text
@d1 446
@


1.167.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 446
##
##  rt.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
##
##  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.
##

#   FIXME: rse: Error: MM: mm:core: failed to open semaphore file (Permission denied): OS: No such file or directory

#   package versions
%define       V_rt                         3.4.5
%define       V_log_dispatch               2.13
%define       V_html_mason                 1.34
%define       V_mldbm                      2.01
%define       V_html_format                2.04
%define       V_html_scrubber              0.08
%define       V_module_version             1.02
%define       V_cache_simple_timedexpiry   0.26

#   package information
Name:         rt
Summary:      Request Tracker
URL:          http://bestpractical.com/rt/
Vendor:       Best Practical
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Ticketing
License:      GPL
Version:      %{V_rt}
Release:      2.20061018

#   package options
%option       with_color_primary   336699
%option       with_color_secondary dddddd
%option       with_db_mysql        yes
%option       with_db_pgsql        no
%option       with_db_oracle       no

#   fixing conflicting options
%if "%{with_db_oracle}" == "yes"
%undefine     with_db_pgsql
%define       with_db_pgsql        no
%endif
%if "%{with_db_oracle}" == "yes" || "%{with_db_pgsql}" == "yes"
%undefine     with_db_mysql
%define       with_db_mysql        no
%endif

#   list of sources
Source0:      http://download.bestpractical.com/pub/rt/release/rt-%{V_rt}.tar.gz
Source1:      http://www.cpan.org/modules/by-module/Log/Log-Dispatch-%{V_log_dispatch}.tar.gz
Source2:      http://www.cpan.org/modules/by-module/HTML/HTML-Mason-%{V_html_mason}.tar.gz
Source3:      http://www.cpan.org/modules/by-authors/id/C/CH/CHAMAS/MLDBM-%{V_mldbm}.tar.gz
Source4:      http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/HTML-Format-%{V_html_format}.tar.gz
Source5:      http://www.cpan.org/modules/by-authors/id/P/PO/PODMASTER/HTML-Scrubber-%{V_html_scrubber}.tar.gz
Source6:      http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/Module-Versions-Report-%{V_module_version}.tar.gz
Source7:      http://www.cpan.org/modules/by-module/Cache/Cache-Simple-TimedExpiry-%{V_cache_simple_timedexpiry}.tar.gz
Source8:      rc.rt
Source9:      rtsetup
Source10:     rtcleanup
Source11:     rtupgrade
Source12:     rtapachectl
Source13:     rtapache.conf
Source14:     config.layout
Source15:     rt-mailgate.sh
Patch0:       rt.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 2.20061018, perl, perl-openpkg >= 5.8.3-2.20061018
PreReq:       OpenPKG, openpkg >= 2.20061018, perl
BuildPreReq:  perl-sys, perl-util, perl-ds, perl-text, perl-apache, perl-module
PreReq:       perl-sys, perl-util, perl-ds, perl-text, perl-apache, perl-module
BuildPreReq:  perl-dbi, perl-dbix, perl-mail, perl-www, perl-locale, perl-devel, perl-cache
PreReq:       perl-dbi, perl-dbix, perl-mail, perl-www, perl-locale, perl-devel, perl-cache
BuildPreReq:  apache, apache::with_mod_perl = yes
PreReq:       apache, apache::with_mod_perl = yes
%if "%{with_db_mysql}" == "yes"
PreReq:       mysql, mysql::with_innodb = yes, perl-dbi::with_dbd_mysql = yes
%endif
%if "%{with_db_pgsql}" == "yes"
PreReq:       postgresql, perl-dbi::with_dbd_pgsql = yes
%endif
%if "%{with_db_oracle}" == "yes"
PreReq:       oracle, perl-dbi::with_dbd_oracle = yes
%endif
PreReq:       MTA
AutoReq:      no
AutoReqProv:  no

%description
    RT is an industrial-grade ticketing system. It lets a group of
    people intelligently and efficiently manage requests submitted by a
    community of users. RT is used by systems administrators, customer
    support staffs, NOCs, developers and even marketing departments at
    over a thousand sites around the world.

%track
    prog rt = {
        version   = %{V_rt}
        url       = http://bestpractical.com/rt/download.html
        regex     = rt-(__VER__)\.tar\.gz
    }
    prog rt:html-format = {
        version   = %{V_html_format}
        url       = http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/
        regex     = HTML-Format-(__VER__)\.tar\.gz
    }
    prog rt:html-mason = {
        version   = %{V_html_mason}00
        url       = http://www.cpan.org/modules/by-module/HTML/
        regex     = HTML-Mason-(__VER__)\.tar\.gz
        transform = "s/^(\\d+\\.\\d\\d)$/${1}00/; $_"
    }
    prog rt:log-dispatch = {
        version   = %{V_log_dispatch}
        url       = http://www.cpan.org/modules/by-module/Log/
        regex     = Log-Dispatch-(__VER__)\.tar\.gz
    }
    prog rt:mldbm = {
        version   = %{V_mldbm}
        url       = http://www.cpan.org/modules/by-authors/id/C/CH/CHAMAS/
        regex     = MLDBM-(__VER__)\.tar\.gz
    }
    prog rt:html-scrubber = {
        version   = %{V_html_scrubber}
        url       = http://www.cpan.org/modules/by-authors/id/P/PO/PODMASTER/
        regex     = HTML-Scrubber-(__VER__)\.tar\.gz
    }
    prog rt:module-version = {
        version   = %{V_module_version}
        url       = http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/
        regex     = Module-Versions-Report-(__VER__)\.tar\.gz
    }
    prog rt:cache-simple-timedexpiry = {
        version   = %{V_cache_simple_timedexpiry}
        url       = http://www.cpan.org/modules/by-module/Cache/
        regex     = Cache-Simple-TimedExpiry-(__VER__)\.tar\.gz
    }

%prep
    #   unpack distribution tarballs
    %setup -q -c
    %setup -q -T -D -a 1
    %setup -q -T -D -a 2
    %setup -q -T -D -a 3
    %setup -q -T -D -a 4
    %setup -q -T -D -a 5
    %setup -q -T -D -a 6
    %setup -q -T -D -a 7

    #   patch RT distribution
    cd rt-%{V_rt}
    %patch -p0
    %{l_shtool} install -c -m 0644 %{l_value -s -a} \
        %{SOURCE config.layout} .
    %{l_shtool} subst \
        -e 's;chown;true;g' \
        -e 's;chgrp;true;g' \
        -e 's;chmod;true;g' \
        -e 's;mkdir -p;%{l_shtool} mkdir -p;g' \
        Makefile.in
    %{l_shtool} subst \
        -e 's;Locale::Maketext 1\.04;Locale::Maketext 1.03;' \
        lib/RT/I18N.pm
    %{l_shtool} subst \
        -e 's;/usr/sbin/sendmail;%{l_prefix}/sbin/sendmail;g' \
        etc/RT_Config.pm.in

%build
    #   configure RT part
    cd rt-%{V_rt}
    PERL=%{l_prefix}/bin/perl
    ./configure \
        --enable-layout=OPKG \
        --with-db-type=mysql \
        --with-db-host=localhost \
        --with-db-home=%{l_prefix} \
%if "%{with_db_mysql}" == "yes"
        --with-db-dba=root \
        --with-db-database=rt \
        --with-db-user=rt \
        --with-db-pass=XXX \
%endif
%if "%{with_db_pgsql}" == "yes"
        --with-db-dba=postgresql \
        --with-db-database=rt \
        --with-db-user=rt \
        --with-db-pass=XXX \
%endif
%if "%{with_db_oracle}" == "yes"
        --with-db-dba=system \
        --with-db-database=rt \
        --with-db-user=rt \
        --with-db-pass=XXX \
%endif
        --with-web-user=%{l_nusr} \
        --with-web-group=%{l_ngrp} \
        --with-customdir=%{l_prefix}/etc/rt/local \
        --with-customhtmldir=%{l_prefix}/etc/rt/local/html \
        --with-customlibdir=%{l_prefix}/etc/rt/local/lib \
        --with-customlexdir=%{l_prefix}/etc/rt/local/po

%install
    rm -rf $RPM_BUILD_ROOT

    #   perform common Perl prolog operations
    %{l_shtool} mkdir -f -p -m 755 ${RPM_BUILD_ROOT}%{l_prefix}/libexec/rt
    %{l_prefix}/bin/perl-openpkg prepare

    #   install remaining prerequisite Perl modules which
    #   are not part of the OpenPKG perl-xxx packages.
    %{l_prefix}/bin/perl-openpkg -d Log-Dispatch-%{V_log_dispatch} \
        -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d HTML-Mason-%{V_html_mason} \
        -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d MLDBM-%{V_mldbm} \
        -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d HTML-Format-%{V_html_format} \
        -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d HTML-Scrubber-%{V_html_scrubber} \
        -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d Module-Versions-Report-%{V_module_version} \
        -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d Cache-Simple-TimedExpiry-%{V_cache_simple_timedexpiry} \
        -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup

    #   create installation file hierarchy
    %{l_shtool} mkdir -f -p -m 0755 \
        $RPM_BUILD_ROOT%{l_prefix}/sbin \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
        $RPM_BUILD_ROOT%{l_prefix}/cgi/rt \
        $RPM_BUILD_ROOT%{l_prefix}/share/rt \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/upgrade \
        $RPM_BUILD_ROOT%{l_prefix}/var/rt/mason-data \
        $RPM_BUILD_ROOT%{l_prefix}/var/rt/mason-session \
        $RPM_BUILD_ROOT%{l_prefix}/var/rt/log \
        $RPM_BUILD_ROOT%{l_prefix}/var/rt/run

    #   perform RT installation procedure
    ( cd rt-%{V_rt}
      %{l_make} %{l_mflags} \
          config-install dirs libs-install etc-install bin-install \
          sbin-install html-install doc-install \
          DESTDIR=$RPM_BUILD_ROOT
      %{l_shtool} install -c -m 0644 \
          etc/upgrade/* \
          $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/upgrade/
      %{l_shtool} install -c -m 0644 \
          -e '/Set($WebBaseURL/s;"[^"]*";"";' \
          etc/RT_Config.pm \
          $RPM_BUILD_ROOT%{l_prefix}/etc/rt/RT_SiteConfig.pm
    ) || exit $?

    #   post-adjust installation hierarchy
    %{l_shtool} mkln -f -s \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/RT_SiteConfig.pm \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/RT_SiteConfig.pm
    mv \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT/html/NoAuth/webrt.css \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/webrt.css
    %{l_shtool} mkln -f -s \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/webrt.css \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT/html/NoAuth/webrt.css
    mv \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/local \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/local
    %{l_shtool} mkln -f -s \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/local \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/local
    mv \
        $RPM_BUILD_ROOT%{l_prefix}/bin/webmux.pl \
        $RPM_BUILD_ROOT%{l_prefix}/bin/mason_handler.fcgi \
        $RPM_BUILD_ROOT%{l_prefix}/cgi/rt/
    mv \
        $RPM_BUILD_ROOT%{l_prefix}/bin/rt-crontool \
        $RPM_BUILD_ROOT%{l_prefix}/bin/rt-mailgate \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/
    %{l_shtool} install -c -m 755 %{l_value -s -a} \
        %{SOURCE rt-mailgate.sh} \
        $RPM_BUILD_ROOT%{l_prefix}/bin/rt-mailgate

    #   strip installation hierarchy
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/*.svc
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/rt-test-dependencies
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/t
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/RT.pm.in
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/xgettext.pl
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/pod2test
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/man/man3
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/rt

    #   install own setup/cleanup/upgrade script
%if "%{with_db_mysql}" == "yes"
    rt_db_dba=root
%endif
%if "%{with_db_pgsql}" == "yes"
    rt_db_dba=postgresql
%endif
%if "%{with_db_oracle}" == "yes"
    rt_db_dba=system
%endif
    %{l_shtool} install -c -m 755 %{l_value -s -a} \
        -e "s;@@rt_db_dba@@;$rt_db_dba;g" \
        %{SOURCE rtsetup} %{SOURCE rtcleanup} %{SOURCE rtupgrade} \
        $RPM_BUILD_ROOT%{l_prefix}/sbin/

    #   install OpenPKG run-command script
    %{l_shtool} install -c -m 755 %{l_value -s -a} \
        %{SOURCE rc.rt} \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/

    #   install Apache "apachectl" wrapper
    %{l_shtool} install -c -m 755 %{l_value -s -a} \
        %{SOURCE rtapachectl} \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/

    #   install Apache configuration
    l_hostname=`%{l_shtool} echo -e %h`
    l_domainname=`%{l_shtool} echo -e %d | cut -c2-`
    %{l_shtool} install -c -m 755 %{l_value -s -a} \
        -e "s;@@l_hostname@@;$l_hostname;g" \
        -e "s;@@l_domainname@@;$l_domainname;g" \
        %{SOURCE rtapache.conf} \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/

    #   final post-adjustments to installation hierarchy
    %{l_shtool} subst \
        -e 's;#336699;#%{with_color_primary};g' \
        -e 's;#dddddd;#%{with_color_secondary};g' \
        `find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT \
              -type f -print | grep -v gif | grep -v jpg | grep -v .orig`
    find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt \
          -type f -name "*.html" -print | xargs chmod 644
    find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt \
          -type f -name "*.pm" -print | xargs chmod 644
    find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt \
          -type f -print | xargs chmod a+r
    find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt \
          -type d -print | xargs chmod 755
    find ${RPM_BUILD_ROOT}${l_prefix} -name .packlist -print | xargs rm -f

    #   determine installation files
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
        %{l_files_std} `cat perl-openpkg-files` \
        '%{l_prefix}/libexec/rt' \
        '%attr(755,%{l_musr},%{l_mgrp}) %{l_prefix}/libexec/rt/tools/rt-setup-database' \
        '%attr(755,%{l_musr},%{l_mgrp}) %{l_prefix}/libexec/rt/tools/rt-crontool' \
        '%attr(755,%{l_musr},%{l_mgrp}) %{l_prefix}/libexec/rt/tools/rt-mailgate' \
        '%config %attr(640,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/RT_SiteConfig.pm' \
        '%config %attr(640,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/rtapache.conf' \
        '%config %attr(644,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/webrt.css' \
        '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/mason-data' \
        '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/mason-data/*' \
        '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/mason-session' \
        '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/log' \
        '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/run'

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

%post
    if [ $1 -eq 1 ]; then
        #   activate in MTA configuration
        aliases_file=`$RPM_INSTALL_PREFIX/etc/rc --query MTA_aliases_file`
        aliases_update=`$RPM_INSTALL_PREFIX/etc/rc --query MTA_aliases_update`
        if [ ".$aliases_file" != . ]; then
            ( echo "rt:         \"|$RPM_INSTALL_PREFIX/bin/rt-mailgate --action correspond --queue general --url http://127.0.0.1:8380/\""
              echo "rt-comment: \"|$RPM_INSTALL_PREFIX/bin/rt-mailgate --action comment    --queue general --url http://127.0.0.1:8380/\""
            ) | %{l_rpmtool} config -a -i "$RPM_INSTALL_PREFIX:rt" $aliases_file
        fi
        if [ ".$aliases_update" != . ]; then
            eval $aliases_update
        fi

        #   display final hint after initial installation
        ( echo "To complete installation of RT, please check the file"
          echo "    $RPM_INSTALL_PREFIX/etc/rt/RT_SiteConfig.pm"
          echo "In particular, you have to assign a password to the RT"
          echo "database user. Then you have to start the MySQL RDBMS and"
          echo "create the initial RT database with:"
          echo "    \$ $RPM_INSTALL_PREFIX/etc/rc mysql start"
          echo "    \$ $RPM_INSTALL_PREFIX/sbin/rtsetup"
          echo "After this post-installation, start RT by running"
          echo "    \$ $RPM_INSTALL_PREFIX/etc/rc rt start"
          echo "and connect with a browser to:"
          echo "    http://127.0.0.1:8380/"
          echo "Login as 'root' (with initial password 'password')"
          echo "to change the password to a custom one."
        ) | %{l_rpmtool} msg -b -t notice
    elif [ $1 -gt 1 ]; then
        #   display final hint after upgrading
        ( echo "If you have an old RT database you can erase it with:"
          echo "    \$ $RPM_INSTALL_PREFIX/sbin/rtcleanup"
          echo "Upgrading from an earlier RT 3.x database you can with:"
          echo "    \$ $RPM_INSTALL_PREFIX/sbin/rtupgrade <old-rt-version>"
        ) | %{l_rpmtool} msg -b -t notice
    fi

%preun
    if [ $1 -eq 0 ]; then
        #   stop perhaps still running server
        $RPM_INSTALL_PREFIX/etc/rc rt stop

        #   deactivate in MTA configuration
        aliases_file=`$RPM_INSTALL_PREFIX/etc/rc --query MTA_aliases_file`
        aliases_update=`$RPM_INSTALL_PREFIX/etc/rc --query MTA_aliases_update`
        if [ ".$aliases_file" != . ]; then
            %{l_rpmtool} config -r -i "$RPM_INSTALL_PREFIX:rt" $aliases_file
        fi
        if [ ".$aliases_update" != . ]; then
            eval $aliases_update
        fi

        #   remove generated files
        rm -f  $RPM_INSTALL_PREFIX/var/rt/mason-session/*
        rm -rf $RPM_INSTALL_PREFIX/var/rt/mason-data/*/*
        rm -f  $RPM_INSTALL_PREFIX/var/rt/log/*
        rm -f  $RPM_INSTALL_PREFIX/var/rt/run/apache.pid
        rm -f  $RPM_INSTALL_PREFIX/var/rt/run/ssl_scache
    fi

@


1.166
log
@new world order for "Packager" and "Distribution" headers
@
text
@d30 1
a30 1
%define       V_html_mason                 1.33
d35 1
a35 1
%define       V_cache_simple_timedexpiry   0.23
d48 1
a48 1
Release:      20061013
@


1.165
log
@modifying package: rt-3.4.5 20060923 -> 20060926
@
text
@d42 2
a43 2
Packager:     OpenPKG
Distribution: OpenPKG
d48 1
a48 1
Release:      20060926
@


1.164
log
@adjust Group header
@
text
@d29 1
a29 1
%define       V_log_dispatch               2.11
d48 1
a48 1
Release:      20060923
@


1.163
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
@d45 1
a45 1
Group:        Database
d48 1
a48 1
Release:      20060825
@


1.162
log
@modifying package: rt-3.4.5 20060112 -> 20060606
@
text
@d48 1
a48 1
Release:      20060606
d89 2
a90 2
BuildPreReq:  OpenPKG, openpkg >= 20040130, perl, perl-openpkg >= 5.8.3-20051031
PreReq:       OpenPKG, openpkg >= 20040130, perl
@


1.161
log
@upgrading package: rt 3.4.4 -> 3.4.5
@
text
@d30 1
a30 1
%define       V_html_mason                 1.32
d48 1
a48 1
Release:      20060112
@


1.160
log
@fix tracking
@
text
@d28 1
a28 1
%define       V_rt                         3.4.4
d48 1
a48 1
Release:      20060111
@


1.159
log
@modifying package: rt-3.4.4 20051122 -> 20060107
@
text
@d48 1
a48 1
Release:      20060107
d129 1
a129 1
        version   = %{V_html_mason}
@


1.158
log
@adjust copyrights for new year 2006
@
text
@d30 1
a30 1
%define       V_html_mason                 1.3101
d48 1
a48 1
Release:      20051122
@


1.157
log
@requires perl-module for Module::Build
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2005 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2005 Ralf S. Engelschall <http://engelschall.com/>
@


1.156
log
@cleanup packaging and fix dependency
@
text
@d48 1
a48 1
Release:      20051121
d91 2
a92 2
BuildPreReq:  perl-sys, perl-util, perl-ds, perl-text, perl-apache
PreReq:       perl-sys, perl-util, perl-ds, perl-text, perl-apache
@


1.155
log
@modifying package: rt-3.4.4 20050829 -> 20051121
@
text
@d29 1
a29 1
%define       V_log_dispatch               2.04
d89 1
a89 1
BuildPreReq:  OpenPKG, openpkg >= 20040130, perl, perl-openpkg >= 5.8.3-20040126
d129 1
a129 2
        comment   = "cs: 1.31 needs Module::Build"
        version   = %{V_html_mason}00
a134 2
        disabled
        comment   = "rse: 2.05 and higher have too nasty dependencies like YAML, Module::Build, etc"
@


1.154
log
@upgrading package: rt 3.4.3 -> 3.4.4
@
text
@d30 1
a30 1
%define       V_html_mason                 1.28
d48 1
a48 1
Release:      20050829
@


1.153
log
@modifying package: rt-3.4.3 20050813 -> 20050822
@
text
@d28 1
a28 1
%define       V_rt                         3.4.3
d48 1
a48 1
Release:      20050822
@


1.152
log
@remember issue
@
text
@d48 1
a48 1
Release:      20050813
d129 1
a129 1
        comment   = "rse: 1.30 needs Module::Build"
@


1.151
log
@upgrading package: rt 3.4.2 -> 3.4.3
@
text
@d48 1
a48 1
Release:      20050811
d129 1
@


1.150
log
@upgrading package: rt 3.4.1 -> 3.4.2
@
text
@d28 1
a28 1
%define       V_rt                         3.4.2
d48 1
a48 1
Release:      20050506
@


1.149
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
@d28 1
a28 1
%define       V_rt                         3.4.1
d48 1
a48 1
Release:      20050318
@


1.148
log
@remove local Cache::Cache module, it is already part of perl-cache
@
text
@d2 3
a4 4
##  rt.spec -- OpenPKG RPM Specification
##  Copyright (c) 2000-2005 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2005 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2005 Cable & Wireless <http://www.cw.com/>
d42 1
a42 1
Packager:     The OpenPKG Project
@


1.147
log
@upgrading package: rt 3.4.0 -> 3.4.1
@
text
@a33 1
%define       V_cache_cache                1.03
d49 1
a49 1
Release:      20050216
d74 11
a84 12
Source5:      http://www.cpan.org/modules/by-authors/id/D/DC/DCLINTON/Cache-Cache-%{V_cache_cache}.tar.gz
Source6:      http://www.cpan.org/modules/by-authors/id/P/PO/PODMASTER/HTML-Scrubber-%{V_html_scrubber}.tar.gz
Source7:      http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/Module-Versions-Report-%{V_module_version}.tar.gz
Source8:      http://www.cpan.org/modules/by-module/Cache/Cache-Simple-TimedExpiry-%{V_cache_simple_timedexpiry}.tar.gz
Source9:      rc.rt
Source10:     rtsetup
Source11:     rtcleanup
Source12:     rtupgrade
Source13:     rtapachectl
Source14:     rtapache.conf
Source15:     config.layout
Source16:     rt-mailgate.sh
d91 1
d93 1
d95 1
a96 3
PreReq:       OpenPKG, openpkg >= 20040130, perl
PreReq:       perl-sys, perl-util, perl-ds, perl-text, perl-apache, perl-dbi
PreReq:       perl-dbi, perl-dbix, perl-mail, perl-www, perl-locale, perl-devel, perl-cache
a123 5
    prog rt:cache-cache = {
        version   = %{V_cache_cache}
        url       = http://www.cpan.org/modules/by-authors/id/D/DC/DCLINTON/
        regex     = Cache-Cache-(__VER__)\.tar\.gz
    }
a172 1
    %setup -q -T -D -a 8
a236 2
    %{l_prefix}/bin/perl-openpkg -d Cache-Cache-%{V_cache_cache} \
        -l %{l_prefix}/libexec/rt configure build install
@


1.146
log
@upgrading package: rt 3.2.2 -> 3.4.0
@
text
@d29 1
a29 1
%define       V_rt                         3.4.0
d50 1
a50 1
Release:      20050210
@


1.145
log
@Happy New Year 2005
@
text
@d29 1
a29 1
%define       V_rt                         3.2.2
d37 1
d50 1
a50 1
Release:      20041215
d78 9
a86 8
Source8:      rc.rt
Source9:      rtsetup
Source10:     rtcleanup
Source11:     rtupgrade
Source12:     rtapachectl
Source13:     rtapache.conf
Source14:     config.layout
Source15:     rt-mailgate.sh
d94 1
a94 1
BuildPreReq:  perl-dbi, perl-dbix, perl-mail, perl-www, perl-locale
d97 2
a98 2
PreReq:       perl-sys, perl-util, perl-ds, perl-text, perl-apache
PreReq:       perl-dbi, perl-dbix, perl-mail, perl-www, perl-locale
d101 1
a101 1
PreReq:       mysql, perl-dbi::with_dbd_mysql = yes
d164 5
d180 1
d243 16
a258 7
    %{l_prefix}/bin/perl-openpkg -d Log-Dispatch-%{V_log_dispatch}             -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d Cache-Cache-%{V_cache_cache}               -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d HTML-Mason-%{V_html_mason}                 -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d MLDBM-%{V_mldbm}                           -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d HTML-Format-%{V_html_format}               -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d HTML-Scrubber-%{V_html_scrubber}           -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d Module-Versions-Report-%{V_module_version} -l %{l_prefix}/libexec/rt configure build install
@


1.144
log
@modifying package: rt-3.2.2 20041107 -> 20041215
@
text
@d3 3
a5 3
##  Copyright (c) 2000-2004 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2004 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2004 Cable & Wireless <http://www.cw.com/>
@


1.143
log
@modifying package: rt-3.2.2 20041102 -> 20041107
@
text
@a33 1
%define       V_regexp_common              2.117
d49 1
a49 1
Release:      20041107
d74 11
a84 12
Source5:      http://www.cpan.org/modules/by-authors/id/A/AB/ABIGAIL/Regexp-Common-%{V_regexp_common}.tar.gz
Source6:      http://www.cpan.org/modules/by-authors/id/D/DC/DCLINTON/Cache-Cache-%{V_cache_cache}.tar.gz
Source7:      http://www.cpan.org/modules/by-authors/id/P/PO/PODMASTER/HTML-Scrubber-%{V_html_scrubber}.tar.gz
Source8:      http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/Module-Versions-Report-%{V_module_version}.tar.gz
Source9:      rc.rt
Source10:     rtsetup
Source11:     rtcleanup
Source12:     rtupgrade
Source13:     rtapachectl
Source14:     rtapache.conf
Source15:     config.layout
Source16:     rt-mailgate.sh
a151 5
    prog rt:regexp-common = {
        version   = %{V_regexp_common}
        url       = http://www.cpan.org/modules/by-authors/id/A/AB/ABIGAIL/
        regex     = Regexp-Common-(__VER__)\.tar\.gz
    }
a172 1
    %setup -q -T -D -a 8
d235 7
a241 8
    %{l_prefix}/bin/perl-openpkg -d Regexp-Common-%{V_regexp_common}                     -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d Log-Dispatch-%{V_log_dispatch}                       -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d Cache-Cache-%{V_cache_cache}                         -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d HTML-Mason-%{V_html_mason}                           -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d MLDBM-%{V_mldbm}                                     -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d HTML-Format-%{V_html_format}                         -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d HTML-Scrubber-%{V_html_scrubber}                     -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d Module-Versions-Report-%{V_module_version}           -l %{l_prefix}/libexec/rt configure build install
@


1.142
log
@modifying package: rt-3.2.2 20041005 -> 20041102
@
text
@d31 1
a31 1
%define       V_html_mason                 1.27
d50 1
a50 1
Release:      20041102
@


1.141
log
@modifying package: rt-3.2.2 20040929 -> 20041005
@
text
@d31 1
a31 1
%define       V_html_mason                 1.26
d50 1
a50 1
Release:      20041005
@


1.140
log
@upgrading package: rt 3.2.1 -> 3.2.2
@
text
@d35 1
a35 1
%define       V_cache_cache                1.02
d50 1
a50 1
Release:      20040929
@


1.139
log
@fix regex
@
text
@d29 1
a29 1
%define       V_rt                         3.2.1
d50 1
a50 1
Release:      20040911
@


1.138
log
@requires perl-locale
@
text
@d50 1
a50 1
Release:      20040829
d129 1
a129 1
        regex     = Cache-Cache-(__VER__).tar.gz
d134 1
a134 1
        regex     = HTML-Format-(__VER__).tar.gz
d152 1
a152 1
        regex     = MLDBM-(__VER__).tar.gz
d157 1
a157 1
        regex     = Regexp-Common-(__VER__).tar.gz
d162 1
a162 1
        regex     = HTML-Scrubber-(__VER__).tar.gz
d167 1
a167 1
        regex     = Module-Versions-Report-(__VER__).tar.gz
@


1.137
log
@bump with more required modules
@
text
@d50 1
a50 1
Release:      20040801
d94 1
a94 1
BuildPreReq:  perl-dbi, perl-dbix, perl-mail, perl-www
@


1.136
log
@upgrading package: rt 3.2.0 -> 3.2.1
@
text
@d36 2
d50 1
a50 1
Release:      20040716
d77 10
a86 8
Source7:      rc.rt
Source8:      rtsetup
Source9:      rtcleanup
Source10:     rtupgrade
Source11:     rtapachectl
Source12:     rtapache.conf
Source13:     config.layout
Source14:     rt-mailgate.sh
d159 10
d179 2
d249 2
@


1.135
log
@upgrading package: rt 3.0.11 -> 3.2.0
@
text
@d29 1
a29 1
%define       V_rt                         3.2.0
d48 1
a48 1
Release:      20040702
@


1.134
log
@modifying package: rt-3.0.11 20040610 -> 20040630
@
text
@d29 1
a29 1
%define       V_rt                         3.0.11
d34 1
a34 1
%define       V_regexp_common              2.116
d48 1
a48 1
Release:      20040630
@


1.133
log
@modifying package: rt-3.0.11 20040602 -> 20040610
@
text
@d34 1
a34 1
%define       V_regexp_common              2.115
d48 1
a48 1
Release:      20040610
@


1.132
log
@modifying package: rt-3.0.11 20040526 -> 20040602
@
text
@d34 1
a34 1
%define       V_regexp_common              2.113
d48 1
a48 1
Release:      20040602
@


1.131
log
@upgrade and fix after recent changes
@
text
@d33 1
a33 1
%define       V_html_format                2.03
d48 1
a48 1
Release:      20040526
@


1.130
log
@modifying package: rt-3.0.10 20040422 -> 20040427
@
text
@d29 1
a29 1
%define       V_rt                         3.0.10
a33 2
%define       V_locale_maketext_lexicon    0.38
%define       V_locale_maketext_fuzzy      0.02
d48 1
a48 1
Release:      20040427
d68 15
a82 17
Source0:      http://www.cpan.org/modules/by-module/Log/Log-Dispatch-%{V_log_dispatch}.tar.gz
Source1:      http://www.cpan.org/modules/by-module/HTML/HTML-Mason-%{V_html_mason}.tar.gz
Source2:      http://www.cpan.org/modules/by-authors/id/C/CH/CHAMAS/MLDBM-%{V_mldbm}.tar.gz
Source3:      http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/HTML-Format-%{V_html_format}.tar.gz
Source4:      http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon}.tar.gz
Source5:      http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy}.tar.gz
Source6:      http://www.cpan.org/modules/by-authors/id/A/AB/ABIGAIL/Regexp-Common-%{V_regexp_common}.tar.gz
Source7:      http://www.cpan.org/modules/by-authors/id/D/DC/DCLINTON/Cache-Cache-%{V_cache_cache}.tar.gz
Source8:      http://bestpractical.com/pub/rt/release/rt-%{V_rt}.tar.gz
Source9:      rc.rt
Source10:     rtsetup
Source11:     rtcleanup
Source12:     rtupgrade
Source13:     rtapachectl
Source14:     rtapache.conf
Source15:     config.layout
Source16:     rt-mailgate.sh
d94 1
a94 1
PreReq:       perl-dbi, perl-dbix, perl-mail, perl-www
a137 10
    prog rt:locale-maketext-fuzzy = {
        version   = %{V_locale_maketext_fuzzy}
        url       = http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/
        regex     = Locale-Maketext-Fuzzy-(__VER__).tar.gz
    }
    prog rt:locale-maketext-lexicon = {
        version   = %{V_locale_maketext_lexicon}
        url       = http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/
        regex     = Locale-Maketext-Lexicon-(__VER__).tar.gz
    }
a164 2
    %setup -q -T -D -a 7
    %setup -q -T -D -a 8
a232 2
    %{l_prefix}/bin/perl-openpkg -d Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon} -l %{l_prefix}/libexec/rt configure build install
    %{l_prefix}/bin/perl-openpkg -d Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy}     -l %{l_prefix}/libexec/rt configure build install
@


1.129
log
@modifying package: rt-3.0.10 20040415 -> 20040422
@
text
@d34 1
a34 1
%define       V_locale_maketext_lexicon    0.37
d50 1
a50 1
Release:      20040422
@


1.128
log
@give more non-obvious details about next steps after installation
@
text
@d34 1
a34 1
%define       V_locale_maketext_lexicon    0.36
d50 1
a50 1
Release:      20040415
@


1.127
log
@upgrading package: rt 3.0.9 -> 3.0.10
@
text
@d50 1
a50 1
Release:      20040413
d406 13
a418 5
        ( echo "To complete installation of the RT package please check the"
          echo "file $RPM_INSTALL_PREFIX/etc/rt/RT_SiteConfig.pm. In particular,"
          echo "you have to assign a password to the RT database user."
          echo "Then you have to create the RT database in the RDBMS with:"
          echo "\$ $RPM_INSTALL_PREFIX/sbin/rtsetup"
d423 1
a423 1
          echo "\$ $RPM_INSTALL_PREFIX/sbin/rtcleanup"
d425 1
a425 1
          echo "\$ $RPM_INSTALL_PREFIX/sbin/rtupgrade <old-rt-version>"
@


1.126
log
@modifying package: rt-3.0.9 20040318 -> 20040406
@
text
@d29 1
a29 2
%define       V_real                       3-0-9
%define       V_here                       3.0.9
d49 2
a50 2
Version:      %{V_here}
Release:      20040406
d78 1
a78 1
Source8:      http://bestpractical.com/pub/rt/release/rt-%{V_real}.tar.gz
d122 3
a124 3
        version   = %{V_real}
        url       = http://bestpractical.com/pub/rt/release/
        regex     = rt-([\d-]+)\.tar\.gz
d183 1
a183 1
    cd rt-%{V_real}
d202 1
a202 1
    cd rt-%{V_real}
d268 1
a268 1
    ( cd rt-%{V_real}
@


1.125
log
@modifying package: rt-3.0.9 20040316 -> 20040318
@
text
@d32 1
a32 1
%define       V_html_mason                 1.25
d51 1
a51 1
Release:      20040318
@


1.124
log
@modifying package: rt-3.0.9 20040316 again
@
text
@d35 1
a35 1
%define       V_locale_maketext_lexicon    0.35
d51 1
a51 1
Release:      20040316
@


1.123
log
@upgrading package: rt 3.0.8 -> 3.0.9
@
text
@d35 1
a35 1
%define       V_locale_maketext_lexicon    0.34
@


1.122
log
@fix dependencies
@
text
@d29 2
a30 2
%define       V_real                       3-0-8
%define       V_here                       3.0.8
d51 1
a51 1
Release:      20040218
@


1.121
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
@d51 1
a51 1
Release:      20040207
d93 1
a93 1
BuildPreReq:  OpenPKG, openpkg >= 20040130, perl, perl-openpkg >= 20040126
@


1.120
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
@d51 1
a51 1
Release:      20040205
d123 1
a123 1
        version   = 3-0-8
d128 1
a128 1
        version   = 1.02
d133 1
a133 1
        version   = 2.03
d138 1
a138 1
        version   = 1.2500
d144 1
a144 1
        version   = 0.02
d149 1
a149 1
        version   = 0.34
d156 1
a156 1
        version   = 2.04
d161 1
a161 1
        version   = 2.01
d166 1
a166 1
        version   = 2.113
@


1.119
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
@d51 1
a51 1
Release:      20040203
d185 1
a185 1
    %patch0 -p0
@


1.118
log
@speclint police
@
text
@d46 2
a47 1
Distribution: OpenPKG [EVAL]
d51 1
a51 1
Release:      20040128
d93 1
a93 1
BuildPreReq:  OpenPKG, openpkg >= 20030718, perl, perl-openpkg >= 20040126
d97 1
a97 1
PreReq:       OpenPKG, openpkg >= 20030718, perl
d120 50
@


1.117
log
@switch perl to new world order; perl-openpkg now written in perl; modules relocated from site to vendor
@
text
@d3 3
a5 3
##  Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2003 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2003 Cable & Wireless <http://www.cw.com/>
d50 1
a50 1
Release:      20040126
@


1.116
log
@bump year in copyright messages to cover new year 2004. This is a CVS only commit -- no packages were rolled intentionally
@
text
@d3 3
a5 3
##  Copyright (c) 2000-2004 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2004 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2004 Cable & Wireless <http://www.cw.com/>
d50 1
a50 1
Release:      20040121
d92 1
a92 1
BuildPreReq:  OpenPKG, openpkg >= 20030718, perl, perl-openpkg >= 20030718
d188 2
a189 3
    rt=%{l_prefix}/libexec/rt
    %{l_shtool} mkdir -f -p -m 755 ${RPM_BUILD_ROOT}$rt
    %{l_prefix}/bin/perl-openpkg prolog
d193 9
a201 27
    %{l_prefix}/bin/perl-openpkg install \
        -d Regexp-Common-%{V_regexp_common} \
        -p ${RPM_BUILD_ROOT}$rt
    %{l_prefix}/bin/perl-openpkg install \
        -d Log-Dispatch-%{V_log_dispatch} \
        -p ${RPM_BUILD_ROOT}$rt
    %{l_prefix}/bin/perl-openpkg install \
        -d Cache-Cache-%{V_cache_cache} \
        -p ${RPM_BUILD_ROOT}$rt
    %{l_prefix}/bin/perl-openpkg install \
        -d HTML-Mason-%{V_html_mason} \
        -p ${RPM_BUILD_ROOT}$rt
    %{l_prefix}/bin/perl-openpkg install \
        -d MLDBM-%{V_mldbm} \
        -p ${RPM_BUILD_ROOT}$rt
    %{l_prefix}/bin/perl-openpkg install \
        -d HTML-Format-%{V_html_format} \
        -p ${RPM_BUILD_ROOT}$rt
    %{l_prefix}/bin/perl-openpkg install \
        -d Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon} \
        -p ${RPM_BUILD_ROOT}$rt
    %{l_prefix}/bin/perl-openpkg install \
        -d Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy} \
        -p ${RPM_BUILD_ROOT}$rt

    #   perform common Perl epilog operations
    %{l_prefix}/bin/perl-openpkg epilog
d318 1
d322 1
a322 1
        %{l_files_std} \
@


1.115
log
@cleanup consistency of options by renaming some of them
@
text
@d3 3
a5 3
##  Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2003 Ralf S. Engelschall <rse@@engelschall.com>
##  Copyright (c) 2000-2003 Cable & Wireless <http://www.cw.com/>
@


1.114
log
@upgrading package: rt 3.0.7 -> 3.0.8
@
text
@d50 1
a50 1
Release:      20040103
d56 1
a56 1
%option       with_db_postgresql   no
d61 2
a62 2
%undefine     with_db_postgresql
%define       with_db_postgresql  no
d64 1
a64 1
%if "%{with_db_oracle}" == "yes" || "%{with_db_postgresql}" == "yes"
d66 1
a66 1
%define       with_db_mysql       no
d103 2
a104 2
%if "%{with_db_postgresql}" == "yes"
PreReq:       postgresql, perl-dbi::with_dbd_pg = yes
d165 1
a165 1
%if "%{with_db_postgresql}" == "yes"
d293 1
a293 1
%if "%{with_db_postgresql}" == "yes"
@


1.113
log
@modifying package: rt-3.0.7 20031219 -> 20040101
@
text
@d29 2
a30 2
%define       V_real                       3-0-7
%define       V_here                       3.0.7
d50 1
a50 1
Release:      20040101
a130 1
    %setup -q -T -D -a 9
@


1.112
log
@Test::Inline is now in perl-util already
@
text
@d35 1
a35 1
%define       V_locale_maketext_lexicon    0.33
d50 1
a50 1
Release:      20031219
@


1.111
log
@modifying package: rt-3.0.7 20031209 -> 20031213
@
text
@a34 1
%define       V_test_inline                0.15
d50 1
a50 1
Release:      20031213
d74 13
a86 14
Source4:      http://www.cpan.org/modules/by-authors/id/M/MS/MSCHWERN/Test-Inline-%{V_test_inline}.tar.gz
Source5:      http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon}.tar.gz
Source6:      http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy}.tar.gz
Source7:      http://www.cpan.org/modules/by-authors/id/A/AB/ABIGAIL/Regexp-Common-%{V_regexp_common}.tar.gz
Source8:      http://www.cpan.org/modules/by-authors/id/D/DC/DCLINTON/Cache-Cache-%{V_cache_cache}.tar.gz
Source9:      http://bestpractical.com/pub/rt/release/rt-%{V_real}.tar.gz
Source10:     rc.rt
Source11:     rtsetup
Source12:     rtcleanup
Source13:     rtupgrade
Source14:     rtapachectl
Source15:     rtapache.conf
Source16:     config.layout
Source17:     rt-mailgate.sh
a211 3
        -p ${RPM_BUILD_ROOT}$rt
    %{l_prefix}/bin/perl-openpkg install \
        -d Test-Inline-%{V_test_inline} \
@


1.110
log
@modifying package: rt-3.0.7 20031125 -> 20031209
@
text
@d32 1
a32 1
%define       V_html_mason                 1.24
d51 1
a51 1
Release:      20031209
@


1.109
log
@try to fix permissions
@
text
@d36 1
a36 1
%define       V_locale_maketext_lexicon    0.32
d51 1
a51 1
Release:      20031125
@


1.108
log
@upgrading package: rt 3.0.6 -> 3.0.7
@
text
@d51 1
a51 1
Release:      20031120
d335 8
@


1.107
log
@modifying package: rt-3.0.6 20031024 -> 20031113
@
text
@d29 2
a30 2
%define       V_real                       3-0-6
%define       V_here                       3.0.6
d51 1
a51 1
Release:      20031113
@


1.106
log
@remove libapreq because is now provided by perl-apache
@
text
@d32 1
a32 1
%define       V_html_mason                 1.23
d51 1
a51 1
Release:      20031024
@


1.105
log
@remove WWW::Mechanize, it is now in perl-www
@
text
@a32 1
%define       V_libapreq                   1.1
d72 17
a88 18
Source1:      http://www.cpan.org/modules/by-authors/id/J/JI/JIMW/libapreq-%{V_libapreq}.tar.gz
Source2:      http://www.cpan.org/modules/by-module/HTML/HTML-Mason-%{V_html_mason}.tar.gz
Source3:      http://www.cpan.org/modules/by-authors/id/C/CH/CHAMAS/MLDBM-%{V_mldbm}.tar.gz
Source4:      http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/HTML-Format-%{V_html_format}.tar.gz
Source5:      http://www.cpan.org/modules/by-authors/id/M/MS/MSCHWERN/Test-Inline-%{V_test_inline}.tar.gz
Source6:      http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon}.tar.gz
Source7:      http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy}.tar.gz
Source8:      http://www.cpan.org/modules/by-authors/id/A/AB/ABIGAIL/Regexp-Common-%{V_regexp_common}.tar.gz
Source9:      http://www.cpan.org/modules/by-authors/id/D/DC/DCLINTON/Cache-Cache-%{V_cache_cache}.tar.gz
Source10:     http://bestpractical.com/pub/rt/release/rt-%{V_real}.tar.gz
Source11:     rc.rt
Source12:     rtsetup
Source13:     rtcleanup
Source14:     rtupgrade
Source15:     rtapachectl
Source16:     rtapache.conf
Source17:     config.layout
Source18:     rt-mailgate.sh
a133 1
    %setup -q -T -D -a 10
a201 3
        -p ${RPM_BUILD_ROOT}$rt
    %{l_prefix}/bin/perl-openpkg install \
        -d libapreq-%{V_libapreq} \
@


1.104
log
@modifying package: rt-3.0.6 20031014 -> 20031015
@
text
@a33 1
%define       V_www_mechanize              0.63
d52 1
a52 1
Release:      20031015
d75 16
a90 17
Source3:      http://www.cpan.org/modules/by-authors/id/P/PE/PETDANCE/WWW-Mechanize-%{V_www_mechanize}.tar.gz
Source4:      http://www.cpan.org/modules/by-authors/id/C/CH/CHAMAS/MLDBM-%{V_mldbm}.tar.gz
Source5:      http://www.cpan.org/modules/by-authors/id/S/SB/SBURKE/HTML-Format-%{V_html_format}.tar.gz
Source6:      http://www.cpan.org/modules/by-authors/id/M/MS/MSCHWERN/Test-Inline-%{V_test_inline}.tar.gz
Source7:      http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon}.tar.gz
Source8:      http://www.cpan.org/modules/by-authors/id/A/AU/AUTRIJUS/Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy}.tar.gz
Source9:      http://www.cpan.org/modules/by-authors/id/A/AB/ABIGAIL/Regexp-Common-%{V_regexp_common}.tar.gz
Source10:     http://www.cpan.org/modules/by-authors/id/D/DC/DCLINTON/Cache-Cache-%{V_cache_cache}.tar.gz
Source11:     http://bestpractical.com/pub/rt/release/rt-%{V_real}.tar.gz
Source12:     rc.rt
Source13:     rtsetup
Source14:     rtcleanup
Source15:     rtupgrade
Source16:     rtapachectl
Source17:     rtapache.conf
Source18:     config.layout
Source19:     rt-mailgate.sh
a136 1
    %setup -q -T -D -a 11
a213 3
        -p ${RPM_BUILD_ROOT}$rt
    %{l_prefix}/bin/perl-openpkg install \
        -d WWW-Mechanize-%{V_www_mechanize} \
@


1.103
log
@modifying package: rt-3.0.6 20031010 -> 20031014
@
text
@d38 1
a38 1
%define       V_locale_maketext_lexicon    0.31
d53 1
a53 1
Release:      20031014
@


1.102
log
@modifying package: rt-3.0.6 20031008 -> 20031010
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.62
d38 1
a38 1
%define       V_locale_maketext_lexicon    0.29
d53 1
a53 1
Release:      20031010
@


1.101
log
@modifying package: rt-3.0.6 20031007 -> 20031008
@
text
@d38 1
a38 1
%define       V_locale_maketext_lexicon    0.28
d53 1
a53 1
Release:      20031008
@


1.100
log
@modifying package: rt-3.0.6 20030926 -> 20031007
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.61
d53 1
a53 1
Release:      20031007
@


1.99
log
@upgrading package: rt 3.0.5 -> 3.0.6
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.60
d53 1
a53 1
Release:      20030926
@


1.98
log
@modifying package: rt-3.0.5 20030918 -> 20030923
@
text
@d29 2
a30 2
%define       V_real                       3-0-5
%define       V_here                       3.0.5
d53 1
a53 1
Release:      20030923
d346 1
a346 1
              -type f -print | grep -v gif | grep -v jpg`
@


1.97
log
@HTML::Mason wants Cache::Cache AFAIK
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.59
d53 1
a53 1
Release:      20030918
@


1.96
log
@upgrading package: rt 3.0.4 -> 3.0.5
@
text
@d41 1
d53 1
a53 1
Release:      20030909
d83 10
a92 9
Source10:     http://bestpractical.com/pub/rt/release/rt-%{V_real}.tar.gz
Source11:     rc.rt
Source12:     rtsetup
Source13:     rtcleanup
Source14:     rtupgrade
Source15:     rtapachectl
Source16:     rtapache.conf
Source17:     config.layout
Source18:     rt-mailgate.sh
d139 1
d211 3
@


1.95
log
@modifying package: rt-3.0.4 20030828 -> 20030904
@
text
@d29 2
a30 2
%define       V_real                       3-0-4
%define       V_here                       3.0.4
d32 1
a32 1
%define       V_html_mason                 1.22
d52 1
a52 1
Release:      20030904
@


1.94
log
@modifying package: rt-3.0.4 20030815 -> 20030828
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.58
d52 1
a52 1
Release:      20030828
@


1.93
log
@modifying package: rt-3.0.4 20030807 -> 20030815
@
text
@d38 1
a38 1
%define       V_locale_maketext_lexicon    0.27
d52 1
a52 1
Release:      20030815
@


1.92
log
@fix permission of rt-mailgate
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.57
d52 1
a52 1
Release:      20030807
@


1.91
log
@fix display of quoted messages, add word wrapping to avoid 'disappearing links syndrome'
@
text
@d52 1
a52 1
Release:      20030806
d348 1
@


1.90
log
@functionality of our changes to Ticket_Overlay is now replicated in the vendor source, however, this requires to adjust rights stored in the database to explicitly allow taking tickets from 'Nobody' or stealing tickets from other users
@
text
@d52 1
a52 1
Release:      20030805
@


1.89
log
@modifying package: rt-3.0.4 20030725 -> 20030801
@
text
@d52 1
a52 1
Release:      20030801
@


1.88
log
@modifying package: rt-3.0.4 20030723 -> 20030725
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.56
d52 1
a52 1
Release:      20030725
@


1.87
log
@modifying package: rt-3.0.4 20030722 -> 20030723
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.55
d52 1
a52 1
Release:      20030723
@


1.86
log
@cleanup the priority: move 200 to 500 and because 500 is default just ommit it; fix DNS/NTP/etc. dependencies
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.54
d52 1
a52 1
Release:      20030722
@


1.85
log
@PR#164: replace remaining occurrences of hard-coded %{l_prefix} in %{pre,post,preun,postun} sections with intended  to be consists over all packages and to allow relocation (at least in theory)
@
text
@d52 1
a52 1
Release:      20030721
@


1.84
log
@modifying package: rt-3.0.4 20030719 -> 20030721
@
text
@d365 2
a366 2
        aliases_file=`%{l_prefix}/etc/rc --query MTA_aliases_file`
        aliases_update=`%{l_prefix}/etc/rc --query MTA_aliases_update`
d368 3
a370 3
            ( echo "rt:         \"|%{l_prefix}/bin/rt-mailgate --action correspond --queue general --url http://127.0.0.1:8380/\""
              echo "rt-comment: \"|%{l_prefix}/bin/rt-mailgate --action comment    --queue general --url http://127.0.0.1:8380/\""
            ) | %{l_rpmtool} config -a -i "%{l_prefix}:rt" $aliases_file
d398 2
a399 2
        aliases_file=`%{l_prefix}/etc/rc --query MTA_aliases_file`
        aliases_update=`%{l_prefix}/etc/rc --query MTA_aliases_update`
d401 1
a401 1
            %{l_rpmtool} config -r -i "%{l_prefix}:rt" $aliases_file
@


1.83
log
@replace opXXXX with rcXXXX (PR#207)
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.53
d52 1
a52 1
Release:      20030719
@


1.82
log
@modifying package: rt-3.0.4 20030717 -> 20030718
@
text
@d52 1
a52 1
Release:      20030718
d96 1
a96 1
BuildPreReq:  OpenPKG, openpkg >= 20030717, perl, perl-openpkg >= 20030717
d100 1
a100 1
PreReq:       OpenPKG, openpkg >= 20030717, perl
@


1.81
log
@fix PR#204, use new %{l_value -s ...}
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.52
d52 1
a52 1
Release:      20030717
@


1.80
log
@modifying package: rt-3.0.4 20030714 -> 20030715
@
text
@d52 1
a52 1
Release:      20030715
d96 1
a96 1
BuildPreReq:  OpenPKG, openpkg >= 20030710, perl, perl-openpkg >= 20030515
d100 1
a100 1
PreReq:       OpenPKG, openpkg >= 20030710, perl
d141 1
a141 2
    %{l_shtool} install -c -m 0644 \
        -e 's;@@l_prefix@@;%{l_prefix};' \
d287 1
a287 2
    %{l_shtool} install -c -m 755 \
        -e 's;@@l_prefix@@;%{l_prefix};g' \
d311 1
a311 2
    %{l_shtool} install -c -m 755 \
        -e 's;@@l_prefix@@;%{l_prefix};g' \
d317 1
a317 6
    %{l_shtool} install -c -m 755 \
        -e 's;@@l_prefix@@;%{l_prefix};g' \
        -e 's;@@l_rusr@@;%{l_rusr};g' \
        -e 's;@@l_rgrp@@;%{l_rgrp};g' \
        -e 's;@@l_musr@@;%{l_musr};g' \
        -e 's;@@l_mgrp@@;%{l_mgrp};g' \
d322 1
a322 2
    %{l_shtool} install -c -m 755 \
        -e 's;@@l_prefix@@;%{l_prefix};g' \
d329 1
a329 4
    %{l_shtool} install -c -m 755 \
        -e 's;@@l_prefix@@;%{l_prefix};g' \
        -e 's;@@l_rusr@@;%{l_rusr};g' \
        -e 's;@@l_rgrp@@;%{l_rgrp};g' \
@


1.79
log
@upgrading package: rt 3.0.3 -> 3.0.4
@
text
@d32 1
a32 1
%define       V_html_mason                 1.21
d52 1
a52 1
Release:      20030714
@


1.78
log
@add remaining missing substitutions of variables in installation of run-command scripts
@
text
@d29 2
a30 2
%define       V_real                       3-0-3
%define       V_here                       3.0.3
d52 1
a52 1
Release:      20030713
@


1.77
log
@fix perl-openpkg dependency
@
text
@d52 1
a52 1
Release:      20030710
d324 2
@


1.76
log
@use new openpkg_rc_def variable in run-command scripts for allowing the admin to change the global default for xxx_enable
@
text
@d96 1
a96 1
BuildPreReq:  OpenPKG, openpkg >= 20030710, perl, perl-openpkg >= 20030710
d100 1
a100 1
PreReq:       OpenPKG, openpkg >= 20030710, perl, perl-openpkg
@


1.75
log
@remove mta special case
@
text
@d52 1
a52 1
Release:      20030709
d96 1
a96 1
BuildPreReq:  OpenPKG, openpkg >= 20020206, perl, perl-openpkg >= 20030515
d100 1
a100 1
PreReq:       OpenPKG, openpkg >= 20020206, perl, perl-openpkg
@


1.74
log
@modifying package: rt-3.0.3 20030708 -> 20030709
@
text
@d375 3
a377 3
        mta_aliases_file=`%{l_prefix}/etc/rc --query mta_aliases_file`
        mta_aliases_update=`%{l_prefix}/etc/rc --query mta_aliases_update`
        if [ ".$mta_aliases_file" != . ]; then
d380 1
a380 1
            ) | %{l_rpmtool} config -a -i "%{l_prefix}:rt" $mta_aliases_file
d382 2
a383 2
        if [ ".$mta_aliases_update" != . ]; then
            eval $mta_aliases_update
d408 4
a411 4
        mta_aliases_file=`%{l_prefix}/etc/rc --query mta_aliases_file`
        mta_aliases_update=`%{l_prefix}/etc/rc --query mta_aliases_update`
        if [ ".$mta_aliases_file" != . ]; then
            %{l_rpmtool} config -r -i "%{l_prefix}:rt" $mta_aliases_file
d413 2
a414 2
        if [ ".$mta_aliases_update" != . ]; then
            eval $mta_aliases_update
@


1.73
log
@cleanup copyright part by using just the main company name of Cable & Wireless and adding the URL to the global website
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.51
d52 1
a52 1
Release:      20030708
@


1.72
log
@modifying package: rt-3.0.3 20030707 -> 20030708
@
text
@a2 1
##  Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
d5 1
@


1.71
log
@remove now officially deprecated usage of %{name} macro
@
text
@d38 1
a38 1
%define       V_locale_maketext_lexicon    0.26
d52 1
a52 1
Release:      20030707
@


1.70
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
Release:      20030704
d380 1
a380 1
            ) | %{l_rpmtool} config -a -i "%{l_prefix}:%{name}" $mta_aliases_file
d411 1
a411 1
            %{l_rpmtool} config -r -i "%{l_prefix}:%{name}" $mta_aliases_file
@


1.69
log
@modifying package: rt-3.0.3 20030625 -> 20030630
@
text
@d52 1
a52 1
Release:      20030630
d105 1
a105 1
PreReq:       MYSQL, perl-dbi::with_dbd_mysql = yes
@


1.68
log
@modifying package: rt-3.0.3 20030624 -> 20030625
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.50
d52 1
a52 1
Release:      20030625
@


1.67
log
@modifying package: rt-3.0.3 20030623 -> 20030624
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.49
d52 1
a52 1
Release:      20030624
@


1.66
log
@upgrading package: rt 3.0.2 -> 3.0.3
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.48
d52 1
a52 1
Release:      20030623
@


1.65
log
@upgrade WWW::Mechanize 0.44 -> 0.45
@
text
@d29 2
a30 2
%define       V_real                       3-0-2
%define       V_here                       3.0.2
d34 1
a34 1
%define       V_www_mechanize              0.45
d52 1
a52 1
Release:      20030617
@


1.64
log
@modifying package: rt-3.0.2 20030605 -> 20030606
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.44
d52 1
a52 1
Release:      20030606
@


1.63
log
@upgrade HTML::Mason 1.20 -> 1.21
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.43
d52 1
a52 1
Release:      20030605
@


1.62
log
@modifying package: rt-3.0.2 20030528 -> 20030529
@
text
@d32 1
a32 1
%define       V_html_mason                 1.20
d52 1
a52 1
Release:      20030529
@


1.61
log
@RT is officially homed at bestpractical.com
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.42
d52 1
a52 1
Release:      20030528
@


1.60
log
@also substitute RT's secondary color it uses everywhere
@
text
@d45 2
a46 2
URL:          http://www.fsck.com/projects/rt/
Vendor:       Fsck
d82 1
a82 1
Source10:     http://www.fsck.com/pub/rt/release/rt-%{V_real}.tar.gz
@


1.59
log
@modifying package: rt-3.0.2 20030523 -> 20030527
@
text
@d52 1
a52 1
Release:      20030527
d55 5
a59 4
%option       with_color_primary  336699
%option       with_db_mysql       yes
%option       with_db_postgresql  no
%option       with_db_oracle      no
d348 1
@


1.58
log
@modifying package: rt-3.0.2 20030520 -> 20030523
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.41
d52 1
a52 1
Release:      20030523
@


1.57
log
@recover Ticket_Overlay patch
@
text
@d34 1
a34 1
%define       V_www_mechanize              0.40
d52 1
a52 1
Release:      20030520
@


1.56
log
@Before deploying this beast once again, tweak this fairly complex
package in the hope that this reduces its complexity a little bit ;-)
- add a bunch of code comments to document the parts a little bit more
- simplify packaging by compacting commands
- reorder Perl module installation to better satisfy their dependencies
- split %post hint into initial and upgrade messages
- require latest perl-openpkg which has the -p option only
- strip down installation files even more
@
text
@d52 1
a52 1
Release:      20030517
@


1.55
log
@remember this already existing issue (workaround is to open permissions on var-dir of 'apache'
@
text
@d52 1
a52 1
Release:      20030516
d95 1
a95 1
BuildPreReq:  OpenPKG, openpkg >= 20020206, perl, perl-openpkg
d124 1
d136 4
a139 3
    ( cd rt-%{V_real}
      %patch0 -p0
    ) || exit $?
d142 7
a148 1
        %{SOURCE config.layout} rt-%{V_real}/.
d150 2
a151 5
      -e 's;chown;true;g' \
      -e 's;chgrp;true;g' \
      -e 's;chmod;true;g' \
      -e 's;mkdir -p;%{l_shtool} mkdir -p;g' \
      rt-%{V_real}/Makefile.in
d153 2
a154 2
      -e 's;Locale::Maketext 1\.04;Locale::Maketext 1.03;' \
      rt-%{V_real}/lib/RT/I18N.pm
d157 4
a160 6
    ( cd rt-%{V_real}
      %{l_shtool} subst \
        -e 's;/usr/sbin/sendmail;%{l_prefix}/sbin/sendmail;g' \
        etc/RT_Config.pm.in
      PERL=%{l_prefix}/bin/perl
      ./configure \
a188 1
    ) || exit $?
d193 1
a193 1
    #   perform common prolog operations
a195 1

d198 5
d207 1
a207 1
        -d HTML-Mason-%{V_html_mason} \
d210 1
a210 1
        -d libapreq-%{V_libapreq} \
a229 3
    %{l_prefix}/bin/perl-openpkg install \
        -d Regexp-Common-%{V_regexp_common} \
        -p ${RPM_BUILD_ROOT}$rt
d231 1
a231 1
    #   perform common epilog operations
d234 1
d248 1
d250 4
a253 10
      %{l_make} \
        config-install \
        dirs \
        libs-install \
        etc-install \
        bin-install \
        sbin-install \
        html-install \
        doc-install \
        DESTDIR=$RPM_BUILD_ROOT
d255 2
a256 2
        etc/upgrade/* \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/upgrade/
d258 8
a265 4
        -e '/Set($WebBaseURL/s;"[^"]*";"";' \
        etc/RT_Config.pm \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/RT_SiteConfig.pm
      rm -f \
d267 1
a267 4
      ln -s \
        %{l_prefix}/etc/rt/RT_SiteConfig.pm \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/RT_SiteConfig.pm
      mv \
d270 2
a271 2
      ln -s \
        %{l_prefix}/etc/rt/webrt.css \
d273 1
a273 1
      mv \
d276 2
a277 2
      ln -s \
        %{l_prefix}/etc/rt/local \
d279 12
a290 1
    ) || exit $?
d292 3
a294 3
    #   cleanup installation area
    rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/*.svc
    rm -f $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/rt-test-dependencies
d296 5
a300 3
    rm -f $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/RT.pm.in
    rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/xgettext.pl
    rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/pod2test
d302 1
a302 1
    #   setup/cleanup/upgrade script
d315 1
a315 11
        %{SOURCE rtsetup} \
        $RPM_BUILD_ROOT%{l_prefix}/sbin/
    %{l_shtool} install -c -m 755 \
        -e 's;@@l_prefix@@;%{l_prefix};g' \
        -e "s;@@rt_db_dba@@;$rt_db_dba;g" \
        %{SOURCE rtcleanup} \
        $RPM_BUILD_ROOT%{l_prefix}/sbin/
    %{l_shtool} install -c -m 755 \
        -e 's;@@l_prefix@@;%{l_prefix};g' \
        -e "s;@@rt_db_dba@@;$rt_db_dba;g" \
        %{SOURCE rtupgrade} \
d318 1
a318 1
    #   startup script
d326 1
a326 1
    #   apachectl wrapper
d332 1
a332 1
    #   apache config
d344 1
a344 15
    #   better places
    mv \
        $RPM_BUILD_ROOT%{l_prefix}/bin/webmux.pl \
        $RPM_BUILD_ROOT%{l_prefix}/bin/mason_handler.fcgi \
        $RPM_BUILD_ROOT%{l_prefix}/cgi/rt/
    mv \
        $RPM_BUILD_ROOT%{l_prefix}/bin/rt-crontool \
        $RPM_BUILD_ROOT%{l_prefix}/bin/rt-mailgate \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/
    %{l_shtool} install -c -m 755 \
        -e 's;@@l_prefix@@;%{l_prefix};g' \
        %{SOURCE rt-mailgate.sh} \
        $RPM_BUILD_ROOT%{l_prefix}/bin/rt-mailgate

    #   post-adjustments
d347 2
a348 1
        `find $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/WebRT -type f -print | grep -v gif | grep -v jpg`
d376 2
a377 3
            (
              echo "rt:              \"|%{l_prefix}/bin/rt-mailgate --action correspond --queue general --url http://127.0.0.1:8380/\""
              echo "rt-comment:      \"|%{l_prefix}/bin/rt-mailgate --action comment --queue general --url http://127.0.0.1:8380/\""
d383 15
a398 13
    ( echo "To complete installation of the RT package please check the"
      echo "file '$RPM_INSTALL_PREFIX/etc/rt/RT_SiteConfig.pm'. In particular"
      echo "you have to assign a password to the RT database user."
      echo "If you have an old RT database you can erase it with:"
      echo "$RPM_INSTALL_PREFIX/sbin/rtcleanup"
      echo "If you start with a new installation of RT then run the command:"
      echo "$RPM_INSTALL_PREFIX/sbin/rtsetup"
      echo "DON'T FORGET TO SET A ADMINISTRATOR PASSWORD"
      echo "Default settings are: user 'root', password 'password'"
      echo "If you upgrade from an earlier 3.x-RT-Version then run:"
      echo "$RPM_INSTALL_PREFIX/sbin/rtupgrade old-rt-version"
      echo "to update RTs system tables"
    ) | %{l_rpmtool} msg -b -t notice
d415 2
a416 1
        rm -f $RPM_INSTALL_PREFIX/var/rt/mason-session/*
d418 3
a420 3
        rm -f $RPM_INSTALL_PREFIX/var/rt/log/*
        rm -f $RPM_INSTALL_PREFIX/var/rt/run/apache.pid
        rm -f $RPM_INSTALL_PREFIX/var/rt/run/ssl_scache
d422 1
@


1.54
log
@polishing
@
text
@d26 2
@


1.53
log
@upgrade rt 3.0.1 -> 3.0.2; polishing
@
text
@d50 1
a50 1
Release:      20030515
d279 1
a279 1
    #   remove Win32 handler
a280 2

    #   remove dependency check script
d282 4
@


1.52
log
@modifying package: rt-3.0.1 20030502 -> 20030503
@
text
@d27 2
a28 2
%define       V_real                       3-0-1
%define       V_here                       3.0.1
d50 1
a50 1
Release:      20030503
d54 13
d101 1
d103 7
d145 3
d160 1
d162 14
a175 2
        --with-db-database=RT \
        --with-db-user=RT \
d177 1
a190 1
    %{l_prefix}/bin/perl-openpkg prolog
a191 16
    perl="${RPM_BUILD_DIR}/perl"
    echo "exec ${l_prefix}/bin/perl \\" >>$perl
    echo " \"\$@@\"" >>$perl
    chmod a+x $perl

    ( cd Log-Dispatch-%{V_log_dispatch}
      perl_args="INSTALLSITELIB=${RPM_BUILD_ROOT}$rt"
      make=`%{l_prefix}/bin/rpm --eval '%{l_make} %{l_mflags}'`
      make_args="PERL=${perl} FULLPERL=${perl}"
      chmod -R u+rw Makefile.PL
      cp Makefile.PL Makefile.PL.orig
      sed -e "s:\$^X:'$perl':g" <Makefile.PL.orig >Makefile.PL
      $perl Makefile.PL ${1+"$@@"} $perl_args </dev/null
      $make $make_args pure_all
      $make $make_args pure_install
    ) || exit $?
d193 1
a193 35
    ( cd HTML-Mason-%{V_html_mason}
      perl_args="INSTALLSITELIB=${RPM_BUILD_ROOT}$rt"
      make=`%{l_prefix}/bin/rpm --eval '%{l_make} %{l_mflags}'`
      make_args="PERL=${perl} FULLPERL=${perl}"
      chmod -R u+rw Makefile.PL
      cp Makefile.PL Makefile.PL.orig
      sed -e "s:\$^X:'$perl':g" <Makefile.PL.orig >Makefile.PL
      $perl Makefile.PL ${1+"$@@"} $perl_args </dev/null
      $make $make_args pure_all
      $make $make_args pure_install
    ) || exit $?

    ( cd libapreq-%{V_libapreq}
      perl_args="INSTALLSITELIB=${RPM_BUILD_ROOT}$rt"
      make=`%{l_prefix}/bin/rpm --eval '%{l_make} %{l_mflags}'`
      make_args="PERL=${perl} FULLPERL=${perl}"
      chmod -R u+rw Makefile.PL
      cp Makefile.PL Makefile.PL.orig
      sed -e "s:\$^X:'$perl':g" <Makefile.PL.orig >Makefile.PL
      $perl Makefile.PL ${1+"$@@"} $perl_args </dev/null
      $make $make_args pure_all
      $make $make_args pure_install
    ) || exit $?

    ( cd WWW-Mechanize-%{V_www_mechanize}
      perl_args="INSTALLSITELIB=${RPM_BUILD_ROOT}$rt"
      make=`%{l_prefix}/bin/rpm --eval '%{l_make} %{l_mflags}'`
      make_args="PERL=${perl} FULLPERL=${perl}"
      chmod -R u+rw Makefile.PL
      cp Makefile.PL Makefile.PL.orig
      sed -e "s:\$^X:'$perl':g" <Makefile.PL.orig >Makefile.PL
      $perl Makefile.PL ${1+"$@@"} $perl_args </dev/null
      $make $make_args pure_all
      $make $make_args pure_install
    ) || exit $?
d195 30
a224 71
    ( cd MLDBM-%{V_mldbm}
      perl_args="INSTALLSITELIB=${RPM_BUILD_ROOT}$rt"
      make=`%{l_prefix}/bin/rpm --eval '%{l_make} %{l_mflags}'`
      make_args="PERL=${perl} FULLPERL=${perl}"
      chmod -R u+rw Makefile.PL
      cp Makefile.PL Makefile.PL.orig
      sed -e "s:\$^X:'$perl':g" <Makefile.PL.orig >Makefile.PL
      $perl Makefile.PL ${1+"$@@"} $perl_args </dev/null
      $make $make_args pure_all
      $make $make_args pure_install
    ) || exit $?

    ( cd HTML-Format-%{V_html_format}
      perl_args="INSTALLSITELIB=${RPM_BUILD_ROOT}$rt"
      make=`%{l_prefix}/bin/rpm --eval '%{l_make} %{l_mflags}'`
      make_args="PERL=${perl} FULLPERL=${perl}"
      chmod -R u+rw Makefile.PL
      cp Makefile.PL Makefile.PL.orig
      sed -e "s:\$^X:'$perl':g" <Makefile.PL.orig >Makefile.PL
      $perl Makefile.PL ${1+"$@@"} $perl_args </dev/null
      $make $make_args pure_all
      $make $make_args pure_install
    ) || exit $?

    ( cd Test-Inline-%{V_test_inline}
      perl_args="INSTALLSITELIB=${RPM_BUILD_ROOT}$rt"
      make=`%{l_prefix}/bin/rpm --eval '%{l_make} %{l_mflags}'`
      make_args="PERL=${perl} FULLPERL=${perl}"
      chmod -R u+rw Makefile.PL
      cp Makefile.PL Makefile.PL.orig
      sed -e "s:\$^X:'$perl':g" <Makefile.PL.orig >Makefile.PL
      $perl Makefile.PL ${1+"$@@"} $perl_args </dev/null
      $make $make_args pure_all
      $make $make_args pure_install
    ) || exit $?

    ( cd Locale-Maketext-Lexicon-%{V_locale_maketext_lexicon}
      perl_args="INSTALLSITELIB=${RPM_BUILD_ROOT}$rt"
      make=`%{l_prefix}/bin/rpm --eval '%{l_make} %{l_mflags}'`
      make_args="PERL=${perl} FULLPERL=${perl}"
      chmod -R u+rw Makefile.PL
      cp Makefile.PL Makefile.PL.orig
      sed -e "s:\$^X:'$perl':g" <Makefile.PL.orig >Makefile.PL
      $perl Makefile.PL ${1+"$@@"} $perl_args </dev/null
      $make $make_args pure_all
      $make $make_args pure_install
    ) || exit $?

    ( cd Locale-Maketext-Fuzzy-%{V_locale_maketext_fuzzy}
      perl_args="INSTALLSITELIB=${RPM_BUILD_ROOT}$rt"
      make=`%{l_prefix}/bin/rpm --eval '%{l_make} %{l_mflags}'`
      make_args="PERL=${perl} FULLPERL=${perl}"
      chmod -R u+rw Makefile.PL
      cp Makefile.PL Makefile.PL.orig
      sed -e "s:\$^X:'$perl':g" <Makefile.PL.orig >Makefile.PL
      $perl Makefile.PL ${1+"$@@"} $perl_args </dev/null
      $make $make_args pure_all
      $make $make_args pure_install
    ) || exit $?

    ( cd Regexp-Common-%{V_regexp_common}
      perl_args="INSTALLSITELIB=${RPM_BUILD_ROOT}$rt"
      make=`%{l_prefix}/bin/rpm --eval '%{l_make} %{l_mflags}'`
      make_args="PERL=${perl} FULLPERL=${perl}"
      chmod -R u+rw Makefile.PL
      cp Makefile.PL Makefile.PL.orig
      sed -e "s:\$^X:'$perl':g" <Makefile.PL.orig >Makefile.PL
      $perl Makefile.PL ${1+"$@@"} $perl_args </dev/null
      $make $make_args pure_all
      $make $make_args pure_install
    ) || exit $?
a257 1
        -e '/Set($WebImagesURL/s;/";";' \
d286 9
d297 1
a297 1
        -e 's;@@rt_db_dba@@;root;g' \
d302 1
a302 1
        -e 's;@@rt_db_dba@@;root;g' \
d307 1
a307 1
        -e 's;@@rt_db_dba@@;root;g' \
@


1.51
log
@modifying package: rt-3.0.1 20030430 -> 20030502
@
text
@d36 1
a36 1
%define       V_locale_maketext_lexicon    0.25
d50 1
a50 1
Release:      20030502
@


1.50
log
@modifying package: rt-3.0.1 20030429 -> 20030430
@
text
@d30 1
a30 1
%define       V_html_mason                 1.19
d50 1
a50 1
Release:      20030430
@


1.49
log
@modifying package: rt-3.0.1 20030428 -> 20030429
@
text
@d36 1
a36 1
%define       V_locale_maketext_lexicon    0.24
d50 1
a50 1
Release:      20030429
@


1.48
log
@modifying package: rt-3.0.1 20030427 -> 20030428
@
text
@d36 1
a36 1
%define       V_locale_maketext_lexicon    0.23
d50 1
a50 1
Release:      20030428
@


1.47
log
@downgrade to Log::Dispatch 2.04 because it has reasonable dependencies; upgrade to Locale::Maketext::Lexicon 0.21
@
text
@d36 1
a36 1
%define       V_locale_maketext_lexicon    0.21
d50 1
a50 1
Release:      20030427
@


1.46
log
@modifying package: rt-3.0.1 20030419 -> 20030420
@
text
@d29 1
a29 1
%define       V_log_dispatch               2.05
d36 1
a36 1
%define       V_locale_maketext_lexicon    0.16
d50 1
a50 1
Release:      20030420
@


1.45
log
@modifying package: rt-3.0.1 20030417 -> 20030419
@
text
@d32 1
a32 1
%define       V_www_mechanize              0.39
d50 1
a50 1
Release:      20030419
@


1.44
log
@support taking over tickets owned by nobody
@
text
@d29 1
a29 1
%define       V_log_dispatch               2.04
d50 1
a50 1
Release:      20030417
@


1.43
log
@upgrading package: rt 3.0.0 -> 3.0.1
@
text
@d50 1
a50 1
Release:      20030416
@


1.42
log
@fix SetOwner - ACL caching is still broken, beware
@
text
@d27 2
a28 2
%define       V_real                       3-0-0
%define       V_here                       3.0.0
d50 1
a50 1
Release:      20030407
@


1.41
log
@fix the local stuff (RT has the local dir hard-coded, so symlink it, too)
@
text
@d50 1
a50 1
Release:      20030404
@


1.40
log
@- move webrt.css to <prefix>/etc/rt/ as %config for editing
- move rtapache.conf to <prefix>/etc/rt/ as %config for editing
- integrate primary color selection as %option to reduce post-patching
- disable useless header element on login screen
- disable nasty looking copyright message on login screen
- provide generic support for logo and URL in header
@
text
@d143 3
a145 3
        --with-customhtmldir=%{l_prefix}/etc/rt/html \
        --with-customlibdir=%{l_prefix}/etc/rt/lib \
        --with-customlexdir=%{l_prefix}/etc/rt/po
a290 4
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/local \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/lib \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/html \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rt/po \
d326 6
@


1.39
log
@move local data into etc directory
@
text
@d50 4
a53 1
Release:      20030403
d324 6
d358 2
a359 2
        -e 's;@@l_rusr@@;%{l_rusr};g'     \
        -e 's;@@l_rgrp@@;%{l_rgrp};g'     \
d379 1
a379 1
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/
d395 6
d407 2
@


1.38
log
@Upgrading rexep-common 2.112 -> 2.113; Upgrading www-mechanoze 0.38 -> 0.39
@
text
@d138 5
a142 1
        --with-web-group=%{l_ngrp}
d288 4
a291 1
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/local/lib \
@


1.37
log
@fix CanonicalizeEmailAddress, configure MTA aliases, make apache listen on localhost only
@
text
@d32 1
a32 1
%define       V_www_mechanize              0.38
d38 1
a38 1
%define       V_regexp_common              2.112
d50 1
a50 1
Release:      20030402
@


1.36
log
@add mailgate wrapper to set PERL search path
@
text
@d50 1
a50 1
Release:      20030401
d72 1
d109 3
d397 14
d427 1
d429 11
@


1.35
log
@drop suidwrapper for rt-mailgate
@
text
@d50 1
a50 1
Release:      20030327
d71 1
d368 1
d370 4
@


1.34
log
@fix default config
@
text
@d69 2
a70 3
Source16:     rt-mailgate.c
Source17:     rtapache.conf
Source18:     config.layout
a117 12
    #   compile SUID wrapper
    mkdir suidwrap
    ( cd suidwrap
      cp %{SOURCE rt-mailgate.c} .
      %{l_shtool} subst \
        -e 's;@@l_prefix@@;%{l_prefix};g' \
        -e 's;@@l_rusr@@;%{l_rusr};g' \
        -e 's;@@l_rgrp@@;%{l_rgrp};g' \
        rt-mailgate.c
      %{l_cc} -o rt-mailgate rt-mailgate.c
    ) || exit $?

a365 1
        $RPM_BUILD_ROOT%{l_prefix}/bin/rt-mailgate \
a367 3
    %{l_shtool} install -c -s -m 755 \
        suidwrap/rt-mailgate \
        $RPM_BUILD_ROOT%{l_prefix}/bin/
a371 1
        '%attr(755,%{l_musr},%{l_mgrp}) %{l_prefix}/libexec/rt/tools/rt-mailgate' \
a373 1
        '%attr(6755,%{l_rusr},%{l_rgrp}) %{l_prefix}/bin/rt-mailgate' \
@


1.33
log
@upgrade 2.0.15 -> 3.0, is not forward compatible, see homepage for a migration tool (rt2_to_rt3)
@
text
@d313 2
a314 2
        -e '/Set(\$WebBaseURL/s;"["]*";"";' \
        -e '/Set(\$WebImagesURL/s;/";";' \
@


1.32
log
@speclint police
@
text
@d27 12
a38 5
%define       V_real         2-0-15
%define       V_here         2.0.15
%define       V_log_dispatch 2.04
%define       V_html_mason   1.19
%define       V_libapreq     1.1
d50 1
a50 1
Release:      20030324
d56 16
a71 8
Source3:      http://www.fsck.com/pub/rt/release/rt-%{V_real}.tar.gz
Source4:      rc.rt
Source5:      rtsetup
Source6:      rtcleanup
Source7:      rtupgrade
Source8:      rtapachectl
Source9:      rt-mailgate.c
Source10:     rtapache.conf
d101 16
a118 2
    rm -rf $RPM_BUILD_ROOT

d129 22
a150 1
    )
d173 12
d197 73
a269 1
    ( cd HTML-Mason-%{V_html_mason}
d284 13
a296 45
    ( cd rt-%{V_real}
      %{l_shtool} subst \
          -e 's#^\(package\)#use lib "!!RT_LIB_PATH!!";\1#' \
          bin/webmux.pl
      %{l_shtool} subst \
          -e 's#/usr/sbin/sendmail#%{l_prefix}/sbin/sendmail#' \
          etc/config.pm
      %{l_shtool} subst \
          -e 's;^\(PERL[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix}/bin/perl;g' \
          -e 's;^\(BIN_OWNER[[:blank:]]*=[[:blank:]]*\).*;\1%{l_musr};g' \
          -e 's;^\(RTGROUP[[:blank:]]*=[[:blank:]]*\).*;\1%{l_mgrp};g' \
          -e 's;^\(LIBS_OWNER[[:blank:]]*=[[:blank:]]*\).*;\1%{l_musr};g' \
          -e 's;^\(LIBS_GROUP[[:blank:]]*=[[:blank:]]*\).*;\1%{l_mgrp};g' \
          -e 's;^\(RT_PATH[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix}/libexec/rt;g' \
          -e 's;^\(RT_LIB_PATH[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix}/libexec/rt;g' \
          -e 's;^\(RT_ETC_PATH[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix}/etc/rt;g' \
          -e 's;^\(RT_BIN_PATH[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix}/bin;g' \
          -e 's;^\(RT_MAN_PATH[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix}/man;g' \
          -e 's;^\(MASON_LOCAL_HTML_PATH[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix}/libexec/rt/mason;g' \
          -e 's;^\(MASON_DATA_PATH[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix}/var/rt/mason-data;g' \
          -e 's;^\(MASON_SESSION_PATH[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix}/var/rt/mason-session;g' \
          -e 's;^\(RT_LOG_PATH[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix}/var/rt/log;g' \
          -e 's;^\(RT_MODPERL_HANDLER[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix}/cgi/rt/webmux.pl;g' \
          -e 's;^\(RT_FASTCGI_HANDLER[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix}/cgi/rt/mason_handler.fcgi;g' \
          -e 's;^\(RT_SPEEDYCGI_HANDLER[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix}/cgi/rt/mason_handler.scgi;g' \
          -e 's;^\(DB_TYPE[[:blank:]]*=[[:blank:]]*\).*;\1mysql;g' \
          -e 's;^\(DB_HOST[[:blank:]]*=[[:blank:]]*\).*;\1localhost;g' \
          -e 's;^\(DB_PORT[[:blank:]]*=[[:blank:]]*\).*;\1;g' \
          -e 's;^\(DB_HOME[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix};g' \
          -e 's;^\(DB_DBA[[:blank:]]*=[[:blank:]]*\).*;\1root;g' \
          -e 's;^\(DB_RT_HOST[[:blank:]]*=[[:blank:]]*\).*;\1localhost;g' \
          -e 's;^\(DB_DATABASE[[:blank:]]*=[[:blank:]]*\).*;\1RT;g' \
          -e 's;^\(DB_RT_USER[[:blank:]]*=[[:blank:]]*\).*;\1RT;g' \
          -e 's;^\(DB_RT_PASS[[:blank:]]*=[[:blank:]]*\).*;\1XXX;g' \
          -e 's;^\(WEB_USER[[:blank:]]*=[[:blank:]]*\).*;\1%{l_nusr};g' \
          -e 's;^\(WEB_GROUP[[:blank:]]*=[[:blank:]]*\).*;\1%{l_ngrp};g' \
          -e 's;\([[:blank:]]INSTALLSITELIB=\);\1\$(DESTDIR);g' \
          -e 's;\([[:blank:]]INSTALLSITEMAN1DIR=\);\1\$(DESTDIR);g' \
          -e 's;\([[:blank:]]INSTALLSITEMAN3DIR=\);\1\$(DESTDIR);g' \
          -e 's;chown;true;g' \
          -e 's;chgrp;true;g' \
          -e 's;mkdir -p;%{l_shtool} mkdir -p;g' \
          Makefile
      %{l_make} %{l_mflags}
    ) || exit $?
a297 2
%install
    mkdir -p $RPM_BUILD_ROOT%{l_prefix}/cgi/rt
d299 9
a307 5
      CC=%{l_cc} \
      LDFLAGS=%{l_ldflags} \
      LDDFLAGS=%{l_lddflags} \
      PERL5LIB=${RPM_BUILD_ROOT}%{l_prefix}/libexec/rt \
      %{l_make} %{l_mflags} dirs upgrade instruct \
d309 13
a321 12
      %{l_shtool} mkdir -p -m 755 \
          $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools
      for f in tools/initdb bin/initacls.*; do
          %{l_shtool} install -c -m 755 \
              $f $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/
      done
      %{l_shtool} mkdir -p -m 755 \
          $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc
      for f in etc/acl.* etc/schema.*; do
          %{l_shtool} install -c -m 755 \
              $f $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/etc/
      done
d324 6
a330 2
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/sbin
a347 2
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d
a355 2
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools
d362 2
d368 2
a372 6
    #   apache data
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/var/rt/run
    %{l_shtool} mkdir -f -p -m 755 \
        $RPM_BUILD_ROOT%{l_prefix}/var/rt/log

d374 8
a381 4
    mv $RPM_BUILD_ROOT%{l_prefix}/etc/rt/insertdata \
       $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/
    mv $RPM_BUILD_ROOT%{l_prefix}/bin/rt-mailgate \
       $RPM_BUILD_ROOT%{l_prefix}/libexec/rt/tools/
d390 2
a391 1
        '%attr(755,%{l_musr},%{l_mgrp}) %{l_prefix}/libexec/rt/tools/insertdata' \
d393 1
a393 1
        '%config %attr(640,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/config.pm' \
d395 1
d407 2
a408 2
      echo "file '$RPM_INSTALL_PREFIX/etc/rt/config.pm'. In particular you"
      echo "have to assign a password to the RT database user."
d413 3
a415 3
      echo "Don't forget to set a administrator password with:"
      echo "$RPM_INSTALL_PREFIX/bin/rtadmin --user=root --password='...'"
      echo "If you upgrade from an earlier 2.x-RT-Version then run:"
d424 1
a424 1
        rm -f -r $RPM_INSTALL_PREFIX/var/rt/mason-data/*
@


1.31
log
@update log-dispatch module
@
text
@d43 1
a43 1
Release:      20030322
d65 1
a65 1
PreReq:       OpenPKG, openpkg >= 20020206, perl, perl-openpkg,
@


1.30
log
@mega-commit: speclint police changes which were not picked up by openpkg-dev before
@
text
@d29 1
a29 1
%define       V_log_dispatch 2.03
d43 1
a43 1
Release:      20030305
@


1.29
log
@update HTML::Mason 1.18 -> 1.19
@
text
@d43 1
a43 1
Release:      20030304
d219 1
a219 1
    # setup/cleanup/upgrade script
d238 1
a238 1
    # startup script
d248 1
a248 1
    # apachectl wrapper
d256 1
a256 1
    # apache config
d264 1
a264 1
    # apache data
d270 1
a270 1
    # better places
@


1.28
log
@upgrade Log::Dispatch
@
text
@d30 1
a30 1
%define       V_html_mason   1.18
d43 1
a43 1
Release:      20030228
@


1.27
log
@Upgrading log-dispatch 2.01 -> 2.02
@
text
@d29 1
a29 1
%define       V_log_dispatch 2.02
d43 1
a43 1
Release:      20030221
@


1.26
log
@make config.pm a config file
@
text
@d29 1
a29 1
%define       V_log_dispatch 2.01
d43 1
a43 1
Release:      20030203
@


1.25
log
@forgot to package apache config file
@
text
@d285 1
a285 1
        '%attr(640,%{l_musr},%{l_rgrp}) %{l_prefix}/etc/rt/config.pm' \
@


1.24
log
@perhaps it needs more polishing, but its packaging is finished, so upgrade to EVAL
@
text
@d43 1
a43 1
Release:      20030202
d56 1
@


1.23
log
@update libapreq
@
text
@d26 1
d39 1
a39 1
Distribution: OpenPKG [JUNK]
d43 1
a43 1
Release:      20030129
@


1.22
log
@now runs without root
@
text
@d30 1
a30 1
%define       V_libapreq     1.0
d42 1
a42 1
Release:      20030128
@


1.21
log
@now use Apache::DBI by default
@
text
@d241 2
a242 2
        -e 's;@@l_musr@@;%{l_rusr};g'     \
        -e 's;@@l_mgrp@@;%{l_rgrp};g'     \
d286 2
a287 1
        '%attr(750,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/rt/log'
d316 1
@


1.20
log
@added suid-wrapper for mailgate
@
text
@d42 1
a42 1
Release:      20030127
d314 1
@


1.19
log
@initial release
@
text
@d54 1
d60 1
a60 1
BuildPreReq:  perl-sys, perl-util, perl-ds, perl-text
d62 1
d64 1
a64 2
PreReq:       MTA, MYSQL, apache, apache::with_mod_perl = yes, perl-apache
PreReq:       perl-sys, perl-util, perl-ds, perl-text
d66 3
a68 1
PreReq:       perl-dbi::with_dbd_mysql = yes
d88 12
d268 1
a268 1
    # better places ?
d271 5
d280 3
d312 1
a312 1
        rm -f $RPM_INSTALL_PREFIX/var/rt/mason-data/*
@


1.18
log
@almost working snapshot
@
text
@d42 1
a42 1
Release:      20030124
d51 3
a53 1
Source6:      rtapachectl
d62 1
a62 1
PreReq:       MYSQL, apache, apache::with_mod_perl = yes, perl-apache
d138 3
d202 1
a202 1
    # setup script
d210 10
d255 1
a255 1
       $RPM_BUILD_ROOT%{l_prefix}/sbin/rtinsertdata
d270 22
@


1.17
log
@use virtual package MYSQL
@
text
@d29 2
d42 1
a42 1
Release:      20030116
d46 6
a51 1
Source1:      http://www.fsck.com/pub/rt/release/rt-%{V_real}.tar.gz
d56 1
a56 1
BuildPreReq:  OpenPKG, openpkg >= 20020206, perl
d59 2
a60 1
PreReq:       OpenPKG, openpkg >= 20020206, perl, MYSQL, apache
d63 1
d77 2
d82 10
d93 10
a102 9
    
      #   perform common prolog operations
      rt=%{l_prefix}/share/rt
      %{l_prefix}/bin/perl-openpkg prolog
      %{l_shtool} mkdir -f -p -m 755 ${RPM_BUILD_ROOT}$rt
      perl="${RPM_BUILD_DIR}/perl"
      echo "exec ${l_prefix}/bin/perl \\" >>$perl
      echo " \"\$@@\"" >>$perl
      chmod a+x $perl
d104 1
a104 1
      #   build and install individual modules
d114 1
d116 10
a125 2
      #   perform common epilog operations
      %{l_prefix}/bin/perl-openpkg epilog
d128 3
d133 3
d141 2
a142 2
          -e 's;^\(RT_PATH[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix}/share/rt;g' \
          -e 's;^\(RT_LIB_PATH[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix}/share/rt;g' \
d146 1
a146 1
          -e 's;^\(MASON_LOCAL_HTML_PATH[[:blank:]]*=[[:blank:]]*\).*;\1%{l_prefix}/share/rt/mason;g' \
a157 1
          -e 's;^\(DB_DBA_PASSWORD[[:blank:]]*=[[:blank:]]*\).*;\1XXX;g' \
d180 1
a180 1
      PERL5LIB=${RPM_BUILD_ROOT}%{l_prefix}/share/rt \
d183 12
d196 46
d244 5
a248 1
        '%{l_prefix}/share/rt'
@


1.16
log
@more explicit dependencies
@
text
@d40 1
a40 1
Release:      20030113
d52 1
a52 1
PreReq:       OpenPKG, openpkg >= 20020206, perl, mysql, apache
@


1.15
log
@bail out on error
@
text
@d49 6
a54 2
BuildPreReq:  OpenPKG, openpkg >= 20020206, perl-sys, perl-util, perl-ds, perl-text, perl-dbix
PreReq:       OpenPKG, openpkg >= 20020206, perl, mysql, apache, perl-sys, perl-util, perl-ds, perl-text, perl-dbix
@


1.14
log
@fixed dependencies
@
text
@d91 1
a91 1
    )
d132 1
a132 1
    )
d143 1
a143 1
    )
@


1.13
log
@partial build now completes
TODO: configuration/setup-scripts
@
text
@d40 1
a40 1
Release:      20030110
d49 2
a50 2
BuildPreReq:  OpenPKG, openpkg >= 20020206, perl-sys, perl-util, perl-ds, perl-text
PreReq:       OpenPKG, openpkg >= 20020206, perl, mysql, apache, perl-sys, perl-util, perl-ds, perl-text
d151 1
a151 1
    #rm -rf $RPM_BUILD_ROOT
@


1.12
log
@remove '%options' hack, it will be replaced soon with a more elegant solution based on RPM 'Provides' headers
@
text
@d26 3
a28 2
%define       V_real 2-0-15
%define       V_here 2.0.15
d40 1
a40 1
Release:      20021005
d43 2
a44 1
Source0:      http://www.fsck.com/pub/rt/release/rt-%{V_real}.tar.gz
d49 2
a50 2
BuildPreReq:  OpenPKG, openpkg >= 20020206
PreReq:       OpenPKG, openpkg >= 20020206, perl, mysql, apache
d62 2
a63 1
    %setup -q -n rt-%{V_real}
d66 67
a132 35
    %{l_shtool} subst \
        -e 's;^\(PERL *= *\).*;\1%{l_prefix}/bin/perl;g' \
        -e 's;^\(BIN_OWNER *= *\).*;\1%{l_musr};g' \
        -e 's;^\(RTGROUP *= *\).*;\1%{l_mgrp};g' \
        -e 's;^\(LIBS_OWNER *= *\).*;\1%{l_musr};g' \
        -e 's;^\(LIBS_GROUP *= *\).*;\1%{l_mgrp};g' \
        -e 's;^\(RT_PATH *= *\).*;\1%{l_prefix}/share/rt;g' \
        -e 's;^\(RT_LIB_PATH *= *\).*;\1%{l_prefix}/share/rt;g' \
        -e 's;^\(RT_ETC_PATH *= *\).*;\1%{l_prefix}/etc/rt;g' \
        -e 's;^\(RT_BIN_PATH *= *\).*;\1%{l_prefix}/bin;g' \
        -e 's;^\(RT_MAN_PATH *= *\).*;\1%{l_prefix}/man;g' \
        -e 's;^\(MASON_LOCAL_HTML_PATH *= *\).*;\1%{l_prefix}/share/rt/mason;g' \
        -e 's;^\(MASON_DATA_PATH *= *\).*;\1%{l_prefix}/var/rt/mason-data;g' \
        -e 's;^\(MASON_SESSION_PATH *= *\).*;\1%{l_prefix}/var/rt/mason-session;g' \
        -e 's;^\(RT_LOG_PATH *= *\).*;\1%{l_prefix}/var/rt/log;g' \
        -e 's;^\(RT_MODPERL_HANDLER *= *\).*;\1%{l_prefix}/cgi/rt/webmux.pl;g' \
        -e 's;^\(RT_FASTCGI_HANDLER *= *\).*;\1%{l_prefix}/cgi/rt/mason_handler.fcgi;g' \
        -e 's;^\(RT_SPEEDYCGI_HANDLER *= *\).*;\1%{l_prefix}/cgi/rt/mason_handler.scgi;g' \
        -e 's;^\(DB_TYPE *= *\).*;\1mysql;g' \
        -e 's;^\(DB_HOST *= *\).*;\1localhost;g' \
        -e 's;^\(DB_PORT *= *\).*;\1;g' \
        -e 's;^\(DB_HOME *= *\).*;\1%{l_prefix};g' \
        -e 's;^\(DB_DBA *= *\).*;\1root;g' \
        -e 's;^\(DB_DBA_PASSWORD *= *\).*;\1XXX;g' \
        -e 's;^\(DB_RT_HOST *= *\).*;\1localhost;g' \
        -e 's;^\(DB_DATABASE *= *\).*;\1RT;g' \
        -e 's;^\(DB_RT_USER *= *\).*;\1RT;g' \
        -e 's;^\(DB_RT_PASS *= *\).*;\1XXX;g' \
        -e 's;^\(WEB_USER *= *\).*;\1%{l_nusr};g' \
        -e 's;^\(WEB_GROUP *= *\).*;\1%{l_ngrp};g' \
        -e 's;chown;true;g' \
        -e 's;chgrp;true;g' \
        -e 's;mkdir -p;%{l_shtool} mkdir -p;g' \
        Makefile
    %{l_make} %{l_mflags}
d135 12
a146 3
    rm -rf $RPM_BUILD_ROOT
    %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
d151 1
a151 1
    rm -rf $RPM_BUILD_ROOT
@


1.11
log
@bump of Copyright messages for forthcoming years 2003
@
text
@a58 2
    %options

@


1.10
log
@switch to %option(s), but intentionally WITHOUT dep increase and WITHOUT FTP server updates
@
text
@d3 3
a5 3
##  Copyright (c) 2000-2002 Cable & Wireless Deutschland GmbH
##  Copyright (c) 2000-2002 The OpenPKG Project <http://www.openpkg.org/>
##  Copyright (c) 2000-2002 Ralf S. Engelschall <rse@@engelschall.com>
@


1.9
log
@consistently use 'Options: none' to indicate no options to 'openpkg build'
@
text
@d59 1
a59 1
    Options: none
@


1.8
log
@dummy update (is a JUNK package)
@
text
@d59 2
@


1.7
log
@Woohhooo: apply the new package classification system.
(CORE, BASE, PLUS, PRIV, EVAL, JUNK). A description of
them follows on the website soon.
@
text
@d26 2
a27 2
%define       V_real 2-0-14
%define       V_here 2.0.14
d39 1
a39 1
Release:      20020720
@


1.6
log
@upgrading package: rt 2.0.13 -> 2.0.14
@
text
@d35 1
a35 1
Distribution: OpenPKG [BRK]
@


1.5
log
@strip trailing whitespaces
@
text
@d26 2
a27 2
%define       V_real 2-0-13
%define       V_here 2.0.13
d39 1
a39 1
Release:      20020206
@


1.4
log
@upgrade still broken package
@
text
@d23 1
a23 1
##  SUCH DAMAGE. 
@


1.3
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
@d26 2
a27 2
%define       V_real 2-0-11
%define       V_here 2.0.11
@


1.2
log
@Switch to l_{s,m,r,n}{usr,grp}.
@
text
@d63 34
a96 34
    %{l_rpmtool} subst \
        's;^\(PERL *= *\).*;\1%{l_prefix}/bin/perl;g' \
        's;^\(BIN_OWNER *= *\).*;\1%{l_musr};g' \
        's;^\(RTGROUP *= *\).*;\1%{l_mgrp};g' \
        's;^\(LIBS_OWNER *= *\).*;\1%{l_musr};g' \
        's;^\(LIBS_GROUP *= *\).*;\1%{l_mgrp};g' \
        's;^\(RT_PATH *= *\).*;\1%{l_prefix}/share/rt;g' \
        's;^\(RT_LIB_PATH *= *\).*;\1%{l_prefix}/share/rt;g' \
        's;^\(RT_ETC_PATH *= *\).*;\1%{l_prefix}/etc/rt;g' \
        's;^\(RT_BIN_PATH *= *\).*;\1%{l_prefix}/bin;g' \
        's;^\(RT_MAN_PATH *= *\).*;\1%{l_prefix}/man;g' \
        's;^\(MASON_LOCAL_HTML_PATH *= *\).*;\1%{l_prefix}/share/rt/mason;g' \
        's;^\(MASON_DATA_PATH *= *\).*;\1%{l_prefix}/var/rt/mason-data;g' \
        's;^\(MASON_SESSION_PATH *= *\).*;\1%{l_prefix}/var/rt/mason-session;g' \
        's;^\(RT_LOG_PATH *= *\).*;\1%{l_prefix}/var/rt/log;g' \
        's;^\(RT_MODPERL_HANDLER *= *\).*;\1%{l_prefix}/cgi/rt/webmux.pl;g' \
        's;^\(RT_FASTCGI_HANDLER *= *\).*;\1%{l_prefix}/cgi/rt/mason_handler.fcgi;g' \
        's;^\(RT_SPEEDYCGI_HANDLER *= *\).*;\1%{l_prefix}/cgi/rt/mason_handler.scgi;g' \
        's;^\(DB_TYPE *= *\).*;\1mysql;g' \
        's;^\(DB_HOST *= *\).*;\1localhost;g' \
        's;^\(DB_PORT *= *\).*;\1;g' \
        's;^\(DB_HOME *= *\).*;\1%{l_prefix};g' \
        's;^\(DB_DBA *= *\).*;\1root;g' \
        's;^\(DB_DBA_PASSWORD *= *\).*;\1XXX;g' \
        's;^\(DB_RT_HOST *= *\).*;\1localhost;g' \
        's;^\(DB_DATABASE *= *\).*;\1RT;g' \
        's;^\(DB_RT_USER *= *\).*;\1RT;g' \
        's;^\(DB_RT_PASS *= *\).*;\1XXX;g' \
        's;^\(WEB_USER *= *\).*;\1%{l_nusr};g' \
        's;^\(WEB_GROUP *= *\).*;\1%{l_ngrp};g' \
        's;chown;true;g' \
        's;chgrp;true;g' \
        's;mkdir -p;%{l_shtool} mkdir -p;g' \
        -- Makefile
@


1.1
log
@new package: Request Tracker (rt) 2.0.11 [STILL BROKEN]
@
text
@d39 1
a39 1
Release:      20020109
d47 2
a48 2
BuildPreReq:  OpenPKG, openpkg >= 20011227
PreReq:       OpenPKG, openpkg >= 20011227, perl, mysql, apache
d65 4
a68 4
        's;^\(BIN_OWNER *= *\).*;\1%{l_fsusr};g' \
        's;^\(RTGROUP *= *\).*;\1%{l_fsgrp};g' \
        's;^\(LIBS_OWNER *= *\).*;\1%{l_fsusr};g' \
        's;^\(LIBS_GROUP *= *\).*;\1%{l_fsgrp};g' \
d91 2
a92 2
        's;^\(WEB_USER *= *\).*;\1%{l_npusr};g' \
        's;^\(WEB_GROUP *= *\).*;\1%{l_npgrp};g' \
@

