Index: head/security/super/Makefile =================================================================== --- head/security/super/Makefile (revision 475404) +++ head/security/super/Makefile (revision 475405) @@ -1,42 +1,41 @@ # Created by: David O'Brien (obrien@NUXI.com) # $FreeBSD$ PORTNAME= super -PORTVERSION= 3.30.0 -PORTREVISION= 1 +PORTVERSION= 3.30.1 CATEGORIES= security sysutils MASTER_SITES= ftp://ftp.ucolick.org/pub/users/will/ \ http://www.ucolick.org/~will/RUE/super/ EXTRACT_SUFX= -tar.gz -MAINTAINER= ports@FreeBSD.org +MAINTAINER= egypcio@googlemail.com COMMENT= Allow others to run commands as root LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE_ART10= ${WRKSRC}/Artistic LICENSE_FILE_GPLv1+ = ${WRKSRC}/Copying GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir="${PREFIX}/var" OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e 's|\.\/mkdir_p -p755|mkdir -p -m 755|g' \ -e '/sysconfdir/ s|super\.tab|&.sample|' \ ${WRKSRC}/Makefile.in post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/super ${STAGEDIR}${PREFIX}/bin/setuid post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${FILESDIR}/sample.tab ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${FILESDIR}/sample.cdmount ${STAGEDIR}${EXAMPLESDIR} .include Index: head/security/super/distinfo =================================================================== --- head/security/super/distinfo (revision 475404) +++ head/security/super/distinfo (revision 475405) @@ -1,2 +1,3 @@ -SHA256 (super-3.30.0-tar.gz) = 04738c46ef1c1dc0c400dd9d7bec4b63bd12664e67a774d243f03c1f7a8fafeb -SIZE (super-3.30.0-tar.gz) = 233353 +TIMESTAMP = 1532647430 +SHA256 (super-3.30.1-tar.gz) = 50036d932d85fc1e2d9a78d6d20a531dc190eeec895ca464bbba577c10c5db27 +SIZE (super-3.30.1-tar.gz) = 239989 Index: head/security/super/files/patch-checks.c =================================================================== --- head/security/super/files/patch-checks.c (revision 475404) +++ head/security/super/files/patch-checks.c (revision 475405) @@ -1,26 +1,26 @@ ---- checks.c +--- checks.c.orig 2018-05-21 22:43:28 UTC +++ checks.c -@@ -567,7 +567,6 @@ +@@ -567,7 +567,6 @@ int set_u_g() { /* Return 0 on success, -1 on failure */ - SETGRENT_T setgrent(); void endgrent(); int i, j, k = -1; int found_gid = -1, found_egid = -1; -@@ -1425,7 +1424,6 @@ +@@ -1425,7 +1424,6 @@ int allowbrackets; /* accept names like */ char *grouplabel; /* name or numeric form */ { struct group *gp; - SETGRENT_T setgrent(); void endgrent(); int numeric_gid; int found_gid, is_numeric=0; -@@ -1897,7 +1895,6 @@ +@@ -1897,7 +1895,6 @@ char *gp_pat; /* pattern to match */ struct group *gp; char **mem; char buf[20]; - SETGRENT_T setgrent(); void endgrent(); ENTRY item, *found_item; Index: head/security/super/files/patch-localsys.h =================================================================== --- head/security/super/files/patch-localsys.h (revision 475404) +++ head/security/super/files/patch-localsys.h (revision 475405) @@ -1,31 +1,30 @@ ---- localsys.h.orig 2007-12-20 19:14:53 UTC +--- localsys.h.orig 2018-05-21 22:43:28 UTC +++ localsys.h @@ -16,14 +16,14 @@ #ifndef LOCALSYS_H #define LOCALSYS_H -#include "config.h" - #include #include #include #include #include +#include "config.h" + #ifdef HAVE_UNISTD_H #include #endif -@@ -293,9 +293,11 @@ extern int sysinfo(); +@@ -293,8 +293,10 @@ extern int sysinfo(); #include #endif +#ifndef __FreeBSD__ /* FBSD has a malloc.h that tells people to obey C89. */ #ifdef HAVE_MALLOC_H #include - #endif +#endif + #endif #ifdef HAVE_SYSLOG_H - #include