/[smecontribs]/rpms/smeserver-mailman/contribs10/smeserver-mailman-1.5.0-bz11937.patch
ViewVC logotype

Annotation of /rpms/smeserver-mailman/contribs10/smeserver-mailman-1.5.0-bz11937.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Apr 12 04:58:36 2022 UTC (2 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mailman-1_5_0-17_el7_sme, smeserver-mailman-1_5_0-21_el7_sme, smeserver-mailman-1_5_0-19_el7_sme, smeserver-mailman-1_5_0-20_el7_sme, smeserver-mailman-1_5_0-15_el7_sme, smeserver-mailman-1_5_0-16_el7_sme, smeserver-mailman-1_5_0-14_el7_sme, smeserver-mailman-1_5_0-18_el7_sme, HEAD
* Tue Apr 12 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-14.sme
- increase master password size to 18 [SME: 11937]

1 jpp 1.1 diff -Nur --no-dereference smeserver-mailman-1.5.0.old/root/usr/lib/mailman/bin/post-install smeserver-mailman-1.5.0/root/usr/lib/mailman/bin/post-install
2     --- smeserver-mailman-1.5.0.old/root/usr/lib/mailman/bin/post-install 2014-06-19 19:38:55.000000000 -0400
3     +++ smeserver-mailman-1.5.0/root/usr/lib/mailman/bin/post-install 2022-04-12 00:51:10.928000000 -0400
4     @@ -6,12 +6,11 @@
5     DOMAIN=`/sbin/e-smith/config get DomainName`
6     if [ ! -d /var/lib/mailman/lists/mailman ]; then
7     MATRIX="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
8     - LENGTH="8"
9     + LENGTH="18"
10     while [ "${n:=1}" -le "$LENGTH" ]; do
11     PASS="$PASS${MATRIX:$(($RANDOM%${#MATRIX})):1}"
12     let n+=1
13     done
14     - echo "* New site password: $PASS"
15     /sbin/e-smith/config setprop mailman SitePass $PASS
16    
17     /usr/lib/mailman/bin/mmsitepass "$PASS" > /dev/null 2>&1 || :

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed