head 1.151; access; symbols pkgsrc-2023Q4:1.151.0.2 pkgsrc-2023Q4-base:1.151 pkgsrc-2023Q3:1.150.0.2 pkgsrc-2023Q3-base:1.150 pkgsrc-2023Q2:1.148.0.6 pkgsrc-2023Q2-base:1.148 pkgsrc-2023Q1:1.148.0.4 pkgsrc-2023Q1-base:1.148 pkgsrc-2022Q4:1.148.0.2 pkgsrc-2022Q4-base:1.148 pkgsrc-2022Q3:1.147.0.2 pkgsrc-2022Q3-base:1.147 pkgsrc-2022Q2:1.145.0.10 pkgsrc-2022Q2-base:1.145 pkgsrc-2022Q1:1.145.0.8 pkgsrc-2022Q1-base:1.145 pkgsrc-2021Q4:1.145.0.6 pkgsrc-2021Q4-base:1.145 pkgsrc-2021Q3:1.145.0.4 pkgsrc-2021Q3-base:1.145 pkgsrc-2021Q2:1.145.0.2 pkgsrc-2021Q2-base:1.145 pkgsrc-2021Q1:1.143.0.2 pkgsrc-2021Q1-base:1.143 pkgsrc-2020Q4:1.142.0.4 pkgsrc-2020Q4-base:1.142 pkgsrc-2020Q3:1.142.0.2 pkgsrc-2020Q3-base:1.142 pkgsrc-2020Q2:1.141.0.4 pkgsrc-2020Q2-base:1.141 pkgsrc-2020Q1:1.141.0.2 pkgsrc-2020Q1-base:1.141 pkgsrc-2019Q4:1.136.0.4 pkgsrc-2019Q4-base:1.136 pkgsrc-2019Q3:1.135.0.2 pkgsrc-2019Q3-base:1.135 pkgsrc-2019Q2:1.134.0.2 pkgsrc-2019Q2-base:1.134 pkgsrc-2019Q1:1.133.0.2 pkgsrc-2019Q1-base:1.133 pkgsrc-2018Q4:1.132.0.2 pkgsrc-2018Q4-base:1.132 pkgsrc-2018Q3:1.131.0.2 pkgsrc-2018Q3-base:1.131 pkgsrc-2018Q2:1.130.0.4 pkgsrc-2018Q2-base:1.130 pkgsrc-2018Q1:1.130.0.2 pkgsrc-2018Q1-base:1.130 pkgsrc-2017Q4:1.129.0.6 pkgsrc-2017Q4-base:1.129 pkgsrc-2017Q3:1.129.0.4 pkgsrc-2017Q3-base:1.129 pkgsrc-2017Q2:1.128.0.6 pkgsrc-2017Q2-base:1.128 pkgsrc-2017Q1:1.128.0.4 pkgsrc-2017Q1-base:1.128 pkgsrc-2016Q4:1.128.0.2 pkgsrc-2016Q4-base:1.128 pkgsrc-2016Q3:1.125.0.2 pkgsrc-2016Q3-base:1.125 pkgsrc-2016Q2:1.124.0.4 pkgsrc-2016Q2-base:1.124 pkgsrc-2016Q1:1.124.0.2 pkgsrc-2016Q1-base:1.124 pkgsrc-2015Q4:1.121.0.4 pkgsrc-2015Q4-base:1.121 pkgsrc-2015Q3:1.121.0.2 pkgsrc-2015Q3-base:1.121 pkgsrc-2015Q2:1.119.0.2 pkgsrc-2015Q2-base:1.119 pkgsrc-2015Q1:1.118.0.4 pkgsrc-2015Q1-base:1.118 pkgsrc-2014Q4:1.118.0.2 pkgsrc-2014Q4-base:1.118 pkgsrc-2014Q3:1.114.0.4 pkgsrc-2014Q3-base:1.114 pkgsrc-2014Q2:1.114.0.2 pkgsrc-2014Q2-base:1.114 pkgsrc-2014Q1:1.112.0.2 pkgsrc-2014Q1-base:1.112 pkgsrc-2013Q4:1.111.0.2 pkgsrc-2013Q4-base:1.111 pkgsrc-2013Q3:1.109.0.2 pkgsrc-2013Q3-base:1.109 pkgsrc-2013Q2:1.107.0.2 pkgsrc-2013Q2-base:1.107 pkgsrc-2013Q1:1.106.0.2 pkgsrc-2013Q1-base:1.106 pkgsrc-2012Q4:1.103.0.2 pkgsrc-2012Q4-base:1.103 pkgsrc-2012Q3:1.101.0.10 pkgsrc-2012Q3-base:1.101 pkgsrc-2012Q2:1.101.0.8 pkgsrc-2012Q2-base:1.101 pkgsrc-2012Q1:1.101.0.6 pkgsrc-2012Q1-base:1.101 pkgsrc-2011Q4:1.101.0.4 pkgsrc-2011Q4-base:1.101 pkgsrc-2011Q3:1.101.0.2 pkgsrc-2011Q3-base:1.101 pkgsrc-2011Q2:1.100.0.8 pkgsrc-2011Q2-base:1.100 pkgsrc-2011Q1:1.100.0.6 pkgsrc-2011Q1-base:1.100 pkgsrc-2010Q4:1.100.0.4 pkgsrc-2010Q4-base:1.100 pkgsrc-2010Q3:1.100.0.2 pkgsrc-2010Q3-base:1.100 pkgsrc-2010Q2:1.97.0.4 pkgsrc-2010Q2-base:1.97 pkgsrc-2010Q1:1.97.0.2 pkgsrc-2010Q1-base:1.97 pkgsrc-2009Q4:1.96.0.2 pkgsrc-2009Q4-base:1.96 pkgsrc-2009Q3:1.95.0.4 pkgsrc-2009Q3-base:1.95 pkgsrc-2009Q2:1.95.0.2 pkgsrc-2009Q2-base:1.95 pkgsrc-2009Q1:1.92.0.2 pkgsrc-2009Q1-base:1.92 pkgsrc-2008Q4:1.90.0.2 pkgsrc-2008Q4-base:1.90 pkgsrc-2008Q3:1.88.0.8 pkgsrc-2008Q3-base:1.88 cube-native-xorg:1.88.0.6 cube-native-xorg-base:1.88 pkgsrc-2008Q2:1.88.0.4 pkgsrc-2008Q2-base:1.88 cwrapper:1.88.0.2 pkgsrc-2008Q1:1.86.0.2 pkgsrc-2008Q1-base:1.86 pkgsrc-2007Q4:1.83.0.4 pkgsrc-2007Q4-base:1.83 pkgsrc-2007Q3:1.83.0.2 pkgsrc-2007Q3-base:1.83 pkgsrc-2007Q2:1.81.0.2 pkgsrc-2007Q2-base:1.81 pkgsrc-2007Q1:1.79.0.2 pkgsrc-2007Q1-base:1.79 pkgsrc-2006Q4:1.77.0.2 pkgsrc-2006Q4-base:1.77 pkgsrc-2006Q3:1.74.0.2 pkgsrc-2006Q3-base:1.74 pkgsrc-2006Q2:1.72.0.2 pkgsrc-2006Q2-base:1.72 pkgsrc-2006Q1:1.70.0.2 pkgsrc-2006Q1-base:1.70 pkgsrc-2005Q4:1.66.0.2 pkgsrc-2005Q4-base:1.66 pkgsrc-2005Q3:1.59.0.2 pkgsrc-2005Q3-base:1.59 pkgsrc-2005Q2:1.56.0.2 pkgsrc-2005Q2-base:1.56 pkgsrc-2005Q1:1.53.0.2 pkgsrc-2005Q1-base:1.53 pkgsrc-2004Q4:1.50.0.2 pkgsrc-2004Q4-base:1.50 pkgsrc-2004Q3:1.47.0.2 pkgsrc-2004Q3-base:1.47 pkgsrc-2004Q2:1.46.0.2 pkgsrc-2004Q2-base:1.46 pkgsrc-2004Q1:1.44.0.2 pkgsrc-2004Q1-base:1.44 pkgsrc-2003Q4:1.35.0.2 pkgsrc-2003Q4-base:1.35 netbsd-1-6-1:1.18.0.2 netbsd-1-6-1-base:1.18 pkgsrc-base:1.1.1.2 TNF:1.1.1; locks; strict; comment @# @; 1.151 date 2023.10.24.22.09.50; author wiz; state Exp; branches; next 1.150; commitid MTsrqKm6aGrQAVJE; 1.150 date 2023.08.15.10.20.00; author abs; state Exp; branches; next 1.149; commitid 020u1slSIFGKVRAE; 1.149 date 2023.07.06.09.40.50; author wiz; state Exp; branches; next 1.148; commitid 6meR4IA6XJRNYIvE; 1.148 date 2022.12.17.14.29.33; author gdt; state Exp; branches; next 1.147; commitid pS23CDRGEVsE3V5E; 1.147 date 2022.08.16.14.21.48; author wiz; state Exp; branches; next 1.146; commitid 2LtMADz6PjRTX6QD; 1.146 date 2022.06.28.11.34.34; author wiz; state Exp; branches; next 1.145; commitid D2UoJrTHpoHEANJD; 1.145 date 2021.05.24.19.52.53; author wiz; state Exp; branches; next 1.144; commitid qokaiStTApGMcrUC; 1.144 date 2021.04.12.22.27.05; author gdt; state Exp; branches; next 1.143; commitid TWoi2QBP2KB2r3PC; 1.143 date 2021.03.24.16.13.52; author gdt; state Exp; branches; next 1.142; commitid Lw72RbIsp8CWYzMC; 1.142 date 2020.08.31.18.10.09; author wiz; state Exp; branches; next 1.141; commitid 7zxRbfOkDOoxbfmC; 1.141 date 2020.03.23.18.45.47; author gdt; state Exp; branches; next 1.140; commitid yY6NybnXHOzGzy1C; 1.140 date 2020.03.21.15.36.32; author taca; state Exp; branches; next 1.139; commitid cjssp0ewO6Q0Bh1C; 1.139 date 2020.03.21.15.29.37; author taca; state Exp; branches; next 1.138; commitid 0CYC85OGTrS4zh1C; 1.138 date 2020.01.18.23.32.50; author rillig; state Exp; branches; next 1.137; commitid shGUwZfkr7sleeTB; 1.137 date 2020.01.18.21.49.54; author jperkin; state Exp; branches; next 1.136; commitid JW4hJgY8ZdoTFdTB; 1.136 date 2019.11.02.16.25.28; author rillig; state Exp; branches; next 1.135; commitid 07isqwBcIbu6niJB; 1.135 date 2019.08.11.13.21.42; author wiz; state Exp; branches; next 1.134; commitid Ifet9Pg6Qt99ZByB; 1.134 date 2019.05.23.19.23.08; author rillig; state Exp; branches; next 1.133; commitid aWlQW8HYUUFCAmoB; 1.133 date 2019.01.26.18.23.05; author abs; state Exp; branches; next 1.132; commitid ludKTN0hEuIq1k9B; 1.132 date 2018.10.18.19.54.32; author bsiegert; state Exp; branches; next 1.131; commitid 1qmstVy5pJTEJtWA; 1.131 date 2018.08.22.09.45.34; author wiz; state Exp; branches 1.131.2.1; next 1.130; commitid YLub8g3ofvFGb6PA; 1.130 date 2018.03.17.09.14.35; author tnn; state Exp; branches; next 1.129; commitid xCLQVUS1DJQ87NuA; 1.129 date 2017.07.09.22.12.12; author schmonz; state Exp; branches; next 1.128; commitid 3gV30qscTZCfuBYz; 1.128 date 2016.12.16.15.52.52; author hans; state Exp; branches; next 1.127; commitid ElEyxfJ55SyBYdyz; 1.127 date 2016.11.10.20.25.50; author roy; state Exp; branches; next 1.126; commitid EmxlBfqhF12PDCtz; 1.126 date 2016.11.02.21.09.02; author roy; state Exp; branches; next 1.125; commitid w6BPq1z8HfJO8Bsz; 1.125 date 2016.07.09.06.38.32; author wiz; state Exp; branches; next 1.124; commitid dlqnocGpOoXV2Cdz; 1.124 date 2016.03.05.11.28.51; author jperkin; state Exp; branches; next 1.123; commitid 1LoxeQftu903HrXy; 1.123 date 2016.02.05.16.08.54; author prlw1; state Exp; branches; next 1.122; commitid wkhqWD8QFvgMbKTy; 1.122 date 2016.02.05.16.06.08; author prlw1; state Exp; branches; next 1.121; commitid tfRPcLMt8QeWaKTy; 1.121 date 2015.09.09.19.13.48; author christos; state Exp; branches; next 1.120; commitid w1pqXlGiiKVEZBAy; 1.120 date 2015.07.12.18.56.25; author wiz; state Exp; branches; next 1.119; commitid eGBYYIIW99WMN1ty; 1.119 date 2015.06.12.10.50.26; author wiz; state Exp; branches; next 1.118; commitid B4JmCfaVUbiY38py; 1.118 date 2014.10.12.15.18.21; author tron; state Exp; branches; next 1.117; commitid TZc5qnmfwWIKmVTx; 1.117 date 2014.10.09.14.06.40; author wiz; state Exp; branches; next 1.116; commitid fBDATFVmQ3454xTx; 1.116 date 2014.10.09.13.44.49; author wiz; state Exp; branches; next 1.115; commitid UvzBSm5hrFIOWwTx; 1.115 date 2014.10.01.11.37.31; author tron; state Exp; branches; next 1.114; commitid TgCeqGegFfD3vuSx; 1.114 date 2014.05.29.23.36.52; author wiz; state Exp; branches 1.114.4.1; next 1.113; commitid laryHfkCalgYtuCx; 1.113 date 2014.04.26.13.55.10; author tron; state Exp; branches; next 1.112; commitid AEkt5CGzNvrrlcyx; 1.112 date 2014.02.12.23.18.10; author tron; state Exp; branches; next 1.111; commitid dfJj7CwMMWJzNRox; 1.111 date 2013.12.09.14.17.49; author obache; state Exp; branches; next 1.110; commitid wogoyilp7OKaTsgx; 1.110 date 2013.12.04.15.14.19; author jperkin; state Exp; branches; next 1.109; commitid 2y4hstwAJqkfnPfx; 1.109 date 2013.08.01.10.29.00; author bouyer; state Exp; branches; next 1.108; commitid UBeUq594YWuyOJZw; 1.108 date 2013.07.24.16.17.02; author drochner; state Exp; branches; next 1.107; commitid C5s7Dw14GipEZJYw; 1.107 date 2013.05.31.12.41.21; author wiz; state Exp; branches 1.107.2.1; next 1.106; commitid hIeXGcx6VfKHwMRw; 1.106 date 2013.03.02.10.44.36; author tron; state Exp; branches; next 1.105; 1.105 date 2013.02.25.18.41.45; author gdt; state Exp; branches; next 1.104; 1.104 date 2013.02.06.23.22.49; author jperkin; state Exp; branches; next 1.103; 1.103 date 2012.10.08.12.19.31; author asau; state Exp; branches; next 1.102; 1.102 date 2012.10.03.21.56.34; author wiz; state Exp; branches; next 1.101; 1.101 date 2011.08.07.07.47.20; author tron; state Exp; branches; next 1.100; 1.100 date 2010.10.06.21.27.29; author pettai; state Exp; branches; next 1.99; 1.99 date 2010.10.03.21.53.17; author pettai; state Exp; branches; next 1.98; 1.98 date 2010.08.21.16.35.10; author seb; state Exp; branches; next 1.97; 1.97 date 2010.03.24.21.41.10; author heinz; state Exp; branches; next 1.96; 1.96 date 2010.01.02.03.48.40; author heinz; state Exp; branches; next 1.95; 1.95 date 2009.06.14.22.58.04; author joerg; state Exp; branches; next 1.94; 1.94 date 2009.05.19.08.59.22; author wiz; state Exp; branches; next 1.93; 1.93 date 2009.04.11.23.15.20; author sno; state Exp; branches; next 1.92; 1.92 date 2009.03.07.13.25.19; author seb; state Exp; branches; next 1.91; 1.91 date 2009.02.18.11.02.59; author abs; state Exp; branches; next 1.90; 1.90 date 2008.11.14.22.51.52; author joerg; state Exp; branches; next 1.89; 1.89 date 2008.10.19.19.18.20; author he; state Exp; branches; next 1.88; 1.88 date 2008.06.22.22.41.01; author heinz; state Exp; branches; next 1.87; 1.87 date 2008.05.20.05.42.46; author ghen; state Exp; branches; next 1.86; 1.86 date 2008.01.18.05.08.30; author tnn; state Exp; branches; next 1.85; 1.85 date 2008.01.09.19.09.22; author heinz; state Exp; branches; next 1.84; 1.84 date 2008.01.09.15.55.51; author heinz; state Exp; branches; next 1.83; 1.83 date 2007.08.26.17.26.50; author heinz; state Exp; branches; next 1.82; 1.82 date 2007.08.23.12.39.17; author joerg; state Exp; branches; next 1.81; 1.81 date 2007.06.12.21.43.30; author heinz; state Exp; branches; next 1.80; 1.80 date 2007.05.02.15.20.45; author heinz; state Exp; branches; next 1.79; 1.79 date 2007.02.15.21.43.43; author heinz; state Exp; branches 1.79.2.1; next 1.78; 1.78 date 2007.02.08.09.30.27; author ghen; state Exp; branches; next 1.77; 1.77 date 2006.11.05.17.15.54; author joerg; state Exp; branches 1.77.2.1; next 1.76; 1.76 date 2006.10.10.18.39.27; author heinz; state Exp; branches; next 1.75; 1.75 date 2006.10.05.22.18.19; author mrg; state Exp; branches; next 1.74; 1.74 date 2006.08.31.22.00.48; author mrg; state Exp; branches; next 1.73; 1.73 date 2006.07.31.21.10.59; author heinz; state Exp; branches; next 1.72; 1.72 date 2006.06.05.23.01.01; author heinz; state Exp; branches; next 1.71; 1.71 date 2006.05.26.20.53.00; author heinz; state Exp; branches; next 1.70; 1.70 date 2006.03.24.19.46.10; author heinz; state Exp; branches 1.70.2.1; next 1.69; 1.69 date 2006.03.13.21.11.57; author heinz; state Exp; branches; next 1.68; 1.68 date 2006.02.05.23.09.58; author joerg; state Exp; branches; next 1.67; 1.67 date 2005.12.29.06.21.53; author jlam; state Exp; branches; next 1.66; 1.66 date 2005.12.05.23.55.11; author rillig; state Exp; branches; next 1.65; 1.65 date 2005.12.05.20.50.35; author rillig; state Exp; branches; next 1.64; 1.64 date 2005.11.22.13.03.22; author rillig; state Exp; branches; next 1.63; 1.63 date 2005.11.22.10.37.39; author rillig; state Exp; branches; next 1.62; 1.62 date 2005.11.13.22.48.32; author heinz; state Exp; branches; next 1.61; 1.61 date 2005.11.13.05.08.00; author heinz; state Exp; branches; next 1.60; 1.60 date 2005.11.04.11.09.07; author rillig; state Exp; branches; next 1.59; 1.59 date 2005.08.06.06.19.22; author jlam; state Exp; branches 1.59.2.1; next 1.58; 1.58 date 2005.07.13.18.01.32; author jlam; state Exp; branches; next 1.57; 1.57 date 2005.06.22.20.43.19; author heinz; state Exp; branches; next 1.56; 1.56 date 2005.06.19.22.29.35; author heinz; state Exp; branches 1.56.2.1; next 1.55; 1.55 date 2005.04.29.08.48.40; author heinz; state Exp; branches; next 1.54; 1.54 date 2005.04.11.21.46.27; author tv; state Exp; branches; next 1.53; 1.53 date 2005.02.13.21.20.25; author heinz; state Exp; branches; next 1.52; 1.52 date 2005.01.15.21.44.55; author schmonz; state Exp; branches; next 1.51; 1.51 date 2004.12.28.02.47.45; author reed; state Exp; branches; next 1.50; 1.50 date 2004.11.08.17.07.23; author mjl; state Exp; branches; next 1.49; 1.49 date 2004.10.12.00.11.10; author heinz; state Exp; branches; next 1.48; 1.48 date 2004.10.03.00.12.54; author tv; state Exp; branches; next 1.47; 1.47 date 2004.08.10.20.40.01; author heinz; state Exp; branches; next 1.46; 1.46 date 2004.06.06.04.29.17; author schmonz; state Exp; branches; next 1.45; 1.45 date 2004.05.31.12.43.06; author heinz; state Exp; branches; next 1.44; 1.44 date 2004.03.26.16.42.42; author seb; state Exp; branches; next 1.43; 1.43 date 2004.03.26.02.27.44; author wiz; state Exp; branches; next 1.42; 1.42 date 2004.02.10.02.22.50; author jlam; state Exp; branches; next 1.41; 1.41 date 2004.01.26.15.25.00; author cube; state Exp; branches; next 1.40; 1.40 date 2004.01.25.16.57.48; author jlam; state Exp; branches; next 1.39; 1.39 date 2004.01.21.22.19.30; author heinz; state Exp; branches; next 1.38; 1.38 date 2004.01.06.07.08.13; author jlam; state Exp; branches; next 1.37; 1.37 date 2003.12.27.19.16.04; author heinz; state Exp; branches; next 1.36; 1.36 date 2003.12.01.16.04.40; author heinz; state Exp; branches; next 1.35; 1.35 date 2003.11.12.03.39.41; author jschauma; state Exp; branches; next 1.34; 1.34 date 2003.11.04.16.37.48; author jdolecek; state Exp; branches; next 1.33; 1.33 date 2003.11.03.00.56.26; author heinz; state Exp; branches; next 1.32; 1.32 date 2003.09.13.21.24.23; author jlam; state Exp; branches; next 1.31; 1.31 date 2003.09.13.17.57.21; author jlam; state Exp; branches; next 1.30; 1.30 date 2003.09.13.17.17.09; author jlam; state Exp; branches; next 1.29; 1.29 date 2003.09.13.15.21.27; author jlam; state Exp; branches; next 1.28; 1.28 date 2003.09.13.14.55.30; author jlam; state Exp; branches; next 1.27; 1.27 date 2003.09.13.14.43.30; author jlam; state Exp; branches; next 1.26; 1.26 date 2003.09.13.14.29.30; author jlam; state Exp; branches; next 1.25; 1.25 date 2003.09.03.13.08.04; author atatat; state Exp; branches; next 1.24; 1.24 date 2003.07.21.16.56.56; author martti; state Exp; branches; next 1.23; 1.23 date 2003.07.17.21.47.03; author grant; state Exp; branches; next 1.22; 1.22 date 2003.06.08.01.11.38; author heinz; state Exp; branches; next 1.21; 1.21 date 2003.05.22.11.41.02; author abs; state Exp; branches; next 1.20; 1.20 date 2003.04.15.00.35.25; author heinz; state Exp; branches; next 1.19; 1.19 date 2003.04.15.00.02.24; author heinz; state Exp; branches; next 1.18; 1.18 date 2003.02.09.02.27.54; author heinz; state Exp; branches; next 1.17; 1.17 date 2003.02.02.19.38.39; author heinz; state Exp; branches; next 1.16; 1.16 date 2003.01.29.17.34.28; author tron; state Exp; branches; next 1.15; 1.15 date 2003.01.28.22.03.39; author jlam; state Exp; branches; next 1.14; 1.14 date 2002.11.06.21.51.26; author heinz; state Exp; branches; next 1.13; 1.13 date 2002.10.21.12.39.30; author heinz; state Exp; branches; next 1.12; 1.12 date 2002.10.21.07.57.07; author jlam; state Exp; branches; next 1.11; 1.11 date 2002.10.20.20.09.05; author heinz; state Exp; branches; next 1.10; 1.10 date 2002.10.08.16.41.32; author heinz; state Exp; branches; next 1.9; 1.9 date 2002.10.08.00.49.18; author heinz; state Exp; branches; next 1.8; 1.8 date 2002.09.29.23.44.28; author simonb; state Exp; branches; next 1.7; 1.7 date 2002.09.19.09.04.13; author jlam; state Exp; branches; next 1.6; 1.6 date 2002.09.08.23.30.38; author wiz; state Exp; branches; next 1.5; 1.5 date 2002.08.30.10.50.51; author abs; state Exp; branches; next 1.4; 1.4 date 2002.08.26.16.00.52; author hubertf; state Exp; branches; next 1.3; 1.3 date 2002.08.26.15.55.58; author hubertf; state Exp; branches; next 1.2; 1.2 date 2002.08.25.22.44.21; author hubertf; state dead; branches; next 1.1; 1.1 date 2002.08.24.19.46.39; author hubertf; state Exp; branches 1.1.1.1; next ; 1.131.2.1 date 2018.10.20.15.59.14; author spz; state Exp; branches; next ; commitid i2Ot61qaBvhCnIWA; 1.114.4.1 date 2014.10.10.10.56.05; author spz; state Exp; branches; next ; commitid iOkjSlParmhbZDTx; 1.107.2.1 date 2013.08.01.12.51.53; author tron; state Exp; branches; next ; commitid VPMy3rfKnWfPBKZw; 1.79.2.1 date 2007.06.13.08.05.04; author ghen; state Exp; branches; next ; 1.77.2.1 date 2007.02.23.11.36.22; author ghen; state Exp; branches; next ; 1.70.2.1 date 2006.06.07.21.28.47; author salo; state Exp; branches; next ; 1.59.2.1 date 2005.11.22.00.34.24; author salo; state Exp; branches; next ; 1.56.2.1 date 2005.08.03.23.56.13; author salo; state Exp; branches; next ; 1.1.1.1 date 2002.08.24.19.46.39; author hubertf; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2002.08.26.15.54.29; author hubertf; state Exp; branches; next ; desc @@ 1.151 log @*: bump for openssl 3 @ text @# $NetBSD: Makefile,v 1.150 2023/08/15 10:20:00 abs Exp $ VERSION= 4.0.0 DISTNAME= Mail-SpamAssassin-${VERSION} PKGNAME= spamassassin-${VERSION} PKGREVISION= 3 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_APACHE:=spamassassin/source/} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} DISTFILES+= ${RULESARCHIVE} DISTFILES+= ${RULESARCHIVEASC} #DISTFILES+= ${RULESARCHIVESHA} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://spamassassin.apache.org/ COMMENT= Mail filter to identify spam LICENSE= apache-2.0 .include "../../mk/bsd.prefs.mk" SMF_METHODS= spamassassin # The RULESARCHIVE path is taken from the link on the Download page # reachable from $HOMEPAGE. RULESARCHIVE= Mail-SpamAssassin-rules-4.0.0.r1905950.tgz RULESARCHIVEASC= ${RULESARCHIVE}.asc #RULESARCHIVESHA= ${RULESARCHIVE}.sha1 FILES_SUBST+= RULESARCHIVE=${RULESDIR}/${RULESARCHIVE} PLIST_SUBST+= RULESARCHIVE=${RULESARCHIVE:Q} PLIST_SUBST+= RULESARCHIVEASC=${RULESARCHIVEASC:Q} #PLIST_SUBST+= RULESARCHIVESHA=${RULESARCHIVESHA:Q} #DEPENDS+= {perl>=5.9.3,p5-Archive-Tar>=1.23}:../../archivers/p5-Archive-Tar #DEPENDS+= {perl>=5,p5-DB_File-[0-9]*}:../../databases/p5-DB_File DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1 DEPENDS+= p5-HTML-Parser>=3.43:../../www/p5-HTML-Parser #DEPENDS+= {perl>=5.9.3,p5-IO-Compress-[0-9]*}:../../devel/p5-IO-Compress # Compress::Zlib>=0 #DEPENDS+= {perl>=5.9.3,p5-IO-Zlib>=1.04}:../../devel/p5-IO-Zlib DEPENDS+= p5-Mail-DKIM>=0.40:../../mail/p5-Mail-DKIM #DEPENDS+= p5-Mail-DMARC-PurePerl-[0-9]*:../../mail/p5-Mail-DMARC-PurePerl DEPENDS+= p5-Mail-SPF-[0-9]*:../../mail/p5-Mail-SPF #DEPENDS+= {p5-MIME-Base64>=2.11,perl>=5.8.0}:../../converters/p5-MIME-Base64 DEPENDS+= p5-NetAddr-IP>=4.007:../../net/p5-NetAddr-IP DEPENDS+= p5-Net-DNS>=1.01:../../net/p5-Net-DNS #DEPENDS+= {perl>=5.7.3,p5-Time-HiRes-[0-9]*}:../../time/p5-Time-HiRes DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww DEPENDS+= re2c>=0.13.6:../../devel/re2c USE_TOOLS+= perl CONFLICTS= p5-Mail-SpamAssassin-[0-9]* WRKSRC= ${WRKDIR}/${DISTNAME} PKG_SYSCONFSUBDIR= spamassassin # Set contact address (e-mail, URL, ...) for use in spam report messages # See "perldoc Mail::SpamAssassin::Conf" for option "report_contact" SPAMASSASSIN_CONTACT_ADDRESS?= postmaster .include "options.mk" BUILD_DEFS+= SPAMASSASSIN_CONTACT_ADDRESS BUILD_DEFS+= VARBASE DYNAMIC_PLIST= ${WRKSRC}/.PLIST_ADD PLIST_SRC= ${PKGDIR}/PLIST ${DYNAMIC_PLIST} PERL5_PACKLIST= auto/Mail/SpamAssassin/.packlist GNU_CONFIGURE= YES CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_DIRS= spamc # Fix openssl detection. These methods are deprecated and removed, but # still the configure scripts looks for them. CONFIGURE_ENV+= ac_cv_lib_ssl_SSL_CTX_free=yes CONFIGURE_ENV+= ac_cv_lib_crypto_CRYPTO_lock=yes BUILD_DIRS= . # build at the top-level directory, not in "spamc" PERL5_CONFIGURE= NO # we need the default "do-configure" target PERL5_CONFIGURE_DIRS= ${WRKSRC} # test t/meta needs this REPLACE_PERL+= build/parse-rules-for-masses REPLACE_PERL+= sa-update.raw MAKE_PARAMS+= CONTACT_ADDRESS=${SPAMASSASSIN_CONTACT_ADDRESS:Q} MAKE_PARAMS+= DEFRULESDIR="${RULESDIR}" MAKE_PARAMS+= LOCALRULESDIR="${PKG_SYSCONFDIR}" MAKE_PARAMS+= LOCALSTATEDIR="${VARBASE}/spamassassin" MAKE_PARAMS+= PERL_BIN="${PERL5}" MAKE_PARAMS+= PERL_WARN=yes MAKE_PARAMS+= PERL_TAINT=yes MAKE_PARAMS+= SYSCONFDIR="${PKG_SYSCONFDIR}" TEST_MAKE_FLAGS= HOME=${HOME} # for test t/razor2.t RCD_SCRIPTS= spamd RCD_SCRIPT_SRC.spamd= ${WRKSRC}/spamd/netbsd-rc-script.sh EG_SUBDIR= share/examples/spamassassin EGDIR= ${PREFIX}/${EG_SUBDIR} DOC_SUBDIR= share/doc/spamassassin DOCDIR= ${PREFIX}/${DOC_SUBDIR} RULE_SUBDIR= share/spamassassin RULESDIR= ${PREFIX}/${RULE_SUBDIR} PRE_FILES= init.pre v310.pre v312.pre v320.pre v330.pre v340.pre v400.pre .for p in ${PRE_FILES} CONF_FILES+= ${EGDIR}/${p} ${PKG_SYSCONFDIR}/${p} .endfor CONF_FILES+= ${EGDIR}/local.cf ${PKG_SYSCONFDIR}/local.cf \ ${RULESDIR}/user_prefs.template \ ${PKG_SYSCONFDIR}/user_prefs.template SA_INSTALLDIRS= ${EG_SUBDIR} ${DOC_SUBDIR} ${DOC_SUBDIR}/ldap SA_INSTALLDIRS+= ${DOC_SUBDIR}/rules ${DOC_SUBDIR}/spamc SA_INSTALLDIRS+= ${DOC_SUBDIR}/spamd ${DOC_SUBDIR}/sql ${RULE_SUBDIR} SA_DOCFILES= INSTALL LICENSE README TRADEMARK UPGRADE USAGE NOTICE SA_DOCFILES+= CREDITS PACKAGING Changes SA_DOCFILES+= ldap/README ldap/README.testing ldap/sa_test.ldif SA_DOCFILES+= rules/sa-update-pubkey.txt SA_DOCFILES+= spamc/README.qmail SA_DOCFILES+= sample-nonspam.txt sample-spam.txt SA_DOCFILES+= spamd/README spamd/README.vpopmail SA_DOCFILES+= sql/README sql/README.awl sql/README.bayes SA_DOCFILES+= sql/awl_mysql.sql sql/awl_pg.sql sql/bayes_mysql.sql SA_DOCFILES+= sql/bayes_pg.sql sql/userpref_mysql.sql SA_DOCFILES+= sql/userpref_pg.sql OWN_DIRS+= ${VARBASE}/spamassassin OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/sa-update-keys ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700 SUBST_CLASSES+= sa2 SUBST_MESSAGE.sa2= Setting correct paths for pkgsrc (part 1) SUBST_STAGE.sa2= pre-configure SUBST_FILES.sa2= README spamd/spamd.raw SUBST_SED.sa2= -e s!@@@@PREFIX@@@@!${PREFIX}!g SUBST_VARS.sa2= PKG_SYSCONFDIR SUBST_VARS.sa2+= VARBASE SUBST_CLASSES+= sa3 SUBST_MESSAGE.sa3= Setting correct paths for pkgsrc (part 2) SUBST_STAGE.sa3= pre-configure SUBST_FILES.sa3= INSTALL USAGE ldap/README SUBST_FILES.sa3+= spamc/README.qmail spamc/spamc.pod SUBST_FILES.sa3+= lib/Mail/SpamAssassin/Conf.pm SUBST_FILES.sa3+= lib/Mail/SpamAssassin/Plugin/Test.pm SUBST_FILES.sa3+= spamd/README spamd/README.vpopmail sql/README SUBST_FILES.sa3+= sql/README.awl sa-learn.raw sa-compile.raw sa-update.raw SUBST_SED.sa3= -e s!/usr/share!${PREFIX}/share!g SUBST_SED.sa3+= -e s!/usr/bin!${PREFIX}/bin!g SUBST_SED.sa3+= -e s!/usr/local/bin!${PREFIX}/bin!g SUBST_SED.sa3+= -e s!/usr/lib!${PREFIX}/lib!g SUBST_SED.sa3+= -e s!/etc/mail/spamassassin!${PKG_SYSCONFDIR}!g .if (${OPSYS} == "NetBSD") || (${OPSYS} == "DragonFly") INTERPRETER_SUPPORT= YES .endif # These variables are substituted in netbsd-rc-script.sh. FILES_SUBST+= INTERPRETER_SUPPORT=${INTERPRETER_SUPPORT} FILES_SUBST+= OPSYS=${OPSYS} INSTALLATION_DIRS+= ${SA_INSTALLDIRS} # Configure the programe that "sa-update" uses for fetching files .if defined(TOOLS_PLATFORM.curl) SA_UPDATE_FETCH_PROG= curl SA_UPDATE_FETCH_CMD= ${TOOLS_PLATFORM.curl} .elif defined(TOOLS_PLATFORM.fetch) SA_UPDATE_FETCH_PROG= fetch SA_UPDATE_FETCH_CMD= ${TOOLS_PLATFORM.fetch} .else DEPENDS+= wget-[0-9]*:../../net/wget SA_UPDATE_FETCH_PROG= wget SA_UPDATE_FETCH_CMD= ${PREFIX}/bin/wget .endif SUBST_CLASSES+= fetch SUBST_STAGE.fetch= pre-configure SUBST_FILES.fetch= sa-update.raw SUBST_VARS.fetch= SA_UPDATE_FETCH_CMD SA_UPDATE_FETCH_PROG pre-configure: perl5-configure # GNU configure needs version.h -> create it cd ${WRKSRC}/spamc && ${PERL5} ./version.h.pl # values in 'config' will be set via the SUBST framework in options.mk ${CP} ${WRKSRC}/t/config.dist ${WRKSRC}/t/config post-install: ${TEST} -r ${DYNAMIC_PLIST} && ${RM} ${DYNAMIC_PLIST} ; : .for f in ${SA_DOCFILES} ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}/${f} ${ECHO} "${DOC_SUBDIR}/${f}" >> ${DYNAMIC_PLIST} .endfor set -e ; cd ${WRKSRC}/rules; \ for f in ${PRE_FILES}; do \ ${INSTALL_DATA} "$$f" ${DESTDIR}${EGDIR} && \ ${ECHO} "${EG_SUBDIR}/$$f" >> ${DYNAMIC_PLIST}; \ done # examples are in the static PLIST ${INSTALL_DATA} ${WRKSRC}/procmailrc.example ${DESTDIR}${EGDIR} ${INSTALL_DATA} ${WRKSRC}/rules/local.cf ${DESTDIR}${EGDIR} ${INSTALL_DATA} ${FILESDIR}/netbsd_lists.cf ${DESTDIR}${EGDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${RULESARCHIVE} \ ${DESTDIR}${RULESDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${RULESARCHIVEASC} \ ${DESTDIR}${RULESDIR} # ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${RULESARCHIVESHA} \ # ${DESTDIR}${RULESDIR} # make sure we install the patched version of init.pre but can run the # tests with the original file pre-patch: ${CP} ${WRKSRC}/rules/init.pre ${WRKDIR}/init.pre.notpatched post-patch: ${CP} ${WRKSRC}/rules/init.pre ${WRKDIR}/init.pre.patched pre-test: ${CP} ${WRKDIR}/init.pre.notpatched ${WRKSRC}/rules/init.pre post-test: ${CP} ${WRKDIR}/init.pre.patched ${WRKSRC}/rules/init.pre .include "../../devel/zlib/buildlink3.mk" .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" @ 1.150 log @Avoid deprecated warning from cron Patch from upstream, bump pkgrevision @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.149 2023/07/06 09:40:50 wiz Exp $ d6 1 a6 1 PKGREVISION= 2 @ 1.149 log @*: recursive bump for perl 5.38 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.148 2022/12/17 14:29:33 gdt Exp $ d6 1 a6 1 PKGREVISION= 1 @ 1.148 log @mail/spamassassin: Update to 4.0.0 Tested on NetBSD 9 amd64 with postfix and spamass-milter. NB the rule renaming below and the modified init.pre, which will not be merged by updating if init.pre is locally modifed. Upstream Release Notes: Introduction ------------ Apache SpamAssassin 4.0.0 contains numerous tweaks and bug fixes over the past releases. In particular, it includes major changes that significantly improve the handling of text in international language. As with any major release, there are countless functional patches and improvements to upgrade to 4.0.0. Apache SpamAssassin 4.0.0 includes several years of fixes that significantly improve classification and performance. It has been thoroughly tested in production systems. We strongly recommend upgrading as soon as possible. Notable features: ================= New plugins ----------- There are three new plugins added with this release: #1 Mail::SpamAssassin::Plugin::ExtractText This plugin uses external tools to extract text from message parts, and then sets the text as the rendered part. All SpamAssassin rules that apply to the rendered part will run on the extracted text as well. #2 Mail::SpamAssassin::Plugin::DMARC This plugin checks if emails match DMARC policy after parsing DKIM and SPF results. #3 Mail::SpamAssassin::Plugin::DecodeShortURLs This plugin looks for URLs shortened by a list of URL shortening services. Upon finding a matching URL, plugin will send a HTTP request to the shortening service and retrieve the Location-header which points to the actual shortened URL. It then adds this URL to the list of URIs extracted by SpamAssassin which can then be accessed by uri rules and plugins such as URIDNSBL. Removed plugin -------------- HashCash module, formerly deprecated, has now been removed completely Notable changes --------------- This release includes fixes for the following: - Support for international text such as UTF-8 rules has been completed and significantly improved to include native UTF-8 processing - Bayes plugin has been improved to skip common words aka noise words written in languages other than English - OLEVBMacro plugin has been improved in order to detect more Microsoft Office macros and dangerous content. It has also been improved to extract URIs from Office documents for automatic inclusion in rules such as RBL lookups. - You can now use Captured Tags to use tags “captured” in one rule inside other rules - sa-update(1) tool has been improved with three new options: #1 forcemirror: forces sa-update to use a specific mirror server, #2 score-multiplier: adjust all scores from update channel by a given multiplier to quickly level set scores to match your preferred threshold #3 score-limit adjusts all scores from update channel over a specified limit to a new limit * SSL client certificate support has been improved and made easier to implement with spamc/spamd * DKIM plugin can now detect ARC signatures * More work on improving the configuration and internal coding to use more inclusive and less divisive language * spamc(1) speed has been improved when both SSL and compression are used * The normalize_charset option is now enabled by default. NOTE: Rules should not expect specific non-UTF-8 or UTF-8 encoding in the body. Matching is done against the raw body, which may vary depending on normalize_charset setting and whether UTF-8 decoding was successful. * Mail::SPF is now the only supported module used by the SPF plugin. * Mail::SPF::Query use is deprecated, along with settings do_not_use_mail_spf, do_not_use_mail_spf_query. * SPF lookups are not done asynchronously and you may consider using an SPF filter at the MTA level (pypolicyd-spf / spf-engine / etc) which generates a Received-SPF header that can be parsed by SpamAssassin. * The default sa-update ruleset doesn't make ASN lookups or header additions anymore. Configure desired methods (asn_use_geodb / asn_use_dns) and add_header clauses manually, as described in documentation for the Mail::SpamAssassin::Plugin::ASN. New configuration options ------------------------- All rules, functions, command line options and modules that contain "whitelist" or "blacklist" have been renamed to "welcomelist" and "blocklist" terms Old options will continue to work for backwards compatibility until at least the Apache SpamAssassin version 4.1.0 release New tflag "nolog" added to hide info coming from rules in SpamAssassin reports New dns_options "nov4" and "nov6" added. IMPORTANT:; You must set nov6 if your DNS resolver is filtering IPv6 AAAA replies. Razor2 razor_fork option added. It will fork separate Razor2 process and read in the results later asynchronously, increasing throughput. When this is used, rule priorities are automatically adjusted to -100. Pyzor pyzor_fork option added. It will fork separate Pyzor process and read in the results later asynchronously, increasing throughput. When this is used, rule priorities are automatically adjusted to -100 urirhsbl and urirhssub rules now support "notrim" tflag, which forces querying the full hostname, instead of trimmed domain report_charset now defaults to UTF-8 which may change the rendering of SpamAssassin reports Notable Internal changes ------------------------ Meta rules no longer use priority values, they are evaluated dynamically when the rules they depend on are finished DNS and other asynchronous lookups like DCC or Razor2 plugins are now launched when priority -100 is reached. This allows short circuiting at lower priority without sending unneeded DNS queries New internal Mail::SpamAssassin::GeoDB module supporting RelayCountry and URILocalBL plugins provides a unified interface to Geographic IP modules. These include: MaxMind::DB::Reader (GeoIP2) Geo::IP IP::Country::DB_File IP::Country::Fast. Bayes and TxRep Message-ID tracking now uses a different hashing method Optimizations ------------- Apache SpamAssassin 4.0.0 represents years of work by the project with numerous improvements, new rule types, and internal native handling of messages in international languages. These three key optimizations will improve the efficiency of SpamAssassin: DNS queries are now done asynchronously for overall speed improvements DCC checks can now use dccifd asynchronously for improved throughput Pyzor and Razor fork use separate processes done asynchronously for increased throughput @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.147 2022/08/16 14:21:48 wiz Exp $ d6 1 @ 1.147 log @spamassassin: update to use latest rules file and install .asc file again This makes the package break later in 'make install' when it finds out that updates.spamassassin.org does not exist. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.146 2022/06/28 11:34:34 wiz Exp $ d3 1 a3 1 VERSION= 3.4.6 a5 1 PKGREVISION= 3 d25 1 a25 1 RULESARCHIVE= Mail-SpamAssassin-rules-3.4.6.r1888502.tgz d40 1 d106 1 a106 1 PRE_FILES= init.pre v310.pre v312.pre v320.pre v330.pre v340.pre d144 1 a144 1 SUBST_FILES.sa3= INSTALL UPGRADE USAGE ldap/README @ 1.146 log @*: recursive bump for perl 5.36 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.145 2021/05/24 19:52:53 wiz Exp $ d6 1 a6 1 PKGREVISION= 2 d11 1 a11 1 #DISTFILES+= ${RULESARCHIVEASC} d26 2 a27 2 RULESARCHIVE= Mail-SpamAssassin-rules-3.4.4.r1873061.tgz #RULESARCHIVEASC= ${RULESARCHIVE}.asc d31 1 a31 1 #PLIST_SUBST+= RULESARCHIVEASC=${RULESARCHIVEASC:Q} a156 4 # the 'spamd' RCD_SCRIPT behaves differently if we run NetBSD 1.6 or later . if (${OPSYS} == "NetBSD") && !empty(OS_VERSION:M1.[0-5]*) INTERPRETER_SUPPORT= NO . else a157 1 . endif d208 2 a209 2 # ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${RULESARCHIVEASC} \ # ${DESTDIR}${RULESDIR} @ 1.145 log @*: recursive bump for perl 5.34 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.144 2021/04/12 22:27:05 gdt Exp $ d6 1 a6 1 PKGREVISION= 1 @ 1.144 log @spamassassin: Update to 3.4.6 upstream: bugfixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.143 2021/03/24 16:13:52 gdt Exp $ d6 1 @ 1.143 log @mail/spamassassin: Update to 3.4.5 This is a micro-update carrying a fix for https://cve.mitre.org/cgi-bin/cvename.cgi?name=2020-1946 Upstream changes: In addition to the CVE which shall be announced separately, this release includes fixes for the following: - Improvements to OLEVBMacro and AskDNS plugins - Received and EnvelopeFrom headers matching improvements - userpref SQL schema fixes - rbl and hashbl evaluation improvements - fix for non working TxRep tag names - man page fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.142 2020/08/31 18:10:09 wiz Exp $ d3 1 a3 1 VERSION= 3.4.5 @ 1.142 log @*: bump PKGREVISION for perl-5.32. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.141 2020/03/23 18:45:47 gdt Exp $ d3 1 a3 1 VERSION= 3.4.4 a5 1 PKGREVISION= 1 @ 1.141 log @mail/spamassassin: Update to 3.4.4 This is a micro update (actually 2) with security fixes, and is trivial except for hand-applying some patch hunks that have textual but not semantic conflicts. The upstream announcement hints at minor new features and a new plugin, but does not explain. (There is no NEWS file.) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.140 2020/03/21 15:36:32 taca Exp $ d6 1 @ 1.140 log @mail/spamassassin: revert previous accidential commit Revert previous accidential commit by my mistake. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.139 2020/03/21 15:29:37 taca Exp $ d3 3 a5 3 DISTNAME= Mail-SpamAssassin-3.4.2 PKGNAME= spamassassin-3.4.2 PKGREVISION= 3 d23 3 a25 1 RULESARCHIVE= Mail-SpamAssassin-rules-3.4.2.r1840640.tgz @ 1.139 log @mail/Makefile: delete ruby-actionmailer42 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.138 2020/01/18 23:32:50 rillig Exp $ d3 3 a5 2 DISTNAME= Mail-SpamAssassin-3.4.4 PKGNAME= spamassassin-3.4.4 d23 1 a23 1 RULESARCHIVE= Mail-SpamAssassin-rules-3.4.4.r1873061.tgz d187 1 a187 1 # GNU configure needs version.h -> create it d189 1 a189 1 # values in 'config' will be set via the SUBST framework in options.mk d204 1 a204 1 # examples are in the static PLIST @ 1.138 log @all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.137 2020/01/18 21:49:54 jperkin Exp $ d3 2 a4 3 DISTNAME= Mail-SpamAssassin-3.4.2 PKGNAME= spamassassin-3.4.2 PKGREVISION= 3 d22 1 a22 1 RULESARCHIVE= Mail-SpamAssassin-rules-3.4.2.r1840640.tgz d186 1 a186 1 # GNU configure needs version.h -> create it d188 1 a188 1 # values in 'config' will be set via the SUBST framework in options.mk d203 1 a203 1 # examples are in the static PLIST @ 1.137 log @*: Recursive revision bump for openssl 1.1.1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.136 2019/11/02 16:25:28 rillig Exp $ d15 1 a15 1 HOMEPAGE= http://spamassassin.apache.org/ @ 1.136 log @mail: align variable assignments pkglint -Wall -F --only aligned -r No manual corrections. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.135 2019/08/11 13:21:42 wiz Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.135 log @Bump PKGREVISIONs for perl 5.30.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.134 2019/05/23 19:23:08 rillig Exp $ d23 7 a29 7 RULESARCHIVE= Mail-SpamAssassin-rules-3.4.2.r1840640.tgz #RULESARCHIVEASC=${RULESARCHIVE}.asc #RULESARCHIVESHA=${RULESARCHIVE}.sha1 FILES_SUBST+= RULESARCHIVE=${RULESDIR}/${RULESARCHIVE} PLIST_SUBST+= RULESARCHIVE=${RULESARCHIVE:Q} #PLIST_SUBST+= RULESARCHIVEASC=${RULESARCHIVEASC:Q} #PLIST_SUBST+= RULESARCHIVESHA=${RULESARCHIVESHA:Q} d176 1 a176 1 DEPENDS+= wget-[0-9]*:../../net/wget @ 1.134 log @all: replace SUBST_SED with the simpler SUBST_VARS pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.133 2019/01/26 18:23:05 abs Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.133 log @Switch Mail-SpamAssassin-3.4.2 to default to gnupg2 instead of gnupg1 We're now at the point where gnupg2 makes more sense as a default. Bump PKGREVISION Also, some spaces to tabs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.132 2018/10/18 19:54:32 bsiegert Exp $ d135 2 a136 2 SUBST_SED.sa2+= -e s!@@PKG_SYSCONFDIR@@!${PKG_SYSCONFDIR}!g SUBST_SED.sa2+= -e s!@@VARBASE@@!${VARBASE}!g @ 1.132 log @Update spamassassin to 3.4.2. From Attila Fueloep in pull request NetBSD/pkgsrc#32. Apache SpamAssassin 3.4.2 contains numerous tweaks and bug fixes over the past three and 1/2 years. As we release 3.4.2, we are preparing 4.0.0 which will move us into a full UTF-8 environment. We expect one final 3.4.3 release. As with any release there are a number of functional patches, improvements as well as security reasons to upgrade to 3.4.2. In this case we have over 3 years of issues being resolved at once. And we are laying thr groundwork for version 4.0 which is is designed to more natively handle UTF-8. However, there is one specific pressing reason to upgrade. Specifically, we will stop producing SHA-1 signatures for rule updates. This means that while we produce rule updates with the focus on them working for any release from v3.3.2 forward, they will start failing SHA-1 validation for sa-update. *** If you do not update to 3.4.2, you will be stuck at the last ruleset with SHA-1 signatures in the near future. *** Full release notes at http://svn.apache.org/repos/asf/spamassassin/branches/3.4/build/announcements/3.4.2.txt. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.131 2018/08/22 09:45:34 wiz Exp $ d5 1 d27 3 a29 3 PLIST_SUBST+= RULESARCHIVE=${RULESARCHIVE:Q} #PLIST_SUBST+= RULESARCHIVEASC=${RULESARCHIVEASC:Q} #PLIST_SUBST+= RULESARCHIVESHA=${RULESARCHIVESHA:Q} d109 1 a109 1 ${PKG_SYSCONFDIR}/user_prefs.template d208 1 a208 1 ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${RULESARCHIVE} \ @ 1.131 log @Recursive bump for perl5-5.28.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.130 2018/03/17 09:14:35 tnn Exp $ d3 2 a4 3 DISTNAME= Mail-SpamAssassin-3.4.1 PKGNAME= spamassassin-3.4.1 PKGREVISION= 9 d22 1 a22 1 RULESARCHIVE= Mail-SpamAssassin-rules-3.4.1.r1675274.tgz @ 1.131.2.1 log @Pullup ticket #5846 - requested by bsiegert mail/spamassassin: security update Revisions pulled up: - mail/spamassassin/Makefile 1.132 - mail/spamassassin/distinfo 1.72 - mail/spamassassin/patches/patch-Makefile.PL 1.3 - mail/spamassassin/patches/patch-ae 1.14 - mail/spamassassin/patches/patch-lib_Mail_SpamAssassin_DnsResolver.pm deleted - mail/spamassassin/patches/patch-lib_Mail_SpamAssassin_PerMsgStatus.pm deleted - mail/spamassassin/patches/patch-sa-compile deleted - mail/spamassassin/patches/patch-spamc_libspamc.c 1.2 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: bsiegert Date: Thu Oct 18 19:54:32 UTC 2018 Modified Files: pkgsrc/mail/spamassassin: Makefile distinfo pkgsrc/mail/spamassassin/patches: patch-Makefile.PL patch-ae patch-spamc_libspamc.c Removed Files: pkgsrc/mail/spamassassin/patches: patch-lib_Mail_SpamAssassin_DnsResolver.pm patch-lib_Mail_SpamAssassin_PerMsgStatus.pm patch-sa-compile Log Message: Update spamassassin to 3.4.2. From Attila Fueloep in pull request NetBSD/pkgsrc#32. Apache SpamAssassin 3.4.2 contains numerous tweaks and bug fixes over the past three and 1/2 years. As we release 3.4.2, we are preparing 4.0.0 which will move us into a full UTF-8 environment. We expect one final 3.4.3 release. As with any release there are a number of functional patches, improvements as well as security reasons to upgrade to 3.4.2. In this case we have over 3 years of issues being resolved at once. And we are laying thr groundwork for version 4.0 which is is designed to more natively handle UTF-8. However, there is one specific pressing reason to upgrade. Specifically, we will stop producing SHA-1 signatures for rule updates. This means that while we produce rule updates with the focus on them working for any release from v3.3.2 forward, they will start failing SHA-1 validation for sa-update. *** If you do not update to 3.4.2, you will be stuck at the last ruleset with SHA-1 signatures in the near future. *** Full release notes at http://svn.apache.org/repos/asf/spamassassin/branches/3.4/build/announcements/3.4.2.txt. To generate a diff of this commit: cvs rdiff -u -r1.131 -r1.132 pkgsrc/mail/spamassassin/Makefile cvs rdiff -u -r1.71 -r1.72 pkgsrc/mail/spamassassin/distinfo cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/spamassassin/patches/patch-Makefile.PL cvs rdiff -u -r1.13 -r1.14 pkgsrc/mail/spamassassin/patches/patch-ae cvs rdiff -u -r1.5 -r0 \ pkgsrc/mail/spamassassin/patches/patch-lib_Mail_SpamAssassin_DnsResolver.pm cvs rdiff -u -r1.3 -r0 \ pkgsrc/mail/spamassassin/patches/patch-lib_Mail_SpamAssassin_PerMsgStatus.pm cvs rdiff -u -r1.1 -r0 pkgsrc/mail/spamassassin/patches/patch-sa-compile cvs rdiff -u -r1.1 -r1.2 \ pkgsrc/mail/spamassassin/patches/patch-spamc_libspamc.c @ text @d1 1 a1 1 # $NetBSD$ d3 3 a5 2 DISTNAME= Mail-SpamAssassin-3.4.2 PKGNAME= spamassassin-3.4.2 d23 1 a23 1 RULESARCHIVE= Mail-SpamAssassin-rules-3.4.2.r1840640.tgz @ 1.130 log @spamassassin: use TLS instead of SSLv3. Fixes build with current openssl. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.129 2017/07/09 22:12:12 schmonz Exp $ d5 1 a5 1 PKGREVISION= 8 @ 1.129 log @Apply upstream patch (SVN rev 1791010) to fix "Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30)". While here, remove references to LOCALBASE. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.128 2016/12/16 15:52:52 hans Exp $ d5 1 a5 1 PKGREVISION= 7 d70 4 @ 1.128 log @Add SMF manifest and method. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.127 2016/11/10 20:25:50 roy Exp $ d5 1 a5 1 PKGREVISION= 6 @ 1.127 log @Add patch to fix SA working with >=Net::DNS-1.01, taken from upstream. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.126 2016/11/02 21:09:02 roy Exp $ d5 1 a5 1 PKGREVISION= 5 d21 2 @ 1.126 log @Add a dependency on p5-Mail-DKIM so that spamassassin can use it's DKIM tests. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.125 2016/07/09 06:38:32 wiz Exp $ d5 1 a5 1 PKGREVISION= 4 d39 1 a39 1 DEPENDS+= p5-Net-DNS>=0.58:../../net/p5-Net-DNS @ 1.125 log @Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.124 2016/03/05 11:28:51 jperkin Exp $ d5 1 a5 1 PKGREVISION= 3 d35 1 @ 1.124 log @Bump PKGREVISION for security/openssl ABI bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.123 2016/02/05 16:08:54 prlw1 Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.123 log @Fixed in 3.4 http://bz.apache.org/SpamAssassin/show_bug.cgi?id=6937 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.122 2016/02/05 16:06:08 prlw1 Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.122 log @Use REPLACE_PERL rather than manual patch @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.121 2015/09/09 19:13:48 christos Exp $ d5 1 a5 1 #PKGREVISION= @ 1.121 log @update to 3.4.1: - improved automation to help combat spammers that are abusing new top level domains; - tweaks to the SPF support to block more spoofed emails; - increased character set normalization to make rules easier to develop and stop spammers from using alternate character sets to bypass tests; - continued refinement to the native IPv6 support; and - improved Bayesian classification with better debugging and attachment hashing. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.120 2015/07/12 18:56:25 wiz Exp $ d73 1 @ 1.120 log @Comment out dependencies of the style {perl>=5.16.6,p5-ExtUtils-ParseXS>=3.15}:../../devel/p5-ExtUtils-ParseXS since pkgsrc enforces the newest perl version anyway, so they should always pick perl, but sometimes (pkg_add) don't due to the design of the {,} syntax. No effective change for the above reason. Ok joerg @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.119 2015/06/12 10:50:26 wiz Exp $ d3 3 a5 3 DISTNAME= Mail-SpamAssassin-3.4.0 PKGNAME= spamassassin-3.4.0 PKGREVISION= 4 d10 2 a11 2 DISTFILES+= ${RULESARCHIVEASC} DISTFILES+= ${RULESARCHIVESHA} d21 3 a23 3 RULESARCHIVE= Mail-SpamAssassin-rules-3.4.0.r1565117.tgz RULESARCHIVEASC=${RULESARCHIVE}.asc RULESARCHIVESHA=${RULESARCHIVE}.sha1 d26 2 a27 2 PLIST_SUBST+= RULESARCHIVEASC=${RULESARCHIVEASC:Q} PLIST_SUBST+= RULESARCHIVESHA=${RULESARCHIVESHA:Q} d202 4 a205 4 ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${RULESARCHIVEASC} \ ${DESTDIR}${RULESDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${RULESARCHIVESHA} \ ${DESTDIR}${RULESDIR} @ 1.119 log @Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.118 2014/10/12 15:18:21 tron Exp $ d29 2 a30 2 DEPENDS+= {perl>=5.9.3,p5-Archive-Tar>=1.23}:../../archivers/p5-Archive-Tar DEPENDS+= {perl>=5,p5-DB_File-[0-9]*}:../../databases/p5-DB_File d33 2 a34 2 DEPENDS+= {perl>=5.9.3,p5-IO-Compress-[0-9]*}:../../devel/p5-IO-Compress # Compress::Zlib>=0 DEPENDS+= {perl>=5.9.3,p5-IO-Zlib>=1.04}:../../devel/p5-IO-Zlib d36 1 a36 1 DEPENDS+= {p5-MIME-Base64>=2.11,perl>=5.8.0}:../../converters/p5-MIME-Base64 d39 1 a39 1 DEPENDS+= {perl>=5.7.3,p5-Time-HiRes-[0-9]*}:../../time/p5-Time-HiRes @ 1.118 log @Re-enable SPF support. The reason for disabling are no longer valid since several years. Bump package revision because of this change. Suggested by Petar Bogdanovic in PR pkg/49271. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.117 2014/10/09 14:06:40 wiz Exp $ d5 1 a5 1 PKGREVISION= 3 @ 1.117 log @Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.116 2014/10/09 13:44:49 wiz Exp $ d5 1 a5 1 PKGREVISION= 2 d35 2 a38 1 DEPENDS+= {p5-MIME-Base64>=2.11,perl>=5.8.0}:../../converters/p5-MIME-Base64 @ 1.116 log @Remove SVR4_PKGNAME, per discussion on tech-pkg. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.115 2014/10/01 11:37:31 tron Exp $ a18 2 PKG_INSTALLATION_TYPES= overwrite pkgviews @ 1.115 log @Make the DNSRBL based plug-ins work with version 0.76 or newer of the "p5-Net-DNS" package. Patch taken from the SVN repository. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.114 2014/05/29 23:36:52 wiz Exp $ a5 1 SVR4_PKGNAME= sa @ 1.114 log @Bump for perl-5.20.0. Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.113 2014/04/26 13:55:10 tron Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.114.4.1 log @Pullup ticket #4509 - requested by tron mail/spamassassin: bug fix Revisions pulled up: - mail/spamassassin/Makefile 1.115 - mail/spamassassin/distinfo 1.63 - mail/spamassassin/patches/patch-lib_Mail_SpamAssassin_DnsResolver.pm 1.3 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: tron Date: Wed Oct 1 11:37:31 UTC 2014 Modified Files: pkgsrc/mail/spamassassin: Makefile distinfo Added Files: pkgsrc/mail/spamassassin/patches: patch-lib_Mail_SpamAssassin_DnsResolver.pm Log Message: Make the DNSRBL based plug-ins work with version 0.76 or newer of the "p5-Net-DNS" package. Patch taken from the SVN repository. To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115 pkgsrc/mail/spamassassin/Makefile cvs rdiff -u -r1.62 -r1.63 pkgsrc/mail/spamassassin/distinfo cvs rdiff -u -r0 -r1.3 \ pkgsrc/mail/spamassassin/patches/patch-lib_Mail_SpamAssassin_DnsResolver.pm @ text @d1 1 a1 1 # $NetBSD$ d5 1 a5 1 PKGREVISION= 2 @ 1.113 log @Update "spamassassin" package to version 3.4.0: This is a major release. It introduces over two years of bug fixes and features since the release of SpamAssassin 3.3.2 on June 16, 2011. 3.4.0 includes the Bayes Redis (http://redis.io/) back-end (bug 6879), EDNS0 changes (bug 6910), native IPv6 support, numerous URIBL.pm changes or features and a small API change in libspamc (bug 6562) with many other subtle changes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.112 2014/02/12 23:18:10 tron Exp $ d5 1 @ 1.112 log @Recursive PKGREVISION bump for OpenSSL API version bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.111 2013/12/09 14:17:49 obache Exp $ d3 2 a4 3 DISTNAME= Mail-SpamAssassin-3.3.2 PKGNAME= spamassassin-3.3.2 PKGREVISION= 8 d23 1 a23 1 RULESARCHIVE= Mail-SpamAssassin-rules-3.3.2-r1104058.tar.gz d42 1 d96 1 a96 1 PRE_FILES= init.pre v310.pre v312.pre v320.pre v330.pre a110 2 SA_DOCFILES+= rules/STATISTICS-set0.txt rules/STATISTICS-set1.txt SA_DOCFILES+= rules/STATISTICS-set2.txt rules/STATISTICS-set3.txt d161 18 @ 1.111 log @Fix/Update DEPENDS paterns for perl CORE modules, with some trivial fixes. Bump PKGREVISION for runtime dependency pattern changed packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.110 2013/12/04 15:14:19 jperkin Exp $ d5 1 a5 1 PKGREVISION= 7 @ 1.110 log @Apply backported patch for SpamAssassin bug#6937 which resolves some issues running with perl 5.18. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.109 2013/08/01 10:29:00 bouyer Exp $ d5 1 a5 1 PKGREVISION= 6 d32 2 a33 2 DEPENDS+= p5-Archive-Tar>=1.23:../../archivers/p5-Archive-Tar DEPENDS+= p5-DB_File-[0-9]*:../../databases/p5-DB_File d36 2 a37 2 DEPENDS+= p5-IO-Compress-[0-9]*:../../devel/p5-IO-Compress DEPENDS+= p5-IO-Zlib>=1.04:../../devel/p5-IO-Zlib d41 1 a41 1 DEPENDS+= p5-Time-HiRes-[0-9]*:../../time/p5-Time-HiRes @ 1.109 log @Add a patch from the svn repository (via https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6872). Fix sa-update with new p5-Net-DNS. Bump PKGREVISION @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.108 2013/07/24 16:17:02 drochner Exp $ d5 1 a5 1 PKGREVISION= 5 @ 1.108 log @as in sysutils/duplicity, add a "gnupg2" option which makes that gnupg2 is used rather than gnupg1 (off per default) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.107 2013/05/31 12:41:21 wiz Exp $ d5 1 a5 1 PKGREVISION= 4 @ 1.107 log @Bump all packages for perl-5.18, that a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.106 2013/03/02 10:44:36 tron Exp $ a31 1 DEPENDS+= gnupg-[0-9]*:../../security/gnupg @ 1.107.2.1 log @Pullup ticket #4195 - requested by bouyer mail/spamassassin: bug fix patch Revisions pulled up: - mail/spamassassin/Makefile 1.109 - mail/spamassassin/distinfo 1.60 via patch - mail/spamassassin/patches/patch-sa-update 1.1 --- Module Name: pkgsrc Committed By: bouyer Date: Thu Aug 1 10:29:00 UTC 2013 Modified Files: pkgsrc/mail/spamassassin: Makefile distinfo Added Files: pkgsrc/mail/spamassassin/patches: patch-sa-update Log Message: Add a patch from the svn repository (via https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6872). Fix sa-update with new p5-Net-DNS. Bump PKGREVISION @ text @d1 1 a1 1 # $NetBSD$ d5 1 a5 1 PKGREVISION= 5 @ 1.106 log @Reset maintainer to "pkgsrc-users@@NetBSD.org". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.105 2013/02/25 18:41:45 gdt Exp $ d5 1 a5 1 PKGREVISION= 3 @ 1.105 log @Adjust comment in rc.d script for moved file. From Jan Danielsson. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.104 2013/02/06 23:22:49 jperkin Exp $ d15 1 a15 1 MAINTAINER= heinz@@NetBSD.org @ 1.104 log @PKGREVISION bumps for the security/openssl 1.0.1d update. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.103 2012/10/08 12:19:31 asau Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.103 log @Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.102 2012/10/03 21:56:34 wiz Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.102 log @Bump all packages that use perl, or depend on a p5-* package, or are called p5-*. I hope that's all of them. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.101 2011/08/07 07:47:20 tron Exp $ a19 1 PKG_DESTDIR_SUPPORT= user-destdir @ 1.101 log @Update "spamassassin" package to version 3.3.2. Changes since version 3.3.1: This is a minor release, primarily to support perl-5.12 and later. Additionally several other minor bugs are fixed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.100 2010/10/06 21:27:29 pettai Exp $ d5 1 @ 1.100 log @Yet another perl 5.12.x error fix Oked by wiz@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.99 2010/10/03 21:53:17 pettai Exp $ d3 2 a4 3 DISTNAME= Mail-SpamAssassin-3.3.1 PKGNAME= spamassassin-3.3.1 PKGREVISION= 3 d24 1 a24 1 RULESARCHIVE= Mail-SpamAssassin-rules-3.3.1.r923114.tgz @ 1.99 log @Fixes for spamassassin running on perl 5.12.x See: https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6392 https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6396 Oked by wiz@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.98 2010/08/21 16:35:10 seb Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.98 log @Bump the PKGREVISION for all packages which depend directly on perl, to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."), minus the packages updated after the perl package update. sno@@ was right after all, obache@@ kindly asked and he@@ led the way. Thanks! @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.97 2010/03/24 21:41:10 heinz Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.97 log @Updated to version 3.3.1. Pkgsrc changes: - Removed most of the package options; using the options framework for those choices was not quite correct in the first place. Some have now fixed values (Perl warnings and taint checks always enabled), some got converted to variables settable from the make command line, see options.mk. - pkglint complained about the variable PLIST_ADD so I renamed it to DYNAMIC_PLIST. - SpamAssassin does not come with rules anymore. As a starting point the official archive of rules at the time of the SA release is included. At installation time this set of rules gets installed through the pkgsrc INSTALL file. - Removed patch-ba and patch-bc, both were integrated upstream. - Removed patch-be. The quick fix for the bad rule was replaced by a permanent solution. Summary of major changes since 3.3.0 ==================================== bug 6335: add Spamhaus DBL as URIBL_DBL_SPAM rule Bug 6370: update ImageInfo plugin to latest release bug 6215, bug 6294: RCVD_IN_CSS rule was broken. the check_rbl_sub() syntax was incorrect, resulting in missing hits bug 6361: list 2tld and 3tld sub-domain hosters for URIBL/SURBL/DBL queries; NOTE for SARE users: This file replaces the SARE file http://www.rulesemporium.com/rules/90_2tld.cf, which will be deprecated as from 2010-05-01. Bug 6369, 6356, 6373: WIN32 support for spamd improved Bug 6267: Solaris 10 requires --syslog-socket=native bug 6304 spamd is spawning and killing processes too often - Added spamd adjustments to info level and more information for administrators + small fix to Makefile.PL Bug 6310: sa-learn --import gives Insecure dependency in open Bug 6313: -Q or -q AND -x should not result in creation of a ~/.spamassassin dir; plus: taint issues fixed Bug 6342: make test failure on if_can under perl 5.6 Bug 6340: Impossible to find user home directory of VPOPMAIL alias Bug 6072, 6343: POD warnings, documentation fixes Bug 6304 (trivial), reduce sysadmin's stress level by lowercasing the 'INTERRUPTED' in a logged message: spamd: handled cleanup of child pid [...] due to SIGCHLD: INTERRUPTED Bug 6329: POSIX::strftime in call under Win32 ActivePerl causes Perl to hang up; formatting option %e is not in a POSIX standard, use %d instead and edit Bug 6322: In DKIM ADSP eval test check_dkim_adsp() the '*' is handled incorrectly Bug 6327: Fix calling argument in utility used to determine DCC's homedir Bug 6316: DCC.pm, wrong options for dcc_proc, (plus: avoid a warning on undef in logger when dccifd socket is not provided) Bug 6287: improved DKIM plugin debugging Bug 6321 - _TOKENSUMMARY_ not working in 3.3.0 (Plugin/Bayes.pm looks-up a tag from wrong location) Bug 6312 - uninitialized value $start_time in spamd bug 5761: trivial doc fix: document SPAMD_LOCALHOST test-control env variable Summary of major changes since 3.2.5 ==================================== COMPATIBILITY WITH 3.2.5 - rules are no longer distributed with the package, but installed by sa-update - either automatically fetched from the network (preferably) or from a tar archive, which is available for downloading separately (see below, section INSTALLING RULES); - CPAN module requirements: - minimum required version of ExtUtils::MakeMaker is 6.17; - modules now required: Time::HiRes, NetAddr::IP (4.000 or later), Archive::Tar (1.23 or later), IO::Zlib; - minimal version of Mail::DKIM is 0.31 (preferred: 0.37 or later); expect some tests in t/dkim2.t to fail with versions older than 0.36_5; - no longer used: Mail::DomainKeys, Mail::SPF::Query; - either Digest::SHA or the older Digest::SHA1 is required, though note that the DKIM plugin requires Digest::SHA for sha256 hashes and Razor agents still need Digest::SHA1; - some IPv6 functionality requires IO::Socket::INET6; - if keeping the AWL database in SQL, the field awl.ip must be extended to 40 characters. The change is necessary to allow AWL to keep track of IPv6 addresses which may appear in a mail header even on non-IPv6 -enabled host. While at it, consider also adding a field 'signedby' to the SQL table 'awl' (and adding 'auto_whitelist_distinguish_signed 1' to local.cf); see sql/README.awl for details. The change need not be undone even if downgrading back to 3.2.* for some reason; - fixing a protocol implementation error regarding a PING command required bumping up the SPAMC protocol version to 1.5. Spamd retains compatibility with older spamc clients. Combining new spamc clients with pre-3.3 versions of a spamd daemon is not supported (but happens to work, except for the PING and SKIP commands); - if using one of the plugins (FreeMail, PhishTag, Reuse) which were previously not part of the official package, please retire your local copy to avoid it conflicting with a new native plugin; - as the plugin AWL is no longer loaded by default, to continue using it the following line is needed in one of the .pre files (e.g. local.pre): loadplugin Mail::SpamAssassin::Plugin::AWL - it may be worth mentioning that a rule DKIM_VERIFIED has been renamed to DKIM_VALID to match its semantics; - the DKIM plugin is now enabled by default for new installs, if the perl module Mail::DKIM is installed. However, installation of SpamAssassin will not overwrite existing .pre configuration files, so to use DKIM when upgrading from a previous release that did not use DKIM, a directive: loadplugin Mail::SpamAssassin::Plugin::DKIM will need to be uncommented in file "v312.pre", or added to some other .pre file, such as local.pre; - due to changes in some internal data structures (like Bug 6185, 6254), some third-party plugins may need to be updated. One such example is the ClamAVPlugin plugin - please find a fresh version, which can be used with both SpamAssassin versions 3.2.5 and 3.3.0, on its wiki page at http://wiki.apache.org/spamassassin/ClamAVPlugin - versions of amavisd-new between 2.5.2 and 2.6.1 (inclusive) are incompatible with SpamAssassin 3.3; please upgrade amavisd to 2.6.2 or later, or apply a workaround https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6257 - support for versions of perl 5.6.* is being gradually revoked (may still work, but no promises and no support); - preferred versions of perl are 5.8.8, 5.8.9, and 5.10.1 or later; - on FreeBSD, please avoid using multithreaded versions of perl older than 5.10.0 due to small default main thread's stack size, which may not suffice for some regular expression evaluations; INSTALLING RULES Rules are normally installed by running a sa-update command. The version of sa-update program should match the version of SpamAssassin modules, so invoking sa-update should be performed only after installing or upgrading SpamAssassin code, not before. Installing rules from network is done with a single command, normally run as root: sa-update Installing rules from files: obtain all the following files: Mail-SpamAssassin-rules-xxx.tgz Mail-SpamAssassin-rules-xxx.tgz.asc Mail-SpamAssassin-rules-xxx.tgz.md5 Mail-SpamAssassin-rules-xxx.tgz.sha1 (where xxx may look something like '3.3.0.r893295') install rules from a compressed tar archive: sa-update --install Mail-SpamAssassin-rules-xxx.tgz (sa-update will need corresponding .asc and .sha1 files with the same base name in the same directory as the .tgz file) MAIN NEW FEATURES - IPv6 support was substantially improved (see below); - many improvements to the DKIM plugin (understands author domain signatures, supports multiple signatures, ADSP support with overrides) - (see below); - added 'if can(Class::method)' conditional statement, allowing configuration settings to be conditional on plugin capabilities without requiring new version releases to do so; - added a --verbose option to the sa-update utility to show updated channels; - added a configuration option 'time_limit', defaulting to 300 seconds or whatever the caller (like spamd) provides; attempting to gracefully terminate the checking when a time limit is reached, reporting the score and test hits that were collected so far, along with an added hit on a rule TIME_LIMIT_EXCEEDED; - more expensive code sections are now instrumented with timing measurements; timing report is logged as a debug message by the end of processing, and made available to a caller and to 'add_header' directives through a TIMING tag; - added a configuration option skip_uribl_checks to the URIDNSBL plugin, cross-documented it with skip_rbl_checks; - preserve order of declared 'add_header' header fields; - configurable network mask length for the AWL plugin (see below); - added support for DCC reputations (see below); - improved error handling and robustness (see below); - added timestamps when logging on stderr; - allowed debug areas to be excluded from debugging, e.g.: -D all,norules,noconfig,nodcc BUILDING AND PACKAGING - rules are no longer distributed with the package, but installed by sa-update - Makefile.PL has been simplified and a bug fixed in a DESTDIR support by increasing the minimum required version of ExtUtils::MakeMaker to 6.17 - tools check_whitelist and check_spamd are now included in the distribution, now called 'sa-awl' and 'sa-check_spamd' WORKAROUNDS TO PERL BUGS AND LIMITATIONS - modified the Check.pm plugin to produce smaller chunks of source code from rules (60 kB) to avoid Perl compiler crashing on exceeding stack size; - localized global variables $1, $2, etc at several places, avoiding taint issue from propagating; - avoided Perl I/O bug by replacing line-by-line reading with read() where suitable, or played down the EBADF status in other places and only report it as a dbg instead of a die - while also providing a little speedup (10 .. 25 %) on reading a message; - provided a new sub Message::split_into_array_of_short_lines to split a text into array of paragraph chunks of sizes between 1 kB and 2 kB, giving less opportunity to runaway regular expressions in rules; fixes bugs: 5717, 5644, 5795, 5486, 5801, 5041; MEMORY FOOTPRINT - as a side-effect of compiling rules in smaller chunks (to avoid compiler crashes), virtual memory footprint of SpamAssassin is reduced; - saved some memory by not importing the Pod::Usage unless it is needed; - saved 350k+ of memory in sa-compile by replacing DynaLoader with XSLoader; - removed unneeded index from MySQL bayes_token table; IPv6 SUPPORT - added IPv6 support for trusted_networks, internal_networks, msa_networks, whitelist_from_rcvd, and other stuff that uses NetSet and the Received header field parser, using NetAddr::IP; - allowed usage of a remote dccifd host through an INET or INET6 socket; - added IPv6 support to AWL plugin and its utility modules; a network mask length is now configurable and defaults to /48, which controls what data is stored in an AWL database; - sql/README.awl and sql/awl_*.sql: increased suggested awl.ip field width to 40 characters to be able to hold IPv6 addresses; - IP_PRIVATE now includes ipv6 variants of private address space, as well as the ipv6-mapped ipv4 addresses. - NetSet now understands that ::ffff:192.168.1.2 and 192.168.1.2 are the same address; - IPv6 addresses are now properly read from Received header fields; - when reading Received header fields, the "IPv6:" prefix is stripped from IPv6 addresses, and "::ffff:" is removed from IPv6-mapped IPv4 addresses (so strings can match them as simply IPv4 addresses); - ::1/128 is always included in the trusted_networks/internal_networks set similar to 127.0.0.0/8; - some of the IPv6 functionality in SpamAssassin requires that a perl module IO::Socket::INET6 is available (like accessing a DNS resolver over inet6, talking to a dccifd host over inet6 socket, SPAMC protocol); SPAMC - Mail::SpamAssasin::Client ping may erroneously result in broken pipe; bump spamc protocol version to 1.5, updated spamd, spamc and Client.pm; - added -n / --connect-timeout switch to spamc, allowing to separate a connection timeout from communication timeout; - added --filter-retries and --filter-retry-sleep; - increased allowed line length in spamc.conf files to 8 KiB and report an error when the limit is exceeded; - fixed issue where spamc would not time out connections to a hung spamd; - spamc client library leaked the zlib compression buffer if compression is used; - spamc long option '--dest' was broken; SPAMD - when spamd is started with the daemonize option do not exit the parent until a child signals that it has logged the pid, to allow a wrapper script to simply continue immediately after starting spamd; - additional tempfile cleanup in kill_handler; - added SPAMD_LOCALHOST option to "make test" to allow specifying non-127.0.0.1 IP address for use in FreeBSD jail; API - adding one optional argument to Mail::SpamAssassin::parse allows caller to pass additional out-of-band information to SpamAssassin (such as a deadline time, DKIM verification results, information about a SMTP session, or dynamic rule hits); this information is made available to plugins and the rest of the code through a 'suppl_attrib' hash; - added option 'master_deadline' to the suppl_attrib argument of a Mail::SpamAssassin::parse method, allowing the caller to override a time_limit configuration setting; - Plugin::Check - pick up 'rule_hits' from caller via the new mechanism and call got_hit() on them; - simplified adding dynamic score hits and dynamic rules by plugins (such as AWL, CRM114, FuzzyOcr, Check) by letting got_hit() accept options tflags and description, and letting it store a supplied dynamic score for proper reporting; - let the timing breakdown information be accessible to a caller through the existing get_tag mechanism (tag TIMING); - let the generated header fields ('add_header' configuration options) be accessible to a caller through the existing get_tag mechanism (tags ADDEDHEADER, ADDEDHEADERHAM, ADDEDHEADERSPAM); RULES - rules are no longer distributed with the package; - new scores were generated by a genetic algorithm (GA) and then manually tweaked based on cleaned datasets supplied by a dozen volunteers; - dropped redundant rules or rules causing too many false positives; - added or updated many rules; incomplete list in no particular order: vbounce, lotsa_money, muchmoney, image spam, fill_this_form, FreeMail, European Parliament, HTML attachments, uri_obfu*, urinsrhsbl, urinsrhssub, urifullnsrhsbl, URI_OBFU_X9_WS, rDNS=localhost, INVALID_DATE_TZ_ABSURD, RCVD_IN_PSBL, FRT_VALIUM*, BOUNCE_MESSAGE, VBOUNCE_MESSAGE, __BOUNCE_UNDELIVERABLE, HELO_STATIC_HOST, FILL_THIS_FORM_FRAUD_PHISH, CHALLENGE_RESPONSE, DKIM_VALID, DKIM_VALID_AU, DKIM_ADSP_*, NML_ADSP_CUSTOM_{LOW,MED,HIGH}, __VIA_ML, MIME_BASE64_TEXT, LOTTO_URI, FORGED_MUA_THEBAT_BOUN, FORGED_MUA_THEBAT_CS, UNRESOLVED_TEMPLATE, __THEBAT_MUA, __ANY_OUTLOOK_MUA, RP_MATCHES_RCVD, one-word X-Mailer, SPAN rules, skype and misquoted-HTML rules, HTML obfuscation and Google feedproxy URI rules, advance_fee updates including further evolved advance fee second-order metarules, test rule for postmaster+abuse missing, FROM_MISSPACED, fixed FROM_CONTAINS_TAB, a Facebook redirector pattern, fixed FPs with TVD_SPACE_RATIO regarding one-word emails and ISO-2022-JP, added exclusion for __ISO_2022_JP_DELIM to OBFUSCATING_COMMENT, GAPPY_SUBJECT, PLING_QUERY and FM_FRM_RN_L_BRACK rules, RATWARE_BOUNDARY plus variant, superseded all previous RATWARE_OUTLOOK stuff, resolved FP in obfuscated URI rule, fixed breakage in tbird image rule, fixed SUBJECT_FUZZY_MEDS FP on unobfuscated "meds", added misspaced From header field rule, numeric+cctld URI rule, updated FH_DATE_PAST_20XX, ... - added PSBL blacklist - http://psbl.surriel.com/ - added support for http://www.spamhaus.org/css/ - replaces HABEAS, BSP and SSC with RP CERTIFIED; - use ReturnPath's RNBL, replacing SSBL; - added rule for plain text attachments with octet-stream MIME type; - avoided false positives on ISO-2022-JP messages in several rules; - removed massmailers from uridnsbl_skip_domain in 25_uribl.cf; - updated various default whitelists, uridnsbl_skip_domain, adsp_override, ... PLUGINS - new plugins: FreeMail, PhishTag, Reuse; - now enabled by default: DKIM; - now disabled by default: AWL; - retired plugin: DomainKeys; AWL PLUGIN - plugin AWL is now disabled by default; - added new configuration options auto_whitelist_ipv4_mask_len and auto_whitelist_ipv6_mask_len to allow more control on what part of an IP address is stored into an AWL database; - README.awl: increased a suggested awl.ip field width to 40 characters to support IPv6 addresses; - AutoWhitelist.pm: allowed storing a canonicalized IPv6 address, cropped to a configurable network mask (previously causing SQL server errors: 'value too long'); - let AWL with SQL keep separate records for DKIM-signed and unsigned mail (when auto_whitelist_distinguish_signed configuration option is true, and a field awl.signedby exists); - avoided a race condition in SQLBasedAddrList.pm when multiple processes try to insert-or-update an awl SQL record: trying INSERT first, and if that fails go for UPDATE; - gracefully handle NaN from corrupted database or a broken emulator or virtualizer; DCC PLUGIN - added support for DCC reputations, added setting dcc_rep_percent, new test check_dcc_reputation_range(), new tag DCCREP (DCC servers supply reputation data only to licensed clients); - allowed usage of a remote dccifd host through an INET or INET6 socket; DKIM PLUGIN - the DKIM plugin is now enabled by default for new installs if the perl module Mail::DKIM is installed. However, installing SpamAssassin will not overwrite existing .pre configuration files, so to use DKIM when upgrading from a previous release that did not use DKIM, the directive: loadplugin Mail::SpamAssassin::Plugin::DKIM will need to be uncommented in file "v312.pre", or added to some other .pre file, such as local.pre; - absolute minimal version of Mail::DKIM is 0.31; support for ADSP requires Mail::DKIM 0.34; a DNS test (and rule) for NXDOMAIN is operational since Mail::DKIM 0.36_5, so effectively the recommended version is Mail::DKIM 0.37 or later; - a perl module Digest::SHA is required if the DKIM plugin is enabled. If a perl module Digest::SHA is available, the module Digest::SHA1 becomes optional as far as SpamAssassin is concerned, but is still needed by Razor agents; - added support for multiple signatures (useful for whitelisting); - plugin now distinguishes author domain signatures from third party signatures (useful for whitelisting); - provides a tag DKIMIDENTITY (in addition to DKIMDOMAIN); - DKIM now supports Author Domain Signing Practices - ADSP (RFC 5617); - use the Mail::DKIM::AuthorDomainPolicy instead of Mail::DKIM::DkimPolicy, when available (since Mail::DKIM 0.34); - implements an 'adsp_override' configuration directive and adds an eval:check_dkim_adsp check, which is used by new DKIM_ADSP_* rules; - rules contain an initial set of 'adsp_override' directives, listing some of the more popular target domains for phishing (applicable only to domains which sign all their direct mail with a DKIM or DK signature); - this plugin can now re-use Mail::DKIM verification results if made available by a caller, which saves resources and makes it possible for SpamAssassin to work on a truncated large mail without breaking DKIM signatures; - check_dkim_signed and check_dkim_adsp eval rules can now take an optional list of domain names, which limits their action to listed domains only. It facilitates building DKIM-based rules for specific domains, without having to resort to meta rules; - draft-ietf-dkim-ssp-10/RFC-5617 made Author Domain Signature based on 'd': updated ADSP code accordingly; changed whitelisting code to be based on SDID ('d') instead of AUID ('i'); - Plugin/DKIM.pm: terminology changes in comments and logging according to RFC 5617 and draft-ietf-dkim-rfc4871-errata-07; BUG FIXES - fixed Rule2XSBody segfaults; - no longer treat user data as perl booleans (a string "0" is a false); - avoid data from the wild be interpreted as perl regular expressions; - ArchiveIterator: prevent _scan_directory from passing directories to _scan_file (on NFS it would fail with EISDIR on read(2); - fixed inserting the SpamAssassin -generated header fields after a multiline Return-Path header field; - fixed vpopmail support; - fixed incorrect mode bits when creating lock files for AWL; - fixed some cases where :addr headers were parsed incorrectly; - fixed leakage of 'whitelist_from_rcvd' entries between spamd users; - fixing run_and_catch, which failed to catch a non-timed run; - 127/8 isn't an illegal IP; - reworked the M::S::Timeout module to deal with nested timers as one would expect: an inner timer shouldn't be able to extend an outer timer's limit; account for time elapsed in the submitted subroutine when restarting an outer timer; reset() should have accounted for time already spent; deal with nested timed runs where alarm(0) does not provide remaining time; - the 'exists:' evaluator in HEADER rules now works as documented and tests for existence of a header field, instead of testing for a header field body being nonempty; internally, the pms->get can also now distinguish between empty and nonexistent header fields; - applied fixes to header fields parsing in several places: header field names are case-insensitive, whitespace is not required after a colon, obsolete rfc822 syntax allowed whitespace before a colon; VBounce: match "Received:" only at the beginning of a line; - fixed bugs 6237 and 6295: 1.0.0.0/8 and 2.0.0.0/8 are now valid allocated address ranges, fixed a corresponding rule RCVD_ILLEGAL_IP; - fixed bug 6205 comment 5 in URIDetail.pm; - 'pyzor_options' in Plugin/Pyzor.pm was not untainted; - made the URIDetail plugin taint safe; - fixed parsing of multi-line Received header fields for BOUNCE_MESSAGE/VBOUNCE_MESSAGE et al; - Bug 6206, Bug 2536: spamd: untaint directory as obtained from a password file or from vpopmail utilities, avoid implicit untainting; report error if user preferences file exists but cannot be accessed; - avoided using raw data from DNS as a regexp in Plugin/ASN.pm; - ensured the dbg() and info() calls always return the same value (true) regardless of log level; - suppressed logging of $& when its value is not available (i.e. when no regexp has been evaluated during rule evaluation); - Exporter never really worked in SA, was not enclosed in BEGIN {}; - masses/runGA and masses/mk-baseline-results: prevent a shell 'source' command from loading an unrelated file named 'config' which happens to be in the current PATH - must use a ./ in an arg to a 'source' command; ERROR HANDLING, ROBUSTNESS - improved error detection and reporting: test status of all system calls and I/O operations (or explicitly document where not), and report unexpected failures; - eval calls now check for eval result instead of testing the $@@, which is not always reliable; - localized $@@ and $! in DESTROY methods to prevent potential calls to eval and calls to system routines in code executed from a DESTROY method from clobbering global variables $@@ and $!; - Util::helper_app_pipe_open_unix: contain a failing exec with an eval to prevent additional cases of process cloning. The exec could fail this way when given tainted arguments; - Util::helper_app_pipe_open_unix: flush stdout and stderr before forking, otherwise an error reported by exec (such as 'insecure dependency') was lost in a buffer; - eval-protected an open($fh,'-|') to capture implied fork failures due to lack of system resource; - explicit untainting: combine "use re 'taint'" with untaint_var(), avoiding implicit perl untainting, along with workarounds to prevent it; - added 'use strict' where missing; - avoided a bunch of warnings on "Use of uninitialized value"; - clearly report reasons for helper application process failures; - t/SATest.pm: provide information about the process failure reason if a system() call fails; improved its reporting of failures; - improved error reporting in Plugin/DCC.pm on finding a DCC home directory to facilitate troubleshooting; OTHER CHANGES - pseudoheader "ALL:raw" returns a pristine header section, and pseudoheader "ALL" returns a cleaned header section - total rewrite of URI detection in plain text body; - many updates to the list of top level domains; - added 'util_rb_3tld', allowing 3-level TLDs to be listed in URIBLs and allowing new 3TLDs to be added from rule updates; - avoided trusted_networks bog down due to O(n^2) loop with millions of entries; - applied fixes to Plugin/VBounce.pm, updated VBounce ruleset; - added support for a 'Communigate Pro' Received header field; - parse Communigate Pro "with HTTPU" auth token; - let DependencyInfo.pm understand a concept of recommended module version, besides a required version; - provided a workaround for Net::DNS::Packet::new inconsistency; - let SpamAssassin use either Digest::SHA or Digest::SHA1, whichever is available (the Digest::SHA is now a base module since perl 5.10.0); - improved parsing of eval-type rules: allow unquoted domain names as arguments, disallow unmatched quotes; - provided a new module Mail::SpamAssassin::BayesStore::BDB. It should be treated as alpha-quality (needs more testing) and is not yet ready for production use; - exposed existing function 'received_within_months' as an eval function in Plugin/HeaderEval.pm; - moved rc script to /var/lock/subsys/spamd instead of /var/lock/subsys/spamassassin so 'service spamd status' will work; - added feature to re-download MIRRRORED.BY files at least once a week, or if 'sa-update --refreshmirrors' switch is used; - input delimiter $/ can be corrupted by a plugin, localize $/ and $\ before calling a plugin; - bumped the retry counter to 180 seconds for starting spamd on slow machines; - resolved Bug 5325: syslog severity level in spamc/libspamc.c for max message size (changed LOG_ERR into LOG_NOTICE for the message: "skipped message, greater than max message size"); - added checker to avoid taint warnings if hostname is returned as '(none)'; - altered sa-update to produce an error message if a channel doesn't exist; - Bug 6150, Bug 6127, Bug 5981, Bug 5950, Bug 6191: let spamd log/report a child process exit status or aborting condition in an informative way; - added checker to detect accidental match-everything regexps in rules; - updated garescorer for 3.3.0: use more epochs in GA runs for better scores; clarify some mass-check warning output, ensure rule name always appears at start of line; if a rule had no default/existing score in 50_scores.cf, don't tell the GA that 1.0 is an appropriate default value, instead pick the midway point of its score range. this produces better results; remove some dead code from masses/score-ranges-from-freqs; - set garescorer.c to report performance as iterations per second; - added test to ensure that all config settings are correctly handled when switching between users; added more config setting type metadata to enable those tests to work; and fix URIDetail to store config on the {conf} object, not on the plugin; - moved 'release tests' to xt/ directory; mirror long-running, net-tests and stress tests with xt/50_testname.t scripts to enforce their run before a release; - made numerous additional and updated self-tests; - added a Test::Perl::Critic release-test; - cleaned up some code based on suggestions by perl module Test::Perl::Critic, among others: . enable TestingAndDebugging::ProhibitNoStrict test but allow the use of 'no strict "refs"'; . deal with BuiltinFunctions::RequireGlobFunction; . deal with ControlStructures::ProhibitMutatingListFunctions removing this exception from xt/60_perlcritic.t; . deal with BayesStore/BDB.pm, Variables::ProhibitConditionalDeclarations . now that the module Time::HiRes is a required module, we can afford to replace a select() with Time::HiRes::sleep, and remove exception BuiltinFunctions::ProhibitSleepViaSelect from xt/60_perlcritic.t; - updated documentation, fixing numerous typos and mistakes in documentation text and in log messages; - extensively improved development process: . automated testing through Hudson, a continuous integration tool; . improved mass-check system and rules oversight; @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.96 2010/01/02 03:48:40 heinz Exp $ d5 1 @ 1.96 log @Added fix for bad rule FH_DATE_PAST_20XX, triggering for every message since 2010-01-01. Ok by agc@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.95 2009/06/14 22:58:04 joerg Exp $ d3 2 a4 3 DISTNAME= Mail-SpamAssassin-3.2.5 PKGNAME= spamassassin-3.2.5 PKGREVISION= 4 d8 5 d24 12 a35 1 DEPENDS+= p5-Net-DNS>=0.34:../../net/p5-Net-DNS d37 4 a40 1 DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1 d42 1 a43 5 DEPENDS+= p5-Archive-Tar>=1.23:../../archivers/p5-Archive-Tar DEPENDS+= p5-IO-Compress-[0-9]*:../../devel/p5-IO-Compress DEPENDS+= p5-IO-Zlib>=1.04:../../devel/p5-IO-Zlib DEPENDS+= gnupg-[0-9]*:../../security/gnupg DEPENDS+= p5-DB_File-[0-9]*:../../databases/p5-DB_File a46 1 d62 2 a63 2 PLIST_ADD= ${WRKSRC}/.PLIST_ADD PLIST_SRC= ${PKGDIR}/PLIST ${PLIST_ADD} d69 1 a69 1 BUILD_DIRS= . d81 2 d85 2 d97 1 a97 1 PRE_FILES= init.pre v310.pre v312.pre v320.pre d102 1 a102 1 ${RULESDIR}/user_prefs.template \ d114 1 d127 1 d135 1 d159 1 a159 1 FILES_SUBST+= INTERPRETER_SUPPORT=${INTERPRETER_SUPPORT:Q} d167 1 a167 1 # values will be set via the SUBST framework in options.mk d171 1 a171 1 ${TEST} -r ${PLIST_ADD} && ${RM} ${PLIST_ADD} ; : d174 1 a174 1 ${ECHO} "${DOC_SUBDIR}/${f}" >> ${PLIST_ADD} a177 3 for f in [0-9]*.cf; do \ ${ECHO} "${RULE_SUBDIR}/$$f" >> ${PLIST_ADD}; \ done; \ d180 1 a180 1 ${ECHO} "${EG_SUBDIR}/$$f" >> ${PLIST_ADD}; \ d186 6 @ 1.95 log @Remove @@dirrm related logic. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.94 2009/05/19 08:59:22 wiz Exp $ d5 1 a5 1 PKGREVISION= 3 @ 1.94 log @Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT block). Uncomment some commented out LICENSE lines while here. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.93 2009/04/11 23:15:20 sno Exp $ a168 3 set -e ; { for d in ${SA_INSTALLDIRS}; do \ ${ECHO} "@@dirrm $$d"; \ done; } | ${SORT} -r >> ${PLIST_ADD}; @ 1.93 log @PkgSrc changes: - removed packages p5-IO-Compress-Base, p5-IO-Compress-Zlib, p5-IO-Compress-Bzip2 and p5-Compress-Zlib because they are merged into p5-IO-Compress - Updated dependend packages to depend on p5-IO-Compress and bump PKGREVISION Upstream changes: 2.017 30 March 2009 * Merged IO-Compress-Base, IO-Compress-Bzip2, IO-Compress-Zlib & Compress-Zlib into IO-Compress. * The interface to Compress-Raw-Zlib now uses the new LimitOutput feature. This will make all of the zlib-related IO-Compress modules less greedy in their memory consumption. * Removed MAN3PODS from Makefile.PL * A few changes to get the test harness to work on VMS courtesy of Craig. A. Berry. * IO::Compress::Base & IO::Uncompress::Base Downgraded some croaks in the constructors to just set $! (by letting the code attempt to open a file and fail). This makes the behavior more consistent to a standard open. [RT #42657] * IO::Uncompress::Base Doing a seek with MultiStream could drop some of the uncompressed data. Fixed. * IO::Compress::Zip - Fixed problem with the uncompressed & uncompressed fields when zip64 is enabled. They were set to 0x0000FFFF instead of 0xFFFFFFFF. Also the ZIP64 extra field was 4 bytes short. Problem spotted by Dino Chiesa. * IO::Uncompress::Unzip - use POSIX::mktime instead of Time::Local::timelocal to convert the zip DOS time field into Unix time. * Compress::Zlib - Documented Compress::Zlib::zlib_version() @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.92 2009/03/07 13:25:19 seb Exp $ d13 1 a13 2 #LICENSE= apache-2.0 @ 1.92 log @Bump PKGREVISION to 2. Change dependency on the soon to be removed net/p5-INET6 to the identical net/p5-IO-Socket-INET6 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.91 2009/02/18 11:02:59 abs Exp $ d5 1 a5 1 PKGREVISION= 2 d27 1 a27 1 DEPENDS+= p5-Compress-Zlib-[0-9]*:../../devel/p5-Compress-Zlib @ 1.91 log @Use INSTALLATION_DIRS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.90 2008/11/14 22:51:52 joerg Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.90 log @Give configuration files back to root and turn user-destdir on again. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.89 2008/10/19 19:18:20 he Exp $ d143 2 a152 3 .for dir in ${SA_INSTALLDIRS} ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${dir} .endfor @ 1.89 log @Bump the PKGREVISION for all packages which depend directly on perl, to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.88 2008/06/22 22:41:01 heinz Exp $ d16 1 a16 1 PKG_DESTDIR_SUPPORT= destdir d107 1 a107 1 OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/sa-update-keys ${SHAREOWN} ${SHAREGRP} 0700 @ 1.88 log @Updated to version 3.2.5. Pkgsrc changes: - p5-DB_File is now required on all systems, even those where Perl already detects the native db-functions (dbopen,...) and thus provides DB_File. This should prevent subtle errors like the one in PR pkg/37751 at the price of installing an additional package. - Added explanation to patch-ay. - patch-bc was adapted to the changes for the path of compiled rulesets. - patch-bd is no longer necessary, the public key is now cross-verified. - shut up some warnings from pkglint regarding "set -e" and quoted variables. Changes since version 3.2.4: ============================ 3.2.5 is a minor bug-fix release. Summary of changes: - bug 5775: newer gpg versions require keys to be cross-certified (backsig). Did a cross-verify on our sa-update public key and re-exported. (If you are already seeing "GPG validation failed" errors from sa-update, see http://wiki.apache.org/spamassassin/SaUpdateKeyNotCrossCertified .) - bug 5899: add perl version string to the storage area for compiled rulesets, to avoid crashes when perl is upgraded between major versions (e.g perl 5.8.x to 5.10.0) and the ABI breaks - bug 5496, bug 5910: clear some FORGED_MUA_OUTLOOK false positives, particularly on the new-format Message-ID generated by the Outlook Express version used in Windows XP service pack 3 - bug 5730: when using Postgres >= 8.1.0 with Bayes, this error occurs: 'WARNING: nonstandard use of \ in a string literal at character'. fix, thanks to Tomasz Ostrowski - bug 5769: fix 'sa-compile: eval failed: Can't find label NO' error, caused in rare circumstances when sa-compile attempted to deal with rules written using 'replace_rules' features - bug 5858: fix circular reference memory leak caused by some messages - bug 5815: update 2TLD list to include .rs CCTLD - bug 4706: remove HG_HORMOME rules due to poor performance - bug 5835: typo in POD docs for SPF plugin; thanks to Benny Pedersen for fix - bug 5839: a missing or failed eval rule function could mistakenly count as a rule hit, fixed - trivial bugfix for the VBounce ruleset: __BOUNCE_FROM_DAEMON incorrectly used + instead of *, so some From addresses were not being recognised as bounce senders @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.87 2008/05/20 05:42:46 ghen Exp $ d5 1 @ 1.87 log @Update sa-update PGP key to fix GnuGP 1.4.9 "cross-certified" error (see http://wiki.apache.org/spamassassin/SaUpdateKeyNotCrossCertified). Bump PKGREVISION. Ok with pkgsrc-security. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.86 2008/01/18 05:08:30 tnn Exp $ d3 2 a4 3 DISTNAME= Mail-SpamAssassin-3.2.4 PKGNAME= spamassassin-3.2.4 PKGREVISION= 2 d29 1 a32 3 .if (${OPSYS} != "NetBSD") && (${OPSYS} != "DragonFly") DEPENDS+= p5-DB_File-[0-9]*:../../databases/p5-DB_File .endif d34 1 a34 1 CONFLICTS= p5-Mail-SpamAssassin-[1-9]* d54 1 a54 1 CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} d140 1 a140 1 FILES_SUBST+= OPSYS=${OPSYS:Q} d158 1 a158 1 cd ${WRKSRC}/rules; \ d163 2 a164 2 ${INSTALL_DATA} $$f ${DESTDIR}${EGDIR} && \ ${ECHO} ${EG_SUBDIR}/$$f >> ${PLIST_ADD}; \ d170 1 a170 1 { for d in ${SA_INSTALLDIRS}; do \ @ 1.86 log @Per the process outlined in revbump(1), perform a recursive revbump on packages that are affected by the switch from the openssl 0.9.7 branch to the 0.9.8 branch. ok jlam@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.85 2008/01/09 19:09:22 heinz Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.85 log @Corrected name of Apache license. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.84 2008/01/09 15:55:51 heinz Exp $ d5 1 @ 1.84 log @Updated to version 3.2.4. Pkgsrc changes: - Due to "user-destdir" mode not working yet switched to "destdir" mode for the time being. - Explicitly listed licence information. - Listed submitted bug identifiers for patch-ba and patch-bc. Changes since version 3.2.3: ============================ 3.2.4 is a major bug-fix release, with a few minor new features. Summary of changes: - bug 5599: allow load distribution of SA nameserver queries across all nameservers listed in resolv.conf, using 'dns_options rotate'. thanks to Pawel Sasin - bug 5673: 'ALL' header was including spurious extra spaces between header names and values. fix - bug 5594: several major sa-compile fixes. major increase in overall speed; cache results between runs to further increase speed; and fix a danger of massive memory usage - bug 5556: fix a variety of sa-compile portability issues, and support for 5.6.x perls - bug 5514: make 'score set for a non-existent rule' a debug message, instead of a lint warning, since it's a very frequent FAQ - bug 5493: sa-compile fails to correctly deal with escaped backslashes. fix - bug 5672: remove DNS_FROM_SECURITYSAGE (DNSBL lookups against securitysage.com) due to unreliability - bug 5476: update Bonded Sender (now Sender Score Certified) rules, and add a rule for their strictly-confirmed-opt-in-required zone - bug 5538: remove FORGED_MUA_AOL_FROM and FORGED_AOL_TAGS entirely; they're obsolete, given the current capabilities of AOL mail user agents - bug 5632: remove all completewhois.com DNSBL lookups, site seems to have disappeared without warning - bug 5715: allow for more than one sa-update MIRRORED.BY file host in DNS, for redundancy - bug 5662: DKIM changes: recognize author signature and multiple signatures for whitelisting (with Mail::DKIM 0.29); disable useless "check_dkim_signsome"; new eval rules "check_dkim_valid_author_sig" and "check_dkim_valid" (an alias for a "check_dkim_verified" misnomer); new tags _DKIMIDENTITY_ and _DKIMDOMAIN_; updated terminology; verification speedup with Mail::DKIM 0.30 (or its pre-releases) - bug 5696: sa-compile: cut regexp base strings at Unicode high codepoints, to avoid corruption of patterns containing UTF-8 - bug 5637: bayes_file_mode is handled incorrectly when creating bayes.mutex, resulting in incorrect permissions on that file; fix by Mihaly Barasz - bug 5612: DB_File version 4.2.x has a bug that loops infinitely if files named '__db.{filename}' are present; work around. thanks to J. Nick Koston for the report and fix - bug 5606: too-early init_learner() call causes root's user prefs file to be read when spamd is started; this is inappropriate. fix - bug 4179: if allow_user_rules is 1, user rules are not unique to each user; one user's user rules can appear in later scans for other users that are run using the same spamd process. fix - bug 5680: ALL_TRUSTED can fire if a trusted MSA or webmail system receives the message from an untrusted X-Originating-IP: header. fix - bug 5626: in the 'spamassassin' script, install a signal handler for SIGHUP, SIGINT, SIGTERM and SIGPIPE to ensure that temporary files are removed - bug 5557: some temporary files are left not cleaned up on Windows; fix - bug 5661: speed up Bayes SQL queries by allowing the use of indexes when expiring - bug 5611: support 'spamd --nouser-config -u username', which setuids to 'username' but does not read user_prefs files from anywhere - bug 5665: spamd may fail to notice that a child has completed exiting, and keeps in the child list in state 'K', eventually filling up the child list with 'ghost' children. fix - bug 5735: spamc should allow retry_sleep 0 - bug 5728: spamd: require -u with --sql-config or --ldap-config - bug 5682: remove FH_HOST_ALMOST_IP, FH_HOST_EQ_D_D_D_D, due to false positives and redundancy with RDNS_DYNAMIC; remove FH_HOST_EQ_D_D_D_DB due to no hits - bug 5681: look up IP addresses found in 'X-Yahoo-Post-IP' and 'X-SenderIP' headers, too, thanks to Martin Blapp - Bug 5589: Refined async events handling and DNS lookup completions - bug 5586: RDNS_NONE has false positives if the MTA doesn't put the hostname in the Received header, like Communigate Pro. add an exception for this - bug 5748: fix locale problem with use of external sort in sa-compile @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.83 2007/08/26 17:26:50 heinz Exp $ d13 1 a13 1 #LICENSE= apache-license-2.0 @ 1.83 log @Updated to version 3.2.3. Pkgsrc changes: - Added security/gnupg as a required package. Without it, sa-update does not work. - Added requirement for p5-INET6 which may be needed for IPv6 nameservers. Until now, this only worked because p5-Net-DNS already pulled in this package. - New option "inet6" (enabled by default) for switching off the requirement for p5-INET6. - Got rid of some backslashes in options.mk - patch-ba and patch-bc correct discrepancies between the man page and the code. Additionally, they adapt hard-coded paths to the actual installation. Submitted upstream. Relevant changes since version 3.2.1: ===================================== 3.2.3 is a major bug-fix release. Summary of changes: - bug 5574: fix new setuid code to work with perl 5.6.1, and to support DCC and Pyzor in all releases of perl - bug 5107: change default 'user_scores_ldap_username' to be the null string, allowing anonymous binding; fix 'schema' syntax error in LDAP config support - zeroing an 'eval' rule's score did not stop it running. fix, thanks to Richard Birkett - bug 5571: allow for new message ID format we have seen from Vista or Windows 2003 Server MAPI to avoid false positives - bug 5397: RDNS_DYNAMIC should never fire on a PTR with 'static' in it; thanks to Martin Blapp . bug 5563: RDNS_DYNAMIC rules use order-dependent fields where it is unsafe to depend on this, fix. bug 5564: __RDNS_DYNAMIC_IPADDR does not hit all of its test patterns, fix. - bug 5475: fix FORGED_MUA_AOL_FROM to allow <*@@{aol,cs}.*> addresses instead of just <*@@{aol,cs}.com> 3.2.2 is a minor bug-fix release. Summary of changes: - bug 5548: Certain mail input can take a long time to scan with 100% CPU utilisation, due to backtracking in a rule's regexp. fix - bugs 5510, 5518, 5529: fix 'make test' when running as root, needed for CPAN - bug 5419: kill -HUP of pidof spamd causes the ps name to change from spamd to perl. fixed - bug 5535: 'make test' errors in Windows caused by nonportable use of getpwuid - bug 5462: multiple DNS records for a host name should allow use of spamd -H for load balancing installs to work - bugs 5509, 5511: fix network lookup timeouts, where lookups were being lost once a timeout was hit; also fix code to match documentation on rbl_timeout's scaling and minimum duration of 1 second; and attempt to collect already-received DNS responses when the timeout is reached; improve related debugging output. Thanks to Mark Martinec - bugs 5412, 5478, 5522: Fix problems using the spamc -x option with certain other options; 'spamc -x -R' always returned 0, instead of the exit code, on error. Bug 5478: in addition, 'spamc -x -e /command' would still run the command, even if errors meant that the filtered text would be unavailable, which contradicted -x. - bug 5445: body eval tests defined in user_rules cause ugly 'Subroutine _eval_tests_type11_prineg400_set3 redefined' warnings - bug 5355: add in new entries for RegistrarBoundaries - bug 5515: libsslspamc.so & libsslspamc.so can not build without -fPIC, but we were picking up the wrong CFLAGS to do this. - bug 5501: zero score for FH_HAS_XID - bug 5449: allow_user_rules causes sa-compile / Rule2XSBody plugin to emit spurious warnings; fix. also, add a new 'user_conf_parsing_end' plugin hook, which is called after the per-user configuration is parsed - bug 5182: update the sa-learn doc to mention that -u is only usable w/ sql - bug 5534: fix harmless-but-ugly C compiler warning in sa-compile @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.82 2007/08/23 12:39:17 joerg Exp $ d3 2 a4 2 DISTNAME= Mail-SpamAssassin-3.2.3 PKGNAME= spamassassin-3.2.3 d13 3 a15 1 PKG_DESTDIR_SUPPORT= user-destdir @ 1.82 log @Full DESTDIR supports works fine. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.81 2007/06/12 21:43:30 heinz Exp $ d3 2 a4 2 DISTNAME= Mail-SpamAssassin-3.2.1 PKGNAME= spamassassin-3.2.1 d26 1 @ 1.81 log @Updated to version 3.2.1. Pkgsrc changes: - Added some comments to patch files. - Adapting patch-aq to changes in the README file. - Added forgotten direct requirement for p5-Compress-Zlib. - Since 3.2.0 at least version 3.43 of p5-HTML-Parser is needed. - Installation to DESTDIR is possible as root. - Substituted correct paths in spamc.pod (source file for spamc.1). - Added VARBASE to BUILD_DEFS to silence pkglint warnings. Changes since version 3.2.0: ============================ 3.2.1 is a major bug-fix release, including a potential local DoS. The major highlights are: - bug 5480: fix for CVE-2007-2873: a local user symlink-attack DoS vulnerability. It only affects systems where spamd is run as root, is used with vpopmail or virtual users via the "-v"/"--vpopmail" OR "--virtual-config-dir" switch, AND with the "-x"/"--no-user-config AND WITHOUT the "-u"/"--username" switch AND with the "-l"/"--allow-tell" switch. This is not default on any distro package, and is not a common configuration. More details of the vulnerability can be read at . - bug 5488: zero some rules causing false positives: FH_HOST_EQ_D_D_D_DB and FH_HOST_EQ_D_D_D_D. - bug 5257: re-raise autolearn ham threshold to 1.0; the lower value used in 3.2.0 was creating problems. - bug 5422: in spamd, deleting hash entries from the SIGCHLD signal handler is unsafe, causes corruption of the data structure, and results in 'prefork: ordered child N to accept, but they reported state '1', killing rogue' errors. fix. - bug 5102: tighten up regexp for FORGED_HOTMAIL_RCVD to avoid some FPs. - bug 5457: spamc build and test should handle not having zlib available. - bug 5379: spamd could crash at startup if its preloading temporary directory already exists. fix. - bug 4616: spamc config can cause command line options to be ignored. fix. - bug 5485: zero score DK/DKIM_POLICY_SIGNSOME rules since they'll always fire due to defaults (unless there's an explicit SIGNALL policy). - bug 5492: VBounce rule was looking in header instead of body for whitelisted relays. fix. - bug 5487: prevent multiple "urirhssub"s using the same zone from overwriting each other. - bug 5432 - Change default in Win32 build to not build spamc. - bug 5446: add --updatedir option to sa-compile and remove inaccurate re2c required version info from pod. - bug 5436: add omitted "ifplugin" statements to the configuration, which would otherwise cause lint errors if the default plugins were disabled. - bug 5477: prevent Rule2XSBody info message from appearing on stderr during spamd startup. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.80 2007/05/02 15:20:45 heinz Exp $ d13 1 a13 1 PKG_DESTDIR_SUPPORT= destdir @ 1.80 log @Updated to version 3.2.0. Pkgsrc changes: - Removed PKG_DESTDIR_SUPPORT until the issue with encoded ownership in +INSTALL files is resolved. - made pkglint shut up about some warnings (CONFIGURE_DIRS, BUILD_DIRS, hidden commands with @@) - parse-rules-for-masses has moved in the source archive. - The directories "masses" and "tools" are no longer distributed in the archive so I simplified the post-install target. - Since "tools" is gone, the post-extract: target is obsolete. - MESSAGE now points at sa-compile. - Spamc depends on zlib now, so we needed the appropriate buildlink3 file. Summary of changes since version 3.1.8: ======================================= * new behavior for trusted_networks/internal_networks: the 127.* network is now always considered trusted and internal, regardless of configuration. * bug 3109: short-circuiting of 'definite ham' or 'definite spam' messages based on individual short-circuit rules using the 'shortcircuit' setting, by Dallas Engelken . * bug 5305: implement 'msa_networks', for ISPs to specify their Mail Submission Agents, and extend network trust accordingly. * bug 4636: Add support for charset normalization, so rules can be written in UTF-8 to match text in other charsets. * sa-compile: compilation of SpamAssassin rules into a fast parallel-matching DFA, implemented in native code. * "tflags multiple": allow writing of rules that count multiple hits in a single message. * bug 4363: if a message uses CRLF for line endings, we should use it as well, otherwise stay with LF as usual; important for Windows users. * bug 4515: content preview was omitting first paragraph when no Subject: header was present. * The third-party modules used by sa-update are now required by the SpamAssassin package, instead of being optional. * Bug 5165: 'sa-update --checkonly' added to check for updates without applying them; thanks to * Bugs 4606, 4609: Adjust MIME parsing limits for nested multipart/* and message/rfc822 MIME parts. * bug 5295: add 'whitelist_auth', to whitelist addresses that send mail using sender-authorization systems like SPF, Domain Keys, and DKIM * Removed dependency on Text::Wrap CPAN module. * Received header parsing updates/fixes/additions. Spamc / spamd: * bug 4603: Mail::SpamAssassin::Spamd::Apache2 -- mod_perl2 module, implementing spamd as a mod_perl module, contributed as a Google Summer of Code project by Radoslaw Zielinski. * bug 3991: spamd can now listen on UNIX domain, TCP, and SSL sockets simultaneously. Command-line semantics extended slightly, although fully backwards compatibly; add the --ssl-port switch to allow TCP and SSL listening at the same time. * bug 3466: do Bayes expiration, if required, after results have been passed back to the client from spamd; this helps avoid client timeouts. * more complete IPv6 support. * spamc: Add '-K' switch, to ping spamd. * spamc: add '-z' switch, which compresses mails to be scanned using zlib compression; very useful for long-distance use of spamc over the internet. * bug 5296: spamc '--headers' switch, which scans messages and transmits back just rewritten headers. This is more bandwidth-efficient than the normal mode of scanning, but only works for 'report_safe 0'. * Bump spamd's protocol version to 1.4, to reflect new HEADERS verb used for '--headers'. Mail::SpamAssassin modules and API: * bug 4589: allow M::SA::Message to use IO::File objects to read in message (same as GLOB). * bug 4517: rule instrumentation plugin hooks, to measure performance, from John Gardiner Myers . * add two features to core rule-parsing code; 1. optional behaviour to recurse through subdirs looking for .cf/.pre's, to support rules compilers working on rulesrc dir. 2. call back into invoking code on lint failure, so rule compiler can detect which rules exactly fail the lint check. * bug 5206: detect duplicate rules, and silently merge them internally for greater efficiency. * bug 5243: add Plugin::register_method_priority() API, allowing plugins to control the relative ordering of plugin callbacks relative to other plugins' implementations. * Reduced memory footprint. Plugins: * bug 5236: Support Mail::SPF replacement for Mail::SPF::Query. * bug 5127: allow mimeheader :raw rules to match newlines and folded-header whitespace in MIME header strings. * bug 4770: add ASN.pm plugin, contributed by Matthias Leisi * bug 5271: move ImageInfo ruleset into 3.2.0 core rules, thanks to Dallas Engelken . * VBounce ruleset and plugin: detect spurious bounce messages sent by broken mail systems in response to spam or viruses. (Based on Tim Jackson's "bogus-virus-warnings.cf" ruleset.) * DomainKeys/DKIM: Mail::DKIM is now preferred over Mail::DomainKeys, since the latter module is no longer actively maintained, and Mail::DKIM can handle both DomainKeys and DKIM signatures. * DKIM: separate signature verification from fetching a policy: can save a DNS lookup for each unverified message by setting score to 0 for all policy-related rules (DKIM_POLICY_SIGNALL, DKIM_POLICY_SIGNSOME, and DKIM_POLICY_TESTING). (thanks to Mark Martinec) * DKIM: support testing flags in the public key, as well as in the policy record. (thanks to Mark Martinec) * DKIM: skip fetching a policy (SSP) if a signature does verify, according to draft-allman-dkim-ssp-02 (thanks to Mark Martinec) * Move rule functionality and checking into separate Check plugin, allowing third parties to implement alternative scanner core algorithms. * core EvalTests code moved into various plugins. * Plus lots of miscellaneous bug fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.79 2007/02/15 21:43:43 heinz Exp $ d3 2 a4 2 DISTNAME= Mail-SpamAssassin-3.2.0 PKGNAME= spamassassin-3.2.0 d13 1 d19 1 a19 1 DEPENDS+= p5-HTML-Parser>=3.31:../../www/p5-HTML-Parser d24 1 d46 1 d112 1 d117 1 a117 1 SUBST_FILES.sa3+= spamc/README.qmail @ 1.79 log @Updated to version 3.1.8. Pkgsrc changes: - some cleanup of the Makefile to shut up a few pkglint notes and warnings (USE_TOOLS, SUBST_CLASSES). Changes since version 3.1.7: ============================ 3.1.8 is a major bug-fix release, including a potential DoS. The major highlights are: - bug 5318: fix for CVE-2007-0451: possible DoS due to incredibly long URIs found in the message content. - bug 5240: disable perl module usage in update channels unless --allowplugins is specified - bug 5288: files with names starting/ending in whitespace weren't usable - bug 5056: remove Text::Wrap related code due to upstream issues - bug 5145: update spamassassin and sa-learn to better deal with STDIN - bug 5140 and 5179: improvements and bug fixes related to DomainKeys and DKIM support - several updates for Received header parsing - several documentation updates and random taint-variable related issues @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.78 2007/02/08 09:30:27 ghen Exp $ d3 2 a4 2 DISTNAME= Mail-SpamAssassin-3.1.8 PKGNAME= spamassassin-3.1.8 a13 1 PKG_DESTDIR_SUPPORT= user-destdir d51 2 a52 2 CONFIGURE_DIRS= ${WRKSRC}/spamc BUILD_DIRS= ${WRKSRC} d57 1 a57 1 REPLACE_PERL+= masses/parse-rules-for-masses d76 1 a76 1 PRE_FILES= init.pre v310.pre v312.pre d84 16 a99 2 INSTALLATION_DIRS+= ${EG_SUBDIR} ${DOC_SUBDIR} ${DOC_SUBDIR}/spamc\ ${DOC_SUBDIR}/spamd ${RULE_SUBDIR} d112 6 a117 6 SUBST_FILES.sa3= INSTALL UPGRADE USAGE ldap/README \ spamc/README.qmail \ lib/Mail/SpamAssassin/Conf.pm \ lib/Mail/SpamAssassin/Plugin/Test.pm \ spamd/README spamd/README.vpopmail sql/README \ sql/README.awl sa-update.raw a136 4 post-extract: @@# correct bad SA permissions @@${CHMOD} a+x ${WRKSRC}/tools/convert_awl_dbm_to_sql d138 4 a141 4 @@# GNU configure needs version.h -> create it @@cd ${WRKSRC}/spamc && ${PERL5} ./version.h.pl @@# values will be set via the SUBST framework in options.mk @@${CP} ${WRKSRC}/t/config.dist ${WRKSRC}/t/config d144 3 a146 8 @@${TEST} -r ${PLIST_ADD} && ${RM} ${PLIST_ADD} ; : .for f in INSTALL LICENSE README TRADEMARK UPGRADE USAGE \ CREDITS PACKAGING STATUS BUGS Changes \ spamc/README.qmail \ sample-nonspam.txt sample-spam.txt spamd/README \ spamd/README.vpopmail @@${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}/${f} @@${ECHO} "${DOC_SUBDIR}/${f}" >> ${PLIST_ADD} d148 3 a150 4 .for f in STATISTICS-set0.txt STATISTICS-set1.txt STATISTICS-set2.txt \ STATISTICS-set3.txt @@${INSTALL_DATA} ${WRKSRC}/rules/${f} ${DESTDIR}${DOCDIR} @@${ECHO} "${DOC_SUBDIR}/${f}" >> ${PLIST_ADD} d152 2 a153 22 .for dir in masses sql ldap tools @@cd ${WRKSRC}; \ for d in `${FIND} ${dir} -type d -print`; do \ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}/$$d; \ done; \ for f in `${FIND} ${dir} -type f -print`; do \ if ${TEST} -x $$f ; then \ ${SED} -e "1s,#!.*/bin/perl,#!${PERL5}," < $$f \ > $${f}.fixed && \ ${MV} $${f}.fixed $$f && \ ${CHMOD} +x $$f && \ ${INSTALL_SCRIPT} $$f ${DESTDIR}${DOCDIR}/$$f; \ else \ ${INSTALL_DATA} $$f ${DESTDIR}${DOCDIR}/$$f; \ fi; \ ${ECHO} "${DOC_SUBDIR}/$$f" >> ${PLIST_ADD}; \ done; \ { for d in `${FIND} ${dir} -type d -print`; do \ ${ECHO} "@@dirrm ${DOC_SUBDIR}/$$d"; \ done; } | ${SORT} -r >> ${PLIST_ADD}; .endfor @@cd ${WRKSRC}/rules; \ d158 1 a158 1 ${INSTALL_DATA} $$f ${DESTDIR}${EGDIR} && \ d161 5 a165 8 @@# examples are in the static PLIST @@${INSTALL_DATA} ${WRKSRC}/procmailrc.example ${DESTDIR}${EGDIR} @@${INSTALL_DATA} ${WRKSRC}/rules/local.cf ${DESTDIR}${EGDIR} @@${INSTALL_DATA} ${FILESDIR}/netbsd_lists.cf ${DESTDIR}${EGDIR} @@${CHOWN} ${SHAREOWN} ${DESTDIR}${RULESDIR}/* @@${CHGRP} ${SHAREGRP} ${DESTDIR}${RULESDIR}/* @@${CHMOD} a=r ${DESTDIR}${RULESDIR}/* @@{ for d in ${INSTALLATION_DIRS}; do \ d172 1 a172 1 @@${CP} ${WRKSRC}/rules/init.pre ${WRKDIR}/init.pre.notpatched d175 1 a175 1 @@${CP} ${WRKSRC}/rules/init.pre ${WRKDIR}/init.pre.patched d178 1 a178 1 @@${CP} ${WRKDIR}/init.pre.notpatched ${WRKSRC}/rules/init.pre d181 1 a181 1 @@${CP} ${WRKDIR}/init.pre.patched ${WRKSRC}/rules/init.pre d183 1 @ 1.79.2.1 log @Pullup ticket 2111 - requested by heinz security update for spamassassin - pkgsrc/mail/spamassassin/Makefile patch - pkgsrc/mail/spamassassin/distinfo patch Update to SpamAssassin 3.1.9 to fix a denial of service vulnerability. The package has been updated to SpamAssassin 3.2.1 on pkgsrc-HEAD but this major new version will not be pulled up to the stable branch. Changes in Spamassassin 3.1.9: - bug 5480: fix for CVE-2007-2873: a local user symlink-attack DoS vulnerability. It only affects systems where spamd is run as root, is used with vpopmail or virtual users via the "-v"/"--vpopmail" OR "--virtual-config-dir" switch, AND with the "-x"/"--no-user-config AND WITHOUT the "-u"/"--username" switch AND with the "-l"/"--allow-tell" switch. This is not default on any distro package, and is not a common configuration. More details of the vulnerability can be read at . - bug 5353 - meta rule parsing should handle not equal ("!=") syntax. - set the score for URI_TRUNCATED to 0.001. - bug 5337: change the start order for Fedora such that spamd starts before the MTA. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.79 2007/02/15 21:43:43 heinz Exp $ d3 2 a4 2 DISTNAME= Mail-SpamAssassin-3.1.9 PKGNAME= spamassassin-3.1.9 @ 1.78 log @Put rule file updates in ${VARBASE}/spamassassin instead of ${VARBASE}. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.77 2006/11/05 17:15:54 joerg Exp $ d3 2 a4 3 DISTNAME= Mail-SpamAssassin-3.1.7 PKGNAME= spamassassin-3.1.7 PKGREVISION= 1 d26 2 d91 1 a91 2 SUBST_CLASSES+= sa2 sa3 d97 1 @ 1.77 log @DESTDIR support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.76 2006/10/10 18:39:27 heinz Exp $ d5 1 d62 1 a62 1 MAKE_PARAMS+= LOCALSTATEDIR="${VARBASE}" @ 1.77.2.1 log @Pullup ticket 2031 - requested by taca security update for spamassassin - pkgsrc/mail/spamassassin/Makefile 1.78-1.79 - pkgsrc/mail/spamassassin/distinfo 1.43 Module Name: pkgsrc Committed By: ghen Date: Thu Feb 8 09:30:27 UTC 2007 Modified Files: pkgsrc/mail/spamassassin: Makefile Log Message: Put rule file updates in ${VARBASE}/spamassassin instead of ${VARBASE}. Bump PKGREVISION. --- Module Name: pkgsrc Committed By: heinz Date: Thu Feb 15 21:43:43 UTC 2007 Modified Files: pkgsrc/mail/spamassassin: Makefile distinfo Log Message: Updated to version 3.1.8. Pkgsrc changes: - some cleanup of the Makefile to shut up a few pkglint notes and warnings (USE_TOOLS, SUBST_CLASSES). Changes since version 3.1.7: ============================ 3.1.8 is a major bug-fix release, including a potential DoS. The major highlights are: - bug 5318: fix for CVE-2007-0451: possible DoS due to incredibly long URIs found in the message content. - bug 5240: disable perl module usage in update channels unless --allowplugins is specified - bug 5288: files with names starting/ending in whitespace weren't usable - bug 5056: remove Text::Wrap related code due to upstream issues - bug 5145: update spamassassin and sa-learn to better deal with STDIN - bug 5140 and 5179: improvements and bug fixes related to DomainKeys and DKIM support - several updates for Received header parsing - several documentation updates and random taint-variable related issues @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.79 2007/02/15 21:43:43 heinz Exp $ d3 2 a4 2 DISTNAME= Mail-SpamAssassin-3.1.8 PKGNAME= spamassassin-3.1.8 a25 2 USE_TOOLS+= perl d61 1 a61 1 MAKE_PARAMS+= LOCALSTATEDIR="${VARBASE}/spamassassin" d89 2 a90 1 SUBST_CLASSES+= sa2 a95 1 SUBST_CLASSES+= sa3 @ 1.76 log @Updated to version 3.1.7. Pkgsrc changes: - none Changes since version 3.1.6: ============================ 3.1.7 is a "quick-fix" release; it contains only a fix for one bug, introduced accidentally in 3.1.6: - bug 5119: if admins had set rule scores in the site configuration in /etc, sa-update would fail. Back out this change @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.75 2006/10/05 22:18:19 mrg Exp $ d13 3 a31 2 PKG_INSTALLATION_TYPES= overwrite pkgviews d139 1 a139 1 @@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}/${f} d144 1 a144 1 @@${INSTALL_DATA} ${WRKSRC}/rules/${f} ${DOCDIR} d150 1 a150 1 ${INSTALL_DATA_DIR} ${DOCDIR}/$$d; \ d158 1 a158 1 ${INSTALL_SCRIPT} $$f ${DOCDIR}/$$f; \ d160 1 a160 1 ${INSTALL_DATA} $$f ${DOCDIR}/$$f; \ d173 1 a173 1 ${INSTALL_DATA} $$f ${EGDIR} && \ d177 6 a182 6 @@${INSTALL_DATA} ${WRKSRC}/procmailrc.example ${EGDIR} @@${INSTALL_DATA} ${WRKSRC}/rules/local.cf ${EGDIR} @@${INSTALL_DATA} ${FILESDIR}/netbsd_lists.cf ${EGDIR} @@${CHOWN} ${SHAREOWN} ${RULESDIR}/* @@${CHGRP} ${SHAREGRP} ${RULESDIR}/* @@${CHMOD} a=r ${RULESDIR}/* @ 1.75 log @update this to spamassassin 3.1.6. changes include: bug 5044: include local site config in sa-update lint checks bug 5048: --lint should not use network rules or AWL bug 5081: sometimes, SIGHUPing spamd would leave one child process still alive due to a race in the SIGHUP handler and the preforking code. fixed bug 5040: if in no-net scoreset, don't warn about net rules being zero-score dependencies of meta rules bug 5105: M::SA::Client doesn't always catch failed connection to spamd, fixed bug 5094: check for unit'd value used in AntiVirus.pm bug 5089: enable adding headers with single digit zero value bug 5077: fix false SPF_SOFTFAIL's when SPF queries timeout bug 5080: fix bug in update RCVD_ILLEGAL_IP evaltest to properly deal with 127/8 fix bug 5111: fix FORGED_JUNO_RCVD FP on webmail from untd.com's own systems bug 4940: _get_date_header_time() should try dates one at a time not all dates joined together bug 5098: add support for ecelerity Received headers, thanks to Joe Schaefer bug 4975: (trivial) avoid use of unit'd value in prefork warning message bug 4418: remove no longer useful HTML_WEB_BUGS and HTML_LINK_IMAGE_BUG rules bug 5101: fix bug in mbx code introduced in a backport of 3.2 AICache code try to work around horribleness when checking in the entire built tree for the website update procedure bug 5076: unescape hash characters in the config add my nagios plugin for monitoring spamd to contrib/ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.74 2006/08/31 22:00:48 mrg Exp $ d3 2 a4 2 DISTNAME= Mail-SpamAssassin-3.1.6 PKGNAME= spamassassin-3.1.6 @ 1.74 log @update to spamassassin 3.1.5. relevant changes: bug 5018: update RegistrarBoundaries with new list of 2TLDs bug 5020: drop __OUTLOOK_DOLLARS_MSGID, replace with the superset rule __OE_MSGID_2 update replace_license_blocks, have it deal with C-style comments better, put a sample commandline in place bug 4492: bayes_ignore_header was case sensitive add logging, enable zmi and doc mass-checks bug 5049: allow commented lines in gpgkeyfile and channelfile files bug 4952: set a default value for DEF_RULES_DIR_, LOCAL_RULES_DIR, and LOCAL_STATE_DIR. this fixes an issue where third-party code which hasn't been updated to deal with LOCAL_STATE_DIR can still use updates. bug 4848: Pyzor, DCC, and SpamCop plugins weren't looking at the right place to see the 'dont_report_to_...' options bug 4843: skip text/calendar parts when generating the body text arrays bug 5013: deal octal obfuscation of IP addrs in URLs bug 5049: handle comments and whitespace in sa-update config files and fix an error in channel name validation bug 4981: remove broken urirhssub support for regexp subrule and make perldoc match the code bug 5060: backport ArchiveIterator changes for rule-QA system, namely: the AICache caching subsystem for faster mass-checks, support for combined --head/--tail semantics, more verbose 'showdots' to avoid buildbot timeouts, and a new intra-child IPC me chanism for multi-child mass-checks bug 5034: fix endless loop possible from bad input or network error bug 5065: implement whitelist_from_dk bug 4823: clarify M::SA::Plugin documentation @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.73 2006/07/31 21:10:59 heinz Exp $ d3 2 a4 2 DISTNAME= Mail-SpamAssassin-3.1.5 PKGNAME= spamassassin-3.1.5 @ 1.73 log @Updated to version 3.1.4. Pkgsrc changes: - Incorporated new version requirements for p5-Archive-Tar and p5-IO-Zlib. Relevant changes since version 3.1.3: ===================================== - bug 4941: if the first sa-update run failed and wasn't re-run to successful completion, the local state directory would exist, and therefore SA sees no rules. now, wait as long as possible to create the directory, and try to remove it on failure. - bug 4997: increase module version requirements for Archive::Tar to 1.23 and IO::Zlib to 1.04 - bug 4966: fix major BSMTP bug, which rendered SA unusable with exim4 when BSMTP is used. - bug 4899: Windows had issues with single quotes around filenames so certain things like pyzor, etc, wouldn't function. - bug 4958: sa-update should work on Windows - bug 4908: gtube.t test failed in non-english locales - bug 4488: deal with potential memory leak due to Bayes and BayesStore circular references - bug 4862: update macro values in update channels (ie: @@@@CONTACT_ADDRESS@@@@) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.72 2006/06/05 23:01:01 heinz Exp $ d3 2 a4 2 DISTNAME= Mail-SpamAssassin-3.1.4 PKGNAME= spamassassin-3.1.4 @ 1.72 log @Updated to version 3.1.3. Pkgsrc changes: - patch-bb for no longer necessary (integrated upstream). Changes since version 3.1.2: ============================ - bug 4926: given a certain set of parameters to spamd and a specially formatted input message, users could cause spamd to execute arbitrary commands as the spamd user - bug 4932: the userstate dir and userprefs file would not be created under certain conditions. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.71 2006/05/26 20:53:00 heinz Exp $ d3 2 a4 2 DISTNAME= Mail-SpamAssassin-3.1.3 PKGNAME= spamassassin-3.1.3 d20 2 a21 2 DEPENDS+= p5-Archive-Tar-[0-9]*:../../archivers/p5-Archive-Tar DEPENDS+= p5-IO-Zlib-[0-9]*:../../devel/p5-IO-Zlib @ 1.71 log @Updated to version 3.1.2. Pkgsrc changes: - The updates for rule files go into $VARBASE/spamassassin/. - This above directory and the directory sa-update-keys for the GPG keys are now handled automatically by OWN_DIRS. - The growing number of *.pre files are managed in a loop in the Makefile. They are no longer contained in the static PLIST. - Removed some unnecessary trailing slashes. - Patching init.pre in order to disable the SPF plugin broke the spf.t test. This is now fixed, although in a rather ugly way :-/. - patch-ab no longer needs to use BSD_INSTALL_DATA_DIR because we create the directories through INSTALLATION_DIRS. - patch-ad and patch-az were removed (changes integrated upstream). - patch-bb fixes a small documentation error. - Fixed some warnings by pkglint about the SUBST framework in Makefile and options.mk. Relevant changes since version 3.1.1: ===================================== - bug 4802: implement DKIM plugin, including whitelist_from_dkim support - bug 3838: work around Perl bug causing captured RE variables to become tainted -- thanks to Mark Martinec for pointing out the bug with Perl itself - bug 4850: re-enable the Razor2 plugin by default due to a service policy change - bug 4826: Razor2 plugin needs to load Mail::SpamAssassin::Timeout module - bug 4827: M::SA::first_existing_path() would return the last array entry passed in if none of the paths were found. Now return undef instead and handle the error when it happens. - bug 4813: generally open RE causes sendmail received header get read in as qmail in error - bug 4839: Logger.pm converts control chars including tab into underscores which confuses a bunch of users when checking debug output. Convert tab into space instead, etc. - bug 4884: if a null message is passed in, there are several variables which end up undefined causing warnings. fake an empty message if no input is given. - bug 4793: when replacing tags in a message (_TAG_), leave the tags that don't exist alone instead of just removing them - bug 4861, 4760: handle dccifd and dccproc failover properly, backport relays_internal and relays_external code, backport bug 4760 fix so that it's not possible to be in internal_networks without being in trusted_networks as well - bug 4901: deal more properly with failures in bgsend(). also, use the proper variable to show when errors occur. - bug 4867: fetchmail changed header formats at some point making Received parsing fail in certain conditions - bug 4699: use M::SA::Timeout for spamd copy_config call and allow for empty $@@ values - bug 3754: if there's a problem opening a file via sa-learn or spamassassin, return an error exit value. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.70 2006/03/24 19:46:10 heinz Exp $ d3 2 a4 2 DISTNAME= Mail-SpamAssassin-3.1.2 PKGNAME= spamassassin-3.1.2 @ 1.70 log @Fixed one forgotten case of variable with underscore. This fixes PR pkg/33139 by Ben Colver. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.69 2006/03/13 21:11:57 heinz Exp $ d3 2 a4 3 DISTNAME= Mail-SpamAssassin-3.1.1 PKGNAME= spamassassin-3.1.1 PKGREVISION= 1 d18 1 a18 1 DEPENDS+= {p5-MIME-Base64>=2.11,perl{,-thread}>=5.8.0}:../../converters/p5-MIME-Base64 d55 1 a55 1 REPLACE_PERL= masses/parse-rules-for-masses d60 1 d74 4 a78 2 ${EGDIR}/init.pre ${PKG_SYSCONFDIR}/init.pre \ ${EGDIR}/v310.pre ${PKG_SYSCONFDIR}/v310.pre \ d83 4 a86 1 ${DOC_SUBDIR}/spamd d92 2 a93 2 SUBST_SED.sa2= -e s!@@@@PREFIX@@@@!${PREFIX}!g \ -e s!@@PKG_SYSCONFDIR@@!${PKG_SYSCONFDIR}!g d102 5 a106 5 SUBST_SED.sa3= -e s!/usr/share!${PREFIX}/share!g \ -e s!/usr/bin!${PREFIX}/bin!g \ -e s!/usr/local/bin!${PREFIX}/bin!g \ -e s!/usr/lib!${PREFIX}/lib!g \ -e s!/etc/mail/spamassassin!${PKG_SYSCONFDIR}!g d143 1 a143 1 @@${INSTALL_DATA} ${WRKSRC}/rules/${f} ${DOCDIR}/ d170 4 a174 1 @@${ECHO} "@@dirrm ${RULE_SUBDIR}" >> ${PLIST_ADD} d176 3 a178 5 @@${INSTALL_DATA} ${WRKSRC}/procmailrc.example ${EGDIR}/ @@${INSTALL_DATA} ${WRKSRC}/rules/init.pre ${EGDIR}/ @@${INSTALL_DATA} ${WRKSRC}/rules/v310.pre ${EGDIR}/ @@${INSTALL_DATA} ${WRKSRC}/rules/local.cf ${EGDIR}/ @@${INSTALL_DATA} ${FILESDIR}/netbsd_lists.cf ${EGDIR}/ d186 14 @ 1.70.2.1 log @Pullup ticket 1693 - requested by heinz security update for spamassassin Revisions pulled up: - pkgsrc/mail/spamassassin/Makefile 1.71, 1.72 - pkgsrc/mail/spamassassin/PLIST 1.19 - pkgsrc/mail/spamassassin/distinfo 1.37, 1.38 - pkgsrc/mail/spamassassin/options.mk 1.6 - pkgsrc/mail/spamassassin/patches/patch-ab 1.12 - pkgsrc/mail/spamassassin/patches/patch-ad removed - pkgsrc/mail/spamassassin/patches/patch-az removed Module Name: pkgsrc Committed By: heinz Date: Fri May 26 20:53:00 UTC 2006 Modified Files: pkgsrc/mail/spamassassin: Makefile PLIST distinfo options.mk pkgsrc/mail/spamassassin/patches: patch-ab Added Files: pkgsrc/mail/spamassassin/patches: patch-bb Removed Files: pkgsrc/mail/spamassassin/patches: patch-ad patch-az Log Message: Updated to version 3.1.2. Pkgsrc changes: - The updates for rule files go into $VARBASE/spamassassin/. - This above directory and the directory sa-update-keys for the GPG keys are now handled automatically by OWN_DIRS. - The growing number of *.pre files are managed in a loop in the Makefile. They are no longer contained in the static PLIST. - Removed some unnecessary trailing slashes. - Patching init.pre in order to disable the SPF plugin broke the spf.t test. This is now fixed, although in a rather ugly way :-/. - patch-ab no longer needs to use BSD_INSTALL_DATA_DIR because we create the directories through INSTALLATION_DIRS. - patch-ad and patch-az were removed (changes integrated upstream). - patch-bb fixes a small documentation error. - Fixed some warnings by pkglint about the SUBST framework in Makefile and options.mk. Relevant changes since version 3.1.1: ===================================== - bug 4802: implement DKIM plugin, including whitelist_from_dkim support - bug 3838: work around Perl bug causing captured RE variables to become tainted -- thanks to Mark Martinec for pointing out the bug with Perl itself - bug 4850: re-enable the Razor2 plugin by default due to a service policy change - bug 4826: Razor2 plugin needs to load Mail::SpamAssassin::Timeout module - bug 4827: M::SA::first_existing_path() would return the last array entry passed in if none of the paths were found. Now return undef instead and handle the error when it happens. - bug 4813: generally open RE causes sendmail received header get read in as qmail in error - bug 4839: Logger.pm converts control chars including tab into underscores which confuses a bunch of users when checking debug output. Convert tab into space instead, etc. - bug 4884: if a null message is passed in, there are several variables which end up undefined causing warnings. fake an empty message if no input is given. - bug 4793: when replacing tags in a message (_TAG_), leave the tags that don't exist alone instead of just removing them - bug 4861, 4760: handle dccifd and dccproc failover properly, backport relays_internal and relays_external code, backport bug 4760 fix so that it's not possible to be in internal_networks without being in trusted_networks as well - bug 4901: deal more properly with failures in bgsend(). also, use the proper variable to show when errors occur. - bug 4867: fetchmail changed header formats at some point making Received parsing fail in certain conditions - bug 4699: use M::SA::Timeout for spamd copy_config call and allow for empty $@@ values - bug 3754: if there's a problem opening a file via sa-learn or spamassassin, return an error exit value. --- Module Name: pkgsrc Committed By: heinz Date: Mon Jun 5 23:01:01 UTC 2006 Modified Files: pkgsrc/mail/spamassassin: Makefile distinfo Removed Files: pkgsrc/mail/spamassassin/patches: patch-bb Log Message: Updated to version 3.1.3. Pkgsrc changes: - patch-bb for no longer necessary (integrated upstream). Changes since version 3.1.2: ============================ - bug 4926: given a certain set of parameters to spamd and a specially formatted input message, users could cause spamd to execute arbitrary commands as the spamd user - bug 4932: the userstate dir and userprefs file would not be created under certain conditions. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.72 2006/06/05 23:01:01 heinz Exp $ d3 3 a5 2 DISTNAME= Mail-SpamAssassin-3.1.3 PKGNAME= spamassassin-3.1.3 d19 1 a19 1 DEPENDS+= {p5-MIME-Base64>=2.11,perl>=5.8.0}:../../converters/p5-MIME-Base64 d56 1 a56 1 REPLACE_PERL+= masses/parse-rules-for-masses a60 1 MAKE_PARAMS+= LOCALSTATEDIR="${VARBASE}" a73 4 PRE_FILES= init.pre v310.pre v312.pre .for p in ${PRE_FILES} CONF_FILES+= ${EGDIR}/${p} ${PKG_SYSCONFDIR}/${p} .endfor d75 2 d81 1 a81 4 ${DOC_SUBDIR}/spamd ${RULE_SUBDIR} OWN_DIRS+= ${VARBASE}/spamassassin OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/sa-update-keys ${SHAREOWN} ${SHAREGRP} 0700 d87 2 a88 2 SUBST_SED.sa2= -e s!@@@@PREFIX@@@@!${PREFIX}!g SUBST_SED.sa2+= -e s!@@PKG_SYSCONFDIR@@!${PKG_SYSCONFDIR}!g d97 5 a101 5 SUBST_SED.sa3= -e s!/usr/share!${PREFIX}/share!g SUBST_SED.sa3+= -e s!/usr/bin!${PREFIX}/bin!g SUBST_SED.sa3+= -e s!/usr/local/bin!${PREFIX}/bin!g SUBST_SED.sa3+= -e s!/usr/lib!${PREFIX}/lib!g SUBST_SED.sa3+= -e s!/etc/mail/spamassassin!${PKG_SYSCONFDIR}!g d138 1 a138 1 @@${INSTALL_DATA} ${WRKSRC}/rules/${f} ${DOCDIR} a164 4 done; \ for f in ${PRE_FILES}; do \ ${INSTALL_DATA} $$f ${EGDIR} && \ ${ECHO} ${EG_SUBDIR}/$$f >> ${PLIST_ADD}; \ d166 1 d168 5 a172 3 @@${INSTALL_DATA} ${WRKSRC}/procmailrc.example ${EGDIR} @@${INSTALL_DATA} ${WRKSRC}/rules/local.cf ${EGDIR} @@${INSTALL_DATA} ${FILESDIR}/netbsd_lists.cf ${EGDIR} a179 14 # make sure we install the patched version of init.pre but can run the # tests with the original file pre-patch: @@${CP} ${WRKSRC}/rules/init.pre ${WRKDIR}/init.pre.notpatched post-patch: @@${CP} ${WRKSRC}/rules/init.pre ${WRKDIR}/init.pre.patched pre-test: @@${CP} ${WRKDIR}/init.pre.notpatched ${WRKSRC}/rules/init.pre post-test: @@${CP} ${WRKDIR}/init.pre.patched ${WRKSRC}/rules/init.pre @ 1.69 log @Updated to version 3.1.1. Pkgsrc changes: - Generic option "online-tests" replaces "spamassassin-test-net". - Removed underscore from package-internal variables (pkglint complained). - patch-ay disables the SPF plugin to avoid confusing warnings in the log files. - patch-az fixes http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4826. Relevant changes since version 3.1.0: ===================================== - better validate a number of different configuration options - support new Mail::DomainKeys API, which changed incompatibly between 0.18 and 0.80 without warning - more properly handle new Received header formats - bug 4788: backport sa-update from 3.2 along with the local_state_dir code, etc. - bug 4760: strictly validate trusted/internal network configurations - bug 4696: consolidated fixes for timeout bugs - bug 3710: add timeout to connect so spamc -t works - bug 4363: if a message uses CRLF for line endings, use it for header rewrites as well - bug 4748: add ExpressionEngine and Google redirector patterns - bug 3815: add _RELAYCOUNTRY_ tag so that the RelayCountry plugin can put in the list of countries relayed through - bug 4090: x86_64 platforms (linux specifically) have an issue compiling libspamc.so causing RPM build failures - bug 4791: fix issue where perl would throw a UTF-8 warning for certain messages - bugs 4606, 4609: Adjust MIME parsing limits - bug 4780: fix IP_ADDRESS & LOCALHOST regexes to correctly parse IPv6 addresses - bug 4728: DUL rules should only use the last external IP, not all but the first of the external IPs - bug 4700: certain privileged configuration settings can inject code, due to a bad fix for bug 3846. Back that out @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.68 2006/02/05 23:09:58 joerg Exp $ d5 1 @ 1.68 log @Recursive revision bump / recommended bump for gettext ABI change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.67 2005/12/29 06:21:53 jlam Exp $ d3 2 a4 3 DISTNAME= Mail-SpamAssassin-3.1.0 PKGNAME= spamassassin-3.1.0 PKGREVISION= 3 d58 1 a58 1 MAKE_PARAMS+= DEFRULESDIR="${_RULESDIR}" d66 11 a76 11 _EG_SUBDIR= share/examples/spamassassin _EGDIR= ${PREFIX}/${_EG_SUBDIR} _DOC_SUBDIR= share/doc/spamassassin _DOCDIR= ${PREFIX}/${_DOC_SUBDIR} _RULE_SUBDIR= share/spamassassin _RULESDIR= ${PREFIX}/${_RULE_SUBDIR} CONF_FILES+= ${_EGDIR}/local.cf ${PKG_SYSCONFDIR}/local.cf \ ${_EGDIR}/init.pre ${PKG_SYSCONFDIR}/init.pre \ ${_EGDIR}/v310.pre ${PKG_SYSCONFDIR}/v310.pre \ ${_RULESDIR}/user_prefs.template \ d79 2 a80 2 INSTALLATION_DIRS+= ${_EG_SUBDIR} ${_DOC_SUBDIR} ${_DOC_SUBDIR}/spamc\ ${_DOC_SUBDIR}/spamd d105 1 a105 1 _INTERPRETER_SUPPORT= NO d107 1 a107 1 _INTERPRETER_SUPPORT= YES d112 1 a112 1 FILES_SUBST+= _INTERPRETER_SUPPORT=${_INTERPRETER_SUPPORT:Q} d132 2 a133 2 @@${INSTALL_DATA} ${WRKSRC}/${f} ${_DOCDIR}/${f} @@${ECHO} "${_DOC_SUBDIR}/${f}" >> ${PLIST_ADD} d137 2 a138 2 @@${INSTALL_DATA} ${WRKSRC}/rules/${f} ${_DOCDIR}/ @@${ECHO} "${_DOC_SUBDIR}/${f}" >> ${PLIST_ADD} d143 1 a143 1 ${INSTALL_DATA_DIR} ${_DOCDIR}/$$d; \ d151 1 a151 1 ${INSTALL_SCRIPT} $$f ${_DOCDIR}/$$f; \ d153 1 a153 1 ${INSTALL_DATA} $$f ${_DOCDIR}/$$f; \ d155 1 a155 1 ${ECHO} "${_DOC_SUBDIR}/$$f" >> ${PLIST_ADD}; \ d158 1 a158 1 ${ECHO} "@@dirrm ${_DOC_SUBDIR}/$$d"; \ d163 1 a163 1 ${ECHO} "${_RULE_SUBDIR}/$$f" >> ${PLIST_ADD}; \ d165 1 a165 1 @@${ECHO} "@@dirrm ${_RULE_SUBDIR}" >> ${PLIST_ADD} d167 8 a174 8 @@${INSTALL_DATA} ${WRKSRC}/procmailrc.example ${_EGDIR}/ @@${INSTALL_DATA} ${WRKSRC}/rules/init.pre ${_EGDIR}/ @@${INSTALL_DATA} ${WRKSRC}/rules/v310.pre ${_EGDIR}/ @@${INSTALL_DATA} ${WRKSRC}/rules/local.cf ${_EGDIR}/ @@${INSTALL_DATA} ${FILESDIR}/netbsd_lists.cf ${_EGDIR}/ @@${CHOWN} ${SHAREOWN} ${_RULESDIR}/* @@${CHGRP} ${SHAREGRP} ${_RULESDIR}/* @@${CHMOD} a=r ${_RULESDIR}/* @ 1.67 log @Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk automatically detects whether we want the pkginstall machinery to be used by the package Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.66 2005/12/05 23:55:11 rillig Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.66 log @Ran "pkglint --autofix", which corrected some of the quoting issues in CONFIGURE_ARGS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.65 2005/12/05 20:50:35 rillig Exp $ a33 1 USE_PKGINSTALL= YES @ 1.65 log @Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.64 2005/11/22 13:03:22 rillig Exp $ d50 1 a50 1 CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} @ 1.64 log @Removed patch-ar again, as I have found a way to exploit it. Bumped PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.63 2005/11/22 10:37:39 rillig Exp $ d114 2 a115 2 FILES_SUBST+= _INTERPRETER_SUPPORT="${_INTERPRETER_SUPPORT}" FILES_SUBST+= OPSYS="${OPSYS}" @ 1.63 log @Bumped PKGREVISION because of the recent addition of patch-ar. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.62 2005/11/13 22:48:32 heinz Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.62 log @Updated to version 3.1.0. Pkgsrc changes: - p5-Storable is no longer a necessary. - Let DragonFlyBSD also use the rc.d script (patch-ad). - Sa-update needs p5-libwww (for LWP::UserAgent, HTTP::Date), p5-Archive-Tar and p5-IO-Zlib. - Many of the plugins are available as pkgsrc packages (p5-Mail-SPF-Query, p5-IP-Country, p5-Net-Ident, ...) but are not required. - Renamed some options to follow the naming conventions described in the pkgsrc guide. - Removed patch-ax again; it is already incorporated in 3.1.0. - Reworked DESCR to use less than 25 lines. - Removed SPAMASSASSIN_VERSION for clarity of DISTNAME and PKGNAME. - Prepended variables internal to the package with an underscore. - Rearranged MAKE_PARAMS alphabetically. - Simplified some internal variables (concatenation instead of substitution: _EGDIR, _DOCDIR,...) - Loop variables use all lower-case now. - Added a rule to lower score for mail from pkgsrc-bugs in netbsd_lists.cf. - The test t/spf.t (fails for SPF_HELO_*) has a know problem (SA Bug 4685). Relevant changes since version 3.0.4: ===================================== - Apache preforking algorithm adopted; number of spamd child processes is now scaled, according to demand. This provides better VM behaviour when not under peak load. - Inclusion of sa-update script which will allow for updates of rules and scores in between code releases. - added PostgreSQL, MySQL 4.1+, and local SDBM file Bayes storage modules. SQL storage is now recommended for Bayes, instead of DB_File. NDBM_File support has been dropped due to a major bug in that module. - detect legitimate SMTP AUTH submission, to avoid false positives on Dynablock-style rules. - new Advance Fee Fraud (419 scam) rules. - removed use of the Storable module, due to several reported hangs on SMP Linux machines. - Converted several rule/engine components into Plugins such as: AccessDB, AWL, Pyzor, Razor2, DCC, Bayes AutoLearn Determination, etc. - new plugins: DomainKeys (off by default), MIMEHeader: a new plugin to perform tests against header in internal MIME structure, ReplaceTags: plugin by Felix Bauer to support fuzzy text matching, WhiteListSubject: plugin added to support user whitelists by Subject header. - TextCat language guesser moved to a plugin. (This means "ok_languages" is no longer part of the core engine by default.) - Razor: disable Razor2 support by default per our policy, since the service is not free for non-personal use. It's trivial to reenable. - DCC: disable DCC for similar reasons, due to new license terms. - Net::DNS bug: high load caused answer packets to be mixed up and delivered as answers to the wrong request, causing false positives. worked around. - DNSBL lookups and other DNS operations are now more efficient, by using a custom single-socket event-based model instead of Net::DNS. - add support for accreditation services, including Habeas v2. - better URI parsing -- many evasion tricks now caught. - URIBL lookups are prioritized based on the location in the message the URI was found. - mass-check now supports reusing realtime DNSBL hit results, and sample-based Bayes autolearning emulation, to reduce complexity. - sa-learn, spamassassin and mass-check now have optional progress bars. - modify header ordering for DomainKeys compatibility, by placing markup headers at the top of the message instead at the bottom of the list. - spamd/spamc now support remote Bayes training, and reporting spam. - spamc now supports reading its flags from a configuration file using the -F switch, contributed by John Madden. - added SPF-based whitelisting. - Polish rules contributed by Radoslaw Stachowiak. - many rule changes and additions. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.61 2005/11/13 05:08:00 heinz Exp $ d5 1 @ 1.61 log @Added a patch to fix a potential DoS vulnerability (CVE-2005-3351). See http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4570 http://secunia.com/advisories/17386 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.60 2005/11/04 11:09:07 rillig Exp $ d3 2 a4 3 DISTNAME= Mail-SpamAssassin-${SPAMASSASSIN_VERSION} PKGNAME= spamassassin-${SPAMASSASSIN_VERSION} PKGREVISION= 2 d7 1 a7 2 MASTER_SITES= ${MASTER_SITE_APACHE:=spamassassin/source/} \ http://spamassassin.apache.org/released/ d19 5 a23 2 DEPENDS+= {p5-Storable-[0-9]*,perl{,-thread}>=5.8.0}:../../devel/p5-Storable .if ${OPSYS} != "NetBSD" d27 1 a27 1 CONFLICTS= p5-Mail-SpamAssassin-[1-9]* a30 2 SPAMASSASSIN_VERSION= 3.0.4 d55 7 a62 3 MAKE_PARAMS+= LOCALRULESDIR="${PKG_SYSCONFDIR}" MAKE_PARAMS+= DEFRULESDIR="${RULESDIR}" MAKE_PARAMS+= CONTACT_ADDRESS=${SPAMASSASSIN_CONTACT_ADDRESS:Q} d67 12 a78 11 EGDIR= ${PREFIX}/share/examples/spamassassin EG_SUBDIR= ${EGDIR:S,^${PREFIX}/,,} DOCDIR= ${PREFIX}/share/doc/spamassassin DOC_SUBDIR= ${DOCDIR:S,^${PREFIX}/,,} RULESDIR= ${PREFIX}/share/spamassassin RULE_SUBDIR= ${RULESDIR:S,^${PREFIX}/,,} CONF_FILES+= ${EGDIR}/local.cf ${PKG_SYSCONFDIR}/local.cf \ ${EGDIR}/init.pre ${PKG_SYSCONFDIR}/init.pre \ ${RULESDIR}/user_prefs.template \ ${PKG_SYSCONFDIR}/user_prefs.template d80 2 a81 2 INSTALLATION_DIRS+= ${EG_SUBDIR} ${DOC_SUBDIR} ${DOC_SUBDIR}/spamc \ ${DOC_SUBDIR}/spamd d93 4 a96 2 lib/Mail/SpamAssassin/Conf.pm spamd/README \ spamd/README.vpopmail sql/README sql/README.awl d103 1 a103 1 .if ${OPSYS} == "NetBSD" d105 2 a106 2 . if ${OS_VERSION:M1.[0-5]*} INTERPRETER_SUPPORT= NO d108 1 a108 1 INTERPRETER_SUPPORT= YES d112 2 a113 2 # These values are substituted into netbsd-rc-script.sh. FILES_SUBST+= INTERPRETER_SUPPORT="${INTERPRETER_SUPPORT}" d123 2 d128 2 a129 2 .for f in INSTALL LICENSE README TRADEMARK UPGRADE USAGE \ CREDITS PACKAGING STATUS BUGS Changes \ d133 2 a134 2 @@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}/${f} @@${ECHO} "${DOC_SUBDIR}/${f}" >> ${PLIST_ADD} d136 4 a139 4 .for f in STATISTICS.txt STATISTICS-set1.txt STATISTICS-set2.txt \ STATISTICS-set3.txt @@${INSTALL_DATA} ${WRKSRC}/rules/${f} ${DOCDIR}/ @@${ECHO} "${DOC_SUBDIR}/${f}" >> ${PLIST_ADD} d141 1 a141 1 .for DIR in masses sql ldap tools d143 2 a144 2 for d in `${FIND} ${DIR} -type d -print`; do \ ${INSTALL_DATA_DIR} ${DOCDIR}/$$d; \ d146 1 a146 1 for f in `${FIND} ${DIR} -type f -print`; do \ d152 1 a152 1 ${INSTALL_SCRIPT} $$f ${DOCDIR}/$$f; \ d154 1 a154 1 ${INSTALL_DATA} $$f ${DOCDIR}/$$f; \ d156 1 a156 1 ${ECHO} "${DOC_SUBDIR}/$$f" >> ${PLIST_ADD}; \ d158 2 a159 2 { for d in `${FIND} ${DIR} -type d -print`; do \ ${ECHO} "@@dirrm ${DOC_SUBDIR}/$$d"; \ d164 1 a164 1 ${ECHO} "${RULE_SUBDIR}/$$f" >> ${PLIST_ADD}; \ d166 1 a166 1 @@${ECHO} "@@dirrm ${RULE_SUBDIR}" >> ${PLIST_ADD} d168 8 a175 7 @@${INSTALL_DATA} ${WRKSRC}/procmailrc.example ${EGDIR}/ @@${INSTALL_DATA} ${WRKSRC}/rules/init.pre ${EGDIR}/ @@${INSTALL_DATA} ${WRKSRC}/rules/local.cf ${EGDIR}/ @@${INSTALL_DATA} ${FILESDIR}/netbsd_lists.cf ${EGDIR}/ @@${CHOWN} ${SHAREOWN} ${RULESDIR}/* @@${CHGRP} ${SHAREGRP} ${RULESDIR}/* @@${CHMOD} a=r ${RULESDIR}/* @ 1.60 log @Explicitly set BUILD_DIRS to emphasize it is different from CONFIGURE_DIRS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.59 2005/08/06 06:19:22 jlam Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.59 log @Bump the PKGREVISIONs of all (638) packages that hardcode the locations of Perl files to deal with the perl-5.8.7 update that moved all pkgsrc-installed Perl files into the "vendor" directories. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.58 2005/07/13 18:01:32 jlam Exp $ d52 1 @ 1.59.2.1 log @Pullup ticket 919 - requested by Klaus Heinz security fix for spamassassin Revisions pulled up: - pkgsrc/mail/spamassassin/Makefile 1.61 - pkgsrc/mail/spamassassin/distinfo 1.31 - pkgsrc/mail/spamassassin/patches/patch-ax 1.1 Module Name: pkgsrc Committed By: heinz Date: Sun Nov 13 05:08:00 UTC 2005 Modified Files: pkgsrc/mail/spamassassin: Makefile distinfo Added Files: pkgsrc/mail/spamassassin/patches: patch-ax Log Message: Added a patch to fix a potential DoS vulnerability (CVE-2005-3351). See http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4570 http://secunia.com/advisories/17386 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.61 2005/11/13 05:08:00 heinz Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.58 log @Turn PERL5_PACKLIST into a relative path instead of an absolute path. These paths are now relative to PERL5_PACKLIST_DIR, which currently defaults to ${PERL5_SITEARCH}. There is no change to the binary packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.57 2005/06/22 20:43:19 heinz Exp $ d5 1 a5 1 PKGREVISION= # empty a33 2 PERL5_REQD+= 5.6.1 # MakeMaker >= 5.45 needed @ 1.57 log @Correct path for ASF MASTER_SITES (thanks to Mark Davies). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.56 2005/06/19 22:29:35 heinz Exp $ d49 1 a49 1 PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Mail/SpamAssassin/.packlist @ 1.56 log @Update to version 3.0.4. This solves the update request in PR pkg/30452. No pkgsrc related changes. This release fixes a recently reported DoS vulnerability. Highlights of the release ------------------------- - Certain invalid "Content-Type" headers would cause SpamAssassin to incorrectly process parts of the message. - Certain long message headers could cause slowness when parsing the message. - Added in SURBL JP list. - URI anti-obfuscation updates. - Additional bug fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.55 2005/04/29 08:48:40 heinz Exp $ d8 1 a8 1 MASTER_SITES= ${MASTER_SITE_APACHE:=spamassassin/} \ @ 1.56.2.1 log @Pullup ticket 646 - requested by Klaus Heinz MASTER_SITES update for spamassassin Revision pulled up: - pkgsrc/mail/spamassassin/Makefile 1.57 Module Name: pkgsrc Committed By: heinz Date: Wed Jun 22 20:43:19 UTC 2005 Modified Files: pkgsrc/mail/spamassassin: Makefile Log Message: Correct path for ASF MASTER_SITES (thanks to Mark Davies). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.57 2005/06/22 20:43:19 heinz Exp $ d8 1 a8 1 MASTER_SITES= ${MASTER_SITE_APACHE:=spamassassin/source/} \ @ 1.55 log @Updated to version 3.0.3. Merged the two rules in netbsd_lists.cf into one because problem reports mostly do not contain "x-send-pr" anymore. Disabled installation of netbsd_lists.cf in PKGSYSCONFDIR (it is still included in the "examples" directory). Changes since 3.0.2 =================== - Fixed possible memory bloat from large AutoWhitelist db files - Fixed where user defined rules scores became ignored - Updated parsing code for several Received: header formats - Increased some BAYES_* scores for the network+bayes score set - Document set_tag for Plugin API and added get_tag - Additional bug fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.54 2005/04/11 21:46:27 tv Exp $ d30 1 a30 1 SPAMASSASSIN_VERSION= 3.0.3 d40 1 a40 1 # See "perldoc Mail::SpamAssassin::Conf" for option "report_contact" d126 2 a127 2 @@${INSTALL_DATA} ${WRKSRC}/$f ${DOCDIR}/$f @@${ECHO} "${DOC_SUBDIR}/$f" >> ${PLIST_ADD} d131 2 a132 2 @@${INSTALL_DATA} ${WRKSRC}/rules/$f ${DOCDIR}/ @@${ECHO} "${DOC_SUBDIR}/$f" >> ${PLIST_ADD} @ 1.54 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.53 2005/02/13 21:20:25 heinz Exp $ d5 1 a5 1 PKGREVISION= 1 d30 1 a30 1 SPAMASSASSIN_VERSION= 3.0.2 a75 3 SUPPORT_FILES_PERMS+= ${EGDIR}/netbsd_lists.cf \ ${PKG_SYSCONFDIR}/netbsd_lists.cf ${SHAREOWN} \ ${SHAREGRP} ${SHAREMODE} @ 1.53 log @After changing the SUBST-stage to 'pre-configure' for 3.0.2, Makefile.PL was changed after perl5-configure had been run and the Makefile created. For some people, this resulted in a message Makefile out-of-date with respect to Makefile.PL at the build stage. Omitting the first substitution (sa1) and the corresponding part of patch-ab solved this. This patch had been unnecessary for some time anyway. This should resolve pkg/29255. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.52 2005/01/15 21:44:55 schmonz Exp $ a35 1 USE_BUILDLINK3= YES @ 1.52 log @Update to 3.0.2. From the changelog: This release detects legitimate SMTP AUTH submission, to avoid false positives on Dynablock-style rules. The URIDNSBL plugin has been fixed to honor the uridnsbl_max_domains config option. Various documentation and rule fixes. The ability to deal with 'rewrite_header Subject' markup when no Subject header exists. 'make test' failure on Solaris has been fixed. pkgsrc changes: * Use subst.mk in pre-configure, rather than post-patch, for easier regeneration of patches. OK'd by heinz@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.51 2004/12/28 02:47:45 reed Exp $ d5 1 d84 1 a84 5 SUBST_CLASSES+= sa1 sa2 sa3 SUBST_STAGE.sa1= pre-configure SUBST_FILES.sa1= Makefile.PL SUBST_SED.sa1= -e s!@@SA_CONTACT_ADDRESS@@!${SPAMASSASSIN_CONTACT_ADDRESS}! @ 1.51 log @The default location of the pkgsrc-installed rc.d scripts is now under share/examples/rc.d. The variable name already was named RCD_SCRIPTS_EXAMPLEDIR. This is from ideas from Greg Woods and others. Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism (as requested by wiz). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.50 2004/11/08 17:07:23 mjl Exp $ a4 1 PKGREVISION= # empty a5 1 PKGREVISION= 1 d29 1 a29 1 SPAMASSASSIN_VERSION= 3.0.1 d85 1 a85 1 SUBST_STAGE.sa1= post-patch d89 1 a89 1 SUBST_STAGE.sa2= post-patch d94 1 a94 1 SUBST_STAGE.sa3= post-patch @ 1.50 log @Update to 3.0.1. This is a minor maintenance release to 3.0.0 and the old archive was no longer available on the primary sites. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2004/10/12 00:11:10 heinz Exp $ d7 1 @ 1.49 log @Update to version 3.0.0. Tested on NetBSD 1.6.2, Solaris 9 and Debian 3.0. Important changes since 2.64 (for details see the file 'Changes') - support for sender authentication using the Sender Policy Framework (SPF) - checking for web links of known spam advertisers (SURBL) - modular plugin architecture - improved SQL database support for storing user data in server installations - improved email classification - SpamAssassin is now part of the Apache Foundation @ text @d1 1 a1 1 # $NetBSD$ d30 1 a30 1 SPAMASSASSIN_VERSION= 3.0.0 @ 1.48 log @Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2004/08/10 20:40:01 heinz Exp $ d5 1 a5 1 PKGREVISION= #1 d7 3 a9 3 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/} \ http://old.spamassassin.org/released/ d12 1 a12 1 HOMEPAGE= http://www.spamassassin.org/ a14 6 CONFLICTS= p5-Mail-SpamAssassin-[1-9]* SPAMASSASSIN_VERSION= 2.64 PKG_INSTALLATION_TYPES= overwrite pkgviews d17 2 a18 4 PERL5_REQD+= 5.6.0 # MakeMaker >= 5.45 needed DEPENDS+= p5-Net-DNS>=0.29:../../net/p5-Net-DNS DEPENDS+= p5-HTML-Parser>=3.29:../../www/p5-HTML-Parser d20 3 a22 2 DEPENDS+= p5-MIME-Base64>=2.11:../../converters/p5-MIME-Base64 .if ${OPSYS} == "SunOS" d26 3 a28 1 SPAMASSASSIN_USE_SSL?= YES d30 5 a34 11 .if !empty(SPAMASSASSIN_USE_SSL:M[yY][eE][sS]) . include "../../security/openssl/buildlink3.mk" DEPENDS+= p5-IO-Socket-SSL>=0.92:../../security/p5-IO-Socket-SSL CONFIGURE_ARGS+= --enable-ssl MAKE_PARAMS= ENABLE_SSL=yes SA_SSLCERTS= ${SSLCERTS} .else CONFIGURE_ARGS+= --disable-ssl MAKE_PARAMS= ENABLE_SSL=no SA_SSLCERTS= '$$LOCAL_RULES_DIR/certs' .endif d42 1 a42 5 SPAMASSASSIN_CONTACT_ADDRESS?= 'the administrator of that system' # Use "NO" to turn off warnings and taint checks in spamd/spamassassin SPAMASSASSIN_PERL_WARNINGS?= YES SPAMASSASSIN_PERL_TAINT_CHECKS?= YES d44 1 a44 2 # Enable test for Razor during 'make test'? SPAMASSASSIN_RAZOR_TESTS?= YES a45 1 BUILD_DEFS+= SPAMASSASSIN_USE_SSL a46 2 BUILD_DEFS+= SPAMASSASSIN_PERL_WARNINGS BUILD_DEFS+= SPAMASSASSIN_PERL_TAINT_CHECKS d53 2 a54 1 CONFIGURE_DIRS= ${WRKSRC}/spamd d61 1 a61 3 MAKE_PARAMS+= RUN_RAZOR_TESTS="${SPAMASSASSIN_RAZOR_TESTS}" MAKE_PARAMS+= PERL_WARN="${SPAMASSASSIN_PERL_WARNINGS}" MAKE_PARAMS+= PERL_TAINT="${SPAMASSASSIN_PERL_TAINT_CHECKS}" a69 2 HTMLDIR= ${PREFIX}/share/doc/html/spamassassin HTML_SUBDIR= ${HTMLDIR:S,^${PREFIX}/,,} d74 1 d81 2 a82 4 INSTALLATION_DIRS+= ${EG_SUBDIR} ${DOC_SUBDIR} ${DOC_SUBDIR}/spamd \ ${HTML_SUBDIR} DEINSTALL_EXTRA_TMPL= ${PKGDIR}/DEINSTALL d93 1 a93 2 -e s!@@PKG_SYSCONFDIR@@!${PKG_SYSCONFDIR}!g \ -e s!@@SA_SSLCERTS@@!${SA_SSLCERTS}!g d96 4 a99 3 SUBST_FILES.sa3= INSTALL USAGE lib/Mail/SpamAssassin/Conf.pm \ spamd/README.spamd spamd/README.spamd-vpopmail \ sql/README d102 1 d121 1 a121 5 @@${CHMOD} a-x ${WRKSRC}/License @@${CHMOD} a-x ${WRKSRC}/lib/Mail/SpamAssassin/*.pm @@${CHMOD} a-x ${WRKSRC}/rules/20_uri_tests.cf @@${CHMOD} a+x ${WRKSRC}/masses/uniq-scores @@${CHMOD} a+x ${WRKSRC}/tools/translation_prep.pl d124 2 a125 3 pre-install: ${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f d129 5 a133 5 @@ # ninja image is in the static PLIST @@${INSTALL_DATA} ${WRKSRC}/ninjabutton.png ${HTMLDIR}/ .for f in CONTRIB_CERT COPYRIGHT INSTALL License README TRADEMARK USAGE \ sample-nonspam.txt sample-spam.txt spamd/README.spamd \ spamd/README.spamd-vpopmail d142 1 a142 1 .for DIR in masses qmail sql tools a147 5 if ${TEST} -f $$f; then \ : ; \ else \ continue; \ fi; \ d170 1 d176 2 a177 2 @@{ for d in ${INSTALLATION_DIRS}; do \ ${ECHO} "@@dirrm $$d"; \ @ 1.47 log @Update to 2.64. This also includes the fix for PR pkg/26386 (problems with PKG_CONFIG=no). Summary of major changes since 2.63 ----------------------------------- - Security fix prevents a denial of service attack open to certain malformed messages; this DoS affects all SpamAssassin 2.5x and 2.6x versions to date. - Backported several very reliable rules from the SpamAssassin 3.0.0 codebase. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2004/06/06 04:29:17 schmonz Exp $ d5 1 a5 1 PKGREVISION= # @ 1.46 log @Packages no longer need to clean up *.subst.sav leftovers. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2004/05/31 12:43:06 heinz Exp $ d5 1 a5 1 PKGREVISION= 2 d9 1 a9 2 http://www.spamassassin.org/released/ \ http://eu.spamassassin.org/released/ d17 1 a17 1 SPAMASSASSIN_VERSION= 2.63 d87 1 d91 1 d102 2 a103 1 OWN_DIRS+= ${EGDIR} ${DOCDIR} ${DOCDIR}/spamd ${HTMLDIR} d207 3 @ 1.45 log @Correct bad substitution of @@PREFIX@@ in spamd.raw @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2004/03/26 16:42:42 seb Exp $ d150 1 a150 2 ${FIND} ${WRKSRC} -name "*.orig" -print -o \ -name "*.subst.sav" -print | ${XARGS} ${RM} -f @ 1.44 log @Introduce SPAMASSASSIN_VERSION. And most significantly use it instead of PKGVERSION in DISTNAME's definition so PKGREVISION's value does not render it useless. Okay'ed by wiz@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2004/03/26 02:27:44 wiz Exp $ d5 1 a5 1 PKGREVISION= 1 d113 1 a113 1 SUBST_SED.sa2= -e s!@@PREFIX@@!${PREFIX}!g \ @ 1.43 log @PKGREVISION bump after openssl-security-fix-update to 0.9.6m. Buildlink files: RECOMMENDED version changed to current version. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2004/02/10 02:22:50 jlam Exp $ d3 2 a4 3 DISTNAME= Mail-SpamAssassin-${PKGVERSION} PKGNAME= spamassassin-2.63 PKGREVISION= # empty d18 2 @ 1.42 log @PERL5_REQD is now a list of values, so append to its value instead of setting it. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2004/01/26 15:25:00 cube Exp $ d6 1 @ 1.41 log @PERL 5.60 will probably never exist. Let's require 5.6.0 instead (hi jlam!). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2004/01/25 16:57:48 jlam Exp $ d22 1 a22 1 PERL5_REQD= 5.6.0 # MakeMaker >= 5.45 needed @ 1.40 log @Use PERL5_REQD to set the required version of perl instead of directly setting BUILDLINK_DEPENDS.perl. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2004/01/21 22:19:30 heinz Exp $ d22 1 a22 1 PERL5_REQD= 5.60 # MakeMaker >= 5.45 needed @ 1.39 log @Update to 2.63. Tested on NetBSD and Solaris 8. Summary of major changes since 2.62 ----------------------------------- - Fixed bug related to perl 5.005 which stopped SpamAssassin from being runnable - Fixed bug where "spamassassin -l" parameter wouldn't be untainted before being used - Added caching of body rendering results so that the message wouldn't be rendered the same way multiple times unnecessarily. Summary of major changes since 2.61 ----------------------------------- - Fixed two bugs related to Received line generation and parsing. - Modified two rules to reduce false positives. - Fixed bug where spamd temporary init directory wasn't removed in some situations. - Modified HABEAS_SWE to function even if the Habeas headers were out of their normal order. - Fixed bug where reporting wouldn't remove message markup before being learned by Bayes. - Fixed bug where report_safe_copy_headers would reverse the order of the Received headers. - Fixed several bugs in the Bayes system caused by DB_File oddities. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2004/01/06 07:08:13 jlam Exp $ d22 1 a22 1 BUILDLINK_DEPENDS.perl= perl>=5.6.0 # MakeMaker >= 5.45 needed @ 1.38 log @bl3ify @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2003/12/27 19:16:04 heinz Exp $ d4 1 a4 1 PKGNAME= spamassassin-2.61 a154 1 @@${INSTALL_DATA} ${FILESDIR}/change_summary.txt ${DOCDIR}/ @ 1.37 log @Update to version 2.61 Summary of major changes since 2.60 ----------------------------------- - Dramatically reduced memory usage of Bayes expiry. - avoid false positives on Outlook 2003 messages, mails from Mac, Palm, and localized versions of Eudora, several AOL MUAs, and newer versions of The Bat! - new set of French translations from Michel Bouissou - updated to reflect new Dynablock DNSBL location - avoids a possible hole that was giving AWL bonuses to spammer forgeries on some networks - miscellaneous bug fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2003/12/01 16:04:40 heinz Exp $ d18 2 d35 1 a35 1 . include "../../security/openssl/buildlink2.mk" d46 1 a46 1 USE_BUILDLINK2= YES @ 1.36 log @Remove DNSBL rules using *.easynet.nl (shut down today, see http://abuse.easynet.nl/dynablocker.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2003/11/12 03:39:41 jschauma Exp $ d3 3 a5 3 DISTNAME= Mail-SpamAssassin-2.60 PKGNAME= spamassassin-2.60 PKGREVISION= 2 d12 1 a12 1 MAINTAINER= heinz-sa@@NetBSD.org d153 1 a153 1 @@${INSTALL_DATA} ${FILESDIR}/2.60_change_summary ${DOCDIR}/ @ 1.35 log @PKGREVISION++ after openssl update. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2003/11/04 16:37:48 jdolecek Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.34 log @spamassassin builds and works fine with perl 5.6.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2003/11/03 00:56:26 heinz Exp $ d5 1 a5 1 PKGREVISION= # empty @ 1.33 log @Update to version 2.60 (fixes PR pkg/23318): Summary of changes since 2.5x ----------------------------------- - spamd supports UNIX-domain sockets - SSL support for spamc/spamd now usable - improved Bayes text analysis - improved expiration of Bayes-DB - better detection of 'invisible text' and other obfuscation techniques in HTML - new RBL (eg SORBS, SpamCop, Osirusoft dropped) - better handling of RBL timeouts - support for Razor V1 dropped - more flexible header and report rewriting - Perl taint mode enabled by default - bug fixes - new rules @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2003/09/13 21:24:23 jlam Exp $ d20 1 a20 1 BUILDLINK_DEPENDS.perl= perl>=5.6.1 # MakeMaker >= 5.45 needed @ 1.32 log @Don't install unpatched (*.orig) files leftover from the patch process. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2003/09/13 17:57:21 jlam Exp $ d3 3 a5 3 DISTNAME= Mail-SpamAssassin-2.55 PKGNAME= spamassassin-2.55 PKGREVISION= 2 d9 2 a10 1 http://www.spamassassin.org/released/ d20 1 a20 1 BUILDLINK_DEPENDS.perl= perl>=5.6.0 d22 2 a23 2 DEPENDS+= p5-Net-DNS-[0-9]*:../../net/p5-Net-DNS DEPENDS+= p5-HTML-Parser>=3.0:../../www/p5-HTML-Parser d30 1 a30 4 ALL_TARGET= all SPAMASSASSIN_USE_SSL?= NO BUILD_DEFS+= SPAMASSASSIN_USE_SSL d36 2 a37 1 ALL_TARGET+= spamd/sslspamc d40 2 d48 16 d69 10 a78 6 PERL5_CONFIGURE= NO MAKE_PARAMS= SYSCONFDIR="${PKG_SYSCONFDIR}" MAKE_PARAMS+= LOCAL_RULES_DIR="${PKG_SYSCONFDIR}" MAKE_PARAMS+= RUN_RAZOR1_TESTS="y" RUN_RAZOR2_TESTS="y" OWN_DIRS+= ${PKG_SYSCONFDIR}/certs d81 1 a81 1 RCD_SCRIPT_SRC.spamd= ${WRKDIR}/${DISTNAME}/spamd/netbsd-rc-script.sh d88 1 d90 3 a92 3 CONF_FILES+= ${EGDIR}/local.cf ${PKG_SYSCONFDIR}/local.cf CONF_FILES+= ${PREFIX}/share/spamassassin/user_prefs.template \ ${PKG_SYSCONFDIR}/user_prefs.template d94 27 a120 2 ${PKG_SYSCONFDIR}/netbsd_lists.cf ${SHAREOWN} \ ${SHAREGRP} ${SHAREMODE} d132 2 a133 2 FILES_SUBST+= INTERPRETER_SUPPORT="${INTERPRETER_SUPPORT}" FILES_SUBST+= OPSYS="${OPSYS}" a142 11 post-patch: .for f in INSTALL README USAGE lib/Mail/SpamAssassin/Conf.pm \ spamd/README.spamd spamd/README.spamd-vpopmail sql/README @@${SED} -e "s,/usr/share,${PREFIX}/share,g" \ -e "s,/usr/bin,${PREFIX}/bin,g" \ -e "s,/usr/lib,${PREFIX}/lib,g" \ -e "s,/etc/mail/spamassassin,${PKG_SYSCONFDIR},g" \ ${WRKSRC}/${f} > ${WRKSRC}/${f}.fixed; \ ${MV} ${WRKSRC}/${f}.fixed ${WRKSRC}/${f} .endfor d145 3 a147 2 post-build: @@${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f d149 3 a151 6 pre-install: @@-${TEST} -r ${PLIST_ADD} && ${RM} ${PLIST_ADD} ; : @@${INSTALL_DATA_DIR} ${EGDIR} @@${INSTALL_DATA_DIR} ${DOCDIR}/spamd @@${INSTALL_DATA_DIR} ${HTMLDIR} @@# ninja image is in the static PLIST d153 1 a159 1 @@${ECHO} "@@dirrm ${DOC_SUBDIR}/spamd" >> ${PLIST_ADD} d172 1 a172 1 : ; \ d177 4 a180 5 ${SED} -e "1s,/usr/bin/perl,${PERL5}," \ -e "1s,/usr/local/bin/perl,${PERL5}," \ $$f > $${f}.fixed; \ ${MV} $${f}.fixed $$f; \ ${CHMOD} +x $$f; \ d187 1 a187 1 (for d in `${FIND} ${DIR} -type d -print`; do \ d189 1 a189 1 done) | ${SORT} -r >> ${PLIST_ADD} a190 1 @@${ECHO} "@@dirrm ${DOC_SUBDIR}" >> ${PLIST_ADD} d193 1 a193 1 ${ECHO} "share/spamassassin/$$f" >> ${PLIST_ADD}; \ d195 1 a195 1 @@${ECHO} "@@dirrm share/spamassassin" >> ${PLIST_ADD} a199 2 post-install: a202 4 .if !empty(SPAMASSASSIN_USE_SSL:M[yY][eE][sS]) @@${INSTALL_PROGRAM} ${WRKSRC}/spamd/sslspamc ${PREFIX}/bin/ @@${ECHO} "bin/sslspamc" >> ${PLIST_ADD} .endif @ 1.31 log @* Provide a default SPAMASSASSIN_USE_SSL?=NO. * Use ALL_TARGET appropriately instead of using a post-build target. * Get rid of DEPTHFIRST* variables and do the "depth-first" listing by using a reverse sort instead. * Get rid of extra shell processes. * Tabify. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2003/09/13 17:17:09 jlam Exp $ d108 3 @ 1.30 log @Move the perl dependency a little higher to be with all of the other dependencies. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2003/09/13 15:21:27 jlam Exp $ d29 6 a34 1 .if defined(SPAMASSASSIN_USE_SSL) && ${SPAMASSASSIN_USE_SSL} == "YES" d38 1 a41 1 BUILD_DEFS+= SPAMASSASSIN_USE_SSL d63 3 a65 2 DOCDIRNOPREFIX= share/doc/spamassassin DOCDIR= ${PREFIX}/${DOCDIRNOPREFIX} a75 2 DEPTHFIRST1= -d DEPTHFIRST2= # empty d78 1 a78 1 INTERPRETER_SUPPORT=NO d80 1 a80 1 INTERPRETER_SUPPORT=YES a81 4 .else # this needs to be more OS-specific DEPTHFIRST1= # empty DEPTHFIRST2= -depth d83 4 a86 2 FILES_SUBST+= INTERPRETER_SUPPORT="${INTERPRETER_SUPPORT}" FILES_SUBST+= OPSYS="${OPSYS}" d99 1 a99 1 @@${SED} -e "s,/usr/share,${PREFIX}/share,g" \ d103 2 a104 2 ${WRKSRC}/${f} > ${WRKSRC}/${f}.fixed && \ ${MV} ${WRKSRC}/${f}.fixed ${WRKSRC}/${f} a108 6 .if defined(SPAMASSASSIN_USE_SSL) && ${SPAMASSASSIN_USE_SSL} == "YES" post-build: @@(cd ${WRKSRC}; \ ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} spamd/sslspamc ) .endif d113 3 a115 4 @@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/spamassassin @@ # ninja image is in the static PLIST @@${INSTALL_DATA} ${WRKSRC}/ninjabutton.png \ ${PREFIX}/share/doc/html/spamassassin/ d117 2 a118 2 sample-nonspam.txt sample-spam.txt spamd/README.spamd \ spamd/README.spamd-vpopmail d120 1 a120 1 @@${ECHO} "${DOCDIRNOPREFIX}/$f" >> ${PLIST_ADD} d122 1 a122 1 @@${ECHO} "@@dirrm ${DOCDIRNOPREFIX}/spamd" >> ${PLIST_ADD} d124 1 a124 1 STATISTICS-set3.txt d126 1 a126 1 @@${ECHO} "${DOCDIRNOPREFIX}/$f" >> ${PLIST_ADD} d129 25 a153 22 @@(cd ${WRKSRC} && \ for d in `${FIND} ${DIR} -type d -print`; do \ ${INSTALL_DATA_DIR} ${DOCDIR}/$$d; \ done && \ for f in `${FIND} ${DIR} -type f -print`; do \ if ${TEST} -f $$f; then \ if ${TEST} -x $$f ; then \ ${SED} -e "1s,/usr/bin/perl,${PERL5}," \ -e "1s,/usr/local/bin/perl,${PERL5}," < $$f \ > $${f}.fixed && ${MV} $${f}.fixed $$f && \ ${CHMOD} +x $$f && \ ${INSTALL_SCRIPT} $$f ${DOCDIR}/$$f; \ else \ ${INSTALL_DATA} $$f ${DOCDIR}/$$f; \ fi && \ ${ECHO} "${DOCDIRNOPREFIX}/$$f" >> ${PLIST_ADD}; \ fi; \ done && \ for d in `${FIND} ${DEPTHFIRST1} ${DIR} ${DEPTHFIRST2} -type d\ -print`; do \ ${ECHO} "@@dirrm ${DOCDIRNOPREFIX}/$$d" >> ${PLIST_ADD}; \ done) d155 5 a159 5 @@${ECHO} "@@dirrm ${DOCDIRNOPREFIX}" >> ${PLIST_ADD} @@(cd ${WRKSRC}/rules && \ for f in [0-9]*.cf; do \ ${ECHO} "share/spamassassin/$$f" >> ${PLIST_ADD}; \ done) d161 1 a161 1 @@ # examples are in the static PLIST d170 1 a170 1 .if defined(SPAMASSASSIN_USE_SSL) && ${SPAMASSASSIN_USE_SSL} == "YES" @ 1.29 log @INSTALL_TARGET is now "install" again after rev. 1.19 of perl5/module.mk. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2003/09/13 14:55:30 jlam Exp $ d19 2 a37 1 BUILDLINK_DEPENDS.perl= perl>=5.6.0 @ 1.28 log @Catch up with INSTALL_TARGET changes in perl5/module.mk. INSTALL_TARGET is now set to "pure_install" in perl5/module.mk, so we need to append the additional target "inst_cfs" that is normally invoked by the "install" target in ${WRKSRC}/Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2003/09/13 14:43:30 jlam Exp $ a84 5 # SpamAssassin is actually a perl module. .include "../../lang/perl5/module.mk" INSTALL_TARGET+= inst_cfs d176 1 @ 1.27 log @Reorder some lines to make the Makefile layout more standard and fix some whitespace. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2003/09/13 14:29:30 jlam Exp $ d46 1 a46 1 PERL5_CONFIGURE= NO # need GNU_CONFIGURE "do-configure" target d85 4 a88 1 TEST_TARGET= test a180 1 .include "../../lang/perl5/module.mk" @ 1.26 log @Instead of using PKG_SYSCONFBASE, substitute with PKG_SYSCONFDIR for the full /etc/mail/spamassassin. This is more precise. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2003/09/03 13:08:04 atatat Exp $ d15 2 d18 1 d28 1 d34 1 a38 6 BUILD_DEFS+= SPAMASSASSIN_USE_SSL CONFLICTS= p5-Mail-SpamAssassin-[1-9]* GNU_CONFIGURE= YES d45 1 d61 1 a61 1 CONF_FILES+= ${EGDIR}/local.cf ${PKG_SYSCONFDIR}/local.cf a175 2 .include "../../security/openssl/buildlink2.mk" @ 1.25 log @Since osirusoft is dead now, we should remove all reference to it from spamassassin. These patches remove all references to osirusoft from the rules files (perhaps leaving some of the comments a tad stale), but leaving information about them in the stats files. This bumps us to 2.55nb2. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2003/07/21 16:56:56 martti Exp $ d97 1 a97 1 spamd/README.spamd spamd/README.spamd-vpopmail sql/README d101 1 a101 1 -e "s,/etc/mail,${PKG_SYSCONFBASE},g" \ @ 1.24 log @COMMENT should start with a capital letter. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2003/07/17 21:47:03 grant Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.23 log @s/netbsd.org/NetBSD.org/ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2003/06/08 01:11:38 heinz Exp $ d13 1 a13 1 COMMENT= mail filter to identify spam @ 1.22 log @- include patch from SA CVS repository to fix a bug with 'spamassassin -r' learning a message without Message-Id as ham (see bugzilla #2030) - depend on p5-IO-Socket-SSL>=0.92 because of bugs in earlier versions - bump revision @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2003/05/22 11:41:02 abs Exp $ d11 1 a11 1 MAINTAINER= heinz-sa@@netbsd.org @ 1.21 log @Update spamassassin to 2.55 Many small changes since 2.53, but difficult to pick out anything significant. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2003/04/15 00:35:25 heinz Exp $ d5 1 a5 1 PKGREVISION= # empty d25 1 a25 1 DEPENDS+= p5-IO-Socket-SSL-[0-9]*:../../security/p5-IO-Socket-SSL @ 1.20 log @work around differences in find options for depth-first traversal @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2003/04/15 00:02:24 heinz Exp $ d3 2 a4 2 DISTNAME= Mail-SpamAssassin-2.53 PKGNAME= spamassassin-2.53 @ 1.19 log @ Update to version 2.53. This also closes PR pkg/21114 (thanks to Todd Vierling for dynamic PLIST) Most serious bugs since release of SA 2.50 fixed (hence the 'long' delay for the Pkgsrc package). Dependence on procmail removed. You still need a mail delivery agent but procmail is only a recommendation, not a prerequisite. Runs on Solaris (somewhat tested on Solaris 8, feedback welcome). Includes some SSL support for spamc/spamd. Not yet recommended due to lurking bug(s) (SA bugzilla ID 1751). Uses Perl module DB_File now instead of NDBM_File. This changes the name and format of the auto-whitelist database ('auto-whitelist' instead of 'auto-whitelist.db' on NetBSD). ! This release adds/changes/removes configuration options, PLEASE use ! ! 'perldoc Mail::SpamAssassin::Conf' and make sure your mail ! ! configuration still works as expected. ! ========================================================================== Changes since 2.52: - corruption of Bayes db where nspam/nham was getting zeroed, fixed. - Bayes now has much lower lock timeouts for opportunistic expiry and auto-learning, to avoid overloading busy servers with an expiry run. (This may result in occasional "lock failed" messages in the syslog while you're doing manual sa-learn ops, but those are not serious; it just means that an auto-learn could not take place because the dbs were opened by you in another process.) - NDBM_File does not provide an EXISTS method, worked around. - BSMTP support (spamc -B) fixed. - Bayes allowed the user to 'forget' messages they hadn't learned. - sa-learn broken when installed in a non-standard location. - spamc was failing to dump message if out of memory. - add-all-addrs-to-blacklist was a no-op, fixed. - syslog-socket support was broken, fixed. - sslspamc compilation fixed. - SIGCHLD handling in spamd was causing an ugly warning on Red Hat 8. - user_prefs were left world-writable after auto-whitelist use. - Razor was zeroing %ENV; protected against this. - some test failures on 5.005 and with Razor fixed; some tests were also still using the user's Bayes dbs. - Windows portability fix in new Bayes journal code. - dialup_codes now a privileged setting. - clean PATH env variable immediately upon spamd start; fixed problem with taint mode failures when getting hostname in Perl 5.005. - NetBSD: fixed SSL support, spamd start script. - single-Received-header mails were not getting DNSBL checks. - some doco fixes. Changes since 2.51: - bug 1664: expiry imposed way too much load when a single site-wide Bayes db was used, fixed - bug 1672: a typo in a backported patch for 2.51 caused Bayes to sometimes not unlock the db, fixed - INSTALL now strongly recommends using DB_File - some NetBSD support fixes - bug 1601: option --syslog-socket wasn't implemented - bug 1260: corrected description of --nocreate-prefs option Changes since 2.50: - Bayes locking and concurrency issues fixed - Bayes expiration was not working; fixed - spamd was not enabling Bayes after auto-learning without restart; fixed - safer way to attach spams, for broken mail clients, using 'report_safe 2' - a few doco cleanups Main changes since 2.4x: - Bayesian filtering, using a Bayesian-style form of probability-analysis classification. This uses an algorithm based on the one detailed in Paul Graham's 'A Plan For Spam' paper, along with aspects taken from Graham Robinson's work, and the chi-combining technique developed by the SpamBayes project. - Auto-learning. This trains the Bayesian filter automatically, based on the results from traditional SpamAssassin diagnosis. It uses a set of heuristics and separate thresholds to ensure (as much as is possible) that it trains on guaranteed non-spam and spam. Old, unused tokens are automatically expired. - much-improved rule set. A whole new set of rules based on Message-Id analysis is now in place, which accurately detects forged headers from a wide range of spamware. Many inaccurate rules have been dropped. HTML tests much improved, with a set to detect image-only spam. - new default format for detected-spam messages; the message is encapsulated as a MIME part, with a preview and the spam report in the main part of the message. - Score sets. Based on whether you are using just SpamAssassin rules, adding network tests, and using a trained Bayesian database, SpamAssassin will use a set of scores appropriately to gain the maximum degree of accuracy. - Italian, Polish, Spanish, French and German rule sets and translations. - Much improved reliability with spamd. The problems with signals have been cleared up thanks to a pipe-based child tracking system, and all spamd-hanging bugs reported have proved unreproducable. - Unicode problems with Red Hat 8 and perl 5.8 fixed. Works on Perl 5.005, 5.6.x, and 5.8.x. - Taint-safe. SpamAssassin runs with perl's taint-checking enabled for better security. - Razor 1 support is now officially deprecated. - "spamc -c" was not working, fixed. This fix required increasing the revision of the spamd protocol; only difference is that now more than one protocol header can appear in the reply from spamd. - all fixes from 2.44 included. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2003/02/09 02:27:54 heinz Exp $ d69 2 d77 4 d153 2 a154 1 for d in `${FIND} ${DIR} -type d -print`; do \ @ 1.18 log @Remove incorrect 'free()' from libspamc.c (used in 'spamc'). Patch copied from stable branch of SA CVS repository. On other operating systems 'spamc' was reported to cause a core dump if 'spamd' was not running. At least NetBSD/i386 1.5.3 seems not to be as severely affected, I only got 'spamc in free(): warning: junk pointer, too high to make sense.'. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2003/02/02 19:38:39 heinz Exp $ d3 3 a5 3 DISTNAME= Mail-SpamAssassin-2.44 PKGNAME= spamassassin-2.44 PKGREVISION= 1 d15 1 a15 1 DEPENDS+= procmail>=3.22:../../mail/procmail d20 10 d35 2 d42 5 a46 1 PERL5_CONFIGURE= NO d48 4 a51 1 PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Mail/SpamAssassin/.packlist d57 2 a58 1 DOCDIR= ${PREFIX}/share/doc/spamassassin d62 1 a62 1 CONF_FILES+= ${PREFIX}/share/spamassassin/user_prefs.template\ d68 7 a74 6 .include "../../mk/bsd.prefs.mk" # the 'spamd' RCD_SCRIPT behaves differently if we run NetBSD 1.6 or later .if ${OS_VERSION:M1.[0-5]*} INTERPRETER_SUPPORT=NO .else INTERPRETER_SUPPORT=YES d76 2 a77 1 FILES_SUBST+= INTERPRETER_SUPPORT=${INTERPRETER_SUPPORT} d81 11 a91 5 pre-configure: perl5-configure post-configure: .for f in INSTALL README lib/Mail/SpamAssassin/Conf.pm \ spamd/README.spamd-vpopmail sql/README d100 8 d109 12 a120 3 ${INSTALL_DATA_DIR} ${EGDIR} .for d in masses/lib/Mail spamd sql tools ${INSTALL_DATA_DIR} ${DOCDIR}/$d d122 5 a126 7 ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/spamassassin ${INSTALL_DATA} ${WRKSRC}/ninjabutton.png \ ${PREFIX}/share/doc/html/spamassassin/ .for f in INSTALL License README TRADEMARK sample-nonspam.txt \ sample-spam.txt sql/README sql/spamassassin.sql \ spamd/README.spamd spamd/README.spamd-vpopmail ${INSTALL_DATA} ${WRKSRC}/$f ${DOCDIR}/$f d128 6 a133 5 ${INSTALL_DATA} ${WRKSRC}/rules/STATISTICS.txt ${DOCDIR}/ ${INSTALL_DATA} ${WRKSRC}/masses/lib/Mail/ArchiveIterator.pm \ ${DOCDIR}/masses/lib/Mail/ArchiveIterator.pm @@(cd ${WRKSRC}/masses/; \ for f in *; do \ d136 2 a137 1 ${SED} -e "1s,/usr/bin/perl,${PERL5}," < $$f \ d140 1 a140 1 ${INSTALL_SCRIPT} $$f ${DOCDIR}/masses/$$f; \ d142 3 a144 2 ${INSTALL_DATA} $$f ${DOCDIR}/masses/$$f; \ fi; \ d146 3 a149 9 ${INSTALL_DATA} ${WRKSRC}/procmailrc.example ${EGDIR}/procmailrc.example ${INSTALL_DATA} ${WRKSRC}/rules/local.cf ${EGDIR}/local.cf ${INSTALL_DATA} ${FILESDIR}/netbsd_lists.cf ${EGDIR}/ .for f in check_whitelist speedtest translation_prep.pl @@(cd ${WRKSRC}/tools/; \ ${SED} -e "1s,/usr/bin/perl,${PERL5}," \ -e "1s,/usr/local/bin/perl,${PERL5}," < $f \ > ${f}.fixed && ${MV} ${f}.fixed $f; \ ${INSTALL_SCRIPT} $f ${DOCDIR}/tools/$f ) d151 10 a160 2 ${INSTALL_DATA} ${WRKSRC}/tools/README.speedtest \ ${DOCDIR}/tools/README.speedtest d163 9 a171 2 ${CHOWN} ${SHAREOWN} ${RULESDIR}/* ${CHGRP} ${SHAREGRP} ${RULESDIR}/* @ 1.17 log @Maintenance update to 2.44 Parts of patch-ag and patch-ah as well as complete patch-aa could be removed again, they are now included in SA 2.44 (see below). #### official release announcement ############### This is a bug-fix release, which fixes the following bugs: - Backport fix for Bug 1306: Possible buffer overflow in libspamc when running in BSMTP mode (patch 1.15 -> 1.18) - Backport workaround from Bug 526: Failed sanity check because of clobbered STDOUT (patch 1.147 -> 1.148) - Backport fix for Debian Bug 160206: Insufficient buffer in libspamc (patch 1.8 -> 1.9) - Backport fix for warnings in sed_path (patch 1.141 -> 1.142) - Backport fix for Bug 1127: Existing lowercase x-spam-status header kills SpamAssassin (patch 1.40 -> 1.41) - localized %ENV to fix problem where Razor2 erases the PATH so DCC and pyzor don't work, etc. Note that this is *not* 2.50, which offers Bayesian filtering etc. These bugs are already fixed in the 2.50 CVS tree, but that is not yet ready for release. This is a stable maintainance release only. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2003/01/29 17:34:28 tron Exp $ d5 1 a5 1 PKGREVISION= # empty @ 1.16 log @Fix buffer overflow in "spamc" program can be remotely exploited. Bump package revision. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2003/01/28 22:03:39 jlam Exp $ d3 3 a5 3 DISTNAME= Mail-SpamAssassin-2.43 PKGNAME= spamassassin-2.43 PKGREVISION= 2 d57 1 a57 2 test: build @@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKEFLAGS} test @ 1.15 log @Instead of including bsd.pkg.install.mk directly in a package Makefile, have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal . @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2002/11/06 21:51:26 heinz Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.14 log @Changed the rc.d script to account for different behaviour of load_rc_config in NetBSD 1.6. This resolves PR pkg/18928 by Frank Cusack (fcusack at fcusack com). The rc.d script is now called on 'shutdown'. Included fixes from SA CVS repository (2002-10-21) to minimize impact of Razor2 on the environment vector, especially PATH. Bumped PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2002/10/21 12:39:30 heinz Exp $ d23 1 a119 1 .include "../../mk/bsd.pkg.install.mk" @ 1.13 log @PKGREVISION is now empty, to placate lintpkgsrc (thanks to Martti Kuparinen). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2002/10/21 07:57:07 jlam Exp $ d5 1 a5 1 PKGREVISION= # empty @ 1.12 log @For subtle reasons, expand ${WRKSRC} into ${WRKDIR}/${DISTNAME} in RCD_SCRIPT_SRC.spamd definition. The reason is that WRKSRC isn't defined by the time we get down to bsd.pkg.install.mk, so the dependency logic replaces "${WRKSRC}" with "", which is wrong. XXX bsd.pkg.install.mk should really be included by bsd.pkg.mk, in much the XXX same way bsd.buildlink2.mk is included by bsd.pkg.mk. It would remove XXX these ordering problems with variables not being available. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2002/10/20 20:09:05 heinz Exp $ d5 1 a5 1 PKGREVISION= 0 @ 1.11 log @Update to 2.43 Item 1) was already provided by 'inofficial' patch-af for 2.42 (now removed). Two new patches (-ag and -ah) from the SpamAssassin-current repository work around a roblem with razor2 timeouts. Logo 'ninjabutton.png' is now in the correct html directory. Official changes: 1) AWL change reverted; instead of decreasing the AWL bias gradually to allow frequently-seen addresses to get into the "nonspam" area, it now behaves like 2.31 did, in that the AWL simply represents the long-term average score from that correspondent. 2) core-dump bug in spamd worked around, _except for the "-m" switch_. The "-m" switch relies on signal handling in the Perl interpreter, which seems to have some bugs we cannot work around reliably on some platforms, so its use is no longer recommended. 3) some portability fixes for SunOS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2002/10/08 16:41:32 heinz Exp $ d34 1 a34 1 RCD_SCRIPT_SRC.spamd= ${WRKSRC}/spamd/netbsd-rc-script.sh @ 1.10 log @- Setting PKG_SYSCONFBASE in /etc/mk.conf works now (Thanks to Urban Boquist). - Included fix for bad AWL behaviour which will also be in 2.50 (maybe 2.43) (ie AWL works the same again as in SA 2.31). This causes revision bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2002/10/08 00:49:18 heinz Exp $ d3 3 a5 3 DISTNAME= Mail-SpamAssassin-2.42 PKGNAME= spamassassin-2.42 PKGREVISION= 1 d62 5 a66 2 .for f in README lib/Mail/SpamAssassin/Conf.pm spamd/README.spamd-vpopmail @@${SED} -e "s,/usr/share,${PREFIX}/share," \ d74 1 a74 1 .for d in html masses/lib/Mail spamd sql tools d77 3 a85 1 ${INSTALL_DATA} ${WRKSRC}/ninjabutton.png ${DOCDIR}/html/ @ 1.9 log @Update to 2.42. Uses buildlink2 and module.mk. Some perl scripts for rule developers (in PREFIX/share/doc/spamassassin/{masses,tools}/) and a small SpamAssassin logo (PREFIX/share/doc/spamassassin/html/) are now included. New netbsd_lists.cf file to reduce false positives on NetBSD lists (so far, only some rules for netbsd-bugs). Changes: - bug fixes - new, better scores (intensive testing was done to improve on 2.40 and 2.41) - netbsd rc.d script works now with NetBSD 1.5 and 1.6 - management of addresses in the automatic whitlist now easier with dedicated options (--add-addr-to-whitelist, --remove-addr-from-whitelist) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2002/09/29 23:44:28 simonb Exp $ d5 1 d43 3 d98 1 a111 1 ${INSTALL_DATA} ${FILESDIR}/netbsd_lists.cf ${PKG_SYSCONFDIR}/ @ 1.8 log @Update spamassassin to 2.41. Major changes include: - SpamAssassin now *REQUIRES* procmail for local delivery support; "-P" option is now the default. Unless you use procmail, Mail::Audit, KMail, or an MTA-level integration, do not upgrade blindly, your mail *WILL* spill all over the floor in a big mess. - significant speed increases, mostly from Matt Sergeant and Dan Quinlan - bugs in whitelist_to, all_spam_to and friends fixed - rules which were causing too many false-positives removed or fixed: DOUBLE_CAPSWORD, UPPERCASE_25_50, PARTIAL_RFC_2369, MSGID_CHARS_SPAM, many others - lots of rule fixes, and lots of new rules @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2002/09/19 09:04:13 jlam Exp $ d3 2 a4 2 DISTNAME= Mail-SpamAssassin-2.41 PKGNAME= spamassassin-2.41 d7 2 a8 1 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/} d10 1 a10 1 MAINTAINER= packages@@netbsd.org d14 1 a14 1 DEPENDS+= procmail-[0-9]*:../../mail/procmail d16 3 a18 2 DEPENDS+= p5-Time-HiRes-[0-9]*:../../time/p5-Time-HiRes DEPENDS+= p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser d20 2 a21 1 CONFLICTS= p5-Mail-SpamAssassin-[1-9]* d23 1 a23 1 RCD_SCRIPTS= spamd d25 5 a29 1 USE_BUILDLINK_ONLY= YES d32 2 a33 7 post-patch: @@(cd ${WRKSRC}; \ for f in README Makefile.PL lib/Mail/SpamAssassin/Conf.pm ; do \ ${SED} -e "s,/usr/share,${PREFIX}/share," \ -e "s,/etc/mail,${PKG_SYSCONFBASE},g" $$f > $$f.fixed && \ ${MV} $$f.fixed $$f; \ done) d35 29 a63 2 do-configure: @@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL d65 9 a73 3 post-install: .for d in spamassassin spamassassin/sql spamassassin/spamd ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/$d d75 25 a99 3 .for f in README procmailrc.example sample-nonspam.txt sample-spam.txt \ sql/README sql/spamassassin.sql spamd/README.spamd ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/spamassassin/$f d101 7 d109 1 a109 1 .include "../../lang/perl5/buildlink.mk" @ 1.7 log @Take advantage of the auto-generation and installation of rc.d scripts. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2002/09/08 23:30:38 wiz Exp $ d3 2 a4 2 DISTNAME= Mail-SpamAssassin-2.31 PKGNAME= spamassassin-2.31 a5 1 PKGREVISION= 1 d13 1 d16 1 @ 1.6 log @Add conflict with p5-Mail-SpamAssassin (for those who still have it installed). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2002/08/30 10:50:51 abs Exp $ a35 2 ${SED} -e 's:@@PREFIX@@:${PREFIX}:' ${FILESDIR}/spamd.sh \ > ${PREFIX}/etc/rc.d/spamd @ 1.5 log @Updated spamassassin to 2.31nb1 Add rc.d/spamd (From norm at sandbox org uk) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2002/08/26 16:00:52 hubertf Exp $ d16 2 @ 1.4 log @Rename pkgsrc/mail/p5-Mail-Spamassassin to pkgsrc/mail/spamassassin. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2002/07/23 02:07:07 wiz Exp $ d6 1 d17 2 d34 2 d45 1 @ 1.3 log @Rename pkgsrc/mail/p5-Mail-Spamassassin to pkgsrc/mail/spamassassin. @ text @d4 2 a5 3 PKGNAME= p5-${DISTNAME} PKGREVISION= 3 SVR4_PKGNAME= p5msa a6 1 #MASTER_SITES= http://spamassassin.taint.org/released/ @ 1.2 log @spamassassin is already present as p5-Mail-SpamAssassin (how obvious... NOT!) @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.1 2002/08/24 19:46:39 hubertf Exp $ # d4 6 a9 7 PKGNAME= spamassassin-2.31 CATEGORIES= mail perl5 MASTER_SITES= http://spamassassin.taint.org/released/ MAINTAINER= hubertf@@netbsd.org HOMEPAGE= http://spamassassin.taint.org/ COMMENT= Spam identifier and blocker d11 5 d18 10 a27 1 PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Mail/SpamAssassin/.packlist d31 9 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ @ 1.1.1.1 log @Add spamassassin-2.31: Spam identifier and blocker SpamAssassin is a mail filter which attempts to identify spam using text analysis and several internet-based realtime blacklists. Using its rule base, it uses a wide range of heuristic tests on mail headers and body text to identify "spam", also known as unsolicited commercial email. Once identified, the mail can then be optionally tagged as spam for later filtering using the user's own mail user-agent application. In its most recent test, SpamAssassin differentiated between spam and non-spam mail correctly in 99.94% of cases. Since then, it's just been getting better and better! @ text @@ 1.1.1.2 log @Rename pkgsrc/mail/p5-Mail-Spamassassin to pkgsrc/mail/spamassassin. @ text @d1 2 a2 1 # $NetBSD: Makefile,v 1.9 2002/07/23 02:07:07 wiz Exp $ d5 7 a11 6 PKGNAME= p5-${DISTNAME} PKGREVISION= 3 SVR4_PKGNAME= p5msa CATEGORIES= mail #MASTER_SITES= http://spamassassin.taint.org/released/ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/} a12 5 MAINTAINER= packages@@netbsd.org HOMEPAGE= http://www.spamassassin.org/ COMMENT= mail filter to identify spam DEPENDS+= p5-Net-DNS-[0-9]*:../../net/p5-Net-DNS d15 1 a15 10 USE_BUILDLINK_ONLY= YES PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Mail/SpamAssassin/.packlist post-patch: @@(cd ${WRKSRC}; \ for f in README Makefile.PL lib/Mail/SpamAssassin/Conf.pm ; do \ ${SED} -e "s,/usr/share,${PREFIX}/share," \ -e "s,/etc/mail,${PKG_SYSCONFBASE},g" $$f > $$f.fixed && \ ${MV} $$f.fixed $$f; \ done) a18 9 post-install: .for d in spamassassin spamassassin/sql spamassassin/spamd ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/$d .endfor .for f in README procmailrc.example sample-nonspam.txt sample-spam.txt \ sql/README sql/spamassassin.sql spamd/README.spamd ${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/spamassassin/$f .endfor @