Package apache: Specfile

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
# hey Emacs, its -*- rpm-spec -*-
# you can build --with/--without:
# - mod_deflate [with]

# %%branch_switch set %%branch_release use
#%%define branch_switch Mxx

%define russian_patchlevel PL30.24
%define apache_vanilla_version 1.3.42
%define apache_version %{apache_vanilla_version}rus%russian_patchlevel
%define apache_release %release
%define mod_realip_version 2.0
%define mod_perl_version 1.29
%define mod_perl_version_pad %{mod_perl_version}00
%define mod_perl_doc_version %{mod_perl_version}_%apache_version
%define mod_deflate_version 1.0.21
%define mod_accel_version 1.0.34
%define EAPI_version 2.8.30a
%define mm_version 1.1.3
# EAPI tarball is subset of mod_ssl tarball

# default is 256
%define apache_hard_server_limit 1024

%define old_apache_home /home/httpd
%define suexec_docroot %apache_datadir

%def_with mod_deflate

Name: apache
Version: %apache_version
Release: %branch_release alt8.1

Summary: The most widely used Web server on the Internet
License: %asl
Group: System/Servers

Url: http://httpd.apache.org
Packager: Michael Shigorin <mike@altlinux.org>

Requires: %name-base = %version-%release
Requires: webserver-cgi-bin
Requires: webserver-html
Requires: webserver-icons

# http://httpd.apache.org/dist/httpd/apache_%apache_vanilla_version.tar.gz
# ftp://apache.lexa.ru/pub/apache-rus/patches_%apache_version.tar.gz
Source0: apache_%apache_version.tar
Source4: apache.logrotate
Source5: httpd.conf
# update EAPI by hand from mod_ssl source tarball
Source9: EAPI-%EAPI_version.tar.bz2
Source12: http://sysoev.ru/mod_deflate/mod_deflate-%mod_deflate_version.tar.gz
Source13: mod_perl-%mod_perl_version.tar.bz2
Source14: mod_realip-%mod_realip_version.tar.gz
Source15: httpd-perl.conf
Source16: proxied_handlers.pl
Source17: http://sysoev.ru/mod_accel/mod_accel-%mod_accel_version.tar.gz
Source23: apache-mime.types
#Source24: logo.gif
Source26: Vhosts.conf
Source27: Vhosts-perl.conf
Source28: sgi_performance.gif
Source29: ra-powered.gif

Source30: altlinux.html

# initscripts for current Sisyphus
Source35: httpd.init
Source36: httpd-perl.init

# scripts for control
Source40: cgi-bin_test-cgi.sh
Source41: cgi-bin_printenv.sh

Source50: DynamicVhosts.conf
Source51: VirtualHomePages.conf
Source52: README.apache
Source53: apache-mod_charset.conf
Source54: apache-mod_realip.conf

# rpm macro definitions
Source61: apache-README.ALT
Source62: 00-example.conf
Source63: TUNING.ALT
Source64: apache.monit

# scripts for condstopstart-web
Source70: server-condstop.sh
Source72: server-condstart.sh

Patch1: apache-1.3.41rusPL30.23-alt-manual-0.1.patch
Patch2: apache-1.3.41rusPL30.23-alt-fix-getline-0.1.patch
Patch3: apache-1.3.31-apxs.patch
Patch4: apache_1.3.27-srvroot.patch
Patch5: apache_1.3.23-nondbm.patch

Patch8: apache-1.3.23-alt-db4.patch
Patch10: apache-1.3.31-acl-support.patch
Patch11: apache-1.3.41-mod_perl-gcc43.patch

Patch75: apache-1.3.27-openbsd-tmp.patch
Patch76: apache-1.3.34-alt-linkage.patch

Patch77: apache-1.3.41-unloop-rewrite.patch

Patch80: uneapi.patch
# Expat patch
Patch94: apache-1.3.33-fix-htpasswd-buffer.patch
Patch97: mod_perl-1.29-CVE-2007-1349.patch

# https://rt.cpan.org/Public/Bug/Display.html?id=64999
Patch98: mp1+perl5.14.diff
Patch99: mod_perl-perl-5.16.patch
Patch100: mod_perl-perl-5.20.patch

BuildRequires(pre): rpm-macros-branch
BuildRequires(pre): rpm-macros-apache
BuildRequires(pre): rpm-macros-condstopstart
BuildPreReq: %_datadir/rpm-build-rpm-eval/rpm-eval.sh
BuildPreReq: rpm-macros-webserver-cgi-bin-control
BuildPreReq: rpm-build-licenses

# Automatically added by buildreq on Thu Oct 13 2011 (-bi)
BuildRequires: libdb4-devel libgdbm-devel libmm-devel perl-BSD-Resource perl-CGI perl-DBM perl-Devel-Symdump perl-devel perl-libwww perl-Pod-Simple

%if_with mod_deflate
BuildRequires: zlib-devel
%endif

BuildConflicts: bind-devel

Summary(ru_RU.KOI8-R): \xf3\xc1\xcd\xd9\xca \xd0\xcf\xd0\xd5\xcc\xd1\xd2\xce\xd9\xca \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2 Internet
Summary(uk_UA.KOI8-U): \xee\xc1\xca¦\xcc\xd8\xdb \xd0\xcf\xd0\xd5\xcc\xd1\xd2\xce\xc9\xca \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2 Internet

%description
Apache is a powerful, full-featured, efficient and freely-available
Web server. Russian Apache is an extended version that supports various
character sets, which are necessary for Russian, Ukrainian, Czech
and other websites.

This special version also includes some optimizations, Extended Application
Programming Interface (EAPI) with the shared memory support,
hooks for SSL module and several cosmetic improvements.
%if_with mod_deflate
It also includes mod_deflate to spare the traffic (needs activation).
%endif

%description -l ru_RU.KOI8-R
Apache - \xcd\xcf\xdd\xce\xd9\xca, \xc6\xd5\xce\xcb\xc3\xc9\xcf\xce\xc1\xcc\xd8\xce\xd9\xca, \xd7\xd9\xd3\xcf\xcb\xcf\xd0\xd2\xcf\xc9\xda\xd7\xcf\xc4\xc9\xd4\xc5\xcc\xd8\xce\xd9\xca \xc9
\xd3\xd7\xcf\xc2\xcf\xc4\xce\xcf \xd2\xc1\xd3\xd0\xd2\xcf\xd3\xd4\xd2\xc1\xce\xd1\xc5\xcd\xd9\xca \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2.

Russian Apache - \xd3\xd0\xc5\xc3\xc9\xc1\xcc\xd8\xce\xcf \xc4\xcf\xd2\xc1\xc2\xcf\xd4\xc1\xce\xce\xc1\xd1 \xd7\xc5\xd2\xd3\xc9\xd1 \xd3\xc5\xd2\xd7\xc5\xd2\xc1 \xd3 \xd0\xcf\xc4\xc4\xc5\xd2\xd6\xcb\xcf\xca \xd2\xc1\xda\xcc\xc9\xde\xce\xd9\xc8
\xcb\xcf\xc4\xc9\xd2\xcf\xd7\xcf\xcb, \xd0\xd2\xc5\xc4\xce\xc1\xda\xce\xc1\xde\xc5\xce\xce\xc1\xd1 \xc4\xcc\xd1 \xc9\xd3\xd0\xcf\xcc\xd8\xda\xcf\xd7\xc1\xce\xc9\xd1 \xce\xc1 \xd3\xc1\xca\xd4\xc1\xc8 \xd3 \xcb\xcf\xce\xd4\xc5\xce\xd4\xcf\xcd \xce\xc1
\xd2\xd5\xd3\xd3\xcb\xcf\xcd, \xd5\xcb\xd2\xc1\xc9\xce\xd3\xcb\xcf\xcd, \xde\xc5\xdb\xd3\xcb\xcf\xcd \xc9 \xc4\xd2\xd5\xc7\xc9\xc8 \xd1\xda\xd9\xcb\xc1\xc8.

\xe4\xc1\xce\xce\xc1\xd1 \xd7\xc5\xd2\xd3\xc9\xd1 \xd4\xc1\xcb\xd6\xc5 \xd7\xcb\xcc\xc0\xde\xc1\xc5\xd4 \xce\xc5\xcb\xcf\xd4\xcf\xd2\xd9\xc5 \xcf\xd0\xd4\xc9\xcd\xc9\xda\xc1\xc3\xc9\xc9,
Extended Application Programming Interface (EAPI) \xd3 \xd0\xcf\xc4\xc4\xc5\xd2\xd6\xcb\xcf\xca \xd2\xc1\xda\xc4\xc5\xcc\xd1\xc5\xcd\xcf\xca
\xd0\xc1\xcd\xd1\xd4\xc9, \xd0\xcf\xc4\xc4\xc5\xd2\xd6\xcb\xd5 \xcd\xcf\xc4\xd5\xcc\xd1 SSL \xc9 \xce\xc5\xd3\xcb\xcf\xcc\xd8\xcb\xcf \xcb\xcf\xd3\xcd\xc5\xd4\xc9\xde\xc5\xd3\xcb\xc9\xc8 \xd5\xcc\xd5\xde\xdb\xc5\xce\xc9\xca.
%if_with mod_deflate
\xe4\xcc\xd1 \xd3\xcf\xc8\xd2\xc1\xce\xc5\xce\xc9\xd1 \xd4\xd2\xc1\xc6\xc9\xcb\xc1 \xd7\xcb\xcc\xc0\xde\xc9\xd4\xc5 \xcd\xcf\xc4\xd5\xcc\xd8 mod_deflate.
%endif

%description -l uk_UA.KOI8-U
Apache - \xd0\xcf\xd4\xd5\xd6\xce\xc9\xca, \xc6\xd5\xce\xcbæ\xcf\xce\xc1\xcc\xd8\xce\xc9\xca, \xd7\xc9\xd3\xcf\xcb\xcf\xd0\xd2\xcf\xc4\xd5\xcb\xd4\xc9\xd7\xce\xc9\xca \xd4\xc1
צ\xcc\xd8\xce\xcf \xd2\xcf\xda\xd0\xcf\xd7\xd3\xc0\xc4\xd6\xd5\xd7\xc1\xce\xc9\xca \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\xc5\xd6\xc5\xce\xce\xd1 \xd4\xd2\xc1Ʀ\xcb\xd5 \xd5צ\xcd\xcbΦ\xd4\xd8 \xcd\xcf\xc4\xd5\xcc\xd8 mod_deflate.
%endif

%package base
Summary: The most widely used Web server on the Internet (base)
Summary(ru_RU.KOI8-R): \xf3\xc1\xcd\xd9\xca \xd0\xcf\xd0\xd5\xcc\xd1\xd2\xce\xd9\xca \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2 Internet (\xc2\xc1\xda\xc1)
Summary(uk_UA.KOI8-U): \xee\xc1\xca¦\xcc\xd8\xdb \xd0\xcf\xd0\xd5\xcc\xd1\xd2\xce\xc9\xca \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2 Internet (\xc2\xc1\xda\xc1)
Group: System/Servers

Provides: russian-apache = %russian_patchlevel webserver
Provides: httpd
PreReq: %name-common = %version-%release
Requires: mm >= %mm_version
Requires: monit-base
Requires: service >= 0.5-alt1
Requires: %condstopstart_webdir
Requires: %condstopstart_webrundir

Provides: %apache_moduledir

%description base
Apache is a powerful, full-featured, efficient and freely-available
Web server. Russian Apache is an extended version that supports various
character sets, which are necessary for Russian, Ukrainian, Czech
and other websites.

This special version also includes some optimizations, Extended Application
Programming Interface (EAPI) with the shared memory support,
hooks for SSL module and several cosmetic improvements.
%if_with mod_deflate
It also includes mod_deflate to spare the traffic (needs activation).
%endif

This package does not require a webserver-cgi-bin, webserver-html and
webserver-icons.

%description -l ru_RU.KOI8-R base
Apache - \xcd\xcf\xdd\xce\xd9\xca, \xc6\xd5\xce\xcb\xc3\xc9\xcf\xce\xc1\xcc\xd8\xce\xd9\xca, \xd7\xd9\xd3\xcf\xcb\xcf\xd0\xd2\xcf\xc9\xda\xd7\xcf\xc4\xc9\xd4\xc5\xcc\xd8\xce\xd9\xca \xc9
\xd3\xd7\xcf\xc2\xcf\xc4\xce\xcf \xd2\xc1\xd3\xd0\xd2\xcf\xd3\xd4\xd2\xc1\xce\xd1\xc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d5\xcc\xd1 SSL \xc9 \xce\xc5\xd3\xcb\xcf\xcc\xd8\xcb\xcf \xcb\xcf\xd3\xcd\xc5\xd4\xc9\xde\xc5\xd3\xcb\xc9\xc8 \xd5\xcc\xd5\xde\xdb\xc5\xce\xc9\xca.
%if_with mod_deflate
\xe4\xcc\xd1 \xd3\xcf\xc8\xd2\xc1\xce\xc5\xce\xc9\xd1 \xd4\xd2\xc1\xc6\xc9\xcb\xc1 \xd7\xcb\xcc\xc0\xde\xc9\xd4\xc5 \xcd\xcf\xc4\xd5\xcc\xd8 mod_deflate.
%endif

\xe4\xc1\xce\xce\xd9\xca \xd0\xc1\xcb\xc5\xd4 \xce\xc5 \xd4\xd2\xc5\xc2\xd5\xc5\xd4 \xce\xc1\xcc\xc9\xde\xc9\xd1 webserver-cgi-bin, webserver-html \xc9
webserver-icons.

%description -l uk_UA.KOI8-U base
Apache - \xd0\xcf\xd4\xd5\xd6\xce\xc9\xca, \xc6\xd5\xce\xcbæ\xcf\xce\xc1\xcc\xd8\xce\xc9\xca, \xd7\xc9\xd3\xcf\xcb\xcf\xd0\xd2\xcf\xc4\xd5\xcb\xd4\xc9\xd7\xce\xc9\xca \xd4\xc1
צ\xcc\xd8\xce\xcf \xd2\xcf\xda\xd0\xcf\xd7\xd3\xc0\xc4\xd6\xd5\xd7\xc1\xce\xc9\xca \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2.

Russian Apache - \xd3\xd0\xc5æ\xc1\xcc\xd8\xce\xcf \xc4\xcf\xd2\xcf\xc2\xcc\xc5\xce\xc1 \xd7\xc5\xd2Ӧ\xd1 \xd3\xc5\xd2\xd7\xc5\xd2\xd5 \xa6\xda Ц\xc4\xd4\xd2\xc9\xcd\xcb\xcf\xc0 Ҧ\xda\xce\xc9\xc8
\xcb\xcf\xc4\xd5\xd7\xc1\xce\xd8, \xdd\xcf \xda\xc1\xd3\xd4\xcf\xd3\xcf\xd7դ\xd4\xd8\xd3\xd1 \xce\xc1 \xd3\xc1\xca\xd4\xc1\xc8 \xa6\xda \xcb\xcf\xce\xd4\xc5\xce\xd4\xcf\xcd \xd2\xcfӦ\xca\xd3\xd8\xcb\xcf\xc0, \xd5\xcb\xd2\xc1\xa7\xce\xd3\xd8\xcb\xcf\xc0,
\xde\xc5\xd3\xd8\xcb\xcf\xc0 \xd4\xc1 \xa6\xce\xdb\xc9\xcd\xc9 \xcd\xcf\xd7\xc1\xcd\xc9.

