summaryrefslogtreecommitdiff
path: root/sys/src/cmd/upas/common
AgeCommit message (Collapse)Author
2021-02-03mklib, upas/common: clean up libcommon properly (thanks mikan)Ori Bernstein
Despite pervious efforts, mk clean still doesn't remove libcommon.a* files from cmd/upas/common/. To fix this, let's tell cmd/mklib to do the job instead.
2020-12-19libauth: change programs to use the new procsetuser() functioncinap_lenrek
2020-11-17upas/*: cleanup mkfiles (thanks amavect)Ori Bernstein
Changeset 50ad211fb12f broke the libcommon rule in mkupas. Deleting the 'mk clean' in the recipe fixes this. Cleanup includes deleting UPDATE vars from all mkfiles, reorganization of vars in TARG,LIB,OFILE,HFILE order, and deletion of extra vars used for UPDATE.
2020-11-02upas/common: delete library on 'mk clean'Ori Bernstein
libcommon.a$O doesn't end with a .a, so mk doesn't know how to look inside it in order to check if the files are up to date. This means that when 'mk clean' is run, libcommon.a$O looks up to date: % mk clean ... % mk mk: 'default' is up to date Deleting the library works around this problem.
2020-10-17upas: fix appendfolder timestamps (thanks umbraticus)Ori Bernstein
When moving messages between folders, mbappend, deliver, and nedmail were trying to parse the timestamp ouut of the message. They were doing it incorrectly, trying to include the user name as part of the date format. Change to pass just the date to the date parser.
2020-09-26upas: convert to tmdate, change timezone formatOri Bernstein
Complete the conversion of upas to remove ctime, use the new date library, and print time zones in +hhmm format, instead of NNN format. This may affect code that expects specific names for timezones. Fix that code.
2020-09-01upas: appendfolder() don't be picky about the timezone of ctime()cinap_lenrek
This is temporary fix, we should try to emulate the previous behaviour where we accept at least our local timezone, and otherwise ignore the offset.
2020-09-01upas: appendfolder(): skip the address from unix header before datecinap_lenrek
2020-08-09upas/fs: port date parsing to libc apisOri Bernstein
There was a lot of code in upas/fs to deal with dates. Now there isn't.
2019-06-20upas/smtp: handle temporary authentication failurescinap_lenrek
under heavy load, factotum can return a "too much activity" error, which upas/smtpd and upas/smtp should consider a temporary error instead of a permanent one.
2017-06-07upas: fix infinite loop in common/mkfile (thanks raiz)cinap_lenrek
2017-04-08upas/common: deliver mail to mdir as .tmp file and rename after it has been ↵cinap_lenrek
fully written theres a race condition when mail delivery to mdir is slow, then upas/fs sees partial mail file and caches the truncated file size. to avoid this, delivery will create the new mail file with the .tmp extension (which is ignored by upas/fs) and after everything has been written, rename it to the final name.
2017-03-12merging erik quanstros nupascinap_lenrek
2012-10-25fix permissiosn for upas and telco rc scriptcinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen