Index: head/net/svnup/files/patch-svnup.c =================================================================== --- head/net/svnup/files/patch-svnup.c (revision 516248) +++ head/net/svnup/files/patch-svnup.c (nonexistent) @@ -1,70 +0,0 @@ ---- svnup.c.orig -+++ svnup.c -@@ -51,7 +51,7 @@ - #include - - --#define SVNUP_VERSION "1.07" -+#define SVNUP_VERSION "1.07a" - #define BUFFER_UNIT 4096 - #define COMMAND_BUFFER 32768 - #define COMMAND_BUFFER_THRESHOLD 32000 -@@ -1539,7 +1539,6 @@ - process_report_http(connector *connection, file_node ***file, int *file_count, int *file_max) - { - file_node *this_file; -- struct stat local; - int revision_length, x; - char command[COMMAND_BUFFER + 1], *d, *end, *href, *md5, *path; - char *start, *temp, temp_buffer[BUFFER_UNIT], *value; -@@ -1562,17 +1561,17 @@ - "DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops\r\n" - "Transfer-Encoding: chunked\r\n\r\n" - "%lx\r\n" -- "\n" -- "/%s\n" -- "%d\n" -- "unknown\n" -- "\n" -- "\n" -+ "" -+ "/%s" -+ "%d" -+ "unknown" -+ "" -+ "\r\n" - "\r\n0\r\n\r\n", - connection->root, - connection->address, - SVNUP_VERSION, -- strlen(connection->branch) + revision_length + revision_length + strlen(SVNUP_VERSION) + 206, -+ strlen(connection->branch) + revision_length + revision_length + 205, - connection->branch, - connection->revision, - connection->revision); -@@ -2389,9 +2388,9 @@ - - snprintf(temp_buffer, - BUFFER_UNIT, -- "PROPFIND %s HTTP/1.1\n" -- "Depth: 1\n" -- "Host: %s\n\n", -+ "PROPFIND %s HTTP/1.1\r\n" -+ "Depth: 1\r\n" -+ "Host: %s\r\n\r\n", - file[f]->href, - connection.address); - } else temp_buffer[0] = '\0'; -@@ -2471,9 +2470,9 @@ - if (connection.protocol >= HTTP) - snprintf(temp_buffer, - BUFFER_UNIT, -- "GET %s HTTP/1.1\n" -- "Host: %s\n" -- "Connection: Keep-Alive\n\n", -+ "GET %s HTTP/1.1\r\n" -+ "Host: %s\r\n" -+ "Connection: Keep-Alive\r\n\r\n", - file[f]->href, - connection.address); - Property changes on: head/net/svnup/files/patch-svnup.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net/svnup/Makefile =================================================================== --- head/net/svnup/Makefile (revision 516248) +++ head/net/svnup/Makefile (revision 516249) @@ -1,40 +1,41 @@ # $FreeBSD$ PORTNAME= svnup -PORTVERSION= 1.07 -PORTREVISION= 3 +PORTVERSION= 1.08 +DISTVERSIONPREFIX= v CATEGORIES= net -MASTER_SITES= http://jcm.dsl.visi.com/freebsd/svnup/ \ - LOCAL/jgh/net/${PORTNAME}/ MAINTAINER= jmehr@umn.edu COMMENT= Lightweight program to pull source from an Apache Subversion server LICENSE= BSD2CLAUSE +USES= tar:xz ssl OPTIONS_DEFINE= DOCS -CFLAGS= -I${OPENSSLINC} -LDFLAGS= -L${OPENSSLLIB} -lmd -lssl -USES= tar:xz ssl +CFLAGS+= -I${OPENSSLINC} +LDFLAGS+= -L${OPENSSLLIB} -lmd -lssl +USE_GITHUB= yes +GH_ACCOUNT= johnmehr + PORTDOCS= ChangeLog post-patch: - @${REINPLACE_CMD} -e 's|\/stable\/8|\/stable\/${OSREL:R}| ; \ - s|\/releng\/8.3|\/releng\/${OSREL}|' \ + @${REINPLACE_CMD} -e 's|\/stable\/12|\/stable\/${OSREL:R}| ; \ + s|\/releng\/12.1|\/releng\/${OSREL}|' \ ${WRKSRC}/svnup.conf do-build: cd ${WRKSRC} && \ ${CC} -o ${PORTNAME} ${CFLAGS} ${PORTNAME}.c ${LDFLAGS} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .include Index: head/net/svnup/distinfo =================================================================== --- head/net/svnup/distinfo (revision 516248) +++ head/net/svnup/distinfo (revision 516249) @@ -1,2 +1,3 @@ -SHA256 (svnup-1.07.tar.xz) = f6486fa384eab0ed565246ed3906aeb768f252e8662111e87476fdbed7159569 -SIZE (svnup-1.07.tar.xz) = 19528 +TIMESTAMP = 1572208491 +SHA256 (johnmehr-svnup-v1.08_GH0.tar.gz) = 5121dab5a983d1dd0ac97050525e5eeb877a8de65f6ca84eed8f305b717e4b9a +SIZE (johnmehr-svnup-v1.08_GH0.tar.gz) = 23205 Index: head/net/svnup/pkg-descr =================================================================== --- head/net/svnup/pkg-descr (revision 516248) +++ head/net/svnup/pkg-descr (revision 516249) @@ -1,3 +1,4 @@ -A lightweight, dependency-free program to pull source using the svn protocol. +A lightweight, dependency-free program to pull FreeBSD source using the svn +protocol. -WWW: http://jcm.dsl.visi.com/freebsd/svnup/ +WWW: https://github.com/johnmehr/svnup