Compare commits

...

8 Commits

Author SHA1 Message Date
Daniel Berteaud
adee5a15ac Automatic commit of package [smeserver-expire-accounts] release [0.1.8-1].
Created by command:

/usr/bin/tito tag
2021-07-15 08:31:01 +02:00
Daniel Berteaud
cd83a2ddde Typo
GLPI #50737
2021-07-15 08:30:38 +02:00
Daniel Berteaud
b681887c57 Automatic commit of package [smeserver-expire-accounts] release [0.1.7-1].
Created by command:

/usr/bin/tito tag
2021-03-08 08:19:54 +01:00
Daniel Berteaud
7b17b55b62 Configure tito 2021-03-08 08:19:14 +01:00
Daniel Berteaud
985e783784 Initialized to use tito. 2021-03-08 08:17:08 +01:00
Daniel Berteaud
c09b49b341 Adapt spec file for tito 2021-03-08 08:17:00 +01:00
Daniel Berteaud
3f8d0c636a Suspend email delivery during account archiving
GLPI #48692
2021-03-08 08:14:32 +01:00
Daniel Berteaud
ce4d4efaee Spec file update 2016-05-30 19:17:59 +02:00
6 changed files with 33 additions and 10 deletions

3
.tito/packages/.readme Normal file
View File

@ -0,0 +1,3 @@
the .tito/packages directory contains metadata files
named after their packages. Each file has the latest tagged
version and the project's relative directory.

View File

@ -0,0 +1 @@
0.1.8-1 ./

1
.tito/releasers.conf Symbolic link
View File

@ -0,0 +1 @@
../../tito_libs/releasers.conf

6
.tito/tito.props Normal file
View File

@ -0,0 +1,6 @@
[buildconfig]
builder = tito.builder.Builder
tagger = tito.tagger.VersionTagger
changelog_do_not_remove_cherrypick = 0
changelog_format = %s (%ae)
lib_dir = ../tito_libs

View File

@ -123,6 +123,9 @@ foreach my $u (@delete){
}
my $archive = $user->prop('ExpireArchiveBeforeDelete') || 'yes';
if ( $archive =~ m/^yes|enabled|1|on$/ ){
# Suspend email delivery, prevent tar ending with exit code 1
# because Maildir changed during archive
system('chmod', '+t', getpwnam($u)->dir);
my $tar = $archive_path . '/' . $u . '-' . $now->ymd . '.tar.' . $archive_ext;
my $res = system(
'tar',

View File

@ -1,13 +1,8 @@
%define version 0.1.5
%define release 1
%define name smeserver-expire-accounts
Summary: Second qmail instance
Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
License: GPL
Summary: Expire and archive user accounts
Name: smeserver-expire-accounts
Version: 0.1.8
Release: 1
License: MIT
Group: Applications/System
Source: %{name}-%{version}.tar.gz
@ -60,6 +55,20 @@ rm -rf $RPM_BUILD_ROOT
%preun
%changelog
* Thu Jul 15 2021 Daniel Berteaud <daniel@firewall-services.com> 0.1.8-1
- Typo (daniel@firewall-services.com)
* Mon Mar 08 2021 Daniel Berteaud <daniel@firewall-services.com> 0.1.7-1
- new package built with tito
* Mon Mar 8 2021 Daniel Berteaud <daniel@firewall-services.com> - 0.1.7-1.sme
- Suspend email delivery during archiving
- Licence is MIT
- Rebuild using tito
* Mon May 30 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.6-1.sme
- Fix a typo in en-us locale label for DESC_WARN_USER
* Wed May 11 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.1.5-1.sme
- Use xz as default compression format