Browse Source

mail/smtprelay: Rename port and prepare for 1.2.0

master
Bernhard Fröhlich 6 months ago
parent
commit
fbb84b0bdb
Signed by: Bernhard Froehlich <decke@bluelife.at> GPG Key ID: 4DD88C3F9F3B8333

+ 0
- 18
mail/smtp-proxy/files/smtpproxy.in View File

@@ -1,18 +0,0 @@
1
-#!/bin/sh
2
-#
3
-# PROVIDE: smtpproxy
4
-# REQUIRE: networking
5
-
6
-. /etc/rc.subr
7
-
8
-name="smtpproxy"
9
-rcvar="smtpproxy_enable"
10
-
11
-pidfile="/var/run/${name}.pid"
12
-command="/usr/sbin/daemon"
13
-command_args="-P ${pidfile} -r -f %%LOCALBASE%%/bin/smtp-proxy -config %%ETCDIR%%/smtp-proxy.ini"
14
-
15
-load_rc_config $name
16
-: ${smtpproxy_enable:=no}
17
-
18
-run_rc_command "$1"

+ 0
- 4
mail/smtp-proxy/pkg-descr View File

@@ -1,4 +0,0 @@
1
-Simple Go SMTP relay/proxy server that accepts mail via
2
-SMTP and forwards it directly to another SMTP server.
3
-
4
-WWW: https://code.bluelife.at/decke/smtp-proxy

mail/smtp-proxy/Makefile → mail/smtprelay/Makefile View File

@@ -1,9 +1,9 @@
1 1
 # $FreeBSD$
2 2
 
3
-PORTNAME=	smtp-proxy
4
-PORTVERSION=	1.0.1
3
+PORTNAME=	smtprelay
4
+PORTVERSION=	1.2.0
5 5
 CATEGORIES=	mail
6
-MASTER_SITES=	https://code.bluelife.at/decke/smtp-proxy/archive/
6
+MASTER_SITES=	https://code.bluelife.at/decke/smtprelay/archive/
7 7
 DISTFILES=	v${PORTVERSION}.tar.gz
8 8
 
9 9
 MAINTAINER=	decke@FreeBSD.org
@@ -13,20 +13,21 @@ LICENSE=	MIT
13 13
 LICENSE_FILE=	${WRKSRC}/LICENSE
14 14
 
15 15
 USES=		go
16
-USE_RC_SUBR=	smtpproxy
16
+USE_RC_SUBR=	smtprelay
17 17
 
18 18
 USE_GITHUB=	nodefault
19
-GH_TUPLE=	chrj:smtpd:v0.1.1:smtpd/vendor/github.com/chrj/smtpd \
20
-		vharitonsky:iniflags:a33cd0b5f3de:iniflags/vendor/github.com/vharitonsky/iniflags
19
+GH_TUPLE=	chrj:smtpd:v0.1.2:smtpd/vendor/github.com/chrj/smtpd \
20
+		vharitonsky:iniflags:a33cd0b5f3de:iniflags/vendor/github.com/vharitonsky/iniflags \
21
+		golang:crypto:505ab145d0a9:golang/vendor/golang.org/x/crypto
21 22
 
22 23
 WRKSRC=		${WRKDIR}/${PORTNAME}
23 24
 MAKE_ENV+=	GOFLAGS=-mod=vendor
24 25
 
25 26
 PLIST_FILES=	bin/${PORTNAME} \
26
-		"@sample ${ETCDIR}/smtp-proxy.ini.sample"
27
+		"@sample ${ETCDIR}/smtprelay.ini.sample"
27 28
 
28 29
 post-install:
29 30
 		${MKDIR} ${STAGEDIR}${ETCDIR}
30
-		${INSTALL_DATA} ${WRKSRC}/smtp-proxy.ini ${STAGEDIR}${ETCDIR}/smtp-proxy.ini.sample
31
+		${INSTALL_DATA} ${WRKSRC}/smtprelay.ini ${STAGEDIR}${ETCDIR}/smtprelay.ini.sample
31 32
 
32 33
 .include <bsd.port.mk>

mail/smtp-proxy/distinfo → mail/smtprelay/distinfo View File


+ 18
- 0
mail/smtprelay/files/smtprelay.in View File

@@ -0,0 +1,18 @@
1
+#!/bin/sh
2
+#
3
+# PROVIDE: smtprelay
4
+# REQUIRE: networking
5
+
6
+. /etc/rc.subr
7
+
8
+name="smtprelay"
9
+rcvar="smtprelay_enable"
10
+
11
+pidfile="/var/run/${name}.pid"
12
+command="/usr/sbin/daemon"
13
+command_args="-P ${pidfile} -r -f %%LOCALBASE%%/bin/smtprelay -config %%ETCDIR%%/smtprelay.ini"
14
+
15
+load_rc_config $name
16
+: ${smtprelay_enable:=no}
17
+
18
+run_rc_command "$1"

+ 4
- 0
mail/smtprelay/pkg-descr View File

@@ -0,0 +1,4 @@
1
+Simple Golang SMTP relay/proxy server that accepts mail via
2
+SMTP and forwards it directly to another SMTP server.
3
+
4
+WWW: https://code.bluelife.at/decke/smtprelay

Loading…
Cancel
Save