head 1.130; access; symbols pkgsrc-2026Q1:1.130.0.20 pkgsrc-2026Q1-base:1.130 pkgsrc-2025Q4:1.130.0.18 pkgsrc-2025Q4-base:1.130 pkgsrc-2025Q3:1.130.0.16 pkgsrc-2025Q3-base:1.130 pkgsrc-2025Q2:1.130.0.14 pkgsrc-2025Q2-base:1.130 pkgsrc-2025Q1:1.130.0.12 pkgsrc-2025Q1-base:1.130 pkgsrc-2024Q4:1.130.0.10 pkgsrc-2024Q4-base:1.130 pkgsrc-2024Q3:1.130.0.8 pkgsrc-2024Q3-base:1.130 pkgsrc-2024Q2:1.130.0.6 pkgsrc-2024Q2-base:1.130 pkgsrc-2024Q1:1.130.0.4 pkgsrc-2024Q1-base:1.130 pkgsrc-2023Q4:1.130.0.2 pkgsrc-2023Q4-base:1.130 pkgsrc-2023Q3:1.127.0.4 pkgsrc-2023Q3-base:1.127 pkgsrc-2023Q2:1.127.0.2 pkgsrc-2023Q2-base:1.127 pkgsrc-2023Q1:1.125.0.4 pkgsrc-2023Q1-base:1.125 pkgsrc-2022Q4:1.125.0.2 pkgsrc-2022Q4-base:1.125 pkgsrc-2022Q3:1.124.0.14 pkgsrc-2022Q3-base:1.124 pkgsrc-2022Q2:1.124.0.12 pkgsrc-2022Q2-base:1.124 pkgsrc-2022Q1:1.124.0.10 pkgsrc-2022Q1-base:1.124 pkgsrc-2021Q4:1.124.0.8 pkgsrc-2021Q4-base:1.124 pkgsrc-2021Q3:1.124.0.6 pkgsrc-2021Q3-base:1.124 pkgsrc-2021Q2:1.124.0.4 pkgsrc-2021Q2-base:1.124 pkgsrc-2021Q1:1.124.0.2 pkgsrc-2021Q1-base:1.124 pkgsrc-2020Q4:1.123.0.2 pkgsrc-2020Q4-base:1.123 pkgsrc-2020Q3:1.122.0.2 pkgsrc-2020Q3-base:1.122 pkgsrc-2020Q2:1.121.0.2 pkgsrc-2020Q2-base:1.121 pkgsrc-2020Q1:1.118.0.2 pkgsrc-2020Q1-base:1.118 pkgsrc-2019Q4:1.115.0.4 pkgsrc-2019Q4-base:1.115 pkgsrc-2019Q3:1.114.0.2 pkgsrc-2019Q3-base:1.114 pkgsrc-2019Q2:1.111.0.2 pkgsrc-2019Q2-base:1.111 pkgsrc-2019Q1:1.109.0.2 pkgsrc-2019Q1-base:1.109 pkgsrc-2018Q4:1.107.0.2 pkgsrc-2018Q4-base:1.107 pkgsrc-2018Q3:1.98.0.2 pkgsrc-2018Q3-base:1.98 pkgsrc-2018Q2:1.93.0.2 pkgsrc-2018Q2-base:1.93 pkgsrc-2018Q1:1.92.0.8 pkgsrc-2018Q1-base:1.92 pkgsrc-2017Q4:1.92.0.6 pkgsrc-2017Q4-base:1.92 pkgsrc-2017Q3:1.92.0.4 pkgsrc-2017Q3-base:1.92 pkgsrc-2017Q2:1.86.0.2 pkgsrc-2017Q2-base:1.86 pkgsrc-2017Q1:1.80.0.2 pkgsrc-2017Q1-base:1.80 pkgsrc-2016Q4:1.76.0.6 pkgsrc-2016Q4-base:1.76 pkgsrc-2016Q3:1.76.0.4 pkgsrc-2016Q3-base:1.76 pkgsrc-2016Q2:1.76.0.2 pkgsrc-2016Q2-base:1.76 pkgsrc-2016Q1:1.75.0.2 pkgsrc-2016Q1-base:1.75 pkgsrc-2015Q4:1.73.0.8 pkgsrc-2015Q4-base:1.73 pkgsrc-2015Q3:1.73.0.6 pkgsrc-2015Q3-base:1.73 pkgsrc-2015Q2:1.73.0.4 pkgsrc-2015Q2-base:1.73 pkgsrc-2015Q1:1.73.0.2 pkgsrc-2015Q1-base:1.73 pkgsrc-2014Q4:1.72.0.2 pkgsrc-2014Q4-base:1.72 pkgsrc-2014Q3:1.70.0.2 pkgsrc-2014Q3-base:1.70 pkgsrc-2014Q2:1.69.0.2 pkgsrc-2014Q2-base:1.69 pkgsrc-2014Q1:1.67.0.2 pkgsrc-2014Q1-base:1.67 pkgsrc-2013Q4:1.66.0.8 pkgsrc-2013Q4-base:1.66 pkgsrc-2013Q3:1.66.0.6 pkgsrc-2013Q3-base:1.66 pkgsrc-2013Q2:1.66.0.4 pkgsrc-2013Q2-base:1.66 pkgsrc-2013Q1:1.66.0.2 pkgsrc-2013Q1-base:1.66 pkgsrc-2012Q4:1.65.0.6 pkgsrc-2012Q4-base:1.65 pkgsrc-2012Q3:1.65.0.4 pkgsrc-2012Q3-base:1.65 pkgsrc-2012Q2:1.65.0.2 pkgsrc-2012Q2-base:1.65 pkgsrc-2012Q1:1.64.0.2 pkgsrc-2012Q1-base:1.64 pkgsrc-2011Q4:1.62.0.2 pkgsrc-2011Q4-base:1.62 pkgsrc-2011Q3:1.61.0.2 pkgsrc-2011Q3-base:1.61 pkgsrc-2011Q2:1.60.0.2 pkgsrc-2011Q2-base:1.60 pkgsrc-2011Q1:1.59.0.16 pkgsrc-2011Q1-base:1.59 pkgsrc-2010Q4:1.59.0.14 pkgsrc-2010Q4-base:1.59 pkgsrc-2010Q3:1.59.0.12 pkgsrc-2010Q3-base:1.59 pkgsrc-2010Q2:1.59.0.10 pkgsrc-2010Q2-base:1.59 pkgsrc-2010Q1:1.59.0.8 pkgsrc-2010Q1-base:1.59 pkgsrc-2009Q4:1.59.0.6 pkgsrc-2009Q4-base:1.59 pkgsrc-2009Q3:1.59.0.4 pkgsrc-2009Q3-base:1.59 pkgsrc-2009Q2:1.59.0.2 pkgsrc-2009Q2-base:1.59 pkgsrc-2009Q1:1.58.0.14 pkgsrc-2009Q1-base:1.58 pkgsrc-2008Q4:1.58.0.12 pkgsrc-2008Q4-base:1.58 pkgsrc-2008Q3:1.58.0.10 pkgsrc-2008Q3-base:1.58 cube-native-xorg:1.58.0.8 cube-native-xorg-base:1.58 pkgsrc-2008Q2:1.58.0.6 pkgsrc-2008Q2-base:1.58 cwrapper:1.58.0.4 pkgsrc-2008Q1:1.58.0.2 pkgsrc-2008Q1-base:1.58 pkgsrc-2007Q4:1.55.0.6 pkgsrc-2007Q4-base:1.55 pkgsrc-2007Q3:1.55.0.4 pkgsrc-2007Q3-base:1.55 pkgsrc-2007Q2:1.55.0.2 pkgsrc-2007Q2-base:1.55 pkgsrc-2007Q1:1.53.0.2 pkgsrc-2007Q1-base:1.53 pkgsrc-2006Q4:1.51.0.2 pkgsrc-2006Q4-base:1.51 pkgsrc-2006Q3:1.50.0.4 pkgsrc-2006Q3-base:1.50 pkgsrc-2006Q2:1.50.0.2 pkgsrc-2006Q2-base:1.50 pkgsrc-2006Q1:1.47.0.2 pkgsrc-2006Q1-base:1.47 pkgsrc-2005Q4:1.39.0.2 pkgsrc-2005Q4-base:1.39 pkgsrc-2005Q3:1.38.0.2 pkgsrc-2005Q3-base:1.38 pkgsrc-2005Q2:1.36.0.2 pkgsrc-2005Q2-base:1.36 pkgsrc-2005Q1:1.31.0.2 pkgsrc-2005Q1-base:1.31 pkgsrc-2004Q4:1.29.0.2 pkgsrc-2004Q4-base:1.29 pkgsrc-2004Q3:1.28.0.2 pkgsrc-2004Q3-base:1.28 pkgsrc-2004Q2:1.23.0.2 pkgsrc-2004Q2-base:1.23 pkgsrc-2004Q1:1.19.0.4 pkgsrc-2004Q1-base:1.19 pkgsrc-2003Q4:1.19.0.2 pkgsrc-2003Q4-base:1.19 netbsd-1-6-1:1.17.0.2 netbsd-1-6-1-base:1.17 netbsd-1-6:1.14.0.4 netbsd-1-6-RELEASE-base:1.14 pkgviews:1.12.0.4 pkgviews-base:1.12 buildlink2:1.12.0.2 buildlink2-base:1.12 netbsd-1-5-PATCH003:1.11 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.130 date 2023.11.16.23.13.16; author schmonz; state Exp; branches; next 1.129; commitid PXvtJ2MHWgDGdTME; 1.129 date 2023.11.15.16.49.26; author schmonz; state Exp; branches; next 1.128; commitid cQisFPzOGTxT7JME; 1.128 date 2023.10.24.22.09.49; author wiz; state Exp; branches; next 1.127; commitid MTsrqKm6aGrQAVJE; 1.127 date 2023.05.11.16.52.34; author schmonz; state Exp; branches; next 1.126; commitid wDUnz3BQqSPJbzoE; 1.126 date 2023.04.24.17.22.59; author schmonz; state Exp; branches; next 1.125; commitid BfdqYxRU0Jq3UnmE; 1.125 date 2022.10.26.10.31.39; author wiz; state Exp; branches; next 1.124; commitid PVFjlIYUKslkpdZD; 1.124 date 2021.01.14.15.25.22; author schmonz; state Exp; branches; next 1.123; commitid Nwc3dpmkitxJVHDC; 1.123 date 2020.11.19.09.35.42; author schmonz; state Exp; branches; next 1.122; commitid iAKfOyec2NWiNtwC; 1.122 date 2020.08.24.05.44.33; author tnn; state Exp; branches; next 1.121; commitid UOVByr7e0iSnjhlC; 1.121 date 2020.06.25.05.42.39; author schmonz; state Exp; branches; next 1.120; commitid xPBN1QptNF4rezdC; 1.120 date 2020.05.23.20.50.02; author schmonz; state Exp; branches; next 1.119; commitid PVJMZKSt0hXvjp9C; 1.119 date 2020.05.02.10.47.38; author rillig; state Exp; branches; next 1.118; commitid pFsNJwbZmRbrEE6C; 1.118 date 2020.03.18.17.56.09; author joerg; state Exp; branches; next 1.117; commitid aw52F0AJTNOotU0C; 1.117 date 2020.02.03.04.51.27; author schmonz; state Exp; branches; next 1.116; commitid nomHK8BFlCPSxbVB; 1.116 date 2020.01.18.21.49.53; author jperkin; state Exp; branches; next 1.115; commitid JW4hJgY8ZdoTFdTB; 1.115 date 2019.11.02.16.25.26; author rillig; state Exp; branches; next 1.114; commitid 07isqwBcIbu6niJB; 1.114 date 2019.08.20.02.38.04; author schmonz; state Exp; branches; next 1.113; commitid 90GC55b8iQfWaIzB; 1.113 date 2019.07.01.14.57.31; author schmonz; state Exp; branches; next 1.112; commitid CqKADZsnuXjTRltB; 1.112 date 2019.06.30.21.51.49; author schmonz; state Exp; branches; next 1.111; commitid Lu8HQcR7WTOjcgtB; 1.111 date 2019.06.28.19.18.25; author schmonz; state Exp; branches; next 1.110; commitid pokFSXUXf0uDpZsB; 1.110 date 2019.04.10.22.24.57; author schmonz; state Exp; branches; next 1.109; commitid ouJJTeEG3ZyaZQiB; 1.109 date 2019.01.17.22.49.12; author schmonz; state Exp; branches; next 1.108; commitid 3UZzuKkmlN4UMb8B; 1.108 date 2019.01.09.19.32.07; author schmonz; state Exp; branches; next 1.107; commitid nrf3rkpwmzZeX87B; 1.107 date 2018.12.17.19.15.33; author schmonz; state Exp; branches; next 1.106; commitid GGXz0Fcn2h3fBb4B; 1.106 date 2018.12.16.23.46.44; author schmonz; state Exp; branches; next 1.105; commitid jE7ILF4o1Bwp854B; 1.105 date 2018.12.13.05.05.05; author schmonz; state Exp; branches; next 1.104; commitid lK4TiYLXMpuh1B3B; 1.104 date 2018.12.04.17.01.39; author schmonz; state Exp; branches; next 1.103; commitid iW6CTuDE8mVlhv2B; 1.103 date 2018.11.14.16.43.17; author schmonz; state Exp; branches; next 1.102; commitid 7r6emozPdViVOVZA; 1.102 date 2018.11.10.16.42.52; author schmonz; state Exp; branches; next 1.101; commitid 5c7rp0RY4NEjWpZA; 1.101 date 2018.11.10.15.29.01; author schmonz; state Exp; branches; next 1.100; commitid A6iUp3OHQizpxpZA; 1.100 date 2018.11.08.20.58.08; author schmonz; state Exp; branches; next 1.99; commitid CqQ5cKlhT3RiqbZA; 1.99 date 2018.10.24.13.32.26; author schmonz; state Exp; branches; next 1.98; commitid BF2oiAZstuvirdXA; 1.98 date 2018.09.14.09.01.53; author schmonz; state Exp; branches; next 1.97; commitid Ep4PFyb30JRae3SA; 1.97 date 2018.08.01.07.10.27; author schmonz; state Exp; branches; next 1.96; commitid OC2pExFjbF5D1oMA; 1.96 date 2018.07.29.23.26.44; author schmonz; state Exp; branches; next 1.95; commitid fV50fMzihZtxw5MA; 1.95 date 2018.07.25.16.42.36; author schmonz; state Exp; branches; next 1.94; commitid Sukpnn6uY0dKpxLA; 1.94 date 2018.07.25.16.32.34; author schmonz; state Exp; branches; next 1.93; commitid NtRaNLY77REdmxLA; 1.93 date 2018.05.28.12.57.36; author schmonz; state Exp; branches; next 1.92; commitid rvXmy23w3b1e24EA; 1.92 date 2017.08.13.23.42.55; author schmonz; state Exp; branches; next 1.91; commitid eXZa6xiLHtiCR63A; 1.91 date 2017.08.03.03.20.57; author schmonz; state Exp; branches; next 1.90; commitid aVMGZd72BdulqI1A; 1.90 date 2017.08.01.02.53.59; author schmonz; state Exp; branches; next 1.89; commitid ga3L4GXqv7T4ls1A; 1.89 date 2017.07.27.04.58.31; author schmonz; state Exp; branches; next 1.88; commitid LSpmZuS0JaQDbP0A; 1.88 date 2017.07.27.02.18.05; author schmonz; state Exp; branches; next 1.87; commitid A2ZbcQtWtCbEiO0A; 1.87 date 2017.07.21.04.07.01; author schmonz; state Exp; branches; next 1.86; commitid Dzb8Y6jwrlq3630A; 1.86 date 2017.05.22.17.18.32; author schmonz; state Exp; branches; next 1.85; commitid lRNyLIGJodz8ppSz; 1.85 date 2017.04.27.20.35.10; author schmonz; state Exp; branches; next 1.84; commitid SF2G0Wh6imXridPz; 1.84 date 2017.04.08.18.22.51; author schmonz; state Exp; branches; next 1.83; commitid KTO49enQOR9HaLMz; 1.83 date 2017.04.04.14.58.06; author schmonz; state Exp; branches; next 1.82; commitid UQDh7xLc7BsEaeMz; 1.82 date 2017.04.04.07.50.18; author schmonz; state Exp; branches; next 1.81; commitid lSbjEO1sj8YSNbMz; 1.81 date 2017.03.31.13.52.00; author schmonz; state Exp; branches; next 1.80; commitid dH33LJbHNyFWVHLz; 1.80 date 2017.03.29.13.26.05; author schmonz; state Exp; branches 1.80.2.1; next 1.79; commitid ib7qfbnv2xK5PrLz; 1.79 date 2017.03.23.07.24.48; author schmonz; state Exp; branches; next 1.78; commitid W4a00Dt86xH33EKz; 1.78 date 2017.03.20.16.23.19; author schmonz; state Exp; branches; next 1.77; commitid c8floJwbX2AM7jKz; 1.77 date 2017.03.10.03.13.29; author schmonz; state Exp; branches; next 1.76; commitid GyjlbSyTAbaK4XIz; 1.76 date 2016.04.10.16.39.28; author joerg; state Exp; branches; next 1.75; commitid 4zcHxHDqKoJLg62z; 1.75 date 2016.03.05.11.28.50; author jperkin; state Exp; branches; next 1.74; commitid 1LoxeQftu903HrXy; 1.74 date 2016.02.25.15.00.51; author jperkin; state Exp; branches; next 1.73; commitid LaO6xq0t94JAajWy; 1.73 date 2014.12.30.15.13.19; author wiz; state Exp; branches; next 1.72; commitid RRdsYBWaMIUIN44y; 1.72 date 2014.11.23.19.08.22; author schmonz; state Exp; branches; next 1.71; commitid KjVOamy5QNOnilZx; 1.71 date 2014.10.09.14.06.40; author wiz; state Exp; branches; next 1.70; commitid fBDATFVmQ3454xTx; 1.70 date 2014.08.19.22.06.49; author schmonz; state Exp; branches; next 1.69; commitid s5yec51IhTeVm1Nx; 1.69 date 2014.05.30.21.35.04; author schmonz; state Exp; branches; next 1.68; commitid cif4P3n2nWcsNBCx; 1.68 date 2014.04.16.04.57.23; author schmonz; state Exp; branches; next 1.67; commitid S66EwOYqLpwSGRwx; 1.67 date 2014.02.12.23.18.09; author tron; state Exp; branches; next 1.66; commitid dfJj7CwMMWJzNRox; 1.66 date 2013.02.06.23.22.48; author jperkin; state Exp; branches; next 1.65; 1.65 date 2012.05.20.09.04.26; author marino; state Exp; branches; next 1.64; 1.64 date 2012.03.12.03.53.55; author sbd; state Exp; branches; next 1.63; 1.63 date 2012.03.09.04.04.47; author sbd; state Exp; branches; next 1.62; 1.62 date 2011.10.12.17.20.21; author hans; state Exp; branches; next 1.61; 1.61 date 2011.09.28.06.36.57; author joerg; state Exp; branches; next 1.60; 1.60 date 2011.06.07.02.53.42; author schmonz; state Exp; branches; next 1.59; 1.59 date 2009.05.19.09.07.14; author wiz; state Exp; branches; next 1.58; 1.58 date 2008.03.20.03.30.32; author schmonz; state Exp; branches; next 1.57; 1.57 date 2008.02.19.21.12.06; author schmonz; state Exp; branches; next 1.56; 1.56 date 2008.02.19.13.59.05; author schmonz; state Exp; branches; next 1.55; 1.55 date 2007.06.15.18.15.19; author jlam; state Exp; branches; next 1.54; 1.54 date 2007.04.12.03.42.21; author schmonz; state Exp; branches; next 1.53; 1.53 date 2007.03.09.12.34.21; author schmonz; state Exp; branches; next 1.52; 1.52 date 2007.01.09.21.35.58; author rillig; state Exp; branches; next 1.51; 1.51 date 2006.12.29.10.32.05; author schmonz; state Exp; branches; next 1.50; 1.50 date 2006.05.01.02.57.03; author jlam; state Exp; branches; next 1.49; 1.49 date 2006.04.30.08.03.42; author schmonz; state Exp; branches; next 1.48; 1.48 date 2006.04.29.04.53.17; author schmonz; state Exp; branches; next 1.47; 1.47 date 2006.03.14.01.14.30; author jlam; state Exp; branches; next 1.46; 1.46 date 2006.03.12.14.15.43; author rillig; state Exp; branches; next 1.45; 1.45 date 2006.02.20.03.39.25; author schmonz; state Exp; branches; next 1.44; 1.44 date 2006.01.19.01.18.30; author joerg; state Exp; branches; next 1.43; 1.43 date 2006.01.13.20.53.56; author schmonz; state Exp; branches; next 1.42; 1.42 date 2006.01.08.17.48.14; author joerg; state Exp; branches; next 1.41; 1.41 date 2006.01.05.02.57.11; author schmonz; state Exp; branches; next 1.40; 1.40 date 2005.12.29.06.21.53; author jlam; state Exp; branches; next 1.39; 1.39 date 2005.12.05.20.50.35; author rillig; state Exp; branches; next 1.38; 1.38 date 2005.08.19.04.44.09; author schmonz; state Exp; branches; next 1.37; 1.37 date 2005.07.15.18.27.51; author jlam; state Exp; branches; next 1.36; 1.36 date 2005.05.16.04.38.03; author jlam; state Exp; branches; next 1.35; 1.35 date 2005.05.07.21.37.42; author schmonz; state Exp; branches; next 1.34; 1.34 date 2005.04.30.15.06.58; author jlam; state Exp; branches; next 1.33; 1.33 date 2005.04.11.21.46.23; author tv; state Exp; branches; next 1.32; 1.32 date 2005.03.23.00.51.09; author schmonz; state Exp; branches; next 1.31; 1.31 date 2005.03.13.03.25.44; author schmonz; state Exp; branches; next 1.30; 1.30 date 2004.12.21.05.32.56; author schmonz; state Exp; branches; next 1.29; 1.29 date 2004.12.03.15.15.02; author wiz; state Exp; branches 1.29.2.1; next 1.28; 1.28 date 2004.08.25.04.24.04; author schmonz; state Exp; branches; next 1.27; 1.27 date 2004.08.22.12.44.32; author schmonz; state Exp; branches; next 1.26; 1.26 date 2004.08.22.00.10.51; author schmonz; state Exp; branches; next 1.25; 1.25 date 2004.08.02.03.57.17; author schmonz; state Exp; branches; next 1.24; 1.24 date 2004.07.21.22.35.59; author schmonz; state Exp; branches; next 1.23; 1.23 date 2004.04.24.05.29.36; author schmonz; state Exp; branches; next 1.22; 1.22 date 2004.04.10.14.15.24; author schmonz; state Exp; branches; next 1.21; 1.21 date 2004.04.10.05.30.06; author schmonz; state Exp; branches; next 1.20; 1.20 date 2004.03.29.05.10.04; author snj; state Exp; branches; next 1.19; 1.19 date 2003.08.30.22.51.22; author jlam; state Exp; branches; next 1.18; 1.18 date 2003.07.17.21.46.54; author grant; state Exp; branches; next 1.17; 1.17 date 2003.01.28.22.03.38; author jlam; state Exp; branches; next 1.16; 1.16 date 2002.09.19.09.04.12; author jlam; state Exp; branches; next 1.15; 1.15 date 2002.09.18.21.15.12; author jlam; state Exp; branches; next 1.14; 1.14 date 2002.07.28.01.54.37; author schmonz; state Exp; branches; next 1.13; 1.13 date 2002.07.22.23.30.29; author wiz; state Exp; branches; next 1.12; 1.12 date 2002.05.03.10.39.00; author zuntum; state Exp; branches 1.12.4.1; next 1.11; 1.11 date 2002.04.05.15.22.31; author yyamano; state Exp; branches; next 1.10; 1.10 date 2002.01.28.20.39.35; author zuntum; state Exp; branches; next 1.9; 1.9 date 2002.01.28.19.39.00; author zuntum; state Exp; branches; next 1.8; 1.8 date 2002.01.28.18.28.09; author zuntum; state Exp; branches; next 1.7; 1.7 date 2002.01.28.17.57.08; author zuntum; state Exp; branches; next 1.6; 1.6 date 2002.01.21.18.45.03; author zuntum; state Exp; branches; next 1.5; 1.5 date 2002.01.21.16.00.52; author zuntum; state Exp; branches; next 1.4; 1.4 date 2001.11.26.22.22.19; author zuntum; state Exp; branches; next 1.3; 1.3 date 2001.09.27.23.18.22; author jlam; state Exp; branches; next 1.2; 1.2 date 2001.08.13.14.17.11; author zuntum; state Exp; branches; next 1.1; 1.1 date 2001.08.13.09.10.10; author zuntum; state Exp; branches 1.1.1.1; next ; 1.80.2.1 date 2017.04.17.16.08.22; author bsiegert; state Exp; branches; next ; commitid bTkWBF3DL0uQ8UNz; 1.29.2.1 date 2004.12.28.23.32.35; author salo; state Exp; branches; next ; 1.12.4.1 date 2002.07.22.17.26.37; author agc; state Exp; branches; next ; 1.1.1.1 date 2001.08.13.09.10.10; author zuntum; state Exp; branches; next ; desc @@ 1.130 log @qmail: bump PKGREVISION. Changes: - Remove inet6 option; simply depend on dual-stack ucspi-tcp6 (or v4-only original DJB ucspi-tcp, if that's already installed) @ text @# $NetBSD: Makefile,v 1.129 2023/11/15 16:49:26 schmonz Exp $ DISTNAME= notqmail-1.08 PKGNAME= qmail-1.03 PKGREVISION= 54 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_GITHUB:=notqmail/} GITHUB_PROJECT= notqmail GITHUB_RELEASE= ${DISTNAME} MAINTAINER= schmonz@@NetBSD.org HOMEPAGE= https://notqmail.org/ COMMENT= Community-driven open-source successor to qmail LICENSE= public-domain DEPENDS+= daemontools-[0-9]*:../../sysutils/daemontools DEPENDS+= {ucspi-tcp6>=1.10.7nb1,ucspi-tcp-[0-9]*}:../../net/ucspi-tcp6 CONFLICTS+= courier-maildirmake-[0-9]* CONFLICTS+= courier-mta-[0-9]* CONFLICTS+= mirrordir-[0-9]* CONFLICTS+= mutt<=1.4.2.1nb1 CONFLICTS+= netqmail-[0-9]* CONFLICTS+= pulsar<=0.1.1 CONFLICTS+= qmail-run<=20170706 DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_ALIAS_USER:Q} > conf-users; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_DAEMON_USER:Q} >> conf-users; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_LOG_USER:Q} >> conf-users; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_ROOT_USER:Q} >> conf-users; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_PASSWD_USER:Q} >> conf-users; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_QUEUE_USER:Q} >> conf-users; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_REMOTE_USER:Q} >> conf-users; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_SEND_USER:Q} >> conf-users; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_QMAIL_GROUP:Q} > conf-groups; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_NOFILES_GROUP:Q} >> conf-groups; DJB_BUILD_TARGETS= man TEST_TARGET= test #.include "../../devel/check/buildlink3.mk" PKG_SYSCONFSUBDIR= qmail OWN_DIRS+= ${PKG_SYSCONFDIR} ${PKG_SYSCONFDIR}/alias OWN_DIRS+= ${PKG_SYSCONFDIR}/control ${PKG_SYSCONFDIR}/users OWN_DIRS+= ${PKG_SYSCONFDIR}/.pkgsrc-defaults-do-not-edit OWN_DIRS+= ${QMAILDIR} ${QMAIL_QUEUE_DIR} DOCDIR= ${PREFIX}/share/doc/qmail EGDIR= ${PREFIX}/share/examples/qmail SHAREDIR= ${PREFIX}/share/qmail FILES_SUBST+= DOCDIR=${DOCDIR:Q} EGDIR=${EGDIR:Q} FILES_SUBST+= PKGMANDIR=${PKGMANDIR:Q} SHAREDIR=${SHAREDIR:Q} FILES_SUBST+= QMAILDIR=${QMAILDIR:Q} FILES_SUBST+= QMAIL_DAEMON_USER=${QMAIL_DAEMON_USER:Q} FILES_SUBST+= QMAIL_QMAIL_GROUP=${QMAIL_QMAIL_GROUP:Q} FILES_SUBST+= QMAIL_QUEUE_DIR=${QMAIL_QUEUE_DIR:Q} FILES_SUBST+= QMAIL_QUEUE_EXTRA=${QMAIL_QUEUE_EXTRA:Q} FILES_SUBST+= PKGNAME=${PKGNAME:Q} FILES_SUBST+= WC=${WC:Q} SETUP_PROGRAMS= dnsfq dnsip dnsptr hostname ipmeprint SETUP_PROGRAMS+= instpackage instchown instcheck SETUP_SCRIPTS= config config-fast config-fast-pkgsrc MANDIRS= man .for j in 1 5 7 8 MANDIRS+= man/man${j} .endfor INSTALLATION_DIRS= bin ${MANDIRS} ${DOCDIR} ${SHAREDIR} INSTALLATION_DIRS+= ${EGDIR}/alias ${EGDIR}/boot ${EGDIR}/control INSTALLATION_DIRS+= ${EGDIR}/users .include "../../mk/bsd.prefs.mk" BUILD_DEFS+= QMAILDIR QMAILPATCHES QMAIL_QUEUE_DIR QMAIL_QUEUE_EXTRA BUILD_DEFS+= QMAIL_ALIAS_USER QMAIL_DAEMON_USER QMAIL_LOG_USER BUILD_DEFS+= QMAIL_ROOT_USER QMAIL_PASSWD_USER QMAIL_QUEUE_USER BUILD_DEFS+= QMAIL_REMOTE_USER QMAIL_SEND_USER BUILD_DEFS+= QMAIL_QMAIL_GROUP QMAIL_NOFILES_GROUP .if !empty(QMAIL_QUEUE_DIR:M${QMAILDIR}/*) PKG_FAIL_REASON+= "QMAIL_QUEUE_DIR must not be under ${QMAILDIR}" .endif USE_TOOLS+= tar MAKE_ENV+= NROFF=${TRUE:Q} .if !empty(QMAIL_QUEUE_EXTRA) USE_TOOLS+= expr QUEUE_EXTRA= "T${QMAIL_QUEUE_EXTRA}\\0" QUEUE_EXTRALEN_cmd= ${EXPR} `${ECHO_N} ${QMAIL_QUEUE_EXTRA} | ${WC} -c` + 2 SUBST_CLASSES+= logging SUBST_STAGE.logging= do-configure SUBST_FILES.logging= extra.h SUBST_SED.logging= -e 's|0|${QUEUE_EXTRALEN_cmd:sh}|g' SUBST_SED.logging+= -e 's|""|${QUEUE_EXTRA}|g' SUBST_MESSAGE.logging= Setting QUEUE_EXTRA. .endif SUBST_CLASSES+= manpages SUBST_STAGE.manpages= do-configure SUBST_FILES.manpages= hier.c SUBST_SED.manpages+= -e 's|.*"tcp-environ\.5".*||g' # also in ucspi-tcp SUBST_CLASSES+= paths SUBST_STAGE.paths= do-configure SUBST_FILES.paths= README.* SUBST_VARS.paths= PKGNAME PKG_INFO PREFIX GREP SUBST_CLASSES+= config SUBST_STAGE.config= do-configure SUBST_FILES.config= config-fast-pkgsrc-defaults.sh SUBST_VARS.config= SORT MV CP PKG_SYSCONFDIR QMAIL_QUEUE_EXTRA NOT_FOR_UNPRIVILEGED= yes PKG_USERS_VARS+= QMAIL_ALIAS_USER QMAIL_DAEMON_USER QMAIL_LOG_USER PKG_USERS_VARS+= QMAIL_ROOT_USER QMAIL_PASSWD_USER QMAIL_QUEUE_USER PKG_USERS_VARS+= QMAIL_REMOTE_USER QMAIL_SEND_USER PKG_GROUPS_VARS+= QMAIL_QMAIL_GROUP QMAIL_NOFILES_GROUP PKG_GROUPS= ${QMAIL_QMAIL_GROUP} ${QMAIL_NOFILES_GROUP} PKG_USERS+= ${QMAIL_ALIAS_USER}:${QMAIL_NOFILES_GROUP} PKG_USERS+= ${QMAIL_DAEMON_USER}:${QMAIL_NOFILES_GROUP} PKG_USERS+= ${QMAIL_LOG_USER}:${QMAIL_NOFILES_GROUP} PKG_USERS+= ${QMAIL_PASSWD_USER}:${QMAIL_NOFILES_GROUP} PKG_USERS+= ${QMAIL_QUEUE_USER}:${QMAIL_QMAIL_GROUP} PKG_USERS+= ${QMAIL_REMOTE_USER}:${QMAIL_QMAIL_GROUP} PKG_USERS+= ${QMAIL_SEND_USER}:${QMAIL_QMAIL_GROUP} .for user in ${PKG_USERS:C/\:.*//} PKG_HOME.${user}= ${QMAILDIR} .endfor PKG_HOME.${QMAIL_ALIAS_USER}= ${QMAILDIR}/alias READMES= README.pkgsrc # Record all patches applied, starting with the non-optional ones: QMAILPATCHES= notqmail:${DEFAULT_DISTFILES} QMAILPATCHES+= tls:${TLSREMOTE_PATCH} TLSREMOTE_PATCH= notqmail-1.07-tls-20200107-onlyremote-20230511.patch PATCHFILES+= ${TLSREMOTE_PATCH} SITES.${TLSREMOTE_PATCH}= https://schmonz.com/software/tlsonlyremote/ QMAILPATCHES+= bigdns:${BIGDNS_PATCH} BIGDNS_PATCH= qmail-103.patch PATCHFILES+= ${BIGDNS_PATCH} SITES.${BIGDNS_PATCH}= https://www.ckdhr.com/ckd/ PATCH_DIST_STRIP.${BIGDNS_PATCH}= -p1 QMAILPATCHES+= maildiruniq:${MAILDIRUNIQ_PATCH} MAILDIRUNIQ_PATCH= qmail-1.03-maildir-uniq.patch PATCHFILES+= ${MAILDIRUNIQ_PATCH} SITES.${MAILDIRUNIQ_PATCH}= http://www.memoryhole.net/qmail/ PATCH_DIST_STRIP.${MAILDIRUNIQ_PATCH}= -p1 PATCH_DIST_CAT.${MAILDIRUNIQ_PATCH}= \ ${SED} -e 's|"057"|"\\\\057"|' \ -e 's|"072"|"\\\\072"|' \ -e 's|hostname|temporaryothername|g' \ -e 's|host|myhost|g' \ -e 's|temporaryothername|hostname|g' \ -e 's|"readwrite\.h"||' \ -e 's|"sig\.h"|"readwrite.h"|' \ < ${MAILDIRUNIQ_PATCH} QMAILPATCHES+= outgoingip:${OUTGOINGIP_PATCH} OUTGOINGIP_PATCH= outgoingip.patch PATCHFILES+= ${OUTGOINGIP_PATCH} SITES.${OUTGOINGIP_PATCH}= https://qmail.notqmail.org/ QMAILPATCHES+= spp:${SPP_PATCH}:${SPP_PATCHFILE_cmd:sh} SPP_PATCH= qmail-spp-0.42.tar.gz PATCHFILES+= ${SPP_PATCH} SITES.${SPP_PATCH}= ${MASTER_SITE_SOURCEFORGE:=qmail-spp/} SPP_PATCHFILE= ./qmail-spp-0.42/netqmail-spp.diff SPP_PATCHFILE_cmd= ${BASENAME} ${SPP_PATCHFILE} PATCH_DIST_CAT.${SPP_PATCH}= ${TAR} -C ${WRKDIR} -zxf ${SPP_PATCH} ${SPP_PATCHFILE} \ && ${CAT} ${WRKDIR}/${SPP_PATCHFILE} \ | ${SED} -e 's|sppfok \!= 1|sppfok == -1|' PATCH_DIST_STRIP.${SPP_PATCH}= -p1 LICENSE+= AND gnu-gpl-v2 .include "options.mk" post-extract: for i in ${READMES}; do \ ${CP} ${FILESDIR}/$$i ${WRKSRC} || ${TRUE}; \ done ${CP} ${FILESDIR}/config-fast-pkgsrc-defaults.sh ${WRKSRC} for i in FILES; do \ ${TOUCH} ${WRKSRC}/$$i; \ done USE_TOOLS+= sleep post-build: .if defined(MANZ) cd ${WRKSRC} && \ ${SLEEP} 2 && \ ${SED} -e 's|\(.*"man/man[0-9]",".*\.[0-9]\)|\1.gz|g' \ < hier.c > hier.c.tmp && \ ${MV} hier.c.tmp hier.c && \ ${MAKE} instchown instcheck .endif cd ${WRKSRC} && \ ${SED} -e 's|${QMAILDIR}/control/|${PKG_SYSCONFDIR}/.pkgsrc-defaults-do-not-edit/|' \ < config-fast > config-fast-pkgsrc && \ ${CAT} ${WRKSRC}/config-fast-pkgsrc-defaults.sh \ >> config-fast-pkgsrc pre-install: ${MKDIR} ${DESTDIR}${QMAILDIR} ${MKDIR} ${DESTDIR}/tmp${QMAIL_QUEUE_DIR} # keep in sync with INSTALL:PRE-INSTALL ${LN} -s ${DESTDIR}${EGDIR}/alias ${DESTDIR}${QMAILDIR}/alias ${LN} -s ${DESTDIR}${PREFIX}/bin ${DESTDIR}${QMAILDIR}/bin ${LN} -s ${DESTDIR}${EGDIR}/boot ${DESTDIR}${QMAILDIR}/boot ${LN} -s ${DESTDIR}${EGDIR}/control ${DESTDIR}${QMAILDIR}/control ${LN} -s ${DESTDIR}${DOCDIR} ${DESTDIR}${QMAILDIR}/doc ${LN} -s ${DESTDIR}${PREFIX}/${PKGMANDIR} ${DESTDIR}${QMAILDIR}/man ${LN} -s ${DESTDIR}/tmp${QMAIL_QUEUE_DIR} ${DESTDIR}${QMAILDIR}/queue ${LN} -s ${DESTDIR}${EGDIR}/users ${DESTDIR}${QMAILDIR}/users do-install: cd ${WRKSRC}; \ DESTDIR=${DESTDIR:Q} ./instpackage post-install: for i in ${READMES}; do \ ${INSTALL_DATA} ${WRKSRC}/$$i ${DESTDIR}${DOCDIR}; \ done ${INSTALL_PROGRAM_DIR} ${DESTDIR}${SHAREDIR}/setup for i in ${SETUP_PROGRAMS}; do \ ${INSTALL_PROGRAM} ${WRKSRC}/$$i \ ${DESTDIR}${SHAREDIR}/setup; \ done for i in ${SETUP_SCRIPTS}; do \ ${INSTALL_SCRIPT} ${WRKSRC}/$$i \ ${DESTDIR}${SHAREDIR}/setup; \ done .include "../../mk/djbware.mk" .include "../../mk/bsd.pkg.mk" @ 1.129 log @qmail: use notqmail.org's qmail.org mirror. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.128 2023/10/24 22:09:49 wiz Exp $ # d5 1 a5 1 PKGREVISION= 53 d17 1 @ 1.128 log @*: bump for openssl 3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.127 2023/05/11 16:52:34 schmonz Exp $ d167 1 a167 1 SITES.${OUTGOINGIP_PATCH}= http://qmailorg.schmonz.com/ @ 1.127 log @Pull the latest tlsonlyremote patch to fix OpenBSD build with native LibreSSL. No other changes in the patch and NFCI elsewhere. Build-tested on macOS, Debian, NetBSD. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.126 2023/04/24 17:22:59 schmonz Exp $ d6 1 a6 1 PKGREVISION= 52 @ 1.126 log @Follow URL redirects. Quote paths in config script. Update COMMENT and DESCR. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.125 2022/10/26 10:31:39 wiz Exp $ d139 1 a139 1 TLSREMOTE_PATCH= notqmail-1.07-tls-20200107-onlyremote-20200202.patch @ 1.125 log @*: bump PKGREVISION for libunistring shlib major bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.124 2021/01/14 15:25:22 schmonz Exp $ d6 1 a6 1 PKGREVISION= 51 d14 1 a14 1 COMMENT= Secure, reliable, efficient, simple, and fast MTA d141 1 a141 1 SITES.${TLSREMOTE_PATCH}= https://schmonz.com/qmail/tlsonlyremote/ @ 1.124 log @Improve TLS setup instructions. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.123 2020/11/19 09:35:42 schmonz Exp $ d6 1 a6 1 PKGREVISION= 50 @ 1.123 log @Remove DJB_RESTRICTED, no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.122 2020/08/24 05:44:33 tnn Exp $ d6 1 a6 1 PKGREVISION= 49 @ 1.122 log @qmail: mark as NOT_FOR_UNPRIVILEGED Although the package itself builds when pkgsrc is bootstrapped in unprivileged mode, the pkgsrc +INSTALL/+DEINSTALL scripts fail, causing bulk build noise: => Creating binary package /wrk/mail/qmail/work/.packages/qmail-1.03nb49.tgz fatal: unable to find user alias =========================================================================== ERROR: instchown exited 111. Permissions are likely wrong, and/or the queue may be uninitialized. =========================================================================== pkg_add: install script returned error status pkg_add: 1 package addition failed @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.121 2020/06/25 05:42:39 schmonz Exp $ a37 1 DJB_RESTRICTED= no @ 1.121 log @Retire 'djbware-errno-hack' and associated options.mk cleverness. Instead: 1. Package makefiles including their own options.mk 2. Packages say "SUBST_CLASSES+=djberrno" to get the hack, if needed 3. Packages adjust SUBST_FILES.djberrno, if needed Should fix bulk build failures due to multiple inclusions of options.mk and/or incorrect definitions of DJB_ERRNO_HACK. Approved during the freeze by wiz@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.120 2020/05/23 20:50:02 schmonz Exp $ d116 1 @ 1.120 log @Update to notqmail 1.08 (as qmail-1.03nb49). From the changelog: ## Fix bugs - Vulnerabilities we've inherited from qmail 1.03, reported by Qualys. - CVE-2005-1515: fix signedness wraparound in `substdio_{put,bput}()`. - CVE-2005-1514: fix possible signed integer overflow in `commands()`. - CVE-2005-1513: fix integer overflow in `stralloc_readyplus()`. - Fix several other places where variables could overflow. - `qmail-pop3d`: instead of running as root if root authenticates (and being a vector for a dictionary attack on the root password), exit 1 to look just like a failed `checkpassword` login. - `qmail-inject`: do not parse header recipients if `-a` is given. - Correctly detect multiple IP addresses on the same interface. - Remove workaround for ancient DNS servers that do not properly support CNAME. - Fix possible integer overflow in `alloc()`. ## Reduce bug likelihood - Remove `dnscname` and `dnsmxip` programs that were being built but not installed. - Remove `systype` and related platform detection. - Remove unused variable in `maildir.c`. - Reduce variable scope in `tcpto.c`. - Avoid local variables shadowing same-named globals. - Avoid needing `exit.h` in named-pipe bug check. - Add a `test` target and some unit tests, using Check. - Add missing function declarations in `cdbmss.h`, `scan.h`. - Add missing return types to `main()`. - Add `hier.h` for inclusion in `instcheck.c`, `instchown.c`, `instpackage.c`. - Use system headers and types instead of the `HASSHORTSETGROUPS` check. - Use system headers instead of redeclaring `exit()`, `read()`, `write()`, `malloc()`, `free()`, `fork()`, `uint32_t`. - Use C89 function signatures for code we've touched so far. - Automated builds: - TravisCI: move setting `MAKEFLAGS` out of the script and into the matrix. - Add FreeBSD builds with CirrusCI. - Add a GitHub Actions build. ## Other changes - Remove DJB's TODO. - Replace many `pobox.com` URLs. - Acknowledge Erik Sjölund's `qmail-local.c` bugfix that we've inherited from netqmail. - Avoid generating catted manpages by building with `NROFF=true`. - Optionally create a `systemd` service file. - Run an alternate `qmail-remote` by setting `QMAILREMOTE` in `qmail-send`'s environment. ## Intent to remove In the course of developing this release, we found programs that we intend to remove in the next release. We believe none of these remains necessary or useful enough to be worth the cost of maintaining. If you disagree, please let us know! - Remove `qsmhook`, long since replaced by `preline`. - Remove inefficient `maildirwatch`. - Remove obsolete mail client wrappers. - Remove `qmail-pop3d`, since Maildir is well supported by actively maintained POP3 servers. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.119 2020/05/02 10:47:38 rillig Exp $ a38 1 DJB_ERRNO_HACK= no a115 2 SUBST_FILES.djbware+= cdb_seek.c dns.c d181 2 @ 1.119 log @mail/qmail: doesn't need the errno hack anymore notqmail-1.07 correctly includes instead of declaring errno as a process-global variable. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.118 2020/03/18 17:56:09 joerg Exp $ d4 1 a4 1 DISTNAME= notqmail-1.07 d6 1 a6 1 PKGREVISION= 48 d41 3 d88 1 d102 4 a105 5 SUBST_CLASSES+= catpages SUBST_STAGE.catpages= do-configure SUBST_FILES.catpages= hier.c SUBST_SED.catpages= -e 's|.*"man/cat[0-9]".*||g' SUBST_SED.catpages+= -e 's|.*"tcp-environ\.5".*||g' # also in ucspi-tcp d160 5 a171 5 QMAILPATCHES+= remote:${REMOTE_PATCH} REMOTE_PATCH= notqmail-1.07-tls-20190517-qmailremote-20190819.patch PATCHFILES+= ${REMOTE_PATCH} SITES.${REMOTE_PATCH}= https://schmonz.com/qmail/remote/ @ 1.118 log @Make sure ${TAR} is present @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.117 2020/02/03 04:51:27 schmonz Exp $ d39 1 @ 1.117 log @Update to tlsonlyremote 20200202 from upstream TLS patch 20200107. Adds client cert authentication with TLS v1.3. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.116 2020/01/18 21:49:53 jperkin Exp $ d83 2 @ 1.116 log @*: Recursive revision bump for openssl 1.1.1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.115 2019/11/02 16:25:26 rillig Exp $ d6 1 a6 1 PKGREVISION= 47 d136 1 a136 1 TLSREMOTE_PATCH= notqmail-1.07-tls-20190517-onlyremote-20190819.patch @ 1.115 log @mail: align variable assignments pkglint -Wall -F --only aligned -r No manual corrections. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.114 2019/08/20 02:38:04 schmonz Exp $ d6 1 a6 1 PKGREVISION= 46 @ 1.114 log @Update from netqmail 1.06 (2007) to notqmail 1.07 (just released). From the changelog: - code: remove incorrect usage of vfork() - code: detect and prefer utmpx where available - code: removed idedit, install-big. var-qmail packages are no more - portability problem: explicitly initialize strerr_sys and define BIND_8_COMPAT to work around Mac OS X - code: add instchown to set ownership and mode on installed files - code: add instpackage to install without root access - doc: rename INSTALL, SENDMAIL to INSTALL.md, SENDMAIL.md to support building on case-insensitive filesystems - code: lookup uid/gid at runtime - code: use DESTDIR environment variable as root directory in install pkgsrc changes: - If hostname isn't FQDN, config-fast-pkgsrc wouldn't produce a working config, so don't run it; tell user what to do instead - Stage QMAIL_QUEUE_DIR into DESTDIR/tmp, to be more obvious that it's not being packaged up (and is not how a queue gets created at pkg_add time) - Drop custom destdir, qbiffutmpx, and Darwin patches - Rebase TLS-onlyremote, QMAILREMOTE, and SRS patches - Require latest ucspi-ssl and ucspi-tcp6 for IPv4 fixes - Move MESSAGE.tls to README.tls, and remove other MESSAGE* - Set PKG_HOME even for non-default values of QMAIL_ALIAS_USER - Check whether alias/.qmail-foo exist before trying to remove Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.113 2019/07/01 14:57:31 schmonz Exp $ d113 12 a124 12 PKG_USERS_VARS+= QMAIL_ALIAS_USER QMAIL_DAEMON_USER QMAIL_LOG_USER PKG_USERS_VARS+= QMAIL_ROOT_USER QMAIL_PASSWD_USER QMAIL_QUEUE_USER PKG_USERS_VARS+= QMAIL_REMOTE_USER QMAIL_SEND_USER PKG_GROUPS_VARS+= QMAIL_QMAIL_GROUP QMAIL_NOFILES_GROUP PKG_GROUPS= ${QMAIL_QMAIL_GROUP} ${QMAIL_NOFILES_GROUP} PKG_USERS+= ${QMAIL_ALIAS_USER}:${QMAIL_NOFILES_GROUP} PKG_USERS+= ${QMAIL_DAEMON_USER}:${QMAIL_NOFILES_GROUP} PKG_USERS+= ${QMAIL_LOG_USER}:${QMAIL_NOFILES_GROUP} PKG_USERS+= ${QMAIL_PASSWD_USER}:${QMAIL_NOFILES_GROUP} PKG_USERS+= ${QMAIL_QUEUE_USER}:${QMAIL_QMAIL_GROUP} PKG_USERS+= ${QMAIL_REMOTE_USER}:${QMAIL_QMAIL_GROUP} PKG_USERS+= ${QMAIL_SEND_USER}:${QMAIL_QMAIL_GROUP} d126 1 a126 1 PKG_HOME.${user}= ${QMAILDIR} d144 1 a144 1 PATCH_DIST_STRIP.${BIGDNS_PATCH}=-p1 d146 6 a151 6 QMAILPATCHES+= maildiruniq:${MAILDIRUNIQ_PATCH} MAILDIRUNIQ_PATCH= qmail-1.03-maildir-uniq.patch PATCHFILES+= ${MAILDIRUNIQ_PATCH} SITES.${MAILDIRUNIQ_PATCH}= http://www.memoryhole.net/qmail/ PATCH_DIST_STRIP.${MAILDIRUNIQ_PATCH}=-p1 PATCH_DIST_CAT.${MAILDIRUNIQ_PATCH}= \ @ 1.113 log @BIGDNS_PATCH has been reliably reachable; remove from MASTER_SITE_LOCAL. OUTGOINGIP_PATCH needs to come from a qmail.org mirror, as the original domain has lapsed; get it from mine. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.112 2019/06/30 21:51:49 schmonz Exp $ d4 1 a4 1 DISTNAME= netqmail-1.06 d6 1 a6 1 PKGREVISION= 45 d8 3 a10 1 MASTER_SITES= ${HOMEPAGE} d13 1 a13 1 HOMEPAGE= http://netqmail.org/ a26 3 WRKSRC= ${WRKDIR}/${DISTNAME} DJB_CONFIG_CMDS= ${ECHO} ${DESTDIR:Q}${QMAILDIR:Q} > conf-destdir; a37 1 INSTALL_TARGET= setup a39 2 CPPFLAGS.Darwin+= -DBIND_8_COMPAT=1 a48 2 MESSAGE_SRC+= ${PKGDIR}/MESSAGE MESSAGE_SUBST+= DOCDIR=${DOCDIR:Q} EGDIR=${EGDIR:Q} d60 1 a60 1 SETUP_PROGRAMS+= install-destdir instcheck a94 6 SUBST_CLASSES+= caseclash SUBST_STAGE.caseclash= do-configure SUBST_FILES.caseclash= hier.c SUBST_SED.caseclash= -e 's|"doc","INSTALL"|".","doc/INSTALL"|g' SUBST_SED.caseclash+= -e 's|"doc","SENDMAIL"|".","doc/SENDMAIL"|g' a100 7 .if defined(MANZ) SUBST_CLASSES+= manzpages SUBST_STAGE.manzpages= post-build SUBST_FILES.manzpages= hier_destdir.c SUBST_SED.manzpages= -e 's|\(.*"man/man[0-9]",".*\.[0-9]\)|\1.gz|g' .endif d106 5 d128 1 a128 1 PKG_HOME.alias= ${QMAILDIR}/alias d133 1 a133 1 QMAILPATCHES= netqmail:${DEFAULT_DISTFILES} d136 1 a136 1 TLSREMOTE_PATCH= netqmail-1.06-tls-20190408-onlyremote-20190408.patch a145 5 QMAILPATCHES+= destdir:${DESTDIR_PATCH} DESTDIR_PATCH= netqmail-1.06-destdir-20181217.patch PATCHFILES+= ${DESTDIR_PATCH} SITES.${DESTDIR_PATCH}= https://schmonz.com/qmail/destdir/ a160 5 QMAILPATCHES+= qbiffutmpx:${QBIFFUTMPX_PATCH} QBIFFUTMPX_PATCH= netqmail-1.06-qbiffutmpx-20170820.patch PATCHFILES+= ${QBIFFUTMPX_PATCH} SITES.${QBIFFUTMPX_PATCH}= https://schmonz.com/qmail/qbiffutmpx/ d162 1 a162 1 REMOTE_PATCH= netqmail-1.06-qmailremote-20170716.patch d182 3 a184 3 mkdir ${WRKSRC}/doc && \ for i in INSTALL SENDMAIL; do \ ${MV} ${WRKSRC}/$$i ${WRKSRC}/doc/$$i; \ d187 1 d189 13 a201 2 cd ${WRKSRC}; \ ${SED} -e 's|${QMAILDIR}/control/|${PKG_SYSCONFDIR}/.pkgsrc-defaults-do-not-edit/|' < config-fast > config-fast-pkgsrc d205 1 a205 1 ${MKDIR} ${DESTDIR}${QMAIL_QUEUE_DIR} d213 1 a213 1 ${LN} -s ${DESTDIR}${QMAIL_QUEUE_DIR} ${DESTDIR}${QMAILDIR}/queue d216 4 a224 2 cd ${WRKSRC} && ${MAKE} instcheck install-destdir @ 1.112 log @qmail.org domain lapsed. netqmail.org has not, as yet. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.111 2019/06/28 19:18:25 schmonz Exp $ d157 1 a157 2 SITES.${BIGDNS_PATCH}= http://www.ckdhr.com/ckd/ SITES.${BIGDNS_PATCH}+= ${MASTER_SITE_LOCAL} d178 1 a178 1 SITES.${OUTGOINGIP_PATCH}= http://www.qmail.org/ @ 1.111 log @Use CPPFLAGS, not CFLAGS, for consistency with ucspi-tcp6 and djbdns. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.110 2019/04/10 22:24:57 schmonz Exp $ d8 1 a8 1 MASTER_SITES= http://qmail.org/ d11 1 a11 1 HOMEPAGE= http://qmail.org/netqmail/ @ 1.110 log @Update to tlsonlyremote 20190408, cut from upstream TLS patch with the same date. Fixes build with OpenSSL 1.1 and includes pkgsrc's #ifdef guards for non-TLS builds. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.109 2019/01/17 22:49:12 schmonz Exp $ d42 1 a42 1 CFLAGS.Darwin+= -DBIND_8_COMPAT=1 @ 1.109 log @Apply the "tai-leapsecs" patch iff the 'tai-system-clock' option is set (off by default). Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.108 2019/01/09 19:32:07 schmonz Exp $ d6 1 a6 1 PKGREVISION= 44 d150 1 a150 1 TLSREMOTE_PATCH= netqmail-1.06-tls-20160918-onlyremote-20181107.patch a211 7 post-patch: cd ${WRKSRC}; \ for i in ssl_timeoutio.c tls.c; do \ ( ${ECHO} '#ifdef TLS'; ${CAT} $$i; ${ECHO} '#endif' ) > $$i.new; \ mv $$i.new $$i; \ done @ 1.108 log @Add Toby Betts' "tai-leapsecs" patch to handle leap seconds correctly when the system clock is set to TAI (and a libtai dependency to get leapsecs.dat). While here, catch up to his latest maildiruniq patch. Let an installed ucspi-tcp6 satisfy the ucspi-tcp dependency for non-'inet6' builds. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.107 2018/12/17 19:15:33 schmonz Exp $ d6 1 a6 1 PKGREVISION= 43 a15 2 DEPENDS_LIBTAI= libtai>=0.60nb5:../../devel/libtai DEPENDS+= ${DEPENDS_LIBTAI} a78 13 # Detect the PKG_SYSCONFDIR of the installed libtai, so we can find # its leapsecs.dat. .if !defined(PKG_SYSCONFDIR.libtai) PKG_SYSCONFDIR.libtai!= \ ${PKG_INFO} -Q PKG_SYSCONFDIR \ ${DEPENDS_LIBTAI:C/:.*$//:Q} 2>/dev/null || \ ${ECHO} "PKG_SYSCONFDIR.libtai_not_set" . if empty(PKG_SYSCONFDIR.libtai:M*not_set) MAKEVARS+= PKG_SYSCONFDIR.libtai . endif .endif a124 5 SUBST_CLASSES+= libtai SUBST_STAGE.libtai= do-configure SUBST_FILES.libtai= leapsecs_read.c SUBST_SED.libtai= -e 's|@@PKG_SYSCONFDIR@@|${PKG_SYSCONFDIR.libtai}|g' a202 9 QMAILPATCHES+= taileapsecs:${TAILEAPSECS_PATCH} TAILEAPSECS_PATCH= netqmail-1.05-TAI-leapsecs.patch PATCHFILES+= ${TAILEAPSECS_PATCH} SITES.${TAILEAPSECS_PATCH}= https://su.bze.ro/software/ PATCH_DIST_STRIP.${TAILEAPSECS_PATCH}=-p1 PATCH_DIST_CAT.${TAILEAPSECS_PATCH}= \ ${SED} -e 's|"/etc/leapsecs.dat"|"@@PKG_SYSCONFDIR@@/leapsecs.dat"|' \ < ${TAILEAPSECS_PATCH} @ 1.107 log @Bump destdir patch to build on OpenBSD. No functional change elsewhere. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.106 2018/12/16 23:46:44 schmonz Exp $ d6 1 a6 1 PKGREVISION= 42 d16 2 d81 13 d140 5 d191 4 d223 9 @ 1.106 log @Avoid the -O (to stdout) tar option, as it's not sufficiently portable. While here, append the specific patch file (not just the distribution) to the qmail-spp QMAILPATCHES entry. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.105 2018/12/13 05:05:05 schmonz Exp $ d162 1 a162 1 DESTDIR_PATCH= netqmail-1.06-destdir-20170716.patch @ 1.105 log @Just set CFLAGS.Darwin in Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.104 2018/12/04 17:01:39 schmonz Exp $ d187 1 a187 1 QMAILPATCHES+= spp:${SPP_PATCH} d191 4 a194 1 PATCH_DIST_CAT.${SPP_PATCH}= ${TAR} -zxOf ${SPP_PATCH} ./qmail-spp-0.42/netqmail-spp.diff \ @ 1.104 log @Take responsibility from qmail-run for creating and removing the basic config files and aliases. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.103 2018/11/14 16:43:17 schmonz Exp $ d42 2 @ 1.103 log @Build and install config-fast-pkgsrc, which is like config-fast but installs the generated files elsewhere, so we can simulate CONF_FILES-like behavior. qmail-run will switch to config-fast-pkgsrc. We'll take advantage to deinstall these config files (as well as the three basic .qmail files in ~alias) provided they haven't been changed. Both of these commands stop leaving leftovers in ${PKG_SYSCONFDIR}: # pkg_add qmail && pkg_delete qmail # pkg_add qmail-run && pkg_delete -r qmail While here, warn if the queue directory is on a case-insensitive filesystem. Probably not gonna work perfectly. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.102 2018/11/10 16:42:52 schmonz Exp $ d6 1 a6 1 PKGREVISION= 41 @ 1.102 log @Move patches long since non-optional out of options.mk. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.101 2018/11/10 15:29:01 schmonz Exp $ d6 1 a6 1 PKGREVISION= 40 d45 1 d61 1 d65 1 a65 1 SETUP_SCRIPTS= config config-fast d210 4 @ 1.101 log @Add a new non-optional patch: qmail-spp, a generic plugin interface for qmail-smtpd (tweaked to tolerate the absence of a config file). The RCPTCHECK patch is a logical subset of SPP with a slightly different interface, and conflicts with SPP. Remove RCPTCHECK. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.100 2018/11/08 20:58:08 schmonz Exp $ d142 50 @ 1.100 log @Provide a TLS patch without the qmail-smtpd portion, as acceptutils 20181108 implements STARTTLS in fixsmtpio(8). Rebase EAI patch onto TLS-onlyremote. Switch back to upstream for RCPTCHECK, which applies cleanly again. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.99 2018/10/24 13:32:26 schmonz Exp $ d6 1 a6 1 PKGREVISION= 39 @ 1.99 log @We've been stuck on a TLS implementation from 2007 because the TLS patch and the AUTH patch conflict, nobody else has published a newer hand-merged combo patch, and as it happens, I'd apparently rather write a pile of new DJB-style C than make myself responsible for hand-merging other people's security-sensitive code every time there's a new TLS patch. Now that we have AUTH without patching (see mail/qmail-acceptutils), the "sasl" option goes away, we're finally on the most recent TLS patch available, and when it's updated it'll be easy for us to keep up. Rebase RCPTCHECK and EAI patches onto netqmail-with-TLS-and-no-AUTH. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.98 2018/09/14 09:01:53 schmonz Exp $ d6 1 a6 1 PKGREVISION= 38 @ 1.98 log @The latest upstream TLS patch (netqmail-1.06-tls-20160918.patch, not yet in pkgsrc) has bumped key sizes to 2048 bits. Do likewise. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.97 2018/08/01 07:10:27 schmonz Exp $ d6 1 a6 1 PKGREVISION= 37 @ 1.97 log @Depend on new enough sysutils/checkpassword{,-pam} such that qmail-run can (by itself depending on pkgtools/pkg_alternatives) expect to find "nbcheckpassword". Remove 'qmail-rejectutils' option, which will become an unconditional dependency in qmail-run. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.96 2018/07/29 23:26:44 schmonz Exp $ d6 1 a6 1 PKGREVISION= 36 @ 1.96 log @Add 'inet6' and 'pam' options to control dependencies on ucspi-tcp{6,} and checkpassword{-pam,}. Add dependency on ucspi-ssl to 'tls' option. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.95 2018/07/25 16:42:36 schmonz Exp $ d6 1 a6 1 PKGREVISION= 35 @ 1.95 log @Add dependency on checkpassword-pam, since checkpassword is not yet licensed. Ride previous PKGREVISION bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.94 2018/07/25 16:32:34 schmonz Exp $ d6 1 a6 1 PKGREVISION= 34 a14 1 DEPENDS+= checkpassword-pam-[0-9]*:../../sysutils/checkpassword-pam a15 1 DEPENDS+= ucspi-tcp6-[0-9]*:../../net/ucspi-tcp6 @ 1.94 log @s/ucspi-tcp/ucspi-tcp6/g in dependencies. Bump PKGREVISIONs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.93 2018/05/28 12:57:36 schmonz Exp $ d15 1 @ 1.93 log @Extract qmail-rejectutils to standalone package. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.92 2017/08/13 23:42:55 schmonz Exp $ d6 1 a6 1 PKGREVISION= 33 d16 1 a16 1 DEPENDS+= ucspi-tcp-[0-9]*:../../net/ucspi-tcp @ 1.92 log @Update to 1.03nb32. pkgsrc changes: - Apply the qbiff-utmpx patch to (probably) fix build on FreeBSD - Enable "qmail-srs" by default - Add "qmail-customerror", enabled by default - Move TLS config steps from INSTALL to MESSAGE.tls @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.91 2017/08/03 03:20:57 schmonz Exp $ d6 1 a6 1 PKGREVISION= 32 a178 4 for i in ${REJECTUTILS}; do \ ${INSTALL_PROGRAM} ${WRKSRC}/$$i ${DESTDIR}${PREFIX}/bin/$$i; \ done @ 1.91 log @Let binary packages built with MANZ install to completion by informing install-destdir and instcheck about the .gz extensions. While here, handle INSTALL and SENDMAIL docs on case-insensitive filesystems in a more straightforward way. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.90 2017/08/01 02:53:59 schmonz Exp $ d6 1 a6 1 PKGREVISION= 31 a53 1 FILES_SUBST+= OPENSSL=${OPENSSL:Q} @ 1.90 log @With the enabled-by-default "eai" option, outbound message headers were being terminated with bare LFs, getting tempfailed by some SMTP servers (such as qmail!), and getting stuck in the local queue. Tweak the EAI patch to terminate header lines with CRLF, as unpatched qmail-remote would have done. Submitted upstream. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.89 2017/07/27 04:58:31 schmonz Exp $ d6 1 a6 1 PKGREVISION= 30 a98 1 CASECLASH= .doc.caseclash d102 2 a103 7 SUBST_SED.caseclash= -e 's|"INSTALL"|"INSTALL${CASECLASH}"|g' SUBST_SED.caseclash+= -e 's|"SENDMAIL"|"SENDMAIL${CASECLASH}"|g' SUBST_CLASSES+= caseclash2 SUBST_STAGE.caseclash2= post-install SUBST_FILES.caseclash2= hier.c SUBST_SED.caseclash2= -e 's|"INSTALL${CASECLASH}"|"INSTALL"|g' SUBST_SED.caseclash2+= -e 's|"SENDMAIL${CASECLASH}"|"SENDMAIL"|g' d111 7 d148 1 d150 1 a150 1 ${MV} ${WRKSRC}/$$i ${WRKSRC}/$$i${CASECLASH}; \ a179 4 for i in INSTALL SENDMAIL; do \ ${MV} ${DESTDIR}${DOCDIR}/$$i${CASECLASH} ${DESTDIR}${DOCDIR}/$$i || ${TRUE}; \ done @ 1.89 log @Set PKG_{USER,GROUP}S_VARS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.88 2017/07/27 02:18:05 schmonz Exp $ d6 1 a6 1 PKGREVISION= 29 @ 1.88 log @Use SUBST_VARS where applicable. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.87 2017/07/21 04:07:01 schmonz Exp $ d124 4 @ 1.87 log @Update to 1.03nb29. pkgsrc changes: Remove unneeded options: - Unconditionally apply netqmail (which includes a local patch; remove it) - Unconditionally apply bigdns, maildiruniq, outgoingip, rcptcheck, remote - Unconditionally apply the TLS + SMTP AUTH _patch_ (not the options) - Record all applied patches (mandatory and optional) in QMAILPATCHES - Remove badrcptto, qregex, realrcptto, viruscan (moved to rejectutils) Simplify packaging: - Extract a standalone patch to repackage the mutually conflicting recipient- and content-checking patches as separate programs, along with wrappers for running checks in sequence - Extract a standalone patch to build to a staging area, as non-root, without hardcoded IDs - Run the destdir patch's `install-destdir` to make or repair the queue and set special file permissions, obviating the need for a dependency on mail/queue-fix and handcrafted SPECIAL_PERMS - While here, run `instcheck` to ensure we've installed just like `make setup check` as root would have - Install INSTALL and SENDMAIL docs under their original names, even on Darwin - Avoid building catpages, since we don't install them, and remove nroff from USE_TOOLS Default-enable more useful options: - "eai" (new) permits UTF-8 almost everywhere in email - "qmail-rejectutils" (new) adds several tools for selectively rejecting messages - "syncdir" forces synchronous link() and related syscalls - "tls" and "sasl", instead of causing patch conflicts, cause the TLS and SMTP AUTH code to be included (!) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.86 2017/05/22 17:18:32 schmonz Exp $ d120 1 a120 4 SUBST_SED.paths= -e 's|@@PKGNAME@@|${PKGNAME:Q}|g' SUBST_SED.paths+= -e 's|@@PKG_INFO@@|${PKG_INFO:Q}|g' SUBST_SED.paths+= -e 's|@@PREFIX@@|${PREFIX:Q}|g' SUBST_SED.paths+= -e 's|@@GREP@@|${GREP:Q}|g' @ 1.86 log @Add optional QMAILREMOTE patch. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.85 2017/04/27 20:35:10 schmonz Exp $ d4 1 a4 1 DISTNAME= ${PKGNAME_NOREV} d6 1 a6 1 PKGREVISION= 28 d11 1 a11 1 HOMEPAGE= http://cr.yp.to/qmail.html a15 1 DEPENDS+= queue-fix>=1.4nb1:../../mail/queue-fix d24 1 a27 2 USE_TOOLS+= nroff a50 1 PLIST_SUBST+= DARWINSUFX=${DARWINSUFX:Q} d63 2 a64 1 SETUP_PROGRAMS= dnsfq dnsip dnsptr hostname install ipmeprint d77 1 a77 1 BUILD_DEFS+= QMAILDIR QMAIL_QUEUE_DIR QMAIL_QUEUE_EXTRA d99 1 d103 7 a109 2 SUBST_SED.caseclash= -e 's|"INSTALL"|"INSTALL${DARWINSUFX}"|g' SUBST_SED.caseclash+= -e 's|"SENDMAIL"|"SENDMAIL${DARWINSUFX}"|g' a116 12 SUBST_CLASSES+= destdir SUBST_STAGE.destdir= do-configure SUBST_FILES.destdir= Makefile SUBST_SED.destdir= -e 's|\(^load inst.*\.o\) auto_qmail\.o\(.*\)|\1 auto_destdir.o\2|g' SUBST_SED.destdir+= -e 's|\(^ \./load inst.*\) auto_qmail\.o\(.*\)|\1 auto_destdir.o\2|g' SUBST_CLASSES+= groups SUBST_STAGE.groups= do-configure SUBST_FILES.groups= auto_uids.c SUBST_SED.groups= -e 's,@@QMAIL_QMAIL_GROUP@@,${QMAIL_QMAIL_GROUP:Q},g' SUBST_SED.groups+= -e 's,@@QMAIL_NOFILES_GROUP@@,${QMAIL_NOFILES_GROUP:Q},g' d120 4 a123 16 SUBST_SED.paths= -e 's,@@PKGNAME@@,${PKGNAME:Q},g' SUBST_SED.paths+= -e 's,@@PKG_INFO@@,${PKG_INFO:Q},g' SUBST_SED.paths+= -e 's,@@PREFIX@@,${PREFIX:Q},g' SUBST_SED.paths+= -e 's,@@GREP@@,${GREP:Q},g' SUBST_CLASSES+= users SUBST_STAGE.users= do-configure SUBST_FILES.users= auto_uids.c SUBST_SED.users= -e 's,@@QMAIL_ROOT_USER@@,${QMAIL_ROOT_USER:Q},g' SUBST_SED.users+= -e 's,@@QMAIL_ALIAS_USER@@,${QMAIL_ALIAS_USER:Q},g' SUBST_SED.users+= -e 's,@@QMAIL_DAEMON_USER@@,${QMAIL_DAEMON_USER:Q},g' SUBST_SED.users+= -e 's,@@QMAIL_LOG_USER@@,${QMAIL_LOG_USER:Q},g' SUBST_SED.users+= -e 's,@@QMAIL_PASSWD_USER@@,${QMAIL_PASSWD_USER:Q},g' SUBST_SED.users+= -e 's,@@QMAIL_QUEUE_USER@@,${QMAIL_QUEUE_USER:Q},g' SUBST_SED.users+= -e 's,@@QMAIL_REMOTE_USER@@,${QMAIL_REMOTE_USER:Q},g' SUBST_SED.users+= -e 's,@@QMAIL_SEND_USER@@,${QMAIL_SEND_USER:Q},g' d140 9 a148 10 SPECIAL_PERMS+= ${PREFIX}/bin/qmail-queue ${QMAIL_QUEUE_USER} ${QMAIL_QMAIL_GROUP} 04711 .for f in qmail-inject qmail-pop3d qmail-qmqpc qmail-qmqpd qmail-qmtpd qmail-qread qmail-qstat qmail-showctl qmail-smtpd qmail-tcpok qmail-tcpto SPECIAL_PERMS+= ${PREFIX}/bin/${f} ${QMAIL_ROOT_USER} ${QMAIL_QMAIL_GROUP} 0755 .endfor .for f in qmail-clean qmail-getpw qmail-local qmail-popup qmail-pw2u qmail-remote qmail-rspawn qmail-send splogger SPECIAL_PERMS+= ${PREFIX}/bin/${f} ${QMAIL_ROOT_USER} ${QMAIL_QMAIL_GROUP} 0711 .endfor .for f in qmail-lspawn qmail-newmrh qmail-newu qmail-start SPECIAL_PERMS+= ${PREFIX}/bin/${f} ${QMAIL_ROOT_USER} ${QMAIL_QMAIL_GROUP} 0700 .endfor d150 6 a155 11 OPSYSVARS+= DARWINSUFX DARWINSUFX.Darwin= .doc DARWINSUFX.*= # empty post-extract: post-extract-srs post-extract-viruscan ${CP} ${FILESDIR}/README.pkgsrc ${WRKSRC} .if ${OPSYS} == "Darwin" . for i in INSTALL SENDMAIL mv ${WRKSRC}/${i} ${WRKSRC}/${i}${DARWINSUFX} . endfor .endif d170 14 a183 2 post-install: post-install-srs post-install-viruscan ${INSTALL_DATA} ${WRKSRC}/README.pkgsrc ${DESTDIR}${DOCDIR} @ 1.85 log @Honor custom values of ${QMAIL_DAEMON_USER} and ${QMAIL_QMAIL_GROUP}. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.84 2017/04/08 18:22:51 schmonz Exp $ d6 1 a6 1 PKGREVISION= 27 @ 1.84 log @Remove dependency on sysutils/checkpassword. In the default install it's used only for qmail-pop3d, which is likely not being used much anymore. Other installs might need a different implementation of checkpassword anyhow. And this implementation is not (yet?) in the public domain, so it's blocking us from publishing binary packages of qmail. Unless (until?) sysutils/checkpassword becomes "public-domain", it remains under "djb-nonlicense". If you continue to need it, since you've already accepted the nonlicense, simply install it directly. I believe this package and all its remaining dependencies are now in DEFAULT_ACCEPTABLE_LICENSES. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.83 2017/04/04 14:58:06 schmonz Exp $ d60 2 @ 1.83 log @Give absolute path to srsfilter. From Nathan Arthur in private mail. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.82 2017/04/04 07:50:18 schmonz Exp $ d6 1 a6 1 PKGREVISION= 26 a14 1 DEPENDS+= checkpassword-[0-9]*:../../sysutils/checkpassword @ 1.82 log @Substitute configured qmail users and groups (defaults haven't changed). Bump dependency on queue-fix to a version that does likewise. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.81 2017/03/31 13:52:00 schmonz Exp $ d126 1 a126 1 SUBST_FILES.paths= README.pkgsrc d129 1 @ 1.81 log @Add "qmail-srs" option to apply the Sender Rewriting Scheme patch, requested by Nathan Arthur. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.80 2017/03/29 13:26:05 schmonz Exp $ d6 1 a6 1 PKGREVISION= 25 d17 1 a17 1 DEPENDS+= queue-fix-[0-9]*:../../mail/queue-fix d32 10 d79 4 d118 6 d131 12 d145 8 a152 4 PKG_GROUPS= qmail nofiles PKG_USERS+= alias:nofiles PKG_USERS+= qmaill:nofiles qmaild:nofiles qmailp:nofiles PKG_USERS+= qmailq:qmail qmailr:qmail qmails:qmail d158 1 a158 1 SPECIAL_PERMS+= ${PREFIX}/bin/qmail-queue qmailq qmail 04711 d160 1 a160 1 SPECIAL_PERMS+= ${PREFIX}/bin/${f} root qmail 0755 d163 1 a163 1 SPECIAL_PERMS+= ${PREFIX}/bin/${f} root qmail 0711 d166 1 a166 1 SPECIAL_PERMS+= ${PREFIX}/bin/${f} root qmail 0700 @ 1.80 log @To make the newly useful binary package a bit more useful, enable qmail-{bigdns,realrcptto} (in addition to qmail-netqmail) by default. These are conservative choices: small patches that make qmail behave more like it probably wanted to without breaking existing systems, adding attack surface, or failing on some platforms we support. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.79 2017/03/23 07:24:48 schmonz Exp $ d6 1 a6 1 PKGREVISION= 24 d45 1 d137 1 a137 1 post-extract: post-extract-viruscan d158 1 a158 1 post-install: post-install-viruscan @ 1.80.2.1 log @Pullup ticket #5254 - requested by schmonz mail/qmail: build fix Revisions pulled up: - mail/qmail/MESSAGE.srs 1.1 - mail/qmail/Makefile 1.81-1.84 - mail/qmail/PLIST 1.17 - mail/qmail/distinfo 1.32-1.33 - mail/qmail/files/README.srs 1.1-1.2 - mail/qmail/options.mk 1.39-1.40 - mail/qmail/patches/patch-auto__uids.c 1.2 - mail/qmail/patches/patch-auto__uids.h 1.2 --- Module Name: pkgsrc Committed By: schmonz Date: Fri Mar 31 13:52:00 UTC 2017 Modified Files: pkgsrc/mail/qmail: Makefile PLIST distinfo options.mk Added Files: pkgsrc/mail/qmail: MESSAGE.srs pkgsrc/mail/qmail/files: README.srs Log Message: Add "qmail-srs" option to apply the Sender Rewriting Scheme patch, requested by Nathan Arthur. Bump PKGREVISION. --- Module Name: pkgsrc Committed By: schmonz Date: Tue Apr 4 07:50:18 UTC 2017 Modified Files: pkgsrc/mail/qmail: Makefile distinfo options.mk pkgsrc/mail/qmail/patches: patch-auto__uids.c patch-auto__uids.h Log Message: Substitute configured qmail users and groups (defaults haven't changed). Bump dependency on queue-fix to a version that does likewise. Bump PKGREVISION. --- Module Name: pkgsrc Committed By: schmonz Date: Tue Apr 4 14:58:06 UTC 2017 Modified Files: pkgsrc/mail/qmail: Makefile pkgsrc/mail/qmail/files: README.srs Log Message: Give absolute path to srsfilter. From Nathan Arthur in private mail. --- Module Name: pkgsrc Committed By: schmonz Date: Sat Apr 8 18:22:51 UTC 2017 Modified Files: pkgsrc/mail/qmail: Makefile Log Message: Remove dependency on sysutils/checkpassword. In the default install it's used only for qmail-pop3d, which is likely not being used much anymore. Other installs might need a different implementation of checkpassword anyhow. And this implementation is not (yet?) in the public domain, so it's blocking us from publishing binary packages of qmail. Unless (until?) sysutils/checkpassword becomes "public-domain", it remains under "djb-nonlicense". If you continue to need it, since you've already accepted the nonlicense, simply install it directly. I believe this package and all its remaining dependencies are now in DEFAULT_ACCEPTABLE_LICENSES. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD$ d6 1 a6 1 PKGREVISION= 27 d15 1 d17 1 a17 1 DEPENDS+= queue-fix>=1.4nb1:../../mail/queue-fix a31 10 DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_ALIAS_USER:Q} > conf-users; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_DAEMON_USER:Q} >> conf-users; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_LOG_USER:Q} >> conf-users; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_ROOT_USER:Q} >> conf-users; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_PASSWD_USER:Q} >> conf-users; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_QUEUE_USER:Q} >> conf-users; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_REMOTE_USER:Q} >> conf-users; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_SEND_USER:Q} >> conf-users; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_QMAIL_GROUP:Q} > conf-groups; DJB_CONFIG_CMDS+= ${ECHO} ${QMAIL_NOFILES_GROUP:Q} >> conf-groups; a44 1 MESSAGE_SRC+= ${PKGDIR}/MESSAGE a67 4 BUILD_DEFS+= QMAIL_ALIAS_USER QMAIL_DAEMON_USER QMAIL_LOG_USER BUILD_DEFS+= QMAIL_ROOT_USER QMAIL_PASSWD_USER QMAIL_QUEUE_USER BUILD_DEFS+= QMAIL_REMOTE_USER QMAIL_SEND_USER BUILD_DEFS+= QMAIL_QMAIL_GROUP QMAIL_NOFILES_GROUP a102 6 SUBST_CLASSES+= groups SUBST_STAGE.groups= do-configure SUBST_FILES.groups= auto_uids.c SUBST_SED.groups= -e 's,@@QMAIL_QMAIL_GROUP@@,${QMAIL_QMAIL_GROUP:Q},g' SUBST_SED.groups+= -e 's,@@QMAIL_NOFILES_GROUP@@,${QMAIL_NOFILES_GROUP:Q},g' d105 1 a105 1 SUBST_FILES.paths= README.* a107 1 SUBST_SED.paths+= -e 's,@@PREFIX@@,${PREFIX:Q},g' a109 12 SUBST_CLASSES+= users SUBST_STAGE.users= do-configure SUBST_FILES.users= auto_uids.c SUBST_SED.users= -e 's,@@QMAIL_ROOT_USER@@,${QMAIL_ROOT_USER:Q},g' SUBST_SED.users+= -e 's,@@QMAIL_ALIAS_USER@@,${QMAIL_ALIAS_USER:Q},g' SUBST_SED.users+= -e 's,@@QMAIL_DAEMON_USER@@,${QMAIL_DAEMON_USER:Q},g' SUBST_SED.users+= -e 's,@@QMAIL_LOG_USER@@,${QMAIL_LOG_USER:Q},g' SUBST_SED.users+= -e 's,@@QMAIL_PASSWD_USER@@,${QMAIL_PASSWD_USER:Q},g' SUBST_SED.users+= -e 's,@@QMAIL_QUEUE_USER@@,${QMAIL_QUEUE_USER:Q},g' SUBST_SED.users+= -e 's,@@QMAIL_REMOTE_USER@@,${QMAIL_REMOTE_USER:Q},g' SUBST_SED.users+= -e 's,@@QMAIL_SEND_USER@@,${QMAIL_SEND_USER:Q},g' d112 4 a115 8 PKG_GROUPS= ${QMAIL_QMAIL_GROUP} ${QMAIL_NOFILES_GROUP} PKG_USERS+= ${QMAIL_ALIAS_USER}:${QMAIL_NOFILES_GROUP} PKG_USERS+= ${QMAIL_DAEMON_USER}:${QMAIL_NOFILES_GROUP} PKG_USERS+= ${QMAIL_LOG_USER}:${QMAIL_NOFILES_GROUP} PKG_USERS+= ${QMAIL_PASSWD_USER}:${QMAIL_NOFILES_GROUP} PKG_USERS+= ${QMAIL_QUEUE_USER}:${QMAIL_QMAIL_GROUP} PKG_USERS+= ${QMAIL_REMOTE_USER}:${QMAIL_QMAIL_GROUP} PKG_USERS+= ${QMAIL_SEND_USER}:${QMAIL_QMAIL_GROUP} d121 1 a121 1 SPECIAL_PERMS+= ${PREFIX}/bin/qmail-queue ${QMAIL_QUEUE_USER} ${QMAIL_QMAIL_GROUP} 04711 d123 1 a123 1 SPECIAL_PERMS+= ${PREFIX}/bin/${f} ${QMAIL_ROOT_USER} ${QMAIL_QMAIL_GROUP} 0755 d126 1 a126 1 SPECIAL_PERMS+= ${PREFIX}/bin/${f} ${QMAIL_ROOT_USER} ${QMAIL_QMAIL_GROUP} 0711 d129 1 a129 1 SPECIAL_PERMS+= ${PREFIX}/bin/${f} ${QMAIL_ROOT_USER} ${QMAIL_QMAIL_GROUP} 0700 d136 1 a136 1 post-extract: post-extract-srs post-extract-viruscan d157 1 a157 1 post-install: post-install-srs post-install-viruscan @ 1.79 log @Add qmail-maildiruniq and qmail-rcptcheck options, off by default. Since we no longer stage-install as root, instcheck is noise; skip it. Mollify pkglint. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.78 2017/03/20 16:23:19 schmonz Exp $ d6 1 a6 1 PKGREVISION= 23 @ 1.78 log @When I added basic DESTDIR support, I introduced a regression: the source package stopped initializing the queue. (DESTDIR makes source packages generate binary packages, which had never had that feature. See for where the regression was introduced.) Add a dependency on mail/queue-fix and, if no queue is present at pkg_add time, initialize it. Defer creating users and groups all the way to pkg_add time, and improve DESTDIR support to full "user-destdir". Since mail/postfix lets unprivileged users install it, we do too. (Can't run a server that way, but so what.) A typical (privileged) binary package should now: 1. Install on any other system of matching OS and architecture, 2. Not need matching numeric UIDs and GIDs to do so, and 3. Be usable in production. You know, like any other binary package. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.77 2017/03/10 03:13:29 schmonz Exp $ d6 1 a6 1 PKGREVISION= 22 d31 1 a31 1 DJB_CONFIG_CMDS= ${ECHO} ${DESTDIR:Q}${QMAILDIR:Q} > conf-destdir d33 1 @ 1.77 log @Look up user/group IDs at runtime. This lets us defer USERGROUP_PHASE to "pre-install", and is a step closer to having the qmail users and groups be created at pkg_add time (as with binary packages of typical software needing users and groups). Based on Paul Fox's getpwnam.patch for qmail 0.96. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.76 2016/04/10 16:39:28 joerg Exp $ d6 1 a6 1 PKGREVISION= 21 d17 1 a26 2 NOT_FOR_UNPRIVILEGED= yes a28 1 PKG_DESTDIR_SUPPORT= destdir a110 1 USERGROUP_PHASE= pre-install d120 5 a124 7 QMAIL_ROOT_ONLY_READABLES= qmail-clean qmail-getpw qmail-local qmail-popup QMAIL_ROOT_ONLY_READABLES+= qmail-pw2u qmail-remote qmail-rspawn qmail-send QMAIL_ROOT_ONLY_READABLES+= splogger QMAIL_ROOT_ONLY_EVERYTHINGS= qmail-lspawn qmail-newmrh qmail-newu qmail-start SPECIAL_PERMS+= ${PREFIX}/bin/qmail-queue qmailq qmail 4555 .for f in ${QMAIL_ROOT_ONLY_READABLES} d127 1 a127 1 .for f in ${QMAIL_ROOT_ONLY_EVERYTHINGS} a156 16 # allow packaging as non-root, fix at install time with SPECIAL_PERMS ${CHMOD} 0755 ${DESTDIR}${PREFIX}/bin/qmail-queue . for f in ${QMAIL_ROOT_ONLY_READABLES} ${QMAIL_ROOT_ONLY_EVERYTHINGS} ${CHMOD} 0755 ${DESTDIR}${PREFIX}/bin/${f} . endfor # qmail's installer sets strange permissions, set them back . for i in bin boot ${CHGRP} ${BINGRP} ${DESTDIR}${QMAILDIR}/${i} . endfor . for i in doc ${CHGRP} ${SHAREGRP} ${DESTDIR}${QMAILDIR}/${i} . endfor . for i in ${MANDIRS} ${CHGRP} ${MANGRP} ${DESTDIR}${QMAILDIR}/${i} . endfor @ 1.76 log @Adjust checks for _USE_DESTDIR != no or incorrect references to USE_DESTDIR. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.75 2016/03/05 11:28:50 jperkin Exp $ d6 1 a6 1 PKGREVISION= 20 d113 1 a113 1 USERGROUP_PHASE= configure @ 1.75 log @Bump PKGREVISION for security/openssl ABI bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.74 2016/02/25 15:00:51 jperkin Exp $ d149 11 a159 13 . if ${USE_DESTDIR} != "no" ${MKDIR} ${DESTDIR}${QMAILDIR} ${MKDIR} ${DESTDIR}${QMAIL_QUEUE_DIR} # keep in sync with INSTALL:PRE-INSTALL ${LN} -s ${DESTDIR}${EGDIR}/alias ${DESTDIR}${QMAILDIR}/alias ${LN} -s ${DESTDIR}${PREFIX}/bin ${DESTDIR}${QMAILDIR}/bin ${LN} -s ${DESTDIR}${EGDIR}/boot ${DESTDIR}${QMAILDIR}/boot ${LN} -s ${DESTDIR}${EGDIR}/control ${DESTDIR}${QMAILDIR}/control ${LN} -s ${DESTDIR}${DOCDIR} ${DESTDIR}${QMAILDIR}/doc ${LN} -s ${DESTDIR}${PREFIX}/${PKGMANDIR} ${DESTDIR}${QMAILDIR}/man ${LN} -s ${DESTDIR}${QMAIL_QUEUE_DIR} ${DESTDIR}${QMAILDIR}/queue ${LN} -s ${DESTDIR}${EGDIR}/users ${DESTDIR}${QMAILDIR}/users . endif @ 1.74 log @Use OPSYSVARS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.73 2014/12/30 15:13:19 wiz Exp $ d6 1 a6 1 PKGREVISION= 19 @ 1.73 log @Remove pkg_views support, second part: infrastructure. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.72 2014/11/23 19:08:22 schmonz Exp $ d136 3 a138 5 .if ${OPSYS} == "Darwin" DARWINSUFX= .doc .else DARWINSUFX= # empty .endif @ 1.72 log @Quell pkglint, mostly: - Pluralize QMAIL_ROOT_ONLY_{READABLE,EVERYTHING}S - Declare the viruscan targets .PHONY @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.70 2014/08/19 22:06:49 schmonz Exp $ d172 9 a180 11 . if (${PKG_INSTALLATION_TYPE} == "overwrite") . for i in bin boot ${CHGRP} ${BINGRP} ${DESTDIR}${QMAILDIR}/${i} . endfor . for i in doc ${CHGRP} ${SHAREGRP} ${DESTDIR}${QMAILDIR}/${i} . endfor . for i in ${MANDIRS} ${CHGRP} ${MANGRP} ${DESTDIR}${QMAILDIR}/${i} . endfor . endif @ 1.71 log @Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. @ text @d123 4 a126 4 QMAIL_ROOT_ONLY_READABLE= qmail-clean qmail-getpw qmail-local qmail-popup QMAIL_ROOT_ONLY_READABLE+= qmail-pw2u qmail-remote qmail-rspawn qmail-send QMAIL_ROOT_ONLY_READABLE+= splogger QMAIL_ROOT_ONLY_EVERYTHING= qmail-lspawn qmail-newmrh qmail-newu qmail-start d129 1 a129 1 .for f in ${QMAIL_ROOT_ONLY_READABLE} d132 1 a132 1 .for f in ${QMAIL_ROOT_ONLY_EVERYTHING} d168 1 a168 1 . for f in ${QMAIL_ROOT_ONLY_READABLE} ${QMAIL_ROOT_ONLY_EVERYTHING} @ 1.70 log @Allow packaging as non-root, prompted by private mail from J. Lewis Muir. For the baker's dozen of binaries unreadable (or worse) to non-root, chmod them 0755 at post-install for pkg_create(1), and chmod them back with SPECIAL_PERMS at pkg_add(1) time. Permissions on the installed binaries compare equal before and after this change, so no PKGREVISION bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.69 2014/05/30 21:35:04 schmonz Exp $ a30 1 PKG_INSTALLATION_TYPES= overwrite pkgviews @ 1.69 log @Improve binary package: * Reduce potential patch conflicts by switching more DESTDIR support to sed * Enable `qmail-netqmail` by default * Install `qmail-viruscan` signatures via CONF_FILES * With `tls` option, don't generate cert, instruct the user at INSTALL time That last change also fixes the source build with `tls` enabled on systems that don't already have a /var/qmail/control, as reported by Thomas Lazar on pkgsrc-users@@. While here, add a comment with the new location of the qregex patch. Since it's named strangely, I've also placed a traditionally-named copy on ftp.n.o. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.68 2014/04/16 04:57:23 schmonz Exp $ d124 5 d130 6 d167 5 @ 1.68 log @The TLS/SASL patch no longer applies over our patch to hier.c (reported by Thomas Lazar), so instead express our local changes with SUBST_SED at do-configure. Update to the latest TLS/SASL patch. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.67 2014/02/12 23:18:09 tron Exp $ d6 1 a6 1 PKGREVISION= 18 d49 1 a53 1 FILES_SUBST+= VIRUSCAN_SIGS_SRCFILE=${VIRUSCAN_SIGS_SRCFILE:Q} d99 6 d132 1 a132 1 post-extract: d155 1 a155 1 post-install: @ 1.67 log @Recursive PKGREVISION bump for OpenSSL API version bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.66 2013/02/06 23:22:48 jperkin Exp $ d6 1 a6 1 PKGREVISION= 17 d93 6 @ 1.66 log @PKGREVISION bumps for the security/openssl 1.0.1d update. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.65 2012/05/20 09:04:26 marino Exp $ d6 1 a6 1 PKGREVISION= 16 @ 1.65 log @mail/qmail: Rev bump - last commit might change binary @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.64 2012/03/12 03:53:55 sbd Exp $ d6 1 a6 1 PKGREVISION= 15 @ 1.64 log @At joerg@@'s suggestion instead of set MANINSTALL to agree with what gets installed simple don't install the catpages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.63 2012/03/09 04:04:47 sbd Exp $ d6 1 a6 1 PKGREVISION= 14 @ 1.63 log @qmail always installs the manpages and catpages so MANINSTALL must be set so thay are not removed from the PLIST. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.62 2011/10/12 17:20:21 hans Exp $ d60 2 a61 4 .for i in cat man . for j in 1 5 7 8 MANDIRS+= man/${i}${j} . endfor a68 4 # XXX qmail always installs the manpages and catpages so MANINSTALL # XXX must be set here so thay are not removed from the PLIST. MANINSTALL= maninstall catinstall @ 1.62 log @There is no need to do the Darwin-specific post-extract stuff on anything but Darwin. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.61 2011/09/28 06:36:57 joerg Exp $ d71 4 @ 1.61 log @Fix PLIST overlap with dependency @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.60 2011/06/07 02:53:42 schmonz Exp $ d124 1 d128 1 @ 1.60 log @DESTDIR support, PKGMANDIR support, OS X fixes, general cleanups. For ${OPSYS}/${USE_DESTDIR}/${PKGMANDIR} combinations that already worked, no functional change (hence no PKGREVISION bump). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.59 2009/05/19 09:07:14 wiz Exp $ d6 1 a6 1 PKGREVISION= 13 @ 1.59 log @Uncomment some more LICENSE lines (all "public-domain"). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.58 2008/03/20 03:30:32 schmonz Exp $ d30 1 d34 1 d38 3 a40 2 MAKE_DIRS+= ${PKG_SYSCONFDIR} ${PKG_SYSCONFDIR}/alias MAKE_DIRS+= ${PKG_SYSCONFDIR}/control ${PKG_SYSCONFDIR}/users a41 1 PKG_SYSCONFSUBDIR= qmail d46 1 d48 4 a51 2 FILES_SUBST+= DOCDIR=${DOCDIR:Q} EGDIR=${EGDIR:Q} SHAREDIR=${SHAREDIR:Q} FILES_SUBST+= QMAILDIR=${QMAILDIR:Q} QMAIL_QUEUE_DIR=${QMAIL_QUEUE_DIR:Q} d65 3 a67 2 INSTALLATION_DIRS= bin ${MANDIRS} INSTALLATION_DIRS+= share/doc/qmail share/examples/qmail/boot share/qmail d89 6 d96 3 a98 2 SUBST_FILES.paths= ${WRKDIR}/README.pkgsrc SUBST_SED.paths+= -e 's,@@PKGNAME@@,${PKGNAME:Q},g' a100 1 SUBST_STAGE.paths= post-patch d116 6 d123 19 a141 1 ${CP} ${FILESDIR}/README.pkgsrc ${WRKDIR}/README.pkgsrc d147 1 a147 1 ${CHGRP} ${BINGRP} ${QMAILDIR}/${i} d150 1 a150 1 ${CHGRP} ${SHAREGRP} ${QMAILDIR}/${i} d153 1 a153 1 ${CHGRP} ${MANGRP} ${QMAILDIR}/${i} d157 1 a157 1 ${INSTALL_DATA} ${WRKDIR}/README.pkgsrc ${DOCDIR} d159 1 a159 1 ${INSTALL_PROGRAM_DIR} ${SHAREDIR}/setup d161 2 a162 1 ${INSTALL_PROGRAM} ${WRKSRC}/$$i ${SHAREDIR}/setup; \ d165 2 a166 1 ${INSTALL_SCRIPT} ${WRKSRC}/$$i ${SHAREDIR}/setup; \ @ 1.58 log @Upgrade netqmail to 1.06, which is identical to 1.05 except that instead of consisting of a pristine qmail tarball and netqmail patch, 1.06 has the patch already applied. No user-visible changes to pkgsrc, either; this just simplifies a weird build and will make future upgrades (don't laugh!) easier. jlam@@ "looks fine" @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.57 2008/02/19 21:12:06 schmonz Exp $ d13 1 a13 1 #LICENSE= public-domain @ 1.57 log @Add commented-out LICENSE=public-domain. Nudged by gdt@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.56 2008/02/19 13:59:05 schmonz Exp $ d4 1 a4 1 DISTNAME= netqmail-1.05 d28 1 a28 1 WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} a103 1 # extract the qmail tarball that was inside the netqmail distfile a104 3 ${_PKG_SILENT}${_PKG_DEBUG} \ extract_file=${WRKDIR}/${DISTNAME}/${PKGNAME_NOREV}.tar.gz; \ cd ${WRKDIR} && ${EXTRACT_CMD} @ 1.56 log @DJB has placed certain of his software in the public domain. Excerpted from : What are the distribution terms for daemontools? 2007.12.28: I hereby place the daemontools package (in particular, daemontools-0.76.tar.gz, with MD5 checksum 1871af2453d6e464034968a0fbcb2bfc) into the public domain. The package is no longer copyrighted. What are the distribution terms for djbdns? 2007.12.28: I hereby place the djbdns package (in particular, djbdns-1.05.tar.gz, with MD5 checksum 3147c5cd56832aa3b41955c7a51cbeb2) into the public domain. The package is no longer copyrighted. What are the distribution terms for ucspi-tcp? 2007.12.28: I hereby place the ucspi-tcp package (in particular, ucspi-tcp-0.88.tar.gz, with MD5 checksum 39b619147db54687c4a583a7a94c9163) into the public domain. The package is no longer copyrighted. Am I free to modify uncopyrighted packages and distribute modified versions? Yes. But this does not mean that modifications are _encouraged_! And from : I hereby place the qmail package (in particular, qmail-1.03.tar.gz, with MD5 checksum 622f65f982e380dbe86e6574f3abcb7c) into the public domain. You are free to modify the package, distribute modified versions, etc. This does not mean that modifications are encouraged! pkgsrc will strive, as it has, to keep modifications to a tasteful minimum. This addresses PR pkg/37964 by Aleksej Saushev. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.55 2007/06/15 18:15:19 jlam Exp $ d13 1 @ 1.55 log @* Change some instances of ROOT_USER and ROOT_GROUP to BINOWN and BINGRP in SPECIAL_PERMS usage. * Consistently use 4555 for setuid and 2555 for setgid programs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.54 2007/04/12 03:42:21 schmonz Exp $ d33 1 a33 2 DJB_RESTRICTED= YES @ 1.54 log @Update tls-smtpauth combined patch to 20070321. SMTP AUTH changes: * Includes a generic 'MAIL FROM:' parameter parser supporting 'AUTH' and 'SIZE' advertisements; complies to RFC 3848 * Fixes a gcc (3.4.6) -O2 optimization problem in base64.c Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.53 2007/03/09 12:34:21 schmonz Exp $ d102 1 a102 1 SPECIAL_PERMS+= ${PREFIX}/bin/qmail-queue qmailq qmail 4711 @ 1.53 log @Use PLIST_SUBST rather than appending one-line PLIST.foo to PLIST_SRC, and remove one-line PLIST.foo files. Quote some paths to appease pkglint. Update URL to "12 Steps to qmail List Bliss". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.52 2007/01/09 21:35:58 rillig Exp $ d6 1 a6 1 PKGREVISION= 12 @ 1.52 log @qmail is not intended to be installed as an unprivileged user. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.51 2006/12/29 10:32:05 schmonz Exp $ a50 2 PLIST_SRC= ${PKGDIR}/PLIST d85 3 a87 3 SUBST_SED.paths+= -e 's,@@PKGNAME@@,${PKGNAME},g' SUBST_SED.paths+= -e 's,@@PKG_INFO@@,${PKG_INFO},g' SUBST_SED.paths+= -e 's,@@GREP@@,${GREP},g' @ 1.51 log @Update to nb12 (is this a record?). From the respective patch changelogs: * Update qregex patch (PR pkg/34760) to 20060423: - qregex adds the matched regex pattern to its log entries if the LOGREGEX environment variable is set. * Update realrcptto patch to 20061210: - Logging uses substdio_puts() and substdio_flush() instead of substdio_putsflush(). This makes log entries less likely to be interleaved. Thanks to Matthew Dempsky for finding this. - For QMAILRRTENYALL, use error code 554 after DATA, not 550. Thanks to ... sorry, I lost track of who found this. - Log stat() errors for .qmail files. Thanks to Chris Bensend for suggesting this. * Update tls-smtpauth combined patch to 20060105. TLS changes: - bug: qmail-remote loops on malformed server response (B. Shupp, A. Meltzer) - no STARTTLS advertised when control/servercert.pem absent (Jason Haar) - control/notlshosts (Albert Weichselbraun) - control/tlshosts/exhaustivelist - scripts honor conf-users (Sven Verdoolaege) - strerror declaration in tls.c compile problem (Renato Botelho, Bill Shupp) - chown uid.gid deprecated, should be uid:gid (Bill Shupp) SMTP AUTH changes: - includes the evaluation of the 'Auth' and the 'Size' parameter in the 'Mail From:' command. - uses DJB functions to copy FDs. - corrects some minor mistakes displaying the 'Auth' userid. - uses keyword "ESMTPA" in Received header in case of authentication to comply with RFC 3848. pkgsrc changes: * Note SPECIAL_PERMS on qmail-queue binary (from dsainty@@). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.50 2006/05/01 02:57:03 jlam Exp $ d25 2 @ 1.50 log @Conflict with courier-mta. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2006/04/30 08:03:42 schmonz Exp $ d6 1 a6 1 PKGREVISION= 11 a82 2 SUBST_FILES.djbware+= cdb_seek.c dns.c d90 2 d102 2 d112 1 a112 1 # qmail's installer sets strange permissions; set them back @ 1.49 log @expr is only needed as a tool if QMAIL_QUEUE_EXTRA is defined. No functional change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.48 2006/04/29 04:53:17 schmonz Exp $ d19 1 @ 1.48 log @Set USERGROUP_PHASE=configure, causing qmail's users and groups to be created just before its "configure" phase, obviating the need for the hackish dependency on a qmail-users package. Since the new functionality in bsd.pkginstall.mk also records and enforces numeric UIDs and GIDs in binary packages, remove the note on that matter from MESSAGE. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2006/03/14 01:14:30 jlam Exp $ d27 1 a27 1 USE_TOOLS+= expr nroff d71 1 @ 1.47 log @Modify the pkginstall framework so that it manages all aspects of INSTALL/DEINSTALL script creation within pkgsrc. If an INSTALL or DEINSTALL script is found in the package directory, it is automatically used as a template for the pkginstall-generated scripts. If instead, they should be used simply as the full scripts, then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC explicitly, e.g.: INSTALL_SRC= ${PKGDIR}/INSTALL DEINSTALL_SRC= # emtpy As part of the restructuring of the pkginstall framework internals, we now *always* generate temporary INSTALL or DEINSTALL scripts. By comparing these temporary scripts with minimal INSTALL/DEINSTALL scripts formed from only the base templates, we determine whether or not the INSTALL/DEINSTALL scripts are actually needed by the package (see the generate-install-scripts target in bsd.pkginstall.mk). In addition, more variables in the framework have been made private. The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are more sensible names given the very few exported variables in this framework. The only public variables relating to the templates are: INSTALL_SRC INSTALL_TEMPLATE DEINSTALL_SRC DEINSTALL_TEMPLATE HEADER_TEMPLATE The packages in pkgsrc have been modified to reflect the changes in the pkginstall framework. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2006/03/12 14:15:43 rillig Exp $ d6 1 a6 1 PKGREVISION= 10 a15 1 DEPENDS+= qmail-users>=1.0:../../mail/qmail-users d29 1 a29 1 DJB_BUILD_TARGETS= man d90 10 @ 1.46 log @Fixed pkglint warnings. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2006/02/20 03:39:25 schmonz Exp $ a33 2 DEINSTALL_EXTRA_TMPL+= ${PKGDIR}/DEINSTALL INSTALL_EXTRA_TMPL+= ${PKGDIR}/INSTALL @ 1.45 log @Extract more sanely, from jlam and joerg. Should fix DragonFly bulk build. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2006/01/19 01:18:30 joerg Exp $ d81 1 a81 1 SUBST_MESSAGE.logging= "Setting QUEUE_EXTRA." @ 1.44 log @Use SUBST framework instead FILES_SUBST_SED. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2006/01/13 20:53:56 schmonz Exp $ a24 3 .if defined(PKG_PHASE) && ${PKG_PHASE} == "extract" WRKSRC= ${WRKDIR}/${DISTNAME} .else a25 1 .endif d44 1 a44 1 MESSAGE_SUBST+= DOCDIR=${DOCDIR} EGDIR=${EGDIR} d93 1 d95 3 a97 3 ${_PKG_SILENT}${_PKG_DEBUG}extract_file=${PKGNAME_NOREV}.tar.gz;\ export extract_file; cd ${WRKSRC}; ${EXTRACT_CMD}; \ ${MV} ${PKGNAME_NOREV} ..; ${MV} ${DISTNAME}.patch .. @ 1.43 log @Don't add ${DOCDIR} to MAKE_DIRS, as it's under ${PREFIX} and INSTALLATION_DIRS takes care of it. Found by Krister's bulk build with CHECK_FILES. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2006/01/08 17:48:14 joerg Exp $ d90 7 d101 1 a101 4 post-build: @@${SED} ${FILES_SUBST_SED} ${FILESDIR}/README.pkgsrc \ > ${WRKDIR}/README.pkgsrc @ 1.42 log @Add cdb_seek.c and dns.c to the files with djb-errno hack. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2006/01/05 02:57:11 schmonz Exp $ d41 1 a41 2 MAKE_DIRS+= ${PKG_SYSCONFDIR}/control ${DOCDIR} MAKE_DIRS+= ${PKG_SYSCONFDIR}/users @ 1.41 log @These packages generate catted manpages. Add USE_TOOLS+=nroff. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2005/12/29 06:21:53 jlam Exp $ a36 1 NO_PACKAGE= "needs work to function properly as a binary package" d89 2 @ 1.40 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.39 2005/12/05 20:50:35 rillig Exp $ d32 1 a32 1 USE_TOOLS+= expr @ 1.39 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.38 2005/08/19 04:44:09 schmonz Exp $ a38 1 USE_PKGINSTALL= yes @ 1.38 log @Convert DJB_ERRNO_HACK to a "djbware-errno-hack" option available in all packages using djbware.mk. For now, keep the same default, avoiding PKGREVISION bumps. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2005/07/15 18:27:51 jlam Exp $ d52 5 a56 5 FILES_SUBST+= DOCDIR=${DOCDIR} EGDIR=${EGDIR} SHAREDIR=${SHAREDIR} FILES_SUBST+= QMAILDIR=${QMAILDIR} QMAIL_QUEUE_DIR=${QMAIL_QUEUE_DIR} FILES_SUBST+= QMAIL_QUEUE_EXTRA=${QMAIL_QUEUE_EXTRA} FILES_SUBST+= VIRUSCAN_SIGS_SRCFILE=${VIRUSCAN_SIGS_SRCFILE} FILES_SUBST+= PKGNAME=${PKGNAME} @ 1.37 log @Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making PKGSRC_USE_TOOLS go away. There is now only a single USE_TOOLS variable that specifies all of the tools we need to build/run the package. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2005/05/16 04:38:03 jlam Exp $ a73 2 .include "options.mk" @ 1.36 log @Note that expr is used by this package. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2005/05/07 21:37:42 schmonz Exp $ d32 1 a32 1 PKGSRC_USE_TOOLS+= expr @ 1.35 log @Since share/examples/qmail/boot is under ${PREFIX}, create it with INSTALLATION_DIRS rather than MAKE_DIRS. Calculate QUEUE_EXTRALEN in a more readable fashion. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2005/04/30 15:06:58 jlam Exp $ d32 1 a32 1 @ 1.34 log @Use :sh instead of != to assign QUEUE_EXTRALEN to defer evalutation of command until it is referenced within subst.mk's make targets. This avoids needing ${EXPR} and ${WC} in the top-level make. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2005/04/11 21:46:23 tv Exp $ d42 1 a42 1 MAKE_DIRS+= ${PKG_SYSCONFDIR} ${PKG_SYSCONFDIR}/alias ${EGDIR}/boot d70 1 a70 1 INSTALLATION_DIRS+= share/doc/qmail share/examples/qmail share/qmail d84 1 a84 1 QUEUE_EXTRALEN_cmd= ${EXPR} `${ECHO} ${QUEUE_EXTRA} | ${WC} -c` - 2 @ 1.33 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2005/03/23 00:51:09 schmonz Exp $ d84 1 a84 1 QUEUE_EXTRALEN!= ${EXPR} `${ECHO} ${QUEUE_EXTRA} | ${WC} -c` - 2 d88 1 a88 1 SUBST_SED.logging= -e 's|0|${QUEUE_EXTRALEN}|g' @ 1.32 log @Take advantage of mk/djbware.mk. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2005/03/13 03:25:44 schmonz Exp $ a32 1 USE_BUILDLINK3= yes @ 1.31 log @In packages with djb-style compile scripts, properly enquote ${CC} and ${CFLAGS}. This fixes the build of net/djbdns, as well as any other of these packages passing down PKG_SYSCONFDIR via CFLAGS, as well as being more generally correct for arbitrary user-defined CFLAGS. Suggested by jlam. For consistency across djbware in pkgsrc: * In math/djbfft's and sysutils/daemontools's do-configure targets, remove leading @@ from ${ECHO} lines; from the former, also remove unneeded single quotes from one such line. * Rename net/publicfile's pre-build and sysutils/service-config's post-patch targets to do-configure. * In sysutils/checkpassword's do-configure target, reorder creation of conf-cc, conf-ld, and conf-home. All of the affected packages have been verified to compile. XXX These packages probably have enough build goo in common to XXX warrant an mk/djbware.mk. I'll investigate this post-freeze. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2004/12/21 05:32:56 schmonz Exp $ d35 1 a35 2 BUILD_TARGET= it man INSTALL_TARGET= setup check d37 1 a37 3 RESTRICTED= "modified source and binaries may not be distributed" NO_BIN_ON_CDROM= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} a98 5 do-configure: ${ECHO} ${CC:Q} ${CFLAGS:Q} > ${WRKSRC}/conf-cc ${ECHO} ${CC:Q} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld ${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail d127 1 @ 1.30 log @With the "viruscan" option, enable Russ Nelson's patch to SMTP-reject messages with MIME attachments that match certain signatures, as well as Jeremy Kitchen's patch that causes such rejections to be logged. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2004/12/03 15:15:02 wiz Exp $ d103 2 a104 2 ${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc ${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld @ 1.29 log @Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs. Suggested by Roland Illig, ok'd by various. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2004/08/25 04:24:04 schmonz Exp $ d6 1 a6 1 PKGREVISION= 9 d59 1 @ 1.29.2.1 log @Pullup ticket 190 - requested by Amitai Schlair viruscan addition for qmail Module Name: pkgsrc Committed By: schmonz Date: Tue Dec 21 05:32:56 UTC 2004 Modified Files: pkgsrc/mail/qmail: INSTALL Makefile distinfo options.mk Log Message: With the "viruscan" option, enable Russ Nelson's patch to SMTP-reject messages with MIME attachments that match certain signatures, as well as Jeremy Kitchen's patch that causes such rejections to be logged. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2004/12/21 05:32:56 schmonz Exp $ d6 1 a6 1 PKGREVISION= 10 a58 1 FILES_SUBST+= VIRUSCAN_SIGS_SRCFILE=${VIRUSCAN_SIGS_SRCFILE} @ 1.28 log @Missed a spot in the netqmail removal: options.mk is in the current directory, and nothing else is using this Makefile anymore. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2004/08/22 12:44:32 schmonz Exp $ d35 1 a35 1 ALL_TARGET= it man @ 1.27 log @Put ${WRKSRC} in a more natural location. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2004/08/22 00:10:51 schmonz Exp $ d77 1 a77 1 .include "../../mail/qmail/options.mk" @ 1.26 log @Using bsd.options.mk, add several common build-time options. The complete list: badrcptto bigdns darwin netqmail nullenvsender outgoingip qregex realrcptto smtpauth syncdir tls This obviates the need for a separate netqmail package. As a result, reintegrate Makefile.common into Makefile, and simplify a handful of definitions. If you used the netqmail package, set PKG_OPTIONS.qmail to "netqmail bigdns" to build with the same patches as before. Note that most of these options result in patches being applied, and that any given combination of patches may not apply cleanly. If there's a combination you need that doesn't work, or build options you need that aren't available, let me know. On Darwin, the "darwin" option is set by default, as it's needed in order to build. The patch includes , which is present on Panther, but not on older systems. We provide a buildlink stand-in where needed. On Linux, the "netqmail" option is set by default, as with recent glibc it's necessary to #include in order to build. On other platforms, no options are set by default. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2004/08/02 03:57:17 schmonz Exp $ d28 1 a28 1 WRKSRC= ${WRKDIR}/${DISTNAME}/${PKGNAME_NOREV} d98 2 a99 1 export extract_file; cd ${WRKSRC}; ${EXTRACT_CMD} @ 1.25 log @Remove add-on scripts and config files from the qmail and netqmail packages. They now simply compile and install qmail and its prerequisites. (The add-on scripts and config files will be revivified as a separate qmail-run package. Thus, QMAIL_AUTOCONFIG is no longer needed.) The user is notified at install time that one popular, well-regarded way to enable qmail is to follow the directions in "Life with qmail", and that another way is to install the qmail-run package. These changes, based on discussion with Charles Cazabon, are intended to make life easier for the helpful people on the qmail mailing list by clearly marking custom add-ons as such. Other changes: Since netqmail is a tarball containing the qmail tarball plus the netqmail bits, we can use it for both packages and share more logic between the two packages: MASTER_SITES, DISTINFO_FILE, WRKSRC, and the post-extract target. Now that there's one place to put the distinfo, add Eben Pratt's simple patch to build and install on Mac OS X 10.3 (the patch is not applied on other OSes). Bump PKGREVISION of both packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2004/07/21 22:35:59 schmonz Exp $ d4 128 a131 20 PKGNAME= ${QMAIL_VERS} PKGREVISION= 8 CATEGORIES= mail MAINTAINER= schmonz@@NetBSD.org HOMEPAGE= http://cr.yp.to/qmail.html COMMENT= Secure, reliable, efficient, simple, and fast MTA CONFLICTS+= netqmail-[0-9]* USE_BUILDLINK3= yes RESTRICTED= "modified source and binaries may not be distributed" NO_BIN_ON_CDROM=${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} NO_PACKAGE= "needs work to function properly as a binary package" APPLY_NETQMAIL= ${DO_NADA} .include "../../mail/qmail/Makefile.common" @ 1.24 log @Short story: 1) Mostly conform to hier(7) and honor PKG_SYSCONFDIR. 2) Follow more closely Dave Sill's "Life with qmail" (LWQ). 3) Add a bunch of features to the rc.d scripts. 4) Remove some (but not all) obstacles to binary packaging. 5) Introduce QMAIL_AUTOCONFIG, QMAIL_QUEUE_DIR, and QMAIL_QUEUE_EXTRA. 6) Enable pkgviews installation. 7) Bump PKGREVISION. Long story: 1) Mostly conform to hier(7) and honor PKG_SYSCONFDIR. Based on a January 1997 post by mrg to the qmail list: prior to installation, we create symlinks in ${QMAILDIR} that point into ${LOCALBASE} or ${PKG_SYSCONFDIR}, causing installation to place files in those locations while allowing the canonical /var/qmail paths to continue to work. The notable deviation from hier(7) is that even though some binaries ought to go in sbin, they've all been lumped into bin for simplicity. Pleasant effects: * We no longer need to set LOCALBASE (a big no-no), and as a result also no longer need to set NO_MTREE, RCD_SCRIPTS_EXAMPLEDIR, or EVAL_PREFIX. This will also allow a few qmail-related packages to do likewise. * The commands and manual pages are in easily accessible paths by default. * Package installation and deinstallation work much better. Side effects: * There were a few minor conflicts with mail/courier-maildirmake, mail/mutt, and mail/pulsar. The latest versions of each are fine, so we add CONFLICTS only for older versions. (Thanks to those packages' maintainers!) There's also a conflict with security/mirrordir, which has a "bin/forward" command and corresponding section 1 man page. * Some directories under ${PREFIX} get chown'd to group qmail. Rather than modify the qmail installer, the affected directories are simply chown'd back afterward during post-install if PKG_INSTALLATION_TYPE is "overwrite". (If it's "pkgviews", then only the package's depot directory is affected, so we leave it alone.) 2) Follow more closely Dave Sill's "Life with qmail" (LWQ). Similarities: * Installs into /var/qmail from source. * Installs ucspi-tcp and daemontools. * Uses tcpserver(1). * Uses tcp.smtp.cdb for relay access control. * Uses control/defaultdelivery. * Uses control/concurrencyincoming. * Requires that control/rcpthosts exist to prevent open relays. * Uses similar chains of commands in run scripts. * Provides a script much like qmailctl. Differences: * This package does the following work for you automatically: * Creates user accounts. * Fetches, extracts, patches, configures, and compiles the source. * Installs binaries. * Runs ./config-fast. * Creates tcp.smtp{,cdb} and tcp.pop3d{,cdb}. * Creates control/concurrencyincoming. * Creates control/defaultdelivery (defaulting to "./Mailbox"). * Creates the three required system aliases. * LWQ suggests doing some things this package doesn't do: * Applying patches. * Copying a script from /var/qmail/boot to /var/qmail/rc. * Configuring svscan(8) to run at boot. * Creating and populating /service. * Using supervise(8) and multilog(8). * Using the qmailctl script to control qmail. * Using the inst_check script to verify the installation. * Storing tcp.smtp{,cdb} in /etc. * Renaming the system sendmail(8) and marking it non-executable. * Instead, this package: * Builds from unmodified source. (See also mail/netqmail.) * Uses NetBSD-style rc.d scripts (including one similar to qmailctl). * Sends log messages to syslog(3). * Stores tcp.smtp{,cdb} and tcp.pop3{,cdb} in ${PKG_SYSCONFDIR}. * Provides an example mailer.conf(5). 3) Add a bunch of features to the rc.d scripts. Rename the qmail script and rcvar to qmailsend. Add "doqueue" (synonyms: alrm, flush) and "queue" commands, add "hup" as a synonym for "reload", and determine default delivery instruction from control/defaultdelivery (LWQ). Add control/defaultdelivery to required_files. Rename qmailsend_flags to qmailsend_defaultdelivery, which overrides control/defaultdelivery if set. In the qmailpop3d and qmailsmtpd scripts, enforce resource limits with softlimit(8) (LWQ). Add dependency on sysutils/daemontools for this. Rename qmailfoo_flags to qmailfoo_tcpflags. Add qmailfoo_tcphost (default: 0, meaning "any address") and qmailfoo_tcpport (default: 110 and 25, respectively). Add qmailfoo_softlimit (default: 2000000). Add qmailfoo_pretcpserver and qmailfoo_prefoo (default: empty), useful for inserting commands such as rblsmtpd(1) or relay-ctrl into the chain. Log to splogger's default syslog facility ("mail"), and use the name of the script as the tag. In the qmailpop3d, qmailsend, and qmailsmtpd scripts, add qmailfoo_postenv (defaults: empty, PATH=${PREFIX}/bin:$PATH, and QMAILQUEUE=${PREFIX}/bin/qmail-queue, respectively), useful primarily for setting environment variables for each service. Add "pause" and "cont" commands (LWQ). They send -STOP and -CONT signals, respectively. Add "stat" as a synonym for "status" (LWQ). In the qmailpop3d script, add -x to qmailpop3d_tcpflags and add "cdb" command. Add qmailpop3d_checkpassword (useful for authenticating against alternate user databases) and qmailpop3d_maildirname (useful if your maildirs are named something other than "Maildir"). Add tcp.pop3.cdb to required_files. In the qmailsmtpd script, add -x and remove -H from qmailsmtpd_tcpflags, limit the number of incoming connections to control/concurrencyincoming, and add "cdb" command (LWQ). Add control/concurrencyincoming and tcp.smtp.cdb to required_files. Add qmailqread script and ${PREFIX}/bin/qmail-qread-client, based on Steinar Haug's example on www.qmail.org. If enabled, this allows local non-root users to see the queue. Add qmail script (structure copied from net/samba/files/samba.sh). Its interface is very similar to LWQ's qmailctl: it provides the commands "start stop restart rcvar pause cont stat status cdb doqueue reload queue alrm flush hup help". These commands can be run either directly from the appropriate service-specific script(s), or from this qmail script (which will call the right script(s) for you). 4) Remove some (but not all) obstacles to binary packaging. Each of these is better explained elsewhere. Summary: * Installs into the normal ${LOCALBASE}. * /var/qmail paths still work. * No patches are applied. (See also mail/netqmail.) 5) Introduce QMAIL_AUTOCONFIG, QMAIL_QUEUE_DIR, and QMAIL_QUEUE_EXTRA. QMAIL_AUTOCONFIG (default: YES): whether to automatically create basic config files. QMAIL_QUEUE_DIR (default: ${VARBASE}/spool/qmail): the path to the queue. QMAIL_QUEUE_EXTRA (default: empty): an additional recipient that will be added to every delivery. This is used primarily for logging. If this is set to a non-empty value, the necessary dot-qmail(5) file is created automatically at install time. 6) Enable pkgviews installation. 7) Bump PKGREVISION. Other user-visible changes: This package no longer applies patches to qmail. mail/netqmail, to be imported shortly, does. Restrictions on the redistribution of modified qmail apply not only to binaries but also to source. Clarify this in RESTRICTED. Add "newaliases", "hoststat", and "purgestat" entries to the sample mailer.conf. Install it to ${PREFIX}/share/examples/${PKGBASE}, as other pkgsrc mailers do. ("newaliases" is actually provided by the fastforward package, and isn't needed unless you're using it.) Explain how to enable qmail in MESSAGE (cribbed from the postfix package). Thanks to zuntum, snj, salo, and jlam for ideas, discussion, and review. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2004/04/24 05:29:36 schmonz Exp $ d4 2 a5 2 DISTNAME= qmail-1.03 PKGREVISION= 7 a6 4 MASTER_SITES= http://cr.yp.to/software/ \ ftp://ftp.ntnu.no/pub/unix/mail/qmail/ \ ftp://ftp.jp.qmail.org/qmail/ \ ftp://ftp.net.ohio-state.edu/pub/networking/mail/qmail/ d21 2 @ 1.23 log @Add revision 1.01 of Ward Vandewege's badrcptto patch. With this patch, qmail-smtpd will reject mail during the SMTP conversation if a recipient is listed in control/badrcptto. This complements control/badmailfrom as found in stock qmail. Requested by Nathan Arthur. Add an rc.d script for qmail-pop3d. It needs sysutils/checkpassword, which is so tiny I've added the dependency even as I don't use qmail-pop3d myself. In the rc.d script for qmail-smtpd, require control/rcpthosts to be present. This prevents accidental open relays. Now that it's used for the path to checkpassword too, rename LOCALBASE_UCSPI_TCP to LOCALBASE_NORMAL. Convert to buildlink3. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2004/04/10 14:15:24 schmonz Exp $ d5 1 a5 1 PKGREVISION= 6 d13 2 a14 2 HOMEPAGE= http://www.qmail.org/ COMMENT= Secure, reliable, efficient, simple, and fast MTA for UNIX systems d16 1 a16 3 DEPENDS+= checkpassword-[0-9]*:../../sysutils/checkpassword DEPENDS+= qmail-users>=1.0:../../mail/qmail-users DEPENDS+= ucspi-tcp-[0-9]*:../../net/ucspi-tcp d20 4 a23 2 ALL_TARGET= it man INSTALL_TARGET= setup check d25 1 a25 38 RESTRICTED= "djb does not permit modified binary packages" NO_BIN_ON_CDROM= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} NO_PACKAGE= "needs work to function properly as a binary package" USE_PKGINSTALL= yes DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL OWN_DIRS+= ${QMAILDIR} EVAL_PREFIX+= LOCALBASE_NORMAL=ucspi-tcp FILES_SUBST+= QMAILDIR=${QMAILDIR} FILES_SUBST+= LOCALBASE_NORMAL=${LOCALBASE_NORMAL} RCD_SCRIPTS= qmail qmailsmtpd qmailpop3d RCD_SCRIPTS_EXAMPLEDIR= ${QMAILDIR}/etc/rc.d .include "../../mk/bsd.prefs.mk" NO_MTREE= YES LOCALBASE= / do-configure: ${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc ${ECHO} ${CC} ${_STRIPFLAG_CC} > ${WRKSRC}/conf-ld ${ECHO} ${QMAILDIR} > ${WRKSRC}/conf-qmail pre-install: @@${SED} ${FILES_SUBST_SED} ${FILESDIR}/mailer.conf \ > ${WRKDIR}/mailer.conf.qmail post-install: ${INSTALL_DATA_DIR} ${QMAILDIR}/etc ${INSTALL_DATA} ${WRKDIR}/mailer.conf.qmail ${QMAILDIR}/etc ${INSTALL_DATA_DIR} ${QMAILDIR}/alias cd ${QMAILDIR}/alias && \ ${TOUCH} .qmail-postmaster .qmail-mailer-daemon .qmail-root @ 1.22 log @Take MAINTAINER at zuntum's suggestion. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2004/04/10 05:30:06 schmonz Exp $ d5 1 a5 1 PKGREVISION= 5 d16 1 d20 2 d35 1 a35 1 EVAL_PREFIX+= LOCALBASE_UCSPI_TCP=ucspi-tcp d38 2 a39 2 FILES_SUBST+= LOCALBASE_UCSPI_TCP=${LOCALBASE_UCSPI_TCP} RCD_SCRIPTS= qmail qmailsmtpd @ 1.21 log @Russ Nelson, Charles Cazabon, Dave Sill, Peter Samuel, and Henning Brauer have prepared a distribution of qmail, called "netqmail": "We have done this because in our opinion, too many new users are confused by the out-of-date INSTALL file, and too much time is spent arguing on the mailing list over bugs. We have tried to stick to the barest minimum number of changes. We have fixed only those things which are out-and-out wrong, or which have been approved by djb (specifically QMAILQUEUE)." This package already includes the QMAILQUEUE patch. Add netqmail 1.05's other patches, with the exception that patches to documentation files which are not installed have been lovingly omitted. This package also already includes a patch to handle oversized DNS packets. It's still here, too. pkgsrc changes: * Add qmail-smtpd rc.d script (and ensuing dependency on net/ucspi-tcp). * Update qmail rc.d script: respect $qmail_flags, treating it as the default delivery instruction. * Remove non-working MASTER_SITES. From the netqmail changelog: 20040121 code: qmail-smtpd is protected from exceedingly long (eg 2GB) header lines 20040121 code: qmail_lspawn, qmail-newmrh, qmail-newu, and qmail-rspawn are protected from misbehaving on hosts where the size of an integer is not the same as the size of a character pointer (eg 64 bit hosts with 32 bit ints) 20031027 doc: qmail.7 identifies installation as netqmail and points to http://qmail.org/ 20031027 doc: qmail-queue.8 adds explanation of $QMAILQUEUE 20031027 doc: qmail-log.5 adds reference to errors from $QMAILQUEUE script 20031027 code: qmail-smtpd identifies itself as netqmail 20031027 code: if $QMAILQUEUE is set, it's invoked instead of qmail-queue 20031024 code: changed errno from int to #include. 20031024 code: fixed .qmail parsing bug. 20031024 code: recognize 0.0.0.0 as a local address. 20031024 code: sendmail's -f flag now overrides environment variables. And for all this, bump PKGREVISION. Pre-flight checks by snj@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2004/03/29 05:10:04 snj Exp $ d12 1 a12 1 MAINTAINER= zuntum@@NetBSD.org @ 1.20 log @Supply a default mailq entry in mailer.conf. Fixes PR pkg/21591. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2003/08/30 22:51:22 jlam Exp $ d5 1 a5 1 PKGREVISION= 4 d10 1 a10 3 ftp://ftp.rifkin.technion.ac.il/pub/qmail/ \ ftp://ftp.net.ohio-state.edu/pub/networking/mail/qmail/ \ ftp://ftp.id.wustl.edu/pub/qmail/ d14 1 a14 1 COMMENT= SECURE, reliable, efficient, simple, and FAST MTA for UNIX systems d17 1 d32 2 d35 2 a36 1 RCD_SCRIPTS= qmail @ 1.19 log @Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if USE_PKGINSTALL is "YES". bsd.pkg.install.mk will no longer automatically pick up a INSTALL/DEINSTALL script in the package directory and assume that you want it for the corresponding *_EXTRA_TMPL variable. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2003/07/17 21:46:54 grant Exp $ d5 1 a5 1 PKGREVISION= 3 @ 1.18 log @s/netbsd.org/NetBSD.org/ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2003/01/28 22:03:38 jlam Exp $ d30 1 @ 1.17 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.16 2002/09/19 09:04:12 jlam Exp $ d14 1 a14 1 MAINTAINER= zuntum@@netbsd.org @ 1.16 log @Take advantage of the auto-generation and installation of rc.d scripts. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2002/09/18 21:15:12 jlam Exp $ d29 1 a57 1 .include "../../mk/bsd.pkg.install.mk" @ 1.15 log @When using bsd.pkg.install.mk, if a DEINSTALL or INSTALL file already exists, then use it as the default value of DEINSTALL_EXTRA_TMPL or INSTALL_EXTRA_TMPL. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2002/07/28 01:54:37 schmonz Exp $ a45 2 @@${SED} ${FILES_SUBST_SED} ${FILESDIR}/qmail.sh \ > ${WRKDIR}/qmail a51 3 ${INSTALL_SCRIPT_DIR} ${RCD_SCRIPTS_EXAMPLEDIR} ${INSTALL_SCRIPT} ${WRKDIR}/qmail ${RCD_SCRIPTS_EXAMPLEDIR} @ 1.14 log @Add rc.d script to control qmail, provided by Lubomir Sedlacik in pkg/15326. Add example mailer.conf. Bump PKGREVISION. Clarify binary package situation: We don't allow binary packages to be created because they don't currently work. Additionally, if someone were to make them work, we'd be unable to distribute them because we apply a few patches to the qmail source. Thanks to zuntum and jlam for discussion and assistance. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2002/07/22 23:30:29 wiz Exp $ a38 2 DEINSTALL_EXTRA_TMPL= ${PKGDIR}/DEINSTALL @ 1.13 log @MKDIR -> INSTALL_DATA_DIR From the [pkgviews] branch. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2002/05/03 10:39:00 zuntum Exp $ d5 1 a5 1 PKGREVISION= 2 d7 1 a7 1 MASTER_SITES= http://cr.yp.to/software/ \ d23 3 a25 1 NO_PACKAGE= YES d27 7 a33 1 OWN_DIRS+= ${QMAILDIR} d42 1 a42 1 pre-build: d47 6 d54 6 d61 1 a61 1 cd ${QMAILDIR}/alias && \ @ 1.12 log @Store patches locally instead of fetching them from PATCH_SITES - fixes problem with qmailqueue patch unexpectedly differing over time @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2002/04/05 15:22:31 yyamano Exp $ d40 1 a40 1 ${MKDIR} ${QMAILDIR}/alias @ 1.12.4.1 log @MKDIR -> INSTALL_DATA_DIR @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2002/05/03 10:39:00 zuntum Exp $ d40 1 a40 1 ${INSTALL_DATA_DIR} ${QMAILDIR}/alias @ 1.11 log @Create conf-ld to make it build on Darwin. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2002/01/28 20:39:35 zuntum Exp $ a12 12 # Patch necessary to cope with non-RFC >512 dns entries # Since AOL has been using those, the problem has skyrocketed from minor to # groundzero. qmail being RFC compliant need to be "fixed" to work with those PATCH_SITES= http://www.ckdhr.com/ckd/ PATCHFILES+= qmail-103.patch # Apply QMAILQUEUE patch PATCH_SITES+= http://www.qmail.org/ PATCHFILES+= qmailqueue-patch PATCH_DIST_STRIP= -p1 @ 1.10 log @Switch second patch site from qmail.obeer.com to www.qmail.org as the latter works better @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2002/01/28 19:39:00 zuntum Exp $ d48 1 @ 1.9 log @Use += instead of = in second PATCH_SITE @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2002/01/28 18:28:09 zuntum Exp $ d21 1 a21 1 PATCH_SITES+= http://qmail.obeer.com/ @ 1.8 log @Apply QMAILQUEUE patch: Bruce Guenter has written a patch which causes any program that would run qmail-queue to look for an environment variable QMAILQUEUE. If it is present, it is used in place of the string "bin/qmail-queue" when running qmail-queue. This could be used, for example, to add a program into the qmail-smtpd->qmail-queue pipeline that could do filtering, rewrite broken headers, etc. This does not break anything, and is required by some programs, for instance qmail-scanner. Bump PKGREVISION - we are at qmail-1.03nb2 now. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2002/01/28 17:57:08 zuntum Exp $ d21 1 a21 1 PATCH_SITES= http://qmail.obeer.com/ @ 1.7 log @Remove IS_INTERACTIVE setting as this package should now build just fine in BATCH builds! @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2002/01/21 18:45:03 zuntum Exp $ d5 1 a5 1 PKGREVISION= 1 d18 6 a23 1 PATCHFILES= qmail-103.patch @ 1.6 log @Major rewrite of qmail package. By default (the one set in bsd.pkg.defaults.mk) qmail installs into /var/qmail. This can be changed by setting QMAILDIR in /etc/mk.conf to another directory, for example /usr/qmail. If you want to user non-standard path of installation, make sure to set it in /etc/mk.conf *before* attempting to install any of qmail packages, and do not change it in the mean time (if you install qmail with QMAILDIR set to /var/qmail, change it to another dir and try to install qmail-conf, you will lose). Slave packages will soon be updated to use this feature. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2002/01/21 16:00:52 zuntum Exp $ a29 1 IS_INTERACTIVE= YES @ 1.5 log @Handle ${QMAILDIR} properly in MESSAGE file; first part of pkg/15308 by Lubomir Sedlacik @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2001/11/26 22:22:19 zuntum Exp $ d5 1 d31 1 a31 1 NO_PACKAGE= "Has to be compiled on target system due to installation path issue" d33 1 a33 1 QMAILDIR?= /var/qmail d35 1 a35 1 MESSAGE_SUBST+= QMAILDIR=${QMAILDIR} d37 2 a38 1 OWN_DIRS+= ${QMAILDIR} a44 3 pre-install: ${LN} -sf ${QMAILDIR} ${PREFIX}/qmail @ 1.4 log @o switched to bsd.pkg.install.mk logic -- now it depends on qmail-users package @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2001/09/27 23:18:22 jlam Exp $ d32 3 a34 1 QMAILDIR= /var/qmail @ 1.3 log @Mechanical changes to 375 files to change dependency patterns of the form foo-* to foo-[0-9]*. This is to cause the dependencies to match only the packages whose base package name is "foo", and not those named "foo-bar". A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also change dependency examples in Packages.txt to reflect this. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2001/08/13 14:17:11 zuntum Exp $ d24 1 a24 8 .if exists(/usr/sbin/user) USER_CMD= /usr/sbin/user GROUP_CMD= /usr/sbin/group .else DEPENDS+= user-[0-9]*:../../sysutils/user USER_CMD= ${LOCALBASE}/sbin/user GROUP_CMD= ${LOCALBASE}/sbin/group .endif d34 1 a34 1 DEINSTALL_FILE= ${WRKDIR}/DEINSTALL d36 1 a36 6 FILES_SUBST+= QMAILDIR=${QMAILDIR} FILES_SUBST+= USER_CMD=${USER_CMD:Q} FILES_SUBST+= GROUP_CMD=${GROUP_CMD:Q} FILES_SUBST_SED= ${FILES_SUBST:S/=/@@!/:S/$/!g/:S/^/ -e s!@@/} PLIST_SUBST+= QMAILDIR=${QMAILDIR} a38 4 @@if [ `id -u` != 0 ]; then \ ${ECHO} "Error: must be root to build qmail."; \ exit 1; \ fi a40 3 ${SED} ${FILES_SUBST_SED} ${FILESDIR}/checkusers.sh \ > ${WRKDIR}/checkusers.sh ${SH} ${WRKDIR}/checkusers.sh a42 1 ${SED} ${FILES_SUBST_SED} ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE} d50 1 a50 8 remove-users: extract ${SED} ${FILES_SUBST_SED} ${FILESDIR}/removeusers.sh \ > ${WRKDIR}/removeusers.sh ${SH} ${WRKDIR}/removeusers.sh remove-dirs: ${RM} -rf ${QMAILDIR} @ 1.2 log @Create symlink from /var/qmail to ${PREFIX}/qmail, so we can list files in PLIST. Yes, it isn't very clear idea, but better than empty PLIST and a bunch of @@unexec rm -rf's in it. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2001/08/13 09:10:10 zuntum Exp $ d28 1 a28 1 DEPENDS+= user-*:../../sysutils/user @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d63 1 @ 1.1.1.1 log @Initial import of qmail-1.03 -- SECURE, reliable, efficient, simple, and FAST MTA for UNIX systems qmail checks for qmail users' existance at compile time, so this package must be built as root (it tries to add necessary users and groups), thus NO_PACKAGE and IS_INTERACTIVE are set. PLIST file is left empty intentionally, because qmail installs itself to /var/qmail, outside ${PREFIX}. The qmail program is a secure, reliable, efficient simple message transfer agent. It is meant to be a replacement for the entire sendmail-binmail system that most UNIX hosts use. Although qmail holds security and reliability as its top two priorities, it is also fast. On a Pentium under BSD/OS, qmail can easily handle 200000 separate messages per day that are injected and must then be delivered to local mailboxes! Security and reliability are qmail's two strengths, however. The qmail package ensures a message, once accepted, will never be lost. An optional new mailbox format, maildir, even lets users safely read their mail over NFS, while still accepting new mail deliveries. The following features are supported: host and user masquerading, full host hiding, virtual domains, null clients, list-owner rewriting, relay control, double-bounce recording, arbitrary RFC 822 address lists, cross-host mailing-list loop detection, per-recipient checkpointing, downed host backoffs, independent message retry schedules, a drop-in sendmail replacement, and more! The package is still being worked on. @ text @@