First release
This commit is contained in:
parent
c9b02793d7
commit
c28183de20
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) <year> <copyright holders>
|
||||
Copyright (c) 2023 Unitas Network GmbH
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
install_assp = /opt/assp
|
||||
assp.service = $(CHROOT)/lib/systemd/system/assp.service
|
||||
|
||||
ASSP_SNAPSHOT ?= r362
|
||||
ASSP_MOD_INST_VER ?= 2.10
|
||||
ASSP_FC_VER ?= 1.05
|
||||
ASSP_ZIP = assp-svn-$(ASSP_SNAPSHOT).zip
|
||||
ASSP_URL = https://sourceforge.net/code-snapshots/svn/a/as/assp/svn/$(ASSP_ZIP)
|
||||
|
||||
$(CHROOT)$(install_assp):
|
||||
## RUN test -f /var/cache/distfiles/$(ASSP_ZIP) || \
|
||||
## RUN wget $(ASSP_URL) -O /var/cache/distfiles/$(ASSP_ZIP)
|
||||
RUN sh -c '(echo y;echo manual;echo o conf prerequisites_policy follow;echo o conf commit)|cpan'
|
||||
RUN sh -c 'cd /opt && unzip /var/cache/distfiles/$(ASSP_ZIP) && mv /opt/assp-svn-$(ASSP_SNAPSHOT)/assp2/trunk $(install_assp) && rm -rf /opt/assp-svn-$(ASSP_SNAPSHOT)'
|
||||
echo "AsADaemon:=1" > $(CHROOT)$(install_assp)/assp.cfg
|
||||
RUN sh -c 'mkdir -p /tmp/mod_inst && cd /tmp/mod_inst && unzip $(install_assp)/mod_inst.pl.$(ASSP_MOD_INST_VER).zip && perl mod_inst.pl && perl mod_inst_ocr.pl'
|
||||
RUN sh -c 'cd $(install_assp) && unzip images/images.zip && rm images/images.zip'
|
||||
RUN sh -c 'cd $(install_assp) && unzip filecommander/$(ASSP_FC_VER).ZIP && rm -rf filecommander/$(ASSP_FC_VER).ZIP && mv $(ASSP_FC_VER)/images/* images/ && mv $(ASSP_FC_VER)/lib/* lib/ && rm -rf $(ASSP_FC_VER)'
|
||||
rm -rf $(CHROOT)/root/.cpan/build $(CHROOT)/root/.cpan/sources
|
||||
|
||||
$(assp.service): assp/assp.service
|
||||
cp $< $@
|
||||
|
||||
preinstall:
|
||||
|
||||
postinstall: $(CHROOT)$(install_assp) $(assp.service)
|
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=AntiSpam SMTP Proxy
|
||||
After=network.target clamd.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
WorkingDirectory=/opt/assp
|
||||
ExecStart=/usr/bin/perl /opt/assp/assp.pl /opt/assp/
|
||||
RestartSec=60
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -0,0 +1 @@
|
|||
app-antivirus/clamav-unofficial-sigs
|
|
@ -0,0 +1,16 @@
|
|||
dev-lang/perl berkdb ithreads
|
||||
mail-mta/postfix cdb ldap mysql
|
||||
app-text/tesseract jpeg png tiff webp
|
||||
media-libs/leptonica tiff webp jpeg png
|
||||
media-gfx/imagemagick jpeg perl png tiff webp wmf
|
||||
media-libs/gd jpeg png fontconfig
|
||||
x11-libs/gdk-pixbuf -introspection
|
||||
dev-java/openjdk-bin headless-awt
|
||||
virtual/jdk headless-awt
|
||||
app-text/poppler png tiff
|
||||
x11-libs/libxkbcommon X
|
||||
dev-libs/boost context
|
||||
dev-libs/libpcre2 pcre16
|
||||
media-libs/libglvnd X
|
||||
media-libs/mesa -llvm
|
||||
media-libs/harfbuzz -cairo
|
|
@ -0,0 +1,2 @@
|
|||
REPO_NAMES += unitas-mail
|
||||
REPO_URI_unitas-mail = https://git.unitas-network.de/Gentoo/unitas-mail.git
|
|
@ -0,0 +1,29 @@
|
|||
app-antivirus/clamav
|
||||
app-antivirus/clamav-unofficial-sigs
|
||||
app-arch/arj
|
||||
app-arch/libarchive
|
||||
app-arch/p7zip
|
||||
app-arch/unrar
|
||||
app-arch/unzip
|
||||
app-text/pdftk
|
||||
app-text/poppler
|
||||
app-text/tesseract
|
||||
app-text/xpdf
|
||||
dev-db/mariadb
|
||||
dev-lang/perl
|
||||
dev-perl/IO-Socket-SSL
|
||||
mail-filter/dcc
|
||||
mail-mta/postfix
|
||||
media-gfx/imagemagick
|
||||
net-analyzer/net-snmp
|
||||
net-analyzer/tcpdump
|
||||
net-analyzer/traceroute
|
||||
net-dns/bind-tools
|
||||
net-dns/pdns-recursor
|
||||
net-misc/netkit-telnetd
|
||||
net-misc/ntp
|
||||
net-nds/openldap
|
||||
sys-apps/dmidecode
|
||||
sys-block/parted
|
||||
sys-libs/db
|
||||
virtual/perl-CPAN
|
Loading…
Reference in New Issue