Bläddra i källkod

be more flexible: once hard-coded under build-time, QPopper no longer allows a reconfiguration for a classical global mail spool directory. So change instead the default config to reflect the old and new behaviour of using ~/.mail/inbox, but this way allow the admin to reconfigure QPopper for the classical /var/mail approach, too.

Ralf S. Engelschall 22 år sedan
förälder
incheckning
86f147bdd3
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      qpopper/qpopper.spec

+ 2 - 2
qpopper/qpopper.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
 Group:        Mail
 License:      GPL
 Version:      4.0.5
-Release:      20030723
+Release:      20030726
 
 #   package options
 %option       with_fsl  yes
@@ -93,7 +93,6 @@ Conflicts:    teapop
 %if "%{with_pam}" == "yes"
         --with-pam=qpopper \
 %endif
-        --enable-home-dir-mail=.mail/inbox \
 %if "%{with_fsl}" == "yes"
         --with-log-facility=LOG_USER \
 %else
@@ -119,6 +118,7 @@ Conflicts:    teapop
 
     #   install qpopper
     %{l_shtool} install -c -m 644 \
+        -e 's;^# \(set home-dir-mail[^=]*=\).*;\1 ".mail/inbox";' \
         samples/qpopper.config $RPM_BUILD_ROOT%{l_prefix}/etc/qpopper/
     %{l_shtool} install -c -s -m 755 \
         popper/popper $RPM_BUILD_ROOT%{l_prefix}/sbin/qpopper