\xe3\xd1 \xd7\xc5\xd2Ӧ\xd1 \xd4\xc1\xcb\xcf\xd6 \xd7\xcb\xcc\xc0\xde\xc1\xa4 \xc4\xc5\xd1˦ \xcf\xd0\xd4\xc9ͦ\xda\xc1æ\xa7,
Extended Application Programming Interface (EAPI) \xa6\xda Ц\xc4\xd4\xd2\xc9\xcd\xcb\xcf\xc0 \xd2\xcf\xdaĦ\xcc\xc0\xd7\xc1\xceϧ
\xd0\xc1\xcd'\xd1Ԧ, Ц\xc4\xd4\xd2\xc9\xcd\xcb\xd5 \xcd\xcf\xc4\xd5\xcc\xd1 SSL \xd4\xc1 \xc4\xc5˦\xcc\xd8\xcb\xc1 \xcb\xcf\xd3\xcd\xc5\xd4\xc9\xde\xce\xc9\xc8 \xd0\xcf\xcb\xd2\xc1\xdd\xc5\xce\xd8.
%if_with mod_deflate
\xe4\xcc\xd1 \xda\xc2\xc5\xd2\xc5\xd6\xc5\xce\xce\xd1 \xd4\xd2\xc1Ʀ\xcb\xd5 \xd5צ\xcd\xcbΦ\xd4\xd8 \xcd\xcf\xc4\xd5\xcc\xd8 mod_deflate.
%endif

\xe4\xc1\xce\xce\xd9\xca \xd0\xc1\xcb\xc5\xd4 \xce\xc5 \xd4\xd2\xc5\xc2\xd5\xc5\xd4 \xce\xc1\xcc\xc9\xde\xc9\xd1 webserver-cgi-bin, webserver-html \xc9
webserver-icons.

%package full
Summary: The most widely used Web server on the Internet (full)
Summary(ru_RU.KOI8-R): \xf3\xc1\xcd\xd9\xca \xd0\xcf\xd0\xd5\xcc\xd1\xd2\xce\xd9\xca \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2 Internet (full)
Summary(uk_UA.KOI8-U): \xee\xc1\xca¦\xcc\xd8\xdb \xd0\xcf\xd0\xd5\xcc\xd1\xd2\xce\xc9\xca \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2 Internet (full)
Group: System/Servers

Requires: %name = %version-%release
Requires: %name-cgi-bin
Requires: %name-html
Requires: %name-icons

%description full
Apache is a powerful, full-featured, efficient and freely-available
Web server. Russian Apache is an extended version that supports various
character sets, which are necessary for Russian, Ukrainian, Czech
and other websites.

This special version also includes some optimizations, Extended Application
Programming Interface (EAPI) with the shared memory support,
hooks for SSL module and several cosmetic improvements.
%if_with mod_deflate
It also includes mod_deflate to spare the traffic (needs activation).
%endif

This package requires a apache-cgi-bin, apache-html and apache-icons.

%description -l ru_RU.KOI8-R full
Apache - \xcd\xcf\xdd\xce\xd9\xca, \xc6\xd5\xce\xcb\xc3\xc9\xcf\xce\xc1\xcc\xd8\xce\xd9\xca, \xd7\xd9\xd3\xcf\xcb\xcf\xd0\xd2\xcf\xc9\xda\xd7\xcf\xc4\xc9\xd4\xc5\xcc\xd8\xce\xd9\xca \xc9
\xd3\xd7\xcf\xc2\xcf\xc4\xce\xcf \xd2\xc1\xd3\xd0\xd2\xcf\xd3\xd4\xd2\xc1\xce\xd1\xc5\xcd\xd9\xca \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2.

Russian Apache - \xd3\xd0\xc5\xc3\xc9\xc1\xcc\xd8\xce\xcf \xc4\xcf\xd2\xc1\xc2\xcf\xd4\xc1\xce\xce\xc1\xd1 \xd7\xc5\xd2\xd3\xc9\xd1 \xd3\xc5\xd2\xd7\xc5\xd2\xc1 \xd3 \xd0\xcf\xc4\xc4\xc5\xd2\xd6\xcb\xcf\xca \xd2\xc1\xda\xcc\xc9\xde\xce\xd9\xc8
\xcb\xcf\xc4\xc9\xd2\xcf\xd7\xcf\xc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 \xcf\xd0\xd4\xc9ͦ\xda\xc1æ\xa7,
Extended Application Programming Interface (EAPI) \xa6\xda Ц\xc4\xd4\xd2\xc9\xcd\xcb\xcf\xc0 \xd2\xcf\xdaĦ\xcc\xc0\xd7\xc1\xceϧ
\xd0\xc1\xcd'\xd1Ԧ, Ц\xc4\xd4\xd2\xc9\xcd\xcb\xd5 \xcd\xcf\xc4\xd5\xcc\xd1 SSL \xd4\xc1 \xc4\xc5˦\xcc\xd8\xcb\xc1 \xcb\xcf\xd3\xcd\xc5\xd4\xc9\xde\xce\xc9\xc8 \xd0\xcf\xcb\xd2\xc1\xdd\xc5\xce\xd8.
%if_with mod_deflate
\xe4\xcc\xd1 \xda\xc2\xc5\xd2\xc5\xd6\xc5\xce\xce\xd1 \xd4\xd2\xc1Ʀ\xcb\xd5 \xd5צ\xcd\xcbΦ\xd4\xd8 \xcd\xcf\xc4\xd5\xcc\xd8 mod_deflate.
%endif

\xe4\xc1\xce\xce\xd9\xca \xd0\xc1\xcb\xc5\xd4 \xd4\xd2\xc5\xc2\xd5\xc5\xd4 \xce\xc1\xcc\xc9\xde\xc9\xd1 apache-cgi-bin, apache-html \xc9 apache-icons.

%package mod_perl
Summary: Russian Apache Web server with a built-in Perl interpreter
Summary(ru_RU.KOI8-R): \xf7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2 Russian Apache \xd3\xcf \xd7\xd3\xd4\xd2\xcf\xc5\xce\xce\xd9\xcd \xc9\xce\xd4\xc5\xd2\xd0\xd2\xc5\xd4\xc1\xd4\xcf\xd2\xcf\xcd Perl
Summary(uk_UA.KOI8-U): \xf7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2 Russian Apache ڦ \xd7\xc2\xd5\xc4\xcf\xd7\xc1\xce\xc9\xcd \xa6\xce\xd4\xc5\xd2\xd0\xd2\xc5\xd4\xc1\xd4\xcf\xd2\xcf\xcd Perl
Group: System/Servers
Icon: mod_perl.gif
Requires: %name-mod_perl-base = %version-%release
Requires: webserver-cgi-bin
Requires: webserver-html
Requires: webserver-icons

%description mod_perl
Apache is a powerful, full-featured, efficient and freely-available
Web server. Russian Apache is an extended version that supports various
character sets, which are necessary for Russian, Ukrainian, Czech
and other websites.

mod_perl incorporates a Perl interpreter into the Apache web
server, so that the Apache web server can directly execute Perl
code.  Mod_perl links the Perl runtime library into the Apache
web server and provides an object-oriented Perl interface for
Apache's C language API.  The end result is a quicker CGI script
turnaround process, since no external Perl interpreter has to
be started.

This package contains Apache with mod_perl linked statically. You may want to
prefer this configuration rather than use mod_perl as a DSO, because it is more
stable and less prone to memory leaks.

This special version also includes Extended Application Programming Interface
(EAPI) with the shared memory support, hooks for SSL module and several
cosmetic improvements.

%description -l ru_RU.KOI8-R mod_perl
Apache - \xcd\xcf\xdd\xce\xd9\xca, \xc6\xd5\xce\xcb\xc3\xc9\xcf\xce\xc1\xcc\xd8\xce\xd9\xca, \xd7\xd9\xd3\xcf\xcb\xcf\xd0\xd2\xcf\xc9\xda\xd7\xcf\xc4\xc9\xd4\xc5\xcc\xd8\xce\xd9\xca \xc9
\xd3\xd7\xcf\xc2\xcf\xc4\xce\xcf \xd2\xc1\xd3\xd0\xd2\xcf\xd3\xd4\xd2\xc1\xce\xd1\xc5\xcd\xd9\xca \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2.

Russian Apache - \xd3\xd0\xc5\xc3\xc9\xc1\xcc\xd8\xce\xcf \xc4\xcf\xd2\xc1\xc2\xcf\xd4\xc1\xce\xce\xc1\xd1 \xd7\xc5\xd2\xd3\xc9\xd1 \xd3\xc5\xd2\xd7\xc5\xd2\xc1 \xd3 \xd0\xcf\xc4\xc4\xc5\xd2\xd6\xcb\xcf\xca \xd2\xc1\xda\xcc\xc9\xde\xce\xd9\xc8
\xcb\xcf\xc4\xc9\xd2\xcf\xd7\xcf\xcb, \xd0\xd2\xc5\xc4\xce\xc1\xda\xce\xc1\xde\xc5\xce\xce\xc1\xd1 \xc4\xcc\xd1 \xc9\x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xcd\xcf\xd6\xc5\xd4\xc5
\xce\xc1\xc4\xc1\xd4\xc9 \xd0\xc5\xd2\xc5\xd7\xc1\xc7\xd5 æ\xca \xcb\xcf\xce\xc6\xc9\xc7\xd5\xd2\xc1æ\xa7, \xc1Φ\xd6 \xc4\xc9\xce\xc1ͦ\xde\xce\xcf\xcd\xd5 \xda\xc1\xd7\xc1\xce\xd4\xc1\xd6\xc5\xce\xce\xc0 mod_perl,
\xd4\xcf\xcd\xd5 \xdd\xcf \xd7\xcf\xce\xc1 ¦\xcc\xd8\xdb \xd3\xd4\xc1¦\xcc\xd8\xce\xc1 \xd4\xc1 \xcd\xc1\xa4 \xcd\xc5\xce\xdb \xd0\xd2\xcf\xc2\xcc\xc5\xcd \xda \xcb\xc5\xd2\xd5\xd7\xc1\xce\xce\xd1\xcd \xd0\xc1\xcd'\xd1\xd4\xd4\xc0.

\xe3\xd1 \xd7\xc5\xd2Ӧ\xd1 \xd4\xc1\xcb\xcf\xd6 \xd7\xcb\xcc\xc0\xde\xc1\xa4 Extended Application Programming Interface (EAPI) \xa6\xda
Ц\xc4\xd4\xd2\xc9\xcd\xcb\xcf\xc0 \xd2\xcf\xdaĦ\xcc\xc0\xd7\xc1\xceϧ \xd0\xc1\xcd'\xd1Ԧ, Ц\xc4\xd4\xd2\xc9\xcd\xcb\xd5 \xcd\xcf\xc4\xd5\xcc\xd1 SSL \xd4\xc1 \xc4\xc5˦\xcc\xd8\xcb\xc1 \xcb\xcf\xd3\xcd\xc5\xd4\xc9\xde\xce\xc9\xc8
\xd0\xcf\xcb\xd2\xc1\xdd\xc5\xce\xd8.

%package mod_perl-base
Summary: Russian Apache Web server with a built-in Perl interpreter (base)
Summary(ru_RU.KOI8-R): \xf7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2 Russian Apache \xd3\xcf \xd7\xd3\xd4\xd2\xcf\xc5\xce\xce\xd9\xcd \xc9\xce\xd4\xc5\xd2\xd0\xd2\xc5\xd4\xc1\xd4\xcf\xd2\xcf\xcd Perl (\xc2\xc1\xda\xc1)
Summary(uk_UA.KOI8-U): \xf7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2 Russian Apache ڦ \xd7\xc2\xd5\xc4\xcf\xd7\xc1\xce\xc9\xcd \xa6\xce\xd4\xc5\xd2\xd0\xd2\xc5\xd4\xc1\xd4\xcf\xd2\xcf\xcd Perl (\xc2\xc1\xda\xc1)
Group: System/Servers
Icon: mod_perl.gif
Requires: mm >= %mm_version, perl >= 1:5.6.0
PreReq: %name-common = %version-%release
Provides: russian-apache = %russian_patchlevel webserver
Provides: httpd
Provides: mod_perl = %mod_perl_version
Obsoletes: mod_perl < %mod_perl_version

Provides: %apache_moduleperldir
Provides: %apache_addonconfdir
Provides: %apache_datadir/perl

# ugly hack ][
Provides: perl(mod_perl.pm) = %mod_perl_version_pad

%description mod_perl-base
Apache is a powerful, full-featured, efficient and freely-available
Web server. Russian Apache is an extended version that supports various
character sets, which are necessary for Russian, Ukrainian, Czech
and other websites.

mod_perl incorporates a Perl interpreter into the Apache web
server, so that the Apache web server can directly execute Perl
code.  Mod_perl links the Perl runtime library into the Apache
web server and provides an object-oriented Perl interface for
Apache's C language API.  The end result is a quicker CGI script
turnaround process, since no external Perl interpreter has to
be started.

This package contains Apache with mod_perl linked statically. You may want to
prefer this configuration rather than use mod_perl as a DSO, because it is more
stable and less prone to memory leaks.

This special version also includes Extended Application Programming Interface
(EAPI) with the shared memory support, hooks for SSL module and several
cosmetic improvements.

This package does not require a webserver-cgi-bin, webserver-html and
webserver-icons.

%description -l ru_RU.KOI8-R mod_perl-base
Apache - \xcd\xcf\xdd\xce\xd9\xca, \xc6\xd5\xce\xcb\xc3\xc9\xcf\xce\xc1\xcc\xd8\xce\xd9\xca, \xd7\xd9\xd3\xcf\xcb\xcf\xd0\xd2\xcf\xc9\xda\xd7\xcf\xc4\xc9\xd4\xc5\xcc\xd8\xce\xd9\xca \xc9
\xd3\xd7\xcf\xc2\xcf\xc4\xce\xcf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d2\xd6\xc5\xce\xc1 \xd5\xd4\xc5\xde\xcb\xc1\xcd \xd0\xc1\xcd\xd1\xd4\xc9.

\xe4\xc1\xce\xce\xc1\xd1 \xd7\xc5\xd2\xd3\xc9\xd1 \xd4\xc1\xcb\xd6\xc5 \xd7\xcb\xcc\xc0\xde\xc1\xc5\xd4 Extended Application Programming Interface (EAPI)
\xd3 \xd0\xcf\xc4\xc4\xc5\xd2\xd6\xcb\xcf\xca \xd2\xc1\xda\xc4\xc5\xcc\xd1\xc5\xcd\xcf\xca \xd0\xc1\xcd\xd1\xd4\xc9, \xd0\xcf\xc4\xc4\xc5\xd2\xd6\xcb\xd5 \xcd\xcf\xc4\xd5\xcc\xd1 SSL \xc9 \xce\xc5\xd3\xcb\xcf\xcc\xd8\xcb\xcf \xcb\xcf\xd3\xcd\xc5\xd4\xc9\xde\xc5\xd3\xcb\xc9\xc8
\xd5\xcc\xd5\xde\xdb\xc5\xce\xc9\xca.

\xe4\xc1\xce\xce\xd9\xca \xd0\xc1\xcb\xc5\xd4 \xce\xc5 \xd4\xd2\xc5\xc2\xd5\xc5\xd4 \xce\xc1\xcc\xc9\xde\xc9\xd1 webserver-cgi-bin, webserver-html \xc9
webserver-icons.

%description -l uk_UA.KOI8-U mod_perl-base
Apache - \xd0\xcf\xd4\xd5\xd6\xce\xc9\xca, \xc6\xd5\xce\xcbæ\xcf\xce\xc1\xcc\xd8\xce\xc9\xca, \xd7\xc9\xd3\xcf\xcb\xcf\xd0\xd2\xcf\xc4\xd5\xcb\xd4\xc9\xd7\xce\xc9\xca \xd4\xc1
צ\xcc\xd8\xce\xcf \xd2\xcf\xda\xd0\xcf\xd7\xd3\xc0\xc4\xd6\xd5\xd7\xc1\xce\xc9\xca \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2.

Russian Apache - \xd3\xd0\xc5æ\xc1\xcc\xd8\xce\xcf \xc4\xcf\xd2\xcf\xc2\xcc\xc5\xce\xc1 \xd7\xc5\xd2Ӧ\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0.

\xe3\xd1 \xd7\xc5\xd2Ӧ\xd1 \xd4\xc1\xcb\xcf\xd6 \xd7\xcb\xcc\xc0\xde\xc1\xa4 Extended Application Programming Interface (EAPI) \xa6\xda
Ц\xc4\xd4\xd2\xc9\xcd\xcb\xcf\xc0 \xd2\xcf\xdaĦ\xcc\xc0\xd7\xc1\xceϧ \xd0\xc1\xcd'\xd1Ԧ, Ц\xc4\xd4\xd2\xc9\xcd\xcb\xd5 \xcd\xcf\xc4\xd5\xcc\xd1 SSL \xd4\xc1 \xc4\xc5˦\xcc\xd8\xcb\xc1 \xcb\xcf\xd3\xcd\xc5\xd4\xc9\xde\xce\xc9\xc8
\xd0\xcf\xcb\xd2\xc1\xdd\xc5\xce\xd8.

\xe4\xc1\xce\xce\xd9\xca \xd0\xc1\xcb\xc5\xd4 \xce\xc5 \xd4\xd2\xc5\xc2\xd5\xc5\xd4 \xce\xc1\xcc\xc9\xde\xc9\xd1 webserver-cgi-bin, webserver-html \xc9
webserver-icons.

%package mod_perl-full
Summary: Russian Apache Web server with a built-in Perl interpreter (full)
Summary(ru_RU.KOI8-R): \xf7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2 Russian Apache \xd3\xcf \xd7\xd3\xd4\xd2\xcf\xc5\xce\xce\xd9\xcd \xc9\xce\xd4\xc5\xd2\xd0\xd2\xc5\xd4\xc1\xd4\xcf\xd2\xcf\xcd Perl (full)
Summary(uk_UA.KOI8-U): \xf7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2 Russian Apache ڦ \xd7\xc2\xd5\xc4\xcf\xd7\xc1\xce\xc9\xcd \xa6\xce\xd4\xc5\xd2\xd0\xd2\xc5\xd4\xc1\xd4\xcf\xd2\xcf\xcd Perl (full)
Group: System/Servers
Icon: mod_perl.gif
Requires: %name-mod_perl = %version-%release
Requires: %name-cgi-bin
Requires: %name-html
Requires: %name-icons

%description mod_perl-full
Apache is a powerful, full-featured, efficient and freely-available
Web server. Russian Apache is an extended version that supports various
character sets, which are necessary for Russian, Ukrainian, Czech
and other websites.

mod_perl incorporates a Perl interpreter into the Apache web
server, so that the Apache web server can directly execute Perl
code.  Mod_perl links the Perl runtime library into the Apache
web server and provides an object-oriented Perl interface for
Apache's C language API.  The end result is a quicker CGI script
turnaround process, since no external Perl interpreter has to
be started.

This package contains Apache with mod_perl linked statically. You may want to
prefer this configuration rather than use mod_perl as a DSO, because it is more
stable and less prone to memory leaks.

This special version also includes Extended Application Programming Interface
(EAPI) with the shared memory support, hooks for SSL module and several
cosmetic improvements.

This package requires a apache-cgi-bin, apache-html and apache-icons.

%description -l ru_RU.KOI8-R mod_perl-full
Apache - \xcd\xcf\xdd\xce\xd9\xca, \xc6\xd5\xce\xcb\xc3\xc9\xcf\xce\xc1\xcc\xd8\xce\xd9\xca, \xd7\xd9\xd3\xcf\xcb\xcf\xd0\xd2\xcf\xc9\xda\xd7\xcf\xc4\xc9\xd4\xc5\xcc\xd8\xce\xd9\xca \xc9
\xd3\xd7\xcf\xc2\xcf\xc4\xce\xcf \xd2\xc1\xd3\xd0\xd2\xcf\xd3\xd4\xd2\xc1\xce\xd1\xc5\xcd\xd9\xca \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2.

Russian Apache - \xd3\xd0\xc5\xc3\xc9\xc1\xcc\xd8\xce\xcf \xc4\xcf\xd2\xc1\xc2\xcf\xd4\xc1\xce\xce\xc1\xd1 \xd7\xc5\xd2\xd3\xc9\xd1 \xd3\xc5\xd2\xd7\xc5\xd2\xc1 \xd3 \xd0\xcf\xc4\xc4\xc5\xd2\xd6\xcb\xcf\xca \xd2\xc1\xda\xcc\xc9\xde\xce\xd9\xc8
\xcb\xcf\xc4\xc9\xd2\xcf\xd7\xcf\xcb, \xd0\xd2\xc5\xc4\xce\xc1\xda\xce\xc1\xde\xc5\xce\xce\xc1\xd1 \xc4\xcc\xd1 \xc9\xd3\xd0\xcf\xcc\xd8\xda\xcf\xd7\xc1\xce\xc9\xd1 \xce\xc1 \xd3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package common
Summary: Files common for apache and apache-mod_perl installations
Summary(ru_RU.KOI8-R): \xef\xc2\xdd\xc9\xc5 \xc6\xc1\xca\xcc\xd9 \xc4\xcc\xd1 \xc9\xce\xd3\xd4\xc1\xcc\xcc\xd1\xc3\xc9\xc9 apache \xc9 apache-mod_perl
Summary(uk_UA.KOI8-U): \xf3Ц\xcc\xd8Φ \xc6\xc1\xca\xcc\xc9 \xc4\xcc\xd1 \xa6\xce\xd3\xd4\xc1\xcc\xd1æ\xa7 apache \xd4\xc1 apache-mod_perl
Group: System/Servers
PreReq: webserver-common

Provides: %apache_basedir
Provides: %apache_confdir
Provides: %apache_confdir/vhosts
Provides: %apache_vhconfdir
Provides: %apache_addonconfdir
Provides: %apache_modconfdir
Provides: %apache_logdir
Provides: %_cachedir/httpd
Provides: %apache_tmpdir
Provides: %apache_tmpdir/tmp
Provides: %apache_tmpdir/sessions
Provides: %apache_tmpdir/uploads
Provides: %apache_datadir/apache

%description common
This package contains files required for both apache and apache-mod_perl
package installations. Install this if you want to install Apache or/and
Apache with mod_perl.

%description -l ru_RU.KOI8-R common
\xf7 \xdc\xd4\xcf\xcd \xd0\xc1\xcb\xc5\xd4\xc5 \xce\xc1\xc8\xcf\xc4\xd1\xd4\xd3\xd1 \xc6\xc1\xca\xcc\xd9, \xce\xc5\xcf\xc2\xc8\xcf\xc4\xc9\xcd\xd9\xc5 \xc4\xcc\xd1 apache \xc9 apache-mod_perl.
\xf5\xd3\xd4\xc1\xce\xcf\xd7\xc9\xd4\xc5, \xc5\xd3\xcc\xc9 \xd3\xcf\xc2\xc9\xd2\xc1\xc5\xd4\xc5\xd3\xd8 \xd5\xd3\xd4\xc1\xce\xc1\xd7\xcc\xc9\xd7\xc1\xd4\xd8 Russian Apache
\xc9/\xc9\xcc\xc9 Russian Apache \xd3 mod_perl.

%description -l uk_UA.KOI8-U common
\xe3\xc5\xca \xd0\xc1\xcb\xd5\xce\xcf\xcb ͦ\xd3\xd4\xc9\xd4\xd8 \xc6\xc1\xca\xcc\xc9, \xd1˦ \xce\xc5\xcf\xc2Ȧ\xc4Φ \xc4\xcc\xd1 apache \xd4\xc1 apache-mod_perl.
\xf7\xd3\xd4\xc1\xce\xcfצ\xd4\xd8 \xca\xcf\xc7\xcf, \xd1\xcb\xdd\xcf \xda\xc2\xc9\xd2\xc1\xa4\xd4\xc5\xd3\xd8 \xd7\xc9\xcb\xcf\xd2\xc9\xd3\xd4\xcf\xd7\xd5\xd7\xc1\xd4\xc9 Russian Apache.

%package -n rpm-build-%name
Summary: RPM helper to rebuild Web servers and apps packages
Summary(ru_RU.KOI8-R): \xee\xc1\xc2\xcf\xd2 \xd5\xd4\xc9\xcc\xc9\xd4 \xc4\xcc\xd1 \xc1\xd7\xd4\xcf\xcd\xc1\xd4\xc9\xde\xc5\xd3\xcb\xcf\xca Web \xd3\xc5\xd2\xd7\xc5\xd2\xcf\xd7 \xc9 \xd0\xd2\xc9\xcc\xcf\xd6\xc5\xce\xc9\xca
Group: Development/Other

Requires: rpm-macros-%name

%description -n rpm-build-%name
These helper provide possibility to rebuild Web servers and applications
packages by some ALT Linux Web Packaging Policy.

%description -n rpm-build-%name -l ru_RU.KOI8-R
\xee\xc1\xc2\xcf\xd2 \xd5\xd4\xc9\xcc\xc9\xd4 \xc4\xcc\xd1 \xcf\xc2\xc5\xd3\xd0\xc5\xde\xc5\xce\xc9\xd1 \xd3\xc2\xcf\xd2\xcb\xc9 \xd0\xc1\xcb\xc5\xd4\xcf\xd7 \xd7\xc5\xc2 \xd3\xc5\xd2\xd7\xc5\xd2\xcf\xd7 \xc9 \xd0\xd2\xc9\xcc\xcf\xd6\xc5\xce\xc9\xca
\xd7 \xd3\xcf\xcf\xd4\xd7\xc5\xd4\xd3\xd4\xd7\xc9\xc9 \xd3 ALT Linux Web Packaging Policy.

%package devel
Summary: Module development tools for the Apache web server
Summary(ru_RU.KOI8-R): \xf3\xd2\xc5\xc4\xd3\xd4\xd7\xc1 \xd2\xc1\xda\xd2\xc1\xc2\xcf\xd4\xcb\xc9 \xcd\xcf\xc4\xd5\xcc\xc5\xca \xc4\xcc\xd1 \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2\xc1 Apache
Summary(uk_UA.KOI8-U): \xfa\xc1\xd3\xcf\xc2\xc9 \xd2\xcf\xda\xd2\xcf\xc2\xcb\xc9 \xcd\xcf\xc4\xd5̦\xd7 \xc4\xcc\xd1 \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2\xd5 Apache
Group: Development/C
BuildArch: noarch
PreReq: %name-base = %version-%release
Requires: rpm-build-%name >= %version-%release

Provides: %_includedir/%name

%description devel
The apache-devel package contains the source code for the Apache
Web server you'll need to build Dynamic
Shared Objects (DSOs) for Apache.

If you are installing the Apache Web server and
you want to be able to compile or develop additional modules
for Apache, you'll need to install this package.

%description -l ru_RU.KOI8-R devel
\xf0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xda\xc1\xc7\xcf\xcc\xcf\xd7\xcf\xde\xce\xd9\xc5 \xc6\xc1\xca\xcc\xd9 \xc9\xda \xc9\xd3\xc8\xcf\xc4\xce\xd9\xc8 \xd4\xc5\xcb\xd3\xd4\xcf\xd7 \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2\xc1 Apache,
\xce\xc5\xcf\xc2\xc8\xcf\xc4\xc9\xcd\xd9\xc5 \xc4\xcc\xd1 \xd3\xc2\xcf\xd2\xcb\xc9 \xc4\xc9\xce\xc1\xcd\xc9\xde\xc5\xd3\xcb\xc9 \xd0\xcf\xc4\xcb\xcc\xc0\xde\xc1\xc5\xcd\xd9\xc8 \xcd\xcf\xc4\xd5\xcc\xc5\xca (DSO).

\xe5\xd3\xcc\xc9 \xd7\xd9 \xd5\xd3\xd4\xc1\xce\xc1\xd7\xcc\xc9\xd7\xc1\xc5\xd4\xc5 \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2 Apache \xc9 \xd3\xcf\x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c2\xcc\xd1\xd4\xc9 \xc4\xcc\xd1 \xce\xd8\xcf\xc7\xcf \xc4\xcf\xc4\xc1\xd4\xcb\xcfצ \xcd\xcf\xc4\xd5̦, \xd4\xd2\xc5\xc2\xc1 \xd7\xd3\xd4\xc1\xce\xcf\xd7\xc9\xd4\xc9 \xc3\xc5\xca \xd0\xc1\xcb\xd5\xce\xcf\xcb.

%package suexec
Summary: Suexec binary for Apache
Summary(ru_RU.KOI8-R): \xf0\xd2\xcf\xc7\xd2\xc1\xcd\xcd\xc1 suexec \xc4\xcc\xd1 Apache
Summary(uk_UA.KOI8-U): \xf0\xd2\xcf\xc7\xd2\xc1\xcd\xc1 suexec \xc4\xcc\xd1 Apache
Group: System/Servers
PreReq: %name-common = %version-%release

%description suexec
This package adds suexec to Apache. Suexec provides Apache users the ability
to run CGI and SSI programs under user IDs different from the user ID of the
calling web-server. Normally, when a CGI or SSI program executes, it runs as
the same user who is running the web server.

%description -l ru_RU.KOI8-R suexec
\xfc\xd4\xcf\xd4 \xd0\xc1\xcb\xc5\xd4 \xc4\xcf\xc2\xc1\xd7\xcc\xd1\xc5\xd4 \xcb Apache suexec. \xfc\xd4\xc1 \xd0\xd2\xcf\xc7\xd2\xc1\xcd\xcd\xc1 \xd0\xcf\xda\xd7\xcf\xcc\xd1\xc5\xd4 \xda\xc1\xd0\xd5\xd3\xcb\xc1\xd4\xd8 CGI-
\xc9 SSI-\xd0\xd2\xcf\xc7\xd2\xc1\xcd\xcd\xd9 \xd0\xcf\xc4 \xc9\xc4\xc5\xce\xd4\xc9\xc6\xc9\xcb\xc1\xd4\xcf\xd2\xc1\xcd\xc9 \xd0\xcf\xcc\xd8\xda\xcf\xd7\xc1\xd4\xc5\xcc\xd1, \xcf\xd4\xcc\xc9\xde\xce\xd9\xcd\xc9 \xcf\xd4 UID
\xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2\xc1.

%description -l uk_UA.KOI8-U suexec
\xe3\xc5\xca \xd0\xc1\xcb\xd5\xce\xcf\xcb \xc4\xcf\xc4\xc1\xa4 \xc4\xcf Apache suexec. \xe3\xd1 \xd0\xd2\xcf\xc7\xd2\xc1\xcd\xc1 \xc4\xcf\xda\xd7\xcf\xccѤ \xda\xc1\xd0\xd5\xd3\xcb\xc1\xd4\xc9 CGI-
\xd4\xc1 SSI-\xd0\xd2\xcf\xc7\xd2\xc1\xcd\xc9 Ц\xc4 \xa6\xc4\xc5\xce\xd4\xc9Ʀ\xcb\xc1\xd4\xcf\xd2\xc1\xcd\xc9 \xcb\xcf\xd2\xc9\xd3\xd4\xd5\xd7\xc1\xde\xc1, \xdd\xcf צ\xc4Ҧ\xda\xce\xd1\xc0\xd4\xd8\xd3\xd1 צ\xc4
UID \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2\xd5.

%package -n mod_perl-doc
Summary: mod_perl documentation
Summary(ru_RU.KOI8-R): \xe4\xcf\xcb\xd5\xcd\xc5\xce\xd4\xc1\xc3\xc9\xd1 \xd0\xcf mod_perl
Summary(uk_UA.KOI8-U): \xe4\xcf\xcb\xd5\xcd\xc5\xce\xd4\xc1æ\xd1 \xd0\xcf mod_perl
Group: System/Servers
Version: %mod_perl_doc_version
PreReq: %name-common = %apache_version-%release
Requires: %apache_htdocsaddondir

%description -n mod_perl-doc
This package contains assorted documentation on the mod_perl Apache module.

%description -l ru_RU.KOI8-R -n mod_perl-doc
\xfc\xd4\xcf\xd4 \xd0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xc4\xcf\xcb\xd5\xcd\xc5\xce\xd4\xc1\xc3\xc9\xc0 \xcb \xcd\xcf\xc4\xd5\xcc\xc0 Apache mod_perl.

%description -l uk_UA.KOI8-U -n mod_perl-doc
\xe3\xc5\xca \xd0\xc1\xcb\xd5\xce\xcf\xcb ͦ\xd3\xd4\xc9\xd4\xd8 \xc4\xcf\xcb\xd5\xcd\xc5\xce\xd4\xc1æ\xc0 \xc4\xcf \xcd\xcf\xc4\xd5\xcc\xd1 Apache mod_perl.

%package manual
Summary: Apache Manual
Summary(ru_RU.KOI8-R): \xe4\xcf\xcb\xd5\xcd\xc5\xce\xd4\xc1\xc3\xc9\xd1 \xd0\xcf Apache
Summary(uk_UA.KOI8-U): \xe4\xcf\xcb\xd5\xcd\xc5\xce\xd4\xc1æ\xd1 \xd0\xcf Apache
Group: System/Servers
Version: %apache_version
BuildArch: noarch
PreReq: %name-common = %version-%release
AutoReq: no

%description manual
This package contains the Apache server documentation in HTML format.

%description -l ru_RU.KOI8-R manual
\xfc\xd4\xcf\xd4 \xd0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xc4\xcf\xcb\xd5\xcd\xc5\xce\xd4\xc1\xc3\xc9\xc0 \xcb \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2\xd5 Apache \xd7 \xc6\xcf\xd2\xcd\xc1\xd4\xc5 HTML.

%description -l uk_UA.KOI8-U manual
\xe3\xc5\xca \xd0\xc1\xcb\xd5\xce\xcf\xcb ͦ\xd3\xd4\xc9\xd4\xd8 \xc4\xcf\xcb\xd5\xcd\xc5\xce\xd4\xc1æ\xc0 \xc4\xcf \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2\xd5 Apache \xd5 \xc6\xcf\xd2\xcd\xc1Ԧ HTML.

%package datadirs
Summary: data dirs for Apache
Summary(ru_RU.KOI8-R): \xcb\xc1\xd4\xc1\xcc\xcf\xc7\xc9 \xc4\xc1\xce\xce\xd9\xc8 \xc4\xcc\xd1 Apache
Group: System/Servers
BuildArch: noarch

Provides: %_datadir/%name
Provides: %_datadir/%name/cgi-bin

%description datadirs
This package contains the Apache server data dirs.

%description -l ru_RU.KOI8-R datadirs
\xfc\xd4\xcf\xd4 \xd0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xcb\xc1\xd4\xc1\xcc\xcf\xc7\xc9 \xc4\xc1\xce\xce\xd9\xc8 \xcb \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2\xd5 Apache.

%package cgi-bin-test-cgi
Summary: cgi-bin/test-cgi for Apache
Summary(ru_RU.KOI8-R): cgi-bin/test-cgi \xc4\xcc\xd1 Apache
Group: System/Servers
BuildArch: noarch
PreReq: webserver-common
PreReq: %_sysconfdir/control.d/webserver-cgi-bin-functions
Provides: webserver-cgi-bin-test-cgi
Conflicts: apache2-cgi-bin-test-cgi
Conflicts: apache2-cgi-bin < 2.2.9-alt10
Conflicts: apache-common < 1.3.37rusPL30.23-alt1.1

Requires: %_datadir/%name/cgi-bin

%description cgi-bin-test-cgi
This package contains the Apache server test-cgi scripts.

%description -l ru_RU.KOI8-R cgi-bin-test-cgi
\xfc\xd4\xcf\xd4 \xd0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 test-cgi \xd3\xcb\xd2\xc9\xd0\xd4 \xc4\xcc\xd1 \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2\xc1 Apache.

%package cgi-bin-printenv
Summary: cgi-bin/printenv for Apache
Summary(ru_RU.KOI8-R): cgi-bin/printenv \xc4\xcc\xd1 Apache
Group: System/Servers
BuildArch: noarch
PreReq: webserver-common
PreReq: %_sysconfdir/control.d/webserver-cgi-bin-functions
Provides: webserver-cgi-bin-printenv
Conflicts: apache2-cgi-bin-printenv
Conflicts: apache2-cgi-bin < 2.2.9-alt10
Conflicts: apache-common < 1.3.37rusPL30.23-alt1.1

Requires: %_datadir/%name/cgi-bin

%description cgi-bin-printenv
This package contains the Apache server printenv scripts.

%description -l ru_RU.KOI8-R cgi-bin-printenv
\xfc\xd4\xcf\xd4 \xd0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 printenv \xd3\xcb\xd2\xc9\xd0\xd4 \xc4\xcc\xd1 \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2\xc1 Apache.

%package cgi-bin
Summary: cgi-bin for Apache
Summary(ru_RU.KOI8-R): cgi-bin \xc4\xcc\xd1 Apache
Group: System/Servers
BuildArch: noarch
Requires: %name-cgi-bin-test-cgi
Requires: %name-cgi-bin-printenv
Provides: webserver-cgi-bin
Conflicts: apache2-cgi-bin

%description cgi-bin
This package contains the Apache server cgi-bin dir and cgi scripts.

%description -l ru_RU.KOI8-R cgi-bin
\xfc\xd4\xcf\xd4 \xd0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xcb\xc1\xd4\xc1\xcc\xcf\xc7 cgi-bin \xd3 \xd4\xc9\xd0\xcf\xd7\xd9\xcd\xc9 \xd3\xcb\xd2\xc9\xd0\xd4\xc1\xcd\xc9 \xcb \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2\xd5 Apache.

%package html
Summary: html for Apache
Summary(ru_RU.KOI8-R): html \xc4\xcc\xd1 Apache
Group: System/Servers
BuildArch: noarch
PreReq: webserver-common
Provides: webserver-html
Conflicts: apache-common < 1.3.37rusPL30.23-alt1.1
Conflicts: apache2-html

%description html
This package contains the Apache server html dir.

%description -l ru_RU.KOI8-R html
\xfc\xd4\xcf\xd4 \xd0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xcb\xc1\xd4\xc1\xcc\xcf\xc7 html \xc4\xcc\xd1 \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2\xc1 Apache.

%package icons
Summary: icons for Apache
Summary(ru_RU.KOI8-R): icons \xc4\xcc\xd1 Apache
Group: System/Servers
BuildArch: noarch
PreReq: webserver-common
Provides: webserver-icons
Conflicts: apache-common < 1.3.37rusPL30.23-alt1.1
Conflicts: apache2-icons

%description icons
This package contains the Apache server icons dir.

%description -l ru_RU.KOI8-R icons
\xfc\xd4\xcf\xd4 \xd0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 \xcb\xc1\xd4\xc1\xcc\xcf\xc7 icons \xc4\xcc\xd1 \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2\xc1 Apache.

%add_findprov_lib_path %_libdir/%name

%prep
%{expand:%%global _builddir %_builddir/apache-%apache_version-%apache_release}
rm -rf %_builddir
mkdir -p %_builddir

%setup -q -n mod_deflate-%mod_deflate_version -T -b 12
%setup -q -n mod_accel-%mod_accel_version -T -b 17
%setup -q -n mod_perl-%mod_perl_version -T -b 13
%setup -q -n apache_%apache_version
%setup -q -n mod_realip-%mod_realip_version -T -b 14

# Install mod_realip
cp $RPM_BUILD_DIR/mod_realip-%mod_realip_version/*.c $RPM_BUILD_DIR/apache_%apache_version/src/modules/extra/

cd $RPM_BUILD_DIR/apache_%apache_version

# fix problem with mod_long_names (by pilot@);
# get apxs to understand Includes (updated patch1)
%patch1 -p1

# fix build
%patch2 -p1

%patch3 -p1
%patch4 -p1
%patch5 -p1

%patch8 -p1

%if_with acl_support
%patch10 -p1
%endif

%patch11 -p0

%patch75 -p1
%patch76 -p1
%patch77 -p1

%patch94 -p1

# should be obsolete with mod_perl-1.30
pwd
pushd ../mod_perl-%mod_perl_version
%patch97 -p1
%patch98 -p1
%patch99 -p1
%patch100 -p1
popd

chmod -x $(find htdocs -type f)
subst 's|" PLATFORM "|%distribution/%apache_release|;' \
	$RPM_BUILD_DIR/apache_%apache_version/src/main/http_main.c

#####
cd ..
rm -rf apache-mod_perl_%apache_vanilla_version

#### EAPI
pushd apache_%apache_version
%setup -q -n apache_%apache_version -T -D -b 9
mv ../EAPI-%EAPI_version/pkg.eapi/*.c src/ap/
mv ../EAPI-%EAPI_version/pkg.eapi/*.h src/include/
mv ../EAPI-%EAPI_version/pkg.addon/*.c src/modules/extra
cp src/modules/extra/mod_define.c src/modules/standard
popd

pushd apache_%apache_version
patch -p0 -s < ../EAPI-%EAPI_version/pkg.addon/addon.patch
patch -p0 -s < ../EAPI-%EAPI_version/pkg.eapi/eapi.patch
popd

cp -pr apache_%apache_version apache-mod_perl_%apache_vanilla_version

%build
echo "### define configure flags"
APFLAGS="--serverroot=%apache_basedir \
	--prefix=%prefix \
	--bindir=%_bindir \
	--sbindir=%_sbindir \
	--mandir=%_mandir \
	--sysconfdir=%apache_confdir \
	--datadir=%apache_datadir \
	--htdocsdir=%apache_htdocsdir \
	--includedir=%_includedir/apache \
	--localstatedir=%_var \
	--runtimedir=%_var/run \
	--logfiledir=%apache_logdir \
	--proxycachedir=%_cachedir/httpd \
	--disable-rule=WANTHSREGEX \
	--disable-rule=EXPAT \
        --with-perl=%__perl \
	--without-confadjust \
	--enable-module=all \
	--enable-module=auth_digest \
	--disable-module=auth_dbm \
	--enable-shared=max \
	--enable-suexec \
	--suexec-caller=%apache_user \
	--suexec-docroot=%suexec_docroot \
	--suexec-userdir=public_html \
	--activate-module=src/modules/extra/mod_realip.o \
%if_with mod_accel
	--activate-module=src/modules/accel/libaccel.a \
%endif
%if_with mod_deflate
	--activate-module=src/modules/extra/mod_deflate.o \
%endif
	"

%if_with mod_deflate
echo "### Patching source of apache to enable mod_deflate"
pushd ../mod_deflate-%mod_deflate_version
./configure --with-apache=../apache_%apache_version
# SMP build incompatible
%make
./configure --with-apache=../apache-mod_perl_%apache_vanilla_version
%make
mv CHANGES CHANGES.mod_deflate
mv CHANGES.rus CHANGES.mod_deflate.rus
mv LICENSE LICENSE.mod_deflate
mv readme.html readme.mod_deflate.ru.html
popd
%endif

%if_with mod_accel
echo "### Patching source of apache to enable mod_accel"
pushd ../mod_accel-%mod_accel_version
./configure --with-apache=../apache_%apache_version
%make
./configure --with-apache=../apache-mod_perl_%apache_vanilla_version
%make
mv CHANGES CHANGES.mod_accel
mv CHANGES.rus CHANGES.mod_accel.rus
mv LICENSE LICENSE.mod_accel
mv readme.html readme.mod_accel.ru.html
popd
%endif

LIMITS="-DHARD_SERVER_LIMIT=%apache_hard_server_limit"

%if_with acl_support
ACL_SUPPORT="-DACL_SUPPORT"
%endif

echo "### Build the *normal* Apache"

OPTIM="%optflags $LIMITS $ACL_SUPPORT" \
EAPI_MM=SYSTEM \
CFLAGS='-DEAPI_MM_CORE_PATH=\\\"%_var/run/mm\\\" -I%_includedir/db4 -I%_includedir/gdbm -DDBM_SUFFIX=\\\".db\\\"' \
LIBS="-ldb -lgdbm -lgdbm_compat -lpthread" \
found_dbm="1" \
./configure \
	--enable-rule=EAPI \
	--libexecdir=%apache_moduledir \
	--enable-rule=SHARED_CORE \
	$APFLAGS

%make

echo "### configure mod_perl"
cd $RPM_BUILD_DIR/mod_perl-%mod_perl_version
perl -pi -e "s|PRODUCT|BASEPRODUCT|;" Makefile.PL
PERL_CC="gcc" \
PERL_CCFLAGS=`perl -V:ccflags|cut -f 2 -d\'` \
perl -I$RPM_BUILD_DIR/mod_perl-%mod_perl_version/lib  Makefile.PL \
    PREFIX=%prefix INSTALLDIRS=vendor \
    USE_APACI=1 \
    APACHE_SRC=../apache-mod_perl_%apache_vanilla_version/src \
    APACHE_HEADER_INSTALL=1 \
    DO_HTTPD=1 \
    PREP_HTTPD=1 \
    EVERYTHING=1

echo "### build Perl-side "
%make
chmod -R o-w t/docs/
cd faq
%make
echo "### build Apache with mod_perl"
cd $RPM_BUILD_DIR/apache-mod_perl_%apache_vanilla_version

OPTIM="%optflags $LIMITS $ACL_SUPPORT" \
PERL_CC="gcc" \
PERL_CCFLAGS=`perl -V:ccflags|cut -f 2 -d\'` \
PERL5LIB=$RPM_BUILD_DIR/mod_perl-%mod_perl_version/lib \
CFLAGS='-I%_includedir/db4 -I%_includedir/gdbm -DDBM_SUFFIX=\\\".db\\\"' \
LIBS="-ldb -lgdbm -lgdbm_compat -lpthread" \
found_dbm="1" \
./configure \
	--enable-rule=EAPI \
	--libexecdir=%apache_moduleperldir \
	$APFLAGS \
	--activate-module=src/modules/perl/libperl.a \
	--activate-module=src/modules/extra/mod_realip.o \
	--disable-shared=include \
	--disable-shared=perl

%make build-std
%make -C src/support apxs

%install
# Generate sed script for substitute the real paths in configs
echo '
s|@RUNDIR@|%condstopstart_webrundir|g
' >> SetMacros.sed

# install the normal Apache
pushd $RPM_BUILD_DIR/apache_%apache_version
%make install-quiet root=%buildroot
install -d %buildroot%apache_tmpdir/{,tmp,sessions,uploads}
popd

# install apache-mod_perl
pushd $RPM_BUILD_DIR/apache-mod_perl_%apache_vanilla_version
install -m755 src/httpd %buildroot%_sbindir/httpd-perl
install -d -m755 %buildroot%apache_moduleperldir/
install -m755 src/modules/*/*.so %buildroot%apache_moduleperldir/
sed  -e 's;^#!/.*;#!/usr/bin/perl;' \
	-e 's;\@prefix\@;%prefix;' \
	-e 's;\@sbindir\@;%_sbindir;' \
	-e 's;\@libexecdir\@;%apache_moduleperldir;' \
	-e 's;\@includedir\@;%_includedir/%name;' \
	-e 's;\@sysconfdir\@;%apache_confdir;' \
	< src/support/apxs > %buildroot%_sbindir/apxs-perl
chmod 755 %buildroot%_sbindir/apxs-perl
popd

ln -snf `relative %apache_logdir %apache_basedir/` \
	%buildroot%apache_loglink
ln -snf `relative %apache_moduledir %apache_basedir/` \
	%buildroot%apache_modulelink
ln -snf `relative %apache_moduleperldir %apache_basedir/` \
	%buildroot%apache_moduleperllink

# install log rotation stuff
install -pD -m644 %SOURCE4 \
	%buildroot%_sysconfdir/logrotate.d/apache

# install configuration files
pushd %buildroot%apache_confdir
	install -m644 %SOURCE5 httpd.conf
	install -m644 %SOURCE15 httpd-perl.conf
	perl -pi -e 's/^\s*User nobody/User %apache_user/;' \
		    -e 's/^\s*Group nobody/Group %apache_group/;' \
		    httpd*.conf
	install -m644 %SOURCE23 apache-mime.types
	cp -a mime.types.default apache-mime.types.default
	install -d -m755 vhosts
	install -p -m644 %SOURCE26 %SOURCE27 %SOURCE50 %SOURCE51 vhosts/
	install -pD -m644 %SOURCE16 addon-modules/proxied_handlers.pl

	install -d -m755 addon-modules.d
	install -pD -m644 %SOURCE53 addon-modules.d/mod_charset.conf
	install -pD -m644 %SOURCE54 addon-modules.d/mod_realip.conf

	install -d -m755 vhosts.d
	install -p -m644 %SOURCE62 vhosts.d/00-example.conf

	install -d -m755 vhosts-perl.d
	
	# purge unneeded ones
	rm -f {{access,srm}.conf,mime.types}{,.default}
