security/sslproxy: Update version 0.7.0=>0.8.2

Relnotes:	https://github.com/sonertari/SSLproxy/blob/master/NEWS.md
This commit is contained in:
Muhammad Moinur Rahman 2020-12-29 22:34:29 +00:00
parent ce73707163
commit 71a61cc619
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559627
5 changed files with 43 additions and 54 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= sslproxy
PORTVERSION= 0.7.0
PORTVERSION= 0.8.2
DISTVERSIONPREFIX= v
PORTEPOCH= 1
CATEGORIES= security
@ -24,4 +24,7 @@ MAKE_ENV= DESTDIR=${STAGEDIR} MANDIR=man INSTALLUID=${UID} INSTALLGID=${GID}
PLIST_FILES= bin/sslproxy man/man1/sslproxy.1.gz man/man5/sslproxy.conf.5.gz \
"@sample etc/sslproxy.conf.sample"
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Mk/main.mk
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1569357473
SHA256 (sonertari-SSLproxy-v0.7.0_GH0.tar.gz) = 73f1e4be0185dd3636201b17cfcc023dc9de5333bcec52dfaa15cfd35d113b44
SIZE (sonertari-SSLproxy-v0.7.0_GH0.tar.gz) = 1902659
TIMESTAMP = 1609077747
SHA256 (sonertari-SSLproxy-v0.8.2_GH0.tar.gz) = a85e70f0d7b93ab9609ecb6d3371bfe3c9b9e5fddbdda1d9f9fe483239e0cccd
SIZE (sonertari-SSLproxy-v0.8.2_GH0.tar.gz) = 1906425

View File

@ -1,50 +0,0 @@
--- GNUmakefile.orig 2019-05-02 16:06:48 UTC
+++ GNUmakefile
@@ -178,7 +178,7 @@ endif
PREFIX?= /usr/local
MANDIR?= share/man
-EXAMPLESDIR?= share/examples
+ETCDIR?= etc
INSTALLUID?= 0
INSTALLGID?= 0
@@ -191,7 +191,7 @@ CNFMODE?= 0644
MANUID?= $(INSTALLUID)
MANGID?= $(INSTALLGID)
MANMODE?= 0644
-EXAMPLESMODE?= 0444
+ETCMODE?= 0444
ifeq ($(shell id -u),0)
BINOWNERFLAGS?= -o $(BINUID) -g $(BINGID)
CNFOWNERFLAGS?= -o $(CNFUID) -g $(CNFGID)
@@ -524,26 +524,19 @@ clean:
$(RM) -rf *.dSYM
install: $(TARGET)
- test -d $(DESTDIR)$(PREFIX)/bin || $(MKDIR) -p $(DESTDIR)$(PREFIX)/bin
- test -d $(DESTDIR)$(PREFIX)/$(MANDIR)/man1 || \
- $(MKDIR) -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
- test -d $(DESTDIR)$(PREFIX)/$(MANDIR)/man5 || \
- $(MKDIR) -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man5
- test -d $(DESTDIR)$(PREFIX)/$(EXAMPLESDIR)/$(TARGET) || \
- $(MKDIR) -p $(DESTDIR)$(PREFIX)/$(EXAMPLESDIR)/$(TARGET)
$(INSTALL) $(BINOWNERFLAGS) -m $(BINMODE) \
$(TARGET) $(DESTDIR)$(PREFIX)/bin/
$(INSTALL) $(MANOWNERFLAGS) -m $(MANMODE) \
$(TARGET).1 $(DESTDIR)$(PREFIX)/$(MANDIR)/man1/
$(INSTALL) $(MANOWNERFLAGS) -m $(MANMODE) \
$(TARGET).conf.5 $(DESTDIR)$(PREFIX)/$(MANDIR)/man5/
- $(INSTALL) $(MANOWNERFLAGS) -m $(EXAMPLESMODE) \
- $(TARGET).conf $(DESTDIR)$(PREFIX)/$(EXAMPLESDIR)/$(TARGET)/
+ $(INSTALL) $(MANOWNERFLAGS) -m $(ETCMODE) \
+ $(TARGET).conf $(DESTDIR)$(PREFIX)/$(ETCDIR)/$(TARGET).conf.sample
deinstall:
$(RM) -f $(DESTDIR)$(PREFIX)/bin/$(TARGET) $(DESTDIR)$(PREFIX)/$(MANDIR)/man1/$(TARGET).1 \
$(DESTDIR)$(PREFIX)/$(MANDIR)/man5/$(TARGET).conf.5
- $(RM) -rf $(DESTDIR)$(PREFIX)/$(EXAMPLESDIR)/$(TARGET)/
+ $(RM) -rf $(DESTDIR)$(PREFIX)/$(ETCDIR)/$(TARGET)/
ifdef GITDIR
lint:

View File

@ -0,0 +1,11 @@
--- Mk/main.mk.orig 2020-12-15 14:12:50 UTC
+++ Mk/main.mk
@@ -201,7 +201,7 @@ endif
PREFIX?= /usr/local
MANDIR?= share/man
-EXAMPLESDIR?= share/examples
+EXAMPLESDIR?= etc
INSTALLUID?= 0
INSTALLGID?= 0

View File

@ -0,0 +1,25 @@
--- src/GNUmakefile.orig 2020-12-27 15:40:56 UTC
+++ src/GNUmakefile
@@ -26,13 +26,6 @@ clean:
$(RM) -rf *.dSYM
install: $(TARGET)
- test -d $(DESTDIR)$(PREFIX)/bin || $(MKDIR) -p $(DESTDIR)$(PREFIX)/bin
- test -d $(DESTDIR)$(PREFIX)/$(MANDIR)/man1 || \
- $(MKDIR) -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man1
- test -d $(DESTDIR)$(PREFIX)/$(MANDIR)/man5 || \
- $(MKDIR) -p $(DESTDIR)$(PREFIX)/$(MANDIR)/man5
- test -d $(DESTDIR)$(PREFIX)/$(EXAMPLESDIR)/$(TARGET) || \
- $(MKDIR) -p $(DESTDIR)$(PREFIX)/$(EXAMPLESDIR)/$(TARGET)
$(INSTALL) $(BINOWNERFLAGS) -m $(BINMODE) \
$(TARGET) $(DESTDIR)$(PREFIX)/bin/
$(INSTALL) $(MANOWNERFLAGS) -m $(MANMODE) \
@@ -40,7 +33,7 @@ install: $(TARGET)
$(INSTALL) $(MANOWNERFLAGS) -m $(MANMODE) \
$(TARGET).conf.5 $(DESTDIR)$(PREFIX)/$(MANDIR)/man5/
$(INSTALL) $(MANOWNERFLAGS) -m $(EXAMPLESMODE) \
- $(TARGET).conf $(DESTDIR)$(PREFIX)/$(EXAMPLESDIR)/$(TARGET)/
+ $(TARGET).conf $(DESTDIR)$(PREFIX)/$(EXAMPLESDIR)/$(TARGET).conf.sample
deinstall:
$(RM) -f $(DESTDIR)$(PREFIX)/bin/$(TARGET) $(DESTDIR)$(PREFIX)/$(MANDIR)/man1/$(TARGET).1 \