Compare commits

...

2 Commits

Author SHA1 Message Date
Daniel Jakots 172974912a add the WIP port 2016-12-09 14:47:38 +01:00
Daniel Jakots f525b3bf3d Begin the work on creating an OpenBSD port 2016-12-09 14:40:53 +01:00
3 changed files with 33 additions and 0 deletions

4
README
View File

@ -5,3 +5,7 @@ script evomaintenance.sh which sends a mail
for each intervention on a Pack Evolix server.
* Pb quand '&' dans le msg d'evomaintenance...
# Pour le port OpenBSD, avoir l'arbre des ports puis
$ mkdir -p /usr/ports/mystuff/sysutils
$ cp -R openbsd/evomaintenance /usr/ports/mystuff/sysutils

View File

@ -0,0 +1,27 @@
# $OpenBSD$
COMMENT = evolix maintenance script
DISTNAME = evomaintenance-0.1
CATEGORIES = sysutils
EXTRACT_SUFX = .sh
EXTRACT_ONLY =
HOMEPAGE = http://evolix.com/
# N/A
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = http://winnie.evolix.net/evoscripts
DISTFILES = evomaintenance.cf evomaintenance.tpl
EVOMAINTENANCEDIR = ${SYSCONFDIR}
NO_BUILD = Yes
NO_TEST = Yes
do-install:
${INSTALL_SCRIPT} ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${PREFIX}/bin/
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
Evomaintenance script. This script should be run from your .profil with
trap "sudo /usr/local/bin/evomaintenance.sh" 0