popd

# monit support
install -pD -m644 %SOURCE64 %buildroot%_sysconfdir/monitrc.d/apache

#install misc documentation and logos
install -pD -m644 %SOURCE52 %buildroot%apache_htdocsdir/README.txt
install -pD -m644 %SOURCE61 %buildroot%apache_htdocsdir/README.ALT
install -pD -m644 %SOURCE63 %buildroot%apache_htdocsdir/TUNING.ALT
rm -f %buildroot%apache_htdocsdir/index.html.ru{,.ucs*}
for f in %buildroot%apache_htdocsdir/index.html*; do
	perl -pi \
		-e 's|apache_pb\.gif|ra-powered.gif|g;' \
		-e 's|</BODY>|<!--#include file="altlinux.html" -->\n</BODY>|i;' \
		< $f > ${f/.html/.shtml} \
        && rm -f $f
done
perl -pi -e 's|http://apache.lexa.ru/|'">http://www\.apache\.org/httpd|http://apache.lexa.ru/|'; \
	%buildroot%apache_htdocsdir/index.shtml.ru*
install -m644 %SOURCE29 %buildroot/%apache_htdocsdir/
install -m644 %SOURCE30 %buildroot/%apache_htdocsdir/
install -d -m755 %buildroot/%apache_htdocsaddondir/
install -m644 $RPM_BUILD_DIR/EAPI-%EAPI_version/pkg.addon/mod_define.html \
	%buildroot/%apache_htdocsdir/manual/mod/mod_define.html

perl -pi -e "s|/usr/local/bin/perl|%__perl|g;" \
	%buildroot/%apache_htdocsdir/manual/misc/howto.html
perl -pi -e "s|/path/to/bin/perl|%__perl|g;" \
	%buildroot/%apache_htdocsdir/manual/mod/mod_rewrite.html
perl -pi -e "s|/usr/local/bin/perl|%__perl|g;" \
	%buildroot/%apache_htdocsdir/manual/search/manual-index.cgi

#install cache_create for mod_accel
%if_with mod_accel
install -m755 $RPM_BUILD_DIR/mod_accel-%mod_accel_version/create_cache \
	%buildroot%_bindir/create_cache
%endif

# install mod_perl files
pushd $RPM_BUILD_DIR/mod_perl-%mod_perl_version
%perl_vendor_install
rm -f %buildroot%perl_vendor_autolib/mod_perl/.packlist
install -d  -m755 %buildroot%apache_datadir/perl
install -pD -m644 eg/README \
	%buildroot%apache_htdocsaddondir/mod_perl/README.eg
install -m644 README SUPPORT Changes faq/*.{html,txt} \
		 apache-modlist.html htdocs/manual/mod/mod_perl.html \
	%buildroot%apache_htdocsaddondir/mod_perl/
perl -pi -e "s|../../../|/manual/images/|g;" \
	%buildroot%apache_htdocsaddondir/mod_perl/mod_perl.html
perl -pi -e 's,/usr/local/bin/perl,%_bindir/perl,' \
	%buildroot%perl_vendor_archlib/Apache/Resource.pm
popd

# install proper initscripts
mkdir -p %buildroot%_sysconfdir/rc.d/init.d

install -m755 %SOURCE35 \
	%buildroot%_sysconfdir/rc.d/init.d/httpd
install -m755 %SOURCE36 \
	%buildroot%_sysconfdir/rc.d/init.d/httpd-perl

# replace the "official" apachectl by a symlink to the init script
rm -f %buildroot%_sbindir/apachectl*
ln -s `relative %_sysconfdir/rc.d/init.d/httpd %_sbindir/` \
	%buildroot%_sbindir/apachectl
ln -s `relative %_sysconfdir/rc.d/init.d/httpd-perl %_sbindir/` \
	%buildroot%_sbindir/apachectl-perl

# take away manuals to place them in docdir
mv %buildroot%apache_htdocsdir/manual/ \
	$RPM_BUILD_DIR/apache_%apache_version/
mv %buildroot%apache_htdocsaddondir/mod_perl/ \
	$RPM_BUILD_DIR/apache_%apache_version/perldocs

# fix manpages
subst 's,/usr/local/apache,%apache_basedir,g' \
	%buildroot/%_mandir/man?/*.[0-9]
subst 's,/usr/local/etc/apache,%apache_confdir,g' \
	%buildroot/%_mandir/man?/*.[0-9]

# check modules for undefined symbols
pushd %buildroot%apache_moduledir
ldd -r libhttpd.so 2>%_builddir/check.log >/dev/null
for f in *.so; do
	[ "$f" != libhttpd.so ] || continue
	[ -f "$f" ] || continue
	LD_PRELOAD=./libhttpd.so ldd -r "$f" 2>&1 >/dev/null ||:
done >>%_builddir/check.log
! [ -s %_builddir/check.log ] || exit 1
popd # %buildroot%apache_moduledir
pushd %buildroot%apache_moduleperldir
for f in *.so; do
	[ -f "$f" ] || continue
	LD_PRELOAD=%buildroot%apache_moduledir/libhttpd.so ldd -r "$f" 2>&1 >/dev/null ||:
done >%_builddir/check.log
! [ -s %_builddir/check.log ] || exit 1
popd # %buildroot%apache_moduleperldir

mkdir -p %buildroot%apache_datadir/apache/

# Install scripts for control
install -pD %SOURCE40 %buildroot%_controldir/cgi-bin_test-cgi
install -pD %SOURCE41 %buildroot%_controldir/cgi-bin_printenv

# Create datadirs
install -d %buildroot%_datadir/%name/cgi-bin/

# Move cgi scripts to data dirs
mv %buildroot%apache_cgibindir/* %buildroot%_datadir/%name/cgi-bin/

# Install condstopstart-web scripts for httpd
install -pD %SOURCE70 %buildroot%condstopstart_webdir/httpd-condstop
ln -s httpd-condstop %buildroot%condstopstart_webdir/httpd-condstop-rpm
install -pD %SOURCE72 %buildroot%condstopstart_webdir/httpd-condstart
ln -s httpd-condstart %buildroot%condstopstart_webdir/httpd-condstart-rpm

sed -i '
s|@SERVER@|httpd|g
s|@LOCKFILE@|%_locksubsysdir/httpd|g
' %buildroot%condstopstart_webdir/httpd-cond*

# Install condstopstart-web scripts for httpd-perl
install -pD %SOURCE70 %buildroot%condstopstart_webdir/httpd-perl-condstop
ln -s httpd-condstop %buildroot%condstopstart_webdir/httpd-perl-condstop-rpm
install -pD %SOURCE72 %buildroot%condstopstart_webdir/httpd-perl-condstart
ln -s httpd-condstart %buildroot%condstopstart_webdir/httpd-perl-condstart-rpm

sed -i '
s|@SERVER@|httpd-perl|g
s|@LOCKFILE@|%_locksubsysdir/httpd-perl|g
' %buildroot%condstopstart_webdir/httpd-perl-cond*

# Substitute the real paths in files
find %buildroot%_sysconfdir %buildroot%condstopstart_webdir \
		-type f -print0 \
	| xargs -r0i %_datadir/rpm-build-rpm-eval/rpm-eval.sh "{}"
find %buildroot%_sysconfdir %buildroot%condstopstart_webdir \
		-type f -print0 \
	| xargs -r0 sed -i -f SetMacros.sed

mkdir -p %buildroot%_rpmlibdir
cat <<\EOF >%buildroot%_rpmlibdir/%name-files.req.list
# %name dirlist for %_rpmlibdir/files.req
%apache_moduledir/	%name-base
%apache_basedir/	%name-common
%apache_confdir/	%name-common
%apache_confdir/vhosts/	%name-common
%apache_vhconfdir/	%name-common
%apache_addonconfdir/	%name-common
%apache_modconfdir/	%name-common
%apache_logdir/	%name-common
%_cachedir/httpd/	%name-common
%apache_tmpdir/	%name-common
%apache_tmpdir/tmp/	%name-common
%apache_tmpdir/sessions/	%name-common
%apache_tmpdir/uploads/	%name-common
%apache_datadir/apache/	%name-common
%_datadir/%name/	%name-datadirs
%_datadir/%name/cgi-bin/	%name-datadirs
%apache_moduleperldir/	%name-mod_perl-base
%apache_addonconfdir/	%name-mod_perl-base
%apache_datadir/perl/	%name-mod_perl-base
%_includedir/%name/	%name-devel
EOF

# SCRIPTS

%pre common
%_sbindir/groupadd -r -f %apache_group 2>/dev/null ||:
%_sbindir/groupadd -r -f %apache_webmaster 2>/dev/null ||:
%_sbindir/useradd -g %apache_group -c 'WWW server' -d %apache_datadir -s '' \
	-G %webserver_group -r %apache_user 2>/dev/null || :
if LANG=C %_bindir/id %apache_user 2>/dev/null | \
		grep -qv "groups=[^[:space:]]*(%webserver_group)"; then
	echo 'Warning: User %apache_user was not included in the group %webserver_group!'
	%_bindir/gpasswd -a %apache_user %webserver_group
	echo '     Added user %apache_user to group %webserver_group.'
fi
if [ -e %old_apache_home -a ! -e %apache_datadir ]; then
	mkdir -p `dirname %apache_datadir`
	ln -s %old_apache_home %apache_datadir
fi

# FIXME: see #2920
#post common
#find %apache_logdir -group %apache_webmaster -print0 \
#| xargs -0 chgrp %apache_group

%post manual
ln -snf %_docdir/apache-manual-%apache_version %apache_datadir/apache/manual

%preun manual
if [ $1 = 0 ]; then
	rm -f %apache_datadir/apache/manual
fi

%post base
%post_service httpd

%preun base
%preun_service httpd
## XXX: is this correct with standalone httpd-perl??
## => commenting out as of 1.3.32
#if [ $1 = 0 ]; then
#	rm -rf %apache_logdir/*
#fi

%post mod_perl-base
%post_service httpd-perl

%preun mod_perl
%preun_service httpd-perl
%postun mod_perl-base
if [ -e %_sbindir/apachectl ]; then
	%_sbindir/apachectl update
fi

%post -n mod_perl-doc
ln -snf %_docdir/mod_perl-doc-%mod_perl_doc_version \
	%apache_htdocsaddondir/mod_perl

%preun -n mod_perl-doc
if [ $1 = 0 ]; then
	rm -f %apache_htdocsaddondir/mod_perl
fi

%post suexec
if [ -e %_sbindir/apachectl ]; then
	%_sbindir/apachectl update
fi

%postun suexec
if [ -e %_sbindir/apachectl ]; then
	%_sbindir/apachectl update
fi

%pre cgi-bin-test-cgi
%pre_webserver_cgi_bin_control cgi-bin_test-cgi

%post cgi-bin-test-cgi
%post_webserver_cgi_bin_control -s symlink_root_noexec cgi-bin_test-cgi

%preun cgi-bin-test-cgi
%preun_webserver_cgi_bin_control cgi-bin_test-cgi

%postun cgi-bin-test-cgi
%postun_webserver_cgi_bin_control -s symlink_root_noexec cgi-bin_test-cgi

%triggerpostun cgi-bin-test-cgi -- apache-common < 1.3.37rusPL30.23-alt1.1, apache-cgi-bin < 1.3.41rusPL30.23-alt4.7.3, apache2-cgi-bin < 2.2.9-alt10, apache2-cgi-bin-test-cgi
%triggerpostun_webserver_cgi_bin_control -s symlink_root_noexec cgi-bin_test-cgi

%pre cgi-bin-printenv
%pre_webserver_cgi_bin_control cgi-bin_printenv

%post cgi-bin-printenv
%post_webserver_cgi_bin_control -s symlink_root_noexec cgi-bin_printenv

%preun cgi-bin-printenv
%preun_webserver_cgi_bin_control cgi-bin_printenv

%postun cgi-bin-printenv
%postun_webserver_cgi_bin_control -s symlink_root_noexec cgi-bin_printenv

%triggerpostun cgi-bin-printenv -- apache-common < 1.3.37rusPL30.23-alt1.1, apache-cgi-bin < 1.3.41rusPL30.23-alt4.7.3, apache2-cgi-bin < 2.2.9-alt10, apache2-cgi-bin-printenv
%triggerpostun_webserver_cgi_bin_control -s symlink_root_noexec cgi-bin_printenv

%files datadirs
%dir %_datadir/%name/
%dir %_datadir/%name/cgi-bin/

%files cgi-bin-test-cgi
%_controldir/cgi-bin_test-cgi
%attr(644,root,root) %_datadir/%name/cgi-bin/test-cgi

%files cgi-bin-printenv
%_controldir/cgi-bin_printenv
%attr(644,root,root) %_datadir/%name/cgi-bin/printenv

%files cgi-bin

%files html
%attr(664,root,%apache_webmaster) %config(noreplace) %apache_htdocsdir/*html*
%attr(664,root,%apache_webmaster) %config(noreplace) %apache_htdocsdir/*.txt
%attr(664,root,%apache_webmaster) %config(noreplace) %apache_htdocsdir/*.gif
%attr(604,root,%apache_group) %apache_htdocsdir/README.ALT
%attr(604,root,%apache_group) %apache_htdocsdir/TUNING.ALT

%files icons
%defattr(644,root,%apache_webmaster,2775)
%apache_iconsdir/README*
%apache_iconsdir/*.gif
%apache_iconsdir/*.png
%apache_iconssmalldir/*.gif
%apache_iconssmalldir/*.png

%files common
%dir %apache_basedir/
%dir %apache_datadir/apache/
%_sbindir/ab
%_sbindir/logresolve
%_sbindir/rotatelogs
%_bindir/*

%attr(750,root,%apache_webmaster) %dir %apache_confdir/
%config(noreplace) %apache_confdir/magic
%config(noreplace) %apache_confdir/apache-mime.types
%dir %apache_confdir/vhosts/
%config(noreplace) %apache_confdir/vhosts/*.conf
%dir %apache_vhconfdir/
%config(noreplace) %apache_vhconfdir/*.conf
%dir %apache_addonconfdir/
%dir %apache_modconfdir/
%config(noreplace) %apache_modconfdir/*.conf
%apache_conf.default
%apache_confdir/magic.default
%apache_confdir/apache-mime.types.default
%apache_confdir/tables

%apache_loglink

%defattr(644,root,root,755)
%attr(750,root,%apache_group) %dir %apache_logdir/
%attr(2770,root,%apache_group) %dir %_cachedir/httpd/

%attr(750,root,%apache_group) %dir %apache_tmpdir/
%attr(2770,root,%apache_group) %dir %apache_tmpdir/tmp/
%attr(2770,root,%apache_group) %dir %apache_tmpdir/sessions/
%attr(2770,root,%apache_group) %dir %apache_tmpdir/uploads/

%_mandir/man?/*

%config(noreplace) %_sysconfdir/logrotate.d/apache

%doc README* LICENSE ABOUT_APACHE CHANGES.rus*
%doc ../EAPI-%EAPI_version/pkg.eapi/README.EAPI

%if_with mod_deflate
%doc ../mod_deflate-%mod_deflate_version/CHANGES.mod_deflate*
%doc ../mod_deflate-%mod_deflate_version/LICENSE.mod_deflate
%doc ../mod_deflate-%mod_deflate_version/readme.mod_deflate.ru.html
%endif

%files

%files base
%_initdir/httpd
%_sbindir/apachectl
%_sbindir/httpd
%apache_apxs
%config(noreplace) %apache_conf
%config(noreplace) %_sysconfdir/monitrc.d/apache
%dir %apache_moduledir/
%apache_moduledir/*
%apache_modulelink

%condstopstart_webdir/httpd-cond*

%files full

%files mod_perl

%files mod_perl-base
%_initdir/httpd-perl
%_sbindir/apachectl-perl
%_sbindir/httpd-perl
%dir %apache_moduleperldir/
%apache_moduleperldir/*
%apache_moduleperllink
%_sbindir/apxs-perl
%config(noreplace) %apache_confdir/httpd-perl.conf
%dir %apache_addonconfdir/
%config(noreplace) %apache_addonconfdir/proxied_handlers.pl
%perl_vendor_archlib/Apache*
%perl_vendor_archlib/Bundle*
%perl_vendor_archlib/mod_perl*
%perl_vendor_autolib/Apache*
%attr(3771,root,%apache_group) %dir %apache_datadir/perl/

%condstopstart_webdir/httpd-perl-cond*

%files mod_perl-full

%files -n mod_perl-doc
%doc perldocs/*

%files manual
%doc manual/*

%files -n rpm-build-%name
%_rpmlibdir/%name-files.req.list

%files devel
%dir %_includedir/%name/
%_includedir/%name/*

%files suexec
%attr(4710,root,%apache_group) %_sbindir/suexec

# TODO
# - seperate apache-mod_perl-devel ?
# - buildreq plugs "apache-mod_perl" build dependency somehow :-/
# - update fuzzy patches?
# - seperate htpasswd
# - include /etc/monitrc.d/apache ?
# - control suexec?
# - fix all ugly hacks!
# - macro for %_cachedir/httpd/

%changelog
* Wed Nov 25 2015 Igor Vlasenko <viy@altlinux.ru> 1.3.42rusPL30.24-alt8.1
- rebuild with new perl 5.22.0

* Wed Sep 30 2015 Michael Shigorin <mike@altlinux.org> 1.3.42rusPL30.24-alt8
- added apache-1.3.41-mod_perl-gcc43.patch by Salvador Ortiz Garcia

* Tue Dec 09 2014 Igor Vlasenko <viy@altlinux.ru> 1.3.42rusPL30.24-alt7.1
- rebuild with new perl 5.20.1

* Mon Dec 08 2014 Igor Vlasenko <viy@altlinux.ru> 1.3.42rusPL30.24-alt7
- added mod_perl-perl-5.20.patch

* Thu Aug 29 2013 Vladimir Lettiev <crux@altlinux.ru> 1.3.42rusPL30.24-alt6
- built for perl 5.18

* Tue Sep 04 2012 Vladimir Lettiev <crux@altlinux.ru> 1.3.42rusPL30.24-alt5
- rebuilt for perl-5.16
- fixed build

* Tue Feb 21 2012 Aleksey Avdeev <solo@altlinux.ru> 1.3.42rusPL30.24-alt4
- Add condstopstart-web scripts for httpd-perl

* Tue Feb 14 2012 Aleksey Avdeev <solo@altlinux.ru> 1.3.42rusPL30.24-alt3
- Add scripts for condstopstart-web

* Wed Feb 01 2012 Aleksey Avdeev <solo@altlinux.ru> 1.3.42rusPL30.24-alt2
- Use gpasswd -a in %%pre %%name-common (Closes: #23240)

* Thu Oct 13 2011 Alexey Tourbin <at@altlinux.ru> 1.3.42rusPL30.24-alt1.2
- rebuilt for perl-5.14

* Sun Nov 07 2010 Vladimir Lettiev <crux@altlinux.ru> 1.3.42rusPL30.24-alt1.1
- rebuilt with perl 5.12

* Tue Mar 16 2010 Aleksey Avdeev <solo@altlinux.ru> 1.3.42rusPL30.24-alt1
- 1.3.42rusPL30.24 (Closes: #22912)
- Security fixes (CVE-2010-0010)
- Generate SSL key from httpd-perl initscript

* Mon Oct 12 2009 Denis Smirnov <mithraen@altlinux.ru> 1.3.41rusPL30.23-alt8
- generate SSL key from initscript

* Fri May 22 2009 Aleksey Avdeev <solo@altlinux.ru> 1.3.41rusPL30.23-alt7
- Update message in %%pre common (Closes: #19602)
  (thanks to Sergey Vlasov <vsu altlinux org>)
- mod_perl-doc: fix package install

* Tue Oct 28 2008 Aleksey Avdeev <solo@altlinux.ru> 1.3.41rusPL30.23-alt6
- Fix symlink for cgi-bin scripts created

* Tue Oct 14 2008 Aleksey Avdeev <solo@altlinux.ru> 1.3.41rusPL30.23-alt5
- Add build subpackages:
  + %%name-datadirs -- data dirs
  + %%name-cgi-bin-test-cgi and %%name-cgi-bin-printenv -- cgi-bin scripts
    (use control for facility)

* Tue Aug 19 2008 Aleksey Avdeev <solo@altlinux.ru> 1.3.41rusPL30.23-alt4.7
- NMU
- Add build subpackages (#16353):
  + %%name-base and %%name-mod_perl-base (not requires a webserver-cgi-bin,
    webserver-html and webserver-icons)
  + %%name-fill and %%name-mod_perl-full (requires a %%name-cgi-bin,
    %%name-html and %%name-icons)
- Add auto adding user %%apache_user to group %%webserver_group
- Add httpd provides in %%name-base and %%name-mod_perl-base subpackages
  (#13665)

* Sat Aug 16 2008 Aleksey Avdeev <solo@altlinux.ru> 1.3.41rusPL30.23-alt4.6
- NMU
- Add %%apache_datadir/apache/ dir in %%name-common subpackage
- Move manual dir (%%apache_htdocsdir/manual) to %%apache_datadir/apache/manual

* Fri Aug 15 2008 Aleksey Avdeev <solo@altlinux.ru> 1.3.41rusPL30.23-alt4.5
- NMU
- Rebuild due to libssl.so.6 -> libssl.so.7 soname change.

* Tue Jul 15 2008 Aleksey Avdeev <solo@altlinux.ru> 1.3.41rusPL30.23-alt4.4
- NMU
- Removed version of the webserver-{cgi-bin,html,icons}

* Mon Jul 14 2008 Aleksey Avdeev <solo@altlinux.ru> 1.3.41rusPL30.23-alt4.3
- NMU
- Unset BuildArch %%_target_cpu
- Use rpm-macros-apache (Closes: #16346)
- Add build subpackage for ALT Linux RPM Packaging Policy:
  + rpm-build-%%name

* Thu Jun 26 2008 Aleksey Avdeev <solo@altlinux.ru> 1.3.41rusPL30.23-alt4.2
- NMU
- Add using webserver-common package:
  + removing altlinux.png
  + removing Provides dirs
    %%apache_datadir/{,cgi-bin/,html/{,addon-modules/},icons/{,small/}}
  + adding %%apache_user to %%webserver_group
- Create subpackages:
  + %%name-cgi-bin
  + %%name-manual-addons
  + %%name-html
  + %%name-icons
- Set BuildArch to noarch for subpackages

* Sat Jun 14 2008 ALT QA Team Robot <qa-robot@altlinux.org> 1.3.41rusPL30.23-alt4.1
- Automated rebuild with libdb-4.7.so.ALT/Daedalus/apache2/spec

* Sat Apr 19 2008 Michael Shigorin <mike@altlinux.org> 1.3.41rusPL30.23-alt4
- revisit #11053, complete the fix (thanks lakostis@ again)

* Sat Apr 19 2008 Michael Shigorin <mike@altlinux.org> 1.3.41rusPL30.23-alt3
- added monit support
- removed unpackaged sample configuration snippets
- cleaned up pod files packaged into both apache-mod_perl and mod_perl-doc
  (left them in mod_perl-doc package only)

* Mon Mar 31 2008 Michael Shigorin <mike@altlinux.org> 1.3.41rusPL30.23-alt2
- rediffed/applied 1.3.23 patch by Alex Pinzhenin <ap ur ru> to limit
  mod_rewrite looping potential by putting a cap on internal redirect 
  count (50 by default) and RewriteRule-per-query count (300 by default);
  http://www.opennet.ru/base/patch/mod_rewrite_loop.txt.html
  http://www.lexa.ru/apache-talk/msg06354.html

* Sat Jan 19 2008 Michael Shigorin <mike@altlinux.org> 1.3.41rusPL30.23-alt1
- 1.3.41 contains security fix for:
  + CVE-2007-6388: mod_status: ensure refresh parameter is numeric to prevent
    a possible XSS attack caused by redirecting to other URLs)
- 1.3.40 (unreleased) contains security fixes for:
  + CVE-2007-5000: mod_imap: fix cross-site scripting issue
  + CVE-2007-3847: mod_proxy Windows/NetWare-specific DoS
  + CVE-2007-3304: more efficient patch, also fixes bogus "Bad pid" errors
- http://www.apache.org/dist/httpd/CHANGES_1.3.41 for details
- updated EAPI to hand-made 2.8.30a with build fix kindly sent in 
  by Dan Muey <dan cpanel net> (rolled into EAPI tarball by me;
  releasing as 2.8.30a-1.3.41 along with mod_ssl)

* Wed Oct 03 2007 Michael Shigorin <mike@altlinux.org> 1.3.39rusPL30.23-alt2
- modify packaged httpd.conf to disable directory autoindexing by default
  (/home/*/public_html stay indexed though); you might want to reconsider
  that in case the configuration wasn't touched at all (thus will be replaced
  during package upgrade) but directory indexes are needed (fixes #12898,
  thanks Timur Batyrshin <batyrshin ieml ru> for proposal/discussion/patch)

* Thu Sep 13 2007 Michael Shigorin <mike@altlinux.org> 1.3.39rusPL30.23-alt1
- 1.3.39 merges security fixes for:
  + CVE-2006-5752: possible XSS attack against mod_status
    (exploitation requires public server-status page and ExtendedStatus enabled
    and a browser which performs charset "detection")
  + CVE-2007-3304: ensure that the parent process cannot be forced to kill
    non-child processes by checking scoreboard PID data with parent process
    privately stored PID data [this one was fixed by a patch before]
- upstream mime.types updated to current IANA registry and common unregistered
  types that the owners refuse to register (see apache-mime.types.default)
- icons/README.html instead of icons/small/README.txt
- there was no Apache 1.3.38
- updated EAPI to 2.8.30

* Thu Aug 30 2007 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.23-alt6
- changed conftest() usage in initscript so that running processes
  which are still using valid configuration wouldn't be terminated
  if current configuration test fails; thanks nginx.init by mithraen@
  for bringing this to my attention

* Tue Jul 31 2007 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.23-alt5
- merged security fix from RHEL2.1 (RH#245116):
  + CVE-2007-3304 (DoS by referencing an arbitrary process ID in scoreboard
    which then gets SIGUSR1 from master process; requires scripting ability)

* Tue Jun 26 2007 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.23-alt4
- verified and disambiguated mime types; thanks Denis Smirnov (mithraen@)
  for a linter pass (fixes: #12141, #11461)

* Fri Apr 06 2007 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.23-alt3
- rebuilt against recent libmm

* Thu Mar 29 2007 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.23-alt2
- added minimal patch for mod_perl aimed at fixing CVE-2007-1349:
  DoS possibility with specially crafted requests in "PerlRun.pm"
  that uses the "path_info" variable without properly escaping it;
  thanks Randal L. Schwartz (merlyn stonehenge com) for a patch
  (seems to be also in mod_perl SVN)
- NB: mod_perl 1.30 is released but differs quite significantly,
  no time to fix/build/test properly

* Mon Mar 12 2007 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.23-alt1
- updated RA to PL30.23
- wrapped LogFormat in default httpd{,-perl}.conf with IfModule
  (#11053; lakostis@ proposed to borrow from apache2 package)

* Fri Dec 22 2006 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.22-alt9
- disable httpd, httpd-perl services startup by default:
  that might lead to undesired consequences in case of 
  "accidentally" installed packages and/or forgetting
  about them while configuring services; see also [ru]:
  http://lists.altlinux.org/pipermail/devel/2006-December/039909.html

* Thu Nov 23 2006 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.22-alt8
- bring SysV vhosts configuration support to mod_perl part of apache
  (thanks Alexey I. Froloff (raorn@) for nice #10308):
  + httpd-perl.conf: Include conf/vhosts/Vhosts-perl.conf
  + add vhosts/Vhosts-perl.conf and vhosts-perl.d/
- got back some changes from alt6 (reverted wholesale in alt7):
  + removed remnants of libdb1
  + fixed gdbm support for mod_rewrite
  + move server child hard limit constant to a macro 
    (still 1024 by default, just as in patch9 still left
    in src.rpm just in case too but not applied anymore)
    (the bug was #5748, for reference)
- added TUNING.ALT file with tips on performance tuning 
  (regarding #5748 again)
- minor spec cleanup (more intrusive one pending)

* Sat Oct 21 2006 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.22-alt7
- roll back alt6* changes since they are too intrusive by now,
  those who need log files or static content larger than 2Gb
  are advised to rotate logs, use nginx for downloads, or look
  at https://bugzilla.altlinux.org/show_bug.cgi?id=9382 for
  working, but resulting in binary incompatible apache, spec
- added hint on mod_rewrite/mod_security order to default httpd.conf

* Tue Oct 17 2006 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.22-alt6.1
- few more feeble tweaks at LFS (these will likely fail -- upstream
  seems to have had hostile enough stand to "that 1.3 being preferred
  to 2.0" to break former ways of enabling LFS on it, telling people
  should wait until 2.2; see also apache bugs #17453, #36417)

* Sun Oct 15 2006 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.22-alt6
- scalability improvements:
  + support large logfiles (>2Gb) by default (#9382);
    thanks eostapets@ for alarm and raorn@ for sample spec
  + hopefully fixed gdbm support for mod_rewrite (by raorn@
    in the same stripped-down/fixed-up spec)
  + move server child hard limit constant to a macro
    (still 1024 by default, just as in patch9 still left
    just in case too)
- s/libdb1-devel/libdb4-devel/ (might break 2.2 build?)
- folks, I need proposals on #2907...

* Sat Oct 14 2006 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.22-alt5
- added application/x-java-jnlp-file, application/x-xpinstall
  to mime.types (courtesy of zerg@, see bug #10088)
- added commented-out example of editor backup file protection
  to default httpd.conf, httpd-perl.conf (#8489)

* Sat Sep 30 2006 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.22-alt4.1
- oops, ServerSignature was really belonging to later 
  section (and "off" was overridden with "on" there");
  thanks to Pavel Usischev <Usischev/gmail> for #10055

* Tue Sep 26 2006 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.22-alt4
- implement bugchancement #10038 (ServerSignature Off;
  ServerTokens ProductOnly in default configuration)
  thanks thresh@ and hiddenman@ for reminder

* Fri Sep 01 2006 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.22-alt3
- fix #9928 (default mod_realip.conf); thanks vvk@

* Wed Aug 16 2006 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.22-alt2
- NameVirtualHost-related fix for default sample configuration
  (what a shame on me!, and thanks Pavel Usischev for #8385)

* Sat Aug 05 2006 Michael Shigorin <mike@altlinux.org> 1.3.37rusPL30.22-alt1
- 1.3.37
  + security fix for CVE-2006-3747:
    mod_rewrite: Fix an off-by-one security problem in the ldap scheme
    handling.  For some RewriteRules this could lead to a pointer being
    written out of bounds.  Reported by Mark Dowd of McAfee.

* Mon Jun 19 2006 Michael Shigorin <mike@altlinux.org> 1.3.36rusPL30.22-alt1
- 1.3.36
  + security fixes merged upstream (patch96 removed)
  + 1.3.35 was lucky enough to get missed (regression reported,
    and fixes were irrelevant to this package ayways)

* Tue Mar 21 2006 Dmitry V. Levin <ldv@altlinux.org> 1.3.34rusPL30.22-alt4
- Applied additional fixes required for ld --as-needed.
- Added build time check for unresolved symbols in DSOs.
- Replaced macros for standard unix commands with commands themselves.

* Mon Mar 20 2006 Michael Shigorin <mike@altlinux.org> 1.3.34rusPL30.22-alt3
- applied joint fixes by Denis Smirnov (mithraen@) and Dmitry Levin (ldv@):
  + Fixed building with -Wl,--as-needed.
  + Quoted macros in changelog.
- thanks!

* Wed Jan 25 2006 Michael Shigorin <mike@altlinux.org> 1.3.34rusPL30.22-alt2
- security fix for CVE-2005-3352:
  + cross-site scripting (XSS) vulnerability in the mod_imap module of Apache
    httpd before 1.3.35-dev allows remote attackers to inject arbitrary web
    script or HTML via the Referer when using image maps.
  + patch taken from Debian

* Thu Oct 27 2005 Michael Shigorin <mike@altlinux.org> 1.3.34rusPL30.22-alt1
- 1.3.34
- official security fixes:
  + CVE-2005-2088: If a request contains both Transfer-Encoding and
    Content-Length headers, remove the Content-Length, mitigating some HTTP
    Request Splitting/Spoofing attacks.
  + Added TraceEnable [on|off|extended] per-server directive to alter the
    behavior of the TRACE method.
  + please note that CAN-2005-2088 fix (patch95) was already included
    in 1.3.33rusPL30.20-alt4
- added default localhost configuration for mod_realip;
  thanks Denis Smirnov (mithraen@)
- updated EAPI to 2.8.25
- updated RA to PL30.22

* Wed Oct 19 2005 Alexey Gladkov <legion@altlinux.ru> 1.3.33rusPL30.20-alt6
- NMU: rpm macros fix.

* Mon Oct 03 2005 Michael Shigorin <mike@altlinux.org> 1.3.33rusPL30.20-alt5
- Mon Oct 03 2005 Artem K. Jouravsky <ujo@altlinux.ru> 1.3.33rusPL30.20-alt5
  + added mod_accel to current builds; off by default (#8029)
  + removed SMP incompatible build

* Thu Sep 08 2005 Michael Shigorin <mike@altlinux.org> 1.3.33rusPL30.20-alt4
- added SVN patch for CAN-2005-2088 security vulnerability:
  when acting as an HTTP proxy, Apache 1.3 allows remote attackers to poison
  the web cache, bypass web application firewall protection, and conduct XSS
  attacks via an HTTP request with both a "Transfer-Encoding: chunked" header
  and a Content-Length header, which causes Apache to incorrectly handle and
  forward the body of the request in a way that causes the receiving server
  to process it as a separate HTTP request, aka "HTTP Request Smuggling."
  + thanks for SVN pointer to Ubuntu
- fixed small port-related problem in sample Vhosts.conf
  (thanks Alexey Borovskoy (alb@) for notify/fix; also in alt3.M24.1) 

* Fri Sep 02 2005 Michael Shigorin <mike@altlinux.org> 1.3.33rusPL30.20-alt3
- whoops, README.ALT wasn't getting packaged (updated too)
- altlinux-release build dependency appears illegal
  (long unneeded though)
- Wed Aug 24 2005 Michael Shigorin <mike@altlinux.org>
  + exchanged httpd and httpd-perl startup/shutdown order;
    see README.ALT for further details on mod_perl setup (#4994, #6437)
    thanks combr@, tma@, solo@, Ivan Adzhubey for discussion and fixes
    (you *will* need to chkconfig them on for this to apply)
  + rolled back #2928 workarounds (should be unneeded)
  + hard kill remaining processes after normal stop() part
  + fixed #6351 (delaycompress in logrotate; may influence #3153)
    thanks dfo@, sorry ldv@
  + fixed a transition bug in /etc/init.d/httpd::conftest()
  + UseCanonicalName Off in httpd{,-perl}.conf (#7704)
  + updated and extended README.ALT
- Thu Feb 17 2005
  + added missing NameVirtualHost directive to default Vhosts.conf
- Sat Feb 12 2005
  + Vhosts.conf thinko fix suggested by Alexey Morozov (morozov@)
    (Aug 24: could have lost that.... can't remember details now)
- Sat Jan 29 2005
  + macros extended (see README.ALT); also #1735, #5634, #5989
  + re-fixed #4235 (weird hostname hack)
  + implemented separate TMPDIR (addon modules should follow) (#5989)
  + disabled mod_charset for mod_perl (hm... #2941-related)
  + commented out "AddDefaultCharset iso8859-1" by default (#5754)
  + added %%apache_vhostdir and %%apache_vhconfdir (#5634)
  + upped HARD_SERVER_LIMIT from 256 to 1024 (#5748; needs additional
    /etc/security/limits.conf tweaking to actually happen)
  + changed %%suexec_docroot from /home to %apache_home (#2461)
  + changed suexec binary permissions (see #5309)
    from 4711 root:root
      to 4710 root:%apache_group
  + changed TMPDIR in initscripts to use more specific location than /tmp
    so that you can restrict apache access to that by ACL and further
    configure php and other software running as apache (#5989)
  + added patch to consult POSIX ACLs on CGI execution decision
    (#4987; disabled by default, build --with acl_support to enable)

* Mon Dec 20 2004 Denis Smirnov <mithraen@altlinux.ru> 1.3.33rusPL30.20-alt2
- mod_realip added

* Tue Nov 02 2004 Michael Shigorin <mike@altlinux.ru> 1.3.33rusPL30.20-alt1
- 1.3.33 (minor security fixes)
- security fixes officially released (patch93 removed)
- reverse proxy functionality restored (broken in 1.3.32 -- #5435);
  thanks to Leonid Shalupov <ls ls9707 spb edu> for alerting
- added htpasswd patch by Larry Cashdollar <lwc vapid ath cx>
  (unchecked buffer operations; not much of an issue though)

* Wed Oct 27 2004 Michael Shigorin <mike@altlinux.ru> 1.3.32rusPL30.20-alt2.1
- fixed build w/o mod_deflate in addition to -alt2 security fixes
  (thanks to Alexey Beleckiy <sinister emt com ua>)

* Sat Oct 23 2004 Michael Shigorin <mike@altlinux.ru> 1.3.32rusPL30.20-alt2
- updated security fixes (CAN-2004-0940):
  mod_include.c patch from CVS (1.3.33-dev)
  thanks to Vladimir Lettiev (crux@) for reminding
- see also changelog entry for alt1 (CAN-2004-0492)

* Fri Oct 22 2004 Michael Shigorin <mike@altlinux.ru> 1.3.32rusPL30.20-alt1
- 1.3.32 (security fixes)
- CAN-2004-0492 (cve.mitre.org):
  Reject responses from a remote server if sent an invalid (negative)
  Content-Length.
- added fix off/for http://www.securitylab.ru/48807.html;
  thanks to Vladimir Lettiev (crux@) for alerting and verifying
- removed log directory cleanup after package deinstallation
  (seems like a bad practice)

* Mon Aug 16 2004 Michael Shigorin <mike@altlinux.ru> 1.3.31rusPL30.20-alt10
- fixed #5002 (wrong perms on apache-common binaries excl. sample cgi-bin/*),
  thanks Vladimir Lettiev (crux@) for notifying!

* Fri Aug 06 2004 Michael Shigorin <mike@altlinux.ru> 1.3.31rusPL30.20-alt9
- re-fixed #4235.  distributed sourcedir can be evil...
- fixed #1735 (Include conf/addon-modules.d/*.conf), thanks to
  Igor Muratov (migor@) for buggin' me on this long-standing topic

* Thu Jul 22 2004 Michael Shigorin <mike@altlinux.ru> 1.3.31rusPL30.20-alt8
- fixed #4859 (webmaster group could be absent at apache-common installation)
  thanks to Alexander Kuprin (ru_classic mail ru)
- tightened permissions on %apache_root/conf and %apache_home/icons/ as per
  Dmitry Levin's request (#2920) -- please use "webmaster" group for
  content/configuration access and "apache" group for log access

* Wed Jul 07 2004 Michael Shigorin <mike@altlinux.ru> 1.3.31rusPL30.20-alt7
- fixed #4719 (build condition for M22);
  thanks to Pavel Usishev <usishev yandex ru>

* Tue Jun 29 2004 Michael Shigorin <mike@altlinux.ru> 1.3.31rusPL30.20-alt6
- fixed remnants of older internal subpackage versioning
  which barred mod_perl-doc installation; thanks to Dmitry Levin (ldv@)

* Mon Jun 28 2004 Michael Shigorin <mike@altlinux.ru> 1.3.31rusPL30.20-alt5
- finally fixed #3153 (log rotation), thanks to Dmitry Levin (ldv@)
- partially reverted group change introduced in 1.3.28rusPL30.18-alt2:
  %_logdir/httpd permissions changed (#2920)
    from 750,root,%apache_webmaster
    to   750,root,%apache_group
- reworked initscript style detection routine along ldv's advice
  as relying on "Master" in /etc/altlinux-release for old-style seems
  to be getting to the point of being wrong ;-)
- added mod_deflate to current builds; off by default (#2905)
- fixed altlinux.html
- %apache_home/html/*.gif and %apache_home/cgi-bin/* are now
  %%config(noreplace); added %apache_home/html/README.txt (#3715)

* Thu Jun 17 2004 Michael Shigorin <mike@altlinux.ru> 1.3.31rusPL30.20-alt4
- fixed default httpd{-perl,}.conf regarding Ukrainian charsets and content
  preferences; see http://lists.osdn.org.ua/wws/arc/linux/2004-06/msg00103.html,
  thanks to Bohdan Vlasyuk <bohdan kivc vstu vinnica ua>

* Thu Jun 10 2004 Michael Shigorin <mike@altlinux.ru> 1.3.31rusPL30.20-alt3
- fixed mod_proxy security issue; thanks to Dmitry Levin (ldv@) for
  alert/patch.  Details at http://www.guninski.com/modproxy1.html
- fixed "forced localhost" problem (#4235) -- forward-ported the missing part
  from previous initscripts (irrelevant for M22 build)
- RA to PL30.20 (small Referer-related httpd.conf-dist fixes only)

* Fri May 14 2004 Michael Shigorin <mike@altlinux.ru> 1.3.31rusPL30.19-alt2
- fixed ALM2.2 build (release inconsistency barring installation)
- for secfix list see -alt1 changelog record

* Wed May 12 2004 Michael Shigorin <mike@altlinux.ru> 1.3.31rusPL30.19-alt1
- 1.3.31 (security fixes for: CAN-2003-0020, CAN-2003-0987, CAN-2004-0174,
  CAN-2003-0993)
- updated mod_ssl/EAPI to 2.8.17 (for 1.3.31)
- updated RA patch to PL30.19 (for 1.3.29)
- updated mod_perl to 1.29 (minor fixes)
- updated patch1
- refreshed build reqs; put perl-DBM to Sisyphus req branch

* Wed Mar 31 2004 Michael Shigorin <mike@altlinux.ru> 1.3.29rusPL30.18-alt6
- fixed thinko in 1.3.29rusPL30.18-alt3's changelog (s/gorev/horror/)

* Sun Mar 14 2004 Michael Shigorin <mike@altlinux.ru> 1.3.29rusPL30.18-alt6
- hopefully fixed #3153, thanks to Dmitry Alexeyev <dmi qnx org ru>

* Sat Feb 14 2004 Michael Shigorin <mike@altlinux.ru> 1.3.29rusPL30.18-alt5
- rebuilt against libdb4.2

* Wed Jan 28 2004 Michael Shigorin <mike@altlinux.ru> 1.3.29rusPL30.18-alt4
- brought back new and improved ugly hack (since perl and rpm compare
  1.1701 and 1.27 in different the only right ways)

* Mon Jan 19 2004 Michael Shigorin <mike@altlinux.ru> 1.3.29rusPL30.18-alt3
- clarified service version dependency for Sisyphus build
  (#3245; thanks to Andy Gorev (horror@) for investigation)
- added missing /usr/lib/perl5/vendor_perl/i386-linux/cgi_to_mod_perl.pod
  to mod_perl-doc
- rebuilt against recent perl (#3507)

* Sun Nov 02 2003 Michael Shigorin <mike@altlinux.ru> 1.3.29rusPL30.18-alt2
- applied CAN-2003-0020 fix (still not in ASF tree; thanks Dmitry Levin (ldv@)
  for implicit notice and PLD CVS for the patch file)
- updated EAPI to 2.8.16
- introduced %%apache_conf macro (for /path/to/httpd.conf)

* Tue Oct 28 2003 Michael Shigorin <mike@altlinux.ru> 1.3.29rusPL30.18-alt1
- 1.3.29 (major security fixes)
- fixes CAN-2003-0542:
  Fix buffer overflows in mod_alias and mod_rewrite which occurred if
  one configured a regular expression with more than 9 captures.
- 1.3.28rusPL30.18-alt9 didn't really *apply* no_zombies.patch.  Oops.
  Still 1.3.29 has similar change there so should be fixed either.

* Wed Oct 22 2003 Michael Shigorin <mike@altlinux.ru> 1.3.28rusPL30.18-alt9
- FIX:
  appled http://apache.org/dist/httpd/patches/apply_to_1.3.28/no_zombies.patch,
  thanks to Alexey Tourbin (at@) and Alexey Chekushkin <alexey chekushkin com>
  (should eliminate CGI Zombies with suExec, cgiwrap and others)

* Sat Oct 18 2003 Michael Shigorin <mike@altlinux.ru> 1.3.28rusPL30.18-alt8
- fixed %%_sysconfdir/rpm/macros.d/apache (thanks to Alexey Gladkov (legion@)
  for proper file this time)

* Mon Oct 13 2003 Michael Shigorin <mike@altlinux.ru> 1.3.28rusPL30.18-alt7
- fixed #3153 (thanks to Sergey Pinaev <dfo antex ru>):
  /etc/init.d/httpd::reload() was broken

* Tue Oct 07 2003 Michael Shigorin <mike@altlinux.ru> 1.3.28rusPL30.18-alt6
- added %%_sysconfdir/rpm/macros.d/apache (#2463/enhancement);
  needed that for different packages for a long time, thanks for
  initial contents to Alexey Gladkov (legion@)
- removed versioning in perl(mod_perl.pm) provision

* Sun Sep 28 2003 Michael Shigorin <mike@altlinux.ru> 1.3.28rusPL30.18-alt5
- added Provides: perl(mod_perl.pm) to apache-mod_perl
  (should probably seperate extra modules to devel
  and run proper find-requires?)

* Thu Sep 25 2003 Michael Shigorin <mike@altlinux.ru> 1.3.28rusPL30.18-alt4
- updated buildrequires (fix hasher build)

* Thu Sep 11 2003 Michael Shigorin <mike@altlinux.ru> 1.3.28rusPL30.18-alt3
- fixed old-style initscripts for both httpd and httpd-perl (#2950)
  (NB: no changes in Sisyphus initscripts)
- s,/usr/local/apache,%apache_root,g in manpages (TODO)
- changed startup/shutdown order from "85 15" to "81 14" in
  httpd-perl initscripts so that it starts close after httpd (80)
  and stops just before it (15).  This fixes spurious message due
  to #2928 fix (the problem didn't manifest but was here).

* Wed Sep 03 2003 Michael Shigorin <mike@altlinux.ru> 1.3.28rusPL30.18-alt2
- please see changelog for 1.3.28rusPL30.18-alt1
  as more important changes are there
- commented out AddModule mod_charset.c in default config (#2941)
  (in fact, "CharsetDisable On" already keeps it off, but server
  tag would still mention RA and confuse some curious users)
- moved (thanks to pilot@ for notice):
  * %_initdir/httpd and %_sbindir/apachectl
    from %name-common to %name
  * %_sbindir/apachectl-perl
    from %name-common to %name-mod_perl
- %_logdir/httpd permissions changed (#2920)
  from 3770,root,%apache_group
  to    750,root,%apache_webmaster
- %_cachedir/httpd permissions changed (#2921)
  from  750,apache_user,%apache_webmaster
  to   2770,root,%apache_group
- apache.logrotate cleanup/fix:
  * changed "service httpd reload" to use condreload
  * changed create mode from 0664 root.apache to 0644 root.apache
- httpd.init.Sisyphus now checks for some situations involving httpd-perl
  when silent breakage could occur and issues warnings (#2928)
- spec cleanup:
  * switched Url from http://apache.lexa.ru to http://httpd.apache.org:
    focus isn't on RA anymore (left in index.shtml.ru* though)
  * s|%%_var/cache|%%_cachedir|g and similar macro updates
    (ALM2.2 compatible)
  * removed osolete comment-outs:
    + 1.3.23's mod_proxy dance
    + specific treatment of mod_include (generic by now)
    + Obsoletes: secureweb-devel from devel subpackage

* Sun Aug 31 2003 Michael Shigorin <mike@altlinux.ru> 1.3.28rusPL30.18-alt1
- 1.3.28 / RA 30.18
- Major Bugfixes (TM)
- WARNING: VU#379828 (addressed) is suspected to be exploitable
- updated EAPI to 2.8.15
- fixed mod_long_name problem in apxs (by Denis Ovsienko <pilot@>;
  updated to 1.3.28 and merged into Patch1)
- added %%add_findprov_lib_path
- APACHE_HEADER_INSTALL=1 now (#917, #2373)
- workaround for careless: %%config(noreplace) %apache_home/html/*html*
  (#1067, #2510; see also bug comments for proper solution)
- fixed includedir substitution for apxs-perl (#1254)
- *major* revamp of mime.types file (#1331, #2468, #2848)
  (also moved 'application/x-tar' entry there from httpd.conf)
- implemented autodetected / manual distro setting to package initscripts
  for both ALM2.2 (maintenance builds) and Sisyphus (implementation based
  somewhat on aureal-std-up.spec by Alexey Morozov <morozov novosoft ru>)
- %_sysconfdir/httpd/conf/httpd.conf::DirectoryIndex += index.rbx
- spec cleanup:
  * updated BuildRequires
  * fixed Source1 URL typo
  * proper %%SOURCEs instead of poking around in RPM_SOURCE_DIR (%%install)

* Tue Nov 26 2002 Dmitry V. Levin <ldv@altlinux.org> 1.3.27rusPL30.16-alt13
- Replaced mdk-mkstemp patch with openbsd-tmp, better optimized one.

* Fri Nov 01 2002 Stanislav Ievlev <inger@altlinux.ru> 1.3.27rusPL30.16-alt12
- rebuild with new perl

* Mon Oct 21 2002 Dmitry V. Levin <ldv@altlinux.org> 1.3.27rusPL30.16-alt11
- %_initdir/httpd: use full path (%_sbindir/httpd).
- %_logdir/httpd: changed permissions to %%attr(3770,root,%apache_group).
- %_sysconfdir/logrotate.d/apache: added directives:
  + sharedscripts;
  + create 0664 root apache.

* Thu Oct 10 2002 Alexander Bokovoy <ab@altlinux.ru> 1.3.27rusPL30.16-alt10
- Fixed:
    + access rights for %apache_home/icons/small

* Tue Oct 08 2002 Alexander Bokovoy <ab@altlinux.ru> 1.3.27rusPL30.16-alt9
- Security update 1.3.27
- Updated:
    + mod_proxy has been updated to 1.3.27 as well (passes same test suite as 1.3.23's one)
    + mod_perl to 1.27
    + EAPI to 2.8.10 (fixed to be compatible with 1.3.27)

* Fri Aug 09 2002 Stanislav Ievlev <inger@altlinux.ru> 1.3.23rusPL30.11-alt8.1
- fixed permisions in mod_perl subpackage

* Tue Jun 18 2002 Alexander Bokovoy <ab@altlinux.ru> 1.3.23rusPL30.11-alt8
- Fixed:
    + Apache httpd: vulnerability with chunked encoding (next round)
    + Fix RA patch to suit chunked fixes
    + explicit TMPDIR=/tmp

* Mon Jun 17 2002 Alexander Bokovoy <ab@altlinux.ru> 1.3.23rusPL30.11-alt7
- Fixed:
    + Apache httpd: vulnerability with chunked encoding

* Wed Apr 03 2002 Dmitry V. Levin <ldv@alt-linux.org> 1.3.23rusPL30.11-alt6
- Fixed db4 build support.
- Build with db4.
- Build without bind-devel.

* Tue Feb 26 2002 Alexander Bokovoy <ab@altlinux.ru> 1.3.23rusPL30.11-alt5
- Updated:
    + EAPI up to 2.8.7 [fixed potential buffer overflow in mod_ssl]

* Fri Feb 22 2002 Alexander Bokovoy <ab@altlinux.ru> 1.3.23rusPL30.11-alt4
- Fixed:
    + Configure option SHARED_CORE rule must be exclusive
      for non-mod_perl Apache only (#0000644)
    + Changed (finally) links and logo to ALT Linux

* Thu Feb 21 2002 Alexander Bokovoy <ab@altlinux.ru> 1.3.23rusPL30.11-alt3
- Added:
    + SHARED_CORE (libhttpd.so) for Kylix2 Enterprise compatibility
- Reverted:
    + mod_proxy to 1.3.22 state (includes partial EAPI revert)
- spec clean ups

* Thu Feb 21 2002 Alexander Bokovoy <ab@altlinux.ru> 1.3.23rusPL30.11-alt2
- Fixed:
    + return codes for 'status' in service scripts

* Fri Feb 08 2002 Alexander Bokovoy <ab@altlinux.ru> 1.3.23rusPL30.11-alt1
- 1.3.23 / RA 30.11 / EAPI 2.8.6
- APXS moved to apache-common

* Thu Jan 24 2002 Alexander Bokovoy <ab@altlinux.ru> 1.3.22rusPL30.9-alt4
- Fixed:
    + Non-blocked CharsetDisable directive in httpd.conf (#0000441)

* Mon Jan 14 2002 Alexander Bokovoy <ab@altlinux.ru> 1.3.22rusPL30.9-alt3
- Fixed:
    + mod_proxy bug (Andrey Orlov)

* Thu Nov 15 2001 Alexander Bokovoy <ab@altlinux.ru> 1.3.22rusPL30.9-alt2
- Fixed:
    + httpd-perl.conf: Multi language documentation
    + httpd-perl.conf: server side parsed html
    + httpd-perl.conf: enabled mod_negotiation in non-proxied mode

* Wed Oct 24 2001 Alexander Bokovoy <ab@altlinux.ru> 1.3.22rusPL30.9-alt1
- 1.3.22
- Russian Apache PL30.9
- EAPI 2.8.5
- Fixed start up scripts to use sed/tr (PR #0000093)
- Fixed start up script for mod_perl (PR #0000036)
- Fixed typo in Russian summary for mod_perl (PR #0000057)

* Mon Sep 24 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.3.20rusPL30.5-alt2
- Removed duplicated entry of %_sysconfdir/httpd/conf/addon-modules/proxied_handlers.pl
  from %name-common subpackage.
- Built with db3-3.3.11.

* Tue Aug 01 2001 Alexander Bokovoy <ab@altlinux.ru> 1.3.20rusPL30.5-alt1
- New RA patch
- New mod_perl

* Wed Jul 25 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.3.20rusPL30.4-alt5
- Rebuilt with new perl.

* Mon Jun 25 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.3.20rusPL30.4-alt4
- Rebuilt with perl-5.6.1

* Mon Jun 04 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.3.20rusPL30.4-alt3
- Fixed permissions on %apache_home/html.

* Fri Jun 01 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.3.20rusPL30.4-alt2
- Fixed permissions in %apache_home.
- Updated init and %%post/%%preun scripts.

* Mon May 21 2001 Alexander Bokovoy <ab@avilink.net>  1.3.20rusPL30.4-alt1
- New Apache version
- Updated:
  + EAPI - 2.8.4
  + CharsetDisable On is set by default
- Fixed:
  + initial fix for permissions in %apache_home
  + dependency for apache-suexec fixed

* Sun Apr 15 2001 Alexander Bokovoy <ab@avilink.net>  1.3.19rusPL30.4-ipl4mdk
- Introducing EAPI to Apache+mod_perl build
- Fixed:
  + logrotate now uses /sbin/service to access httpd and httpd-perl control scripts

* Sun Mar 18 2001 Alexander Bokovoy <ab@avilink.net>  1.3.19rusPL30.4-ipl3mdk
- Disabling expat again

* Sat Mar 17 2001 Alexander Bokovoy <ab@avilink.net>  1.3.19rusPL30.4-ipl2mdk
- Updated:
  + SGI patches took out due unsupported state and many conflicts with 1.3.19
  + httpd.conf (SingleListen unsupported now)
- Fixed:
  + Apache owner/group are apache/apache, not nobody/nobody for httpd.conf/httpd_perl.conf

* Mon Mar 12 2001 Alexander Bokovoy <ab@avilink.net>  1.3.19rusPL30.4-ipl1mdk
- Updated:
  + EAPI 2.8.1
  + RA PL30.4
- Fixed:
  + index.php3 added to the set of index files
  + README.EAPI added to apache-common documentation
  + Use system-wide Expat library

* Mon Mar 05 2001 Alexander Bokovoy <ab@avilink.net>  1.3.19rusPL30.3-ipl1mdk
- Updated:
  + new Apache version
  + 10xpatch ported to 1.3.19 as well as some other patches which were out of sync with Apache source

* Tue Feb 13 2001 Alexander Bokovoy <ab@avilink.net>  1.3.17rusPL30.3-ipl8mdk
- Fixed:
  + logrotate for Apache
  + Documentation for mod_perl
- Updated:
  + mod_perl up to 1.25
- Removed:
  + automatic Apache start

* Wed Feb 08 2001 Alexander Bokovoy <ab@avilink.net>  1.3.17rusPL30.3-ipl7mdk
- Updated:
  + Official Russian Apache PL30.3
- Fixed
  + SGI patch
  + buffered logs
  + Fallback to mod_perl 1.24_01
  + Symlinks to manual

* Sat Feb  3 2001 Mikhail Zabaluev <zabaluev@parascript.com> 1.3.17rusPL30.0-ipl6mdk
- Updated:
  + EAPI 2.8.0
  + mod_perl 1.25
- Added:
  + fix for insecure tempfile creation in htpasswd and htdigest,
    by Vincent Danen, Mandrakesoft

* Thu Feb 01 2001 Alexander Bokovoy <ab@avilink.net>  1.3.17rusPL30.0-ipl5mdk
- Typo fix in httpd.conf
- ra_powered.gif

* Wed Jan 31 2001 Alexander Bokovoy <ab@avilink.net>  1.3.17rusPL30.0-ipl4mdk
- Port to 1.3.17, most patches refreshed
- new httpd.init, http-perl.init

* Wed Dec  6 2000 Mikhail Zabaluev <mookid@sigent.ru> 1.3.14rusPL30.0-3mdk_mhz
- Added:
  + auto-dependencies (provides) built for perl
- Updated:
  + new, super-robust apxs patch
  + updated init script
  + minor fixes in httpd.conf, protected httpd-perl status from the outside
  + cleaned up spec, ru -> ru_RU.KOI8-R
  + provides pseudo-package 'russian-apache' including patchlevel

* Thu Nov 16 2000 Mikhail Zabaluev <mookid@sigent.ru> 1.3.14rusPL30.0-2mdk_mhz
- ported 10xpatch for 1.3.14
- changed mod_log_config_buffered patch to apply at the prep stage

* Tue Oct 26 2000 Mikhail Zabaluev <mookid@sigent.ru> 1.3.14rusPL30.0-1mdk_mhz
- Thee experimental PL30.0

* Wed Oct 25 2000 Mikhail Zabaluev <mookid@sigent.ru> 1.3.14rusPL29.9-1mdk_mhz
- Apache 1.3.14, EAPI 2.7.1, mod_rewrite patch
- used the last Russian patch considered to be stable (PL30.0 pending)
- applied 10xpatch for 1.3.12 after JMD has tweaked it down
- changed the document root to /var/www, drifting with the RedHad/Mandrake herd
- overhauled config files
- Added KOffice mimetypes
- separate release number for mod_perl-doc
- index.html.ru.* were added to sources, so I revoked my humble one.

* Wed Oct 18 2000 Mikhail Zabaluev <mookid@sigent.ru> 1.3.12rusPL29.7-15mdk_mhz
- the last release before Apache 1.3.14 (waiting for 10xpatch)
- mod_perl 1.24_01
- compiled against perl without largefile support
- mod_perl-doc package
- brought configtest command back to apachectl/init script

* Sat Oct  7 2000 Mikhail Zabaluev <mookid@sigent.ru> 1.3.12rusPL29.7-14mdk_mhz
- merged a bunch of JMD's changes at 1.3.12-30mdk
- added an "official" index.html.ru taken from apache 2.0alpha6
  and slightly modified
- configure without layout using macros supplied by rpm
- macros everywhere

* Thu Aug  3 2000 Mikhail Zabaluev <mookid@sigent.ru> 1.3.12rusPL29.7-13mdk_mhz
- fixed install script problems and paths

* Mon Jul 24 2000 Mikhail Zabaluev <mookid@sigent.ru> 1.3.12rusPL29.7-12mdk_mhz
- new Russian Apache version (further POST fixes) and mm 1.1.3

* Mon Jul 17 2000 Mikhail Zabaluev <mookid@sigent.ru> 1.3.12rusPL29.5-1mdk_mhz
- new version (the patch added in my previous release has been applied)

* Sun Jul 16 2000 Mikhail Zabaluev <mookid@sigent.ru> 1.3.12rusPL29.4-11mdk_mhz
- applied a patch by Viktor Khimenko fixing a bug in charset_bread

* Wed Jul 12 2000 Mikhail Zabaluev <mookid@sigent.ru> 1.3.12rusPL29.4-10mdk_mhz
- disabled EXPAT rule for both servers. PHP 4 builds with its bundled Expat,
  no questions asked
- EAPI 2.6.5

* Thu Jul  6 2000 Mikhail Zabaluev <mookid@sigent.ru> 1.3.12rusPL29.4-9mdk_mhz
- disabled EXPAT rule for apache+mod_perl static build to avoid conflicts
  with XML::Parser

* Mon Jun 26 2000 Mikhail Zabaluev <mookid@sigent.ru> 1.3.12rusPL29.4-8mdk_mhz
- new EAPI, MM and mod_perl versions
- Frontpage and XSSI dropped
- rebuilt against Perl having largefile support stripped

* Thu Apr 27 2000 Mikhail Zabaluev <mookid@sigent.ru> 1.3.12rusPL29.4-7mdk_mhz
- MM lockfiles sit better in /var/lock

* Wed Apr 26 2000 Mikhail Zabaluev <mookid@sigent.ru> 1.3.12rusPL29.4-6mdk_mhz
- fixes to build under an ordinary user
- filelist cleanup

* Mon Apr 24 2000 Mikhail Zabaluev <mookid@sigent.ru> 1.3.12rusPL29.4-5mdk_mhz
- sync with 1.3.12-10mdk
- mm thrown out to be a separate package

* Tue Mar 28 2000 Mikhail Zabaluev <mookid@sigent.ru>
- moved apxs from devel to common -- the tool is too useful

* Fri Mar 24 2000 Mikhail Zabaluev <mookid@sigent.ru>
- mod_perl 1.22. Still leaks memory on restarts being a DSO.

* Tue Mar 21 2000 Mikhail Zabaluev <mookid@sigent.ru>
- Russian Apache 1.3.12 rusPL29.4
- Jean-Michel's add-ons merged back
- SGI patches for 1.3.12 (up to level 1) applied
- index.html.ru translated to Russian :)

* Mon Feb 28 2000 Mikhail Zabaluev <mookid@mu.ru>
- cleaned out apxs

* Sun Feb 20 2000 Mikhail Zabaluev <mookid@mu.ru>
- fixed ServerRoot for good
- fixed MM lockfile path
- added -n mod_perl package for punks

* Mon Feb  7 2000 Mikhail Zabaluev <mookid@mu.ru>
- updated to Russian Apache 1.3.9 rusPL29.2
- fixed .packlist for mod_perl

* Sat Jan 29 2000 Mikhail Zabaluev <mookid@mu.ru>
- ported to Russian Apache PL28.22
- added a version with mod_perl 1.21 linked in
- moved files common for apache and apache-mod_perl to apache-common
- EAPI 2.4.10
- mm and mm-devel are now separate packages too
- most of other add-ons dropped (sorry pals)

* Wed Jan  5 2000 Jean-Michel Dault <jmdault@netrevolution.com>
- moved suexec to another package so it doesn't get installed by default
- added index.php3 as valid index.

* Mon Jan  3 2000 Jean-Michel Dault <jmdault@netrevolution.com>
- final cleanup for Mandrake 7