Commits


rename project: gotmarc -> smarc


pledge and unveil (via perl' OpenBSD::Pledge/Unveil) only on OpenBSD


dont "use lib ." in perl; resolve modules normally fix gotmarc(1) to set PERL5LIB when running in-repo however to load the right GotMArc.pm.


tweak thrnav


simplify thread_header


move thrnav to GotMArc.pm


move thrslice to GotMARC.pm and add it hidden in thread_header


typo


drop unnecessary unveil(".", "r") These programs don't need to read files in the current directory: GotMArc loads in memory some files at load time, at that point no other accesses to "." are needed.


dedup thread entry generation code


add the thread excerpt at the bottom of each mail to ease navigation


print prev/next link in mail page


change GotMArc::parse to take the line instead of $_


make GotMArc::parse return an hash reference instead of a list of strings


use $mid.$partno.$ext for attachments rather than random strings Keeps the attachment file names stable while it also allows to drop the dep on Tempfile, the unveil of /tmp and the fattr pledge promise too.