From owner-svn-ports-all@freebsd.org Thu Jul 28 09:00:55 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E310BBA69DF; Thu, 28 Jul 2016 09:00:55 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9C9BC1E39; Thu, 28 Jul 2016 09:00:55 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u6S90sMp063589; Thu, 28 Jul 2016 09:00:54 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6S90siq063587; Thu, 28 Jul 2016 09:00:54 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201607280900.u6S90siq063587@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 28 Jul 2016 09:00:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r419207 - in head/security/super: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2016 09:00:56 -0000 Author: amdmi3 Date: Thu Jul 28 09:00:54 2016 New Revision: 419207 URL: https://svnweb.freebsd.org/changeset/ports/419207 Log: - Add LICENSE_FILEs - Switch to options helpers - Regenerate patches with `make makepatch` Added: head/security/super/files/patch-localsys.h (contents, props changed) Deleted: head/security/super/files/patch-localsys.h_1 head/security/super/files/patch-localsys.h_2 Modified: head/security/super/Makefile Modified: head/security/super/Makefile ============================================================================== --- head/security/super/Makefile Thu Jul 28 06:40:41 2016 (r419206) +++ head/security/super/Makefile Thu Jul 28 09:00:54 2016 (r419207) @@ -14,6 +14,8 @@ COMMENT= Allow others to run commands as LICENSE= ART10 GPLv1 LICENSE_COMB= dual +LICENSE_FILE_ART10= ${WRKSRC}/Artistic +LICENSE_FILE_GPLv1= ${WRKSRC}/Copying GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir="${PREFIX}/var" @@ -27,8 +29,12 @@ post-patch: 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} Added: head/security/super/files/patch-localsys.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/super/files/patch-localsys.h Thu Jul 28 09:00:54 2016 (r419207) @@ -0,0 +1,31 @@ +--- localsys.h.orig 2007-12-20 19:14:53 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(); + #include + #endif + ++#ifndef __FreeBSD__ /* FBSD has a malloc.h that tells people to obey C89. */ + #ifdef HAVE_MALLOC_H + #include + #endif ++#endif + + #ifdef HAVE_SYSLOG_H + #include