From owner-svn-ports-all@freebsd.org Wed Feb 14 17:10:38 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6827F0F2C5; Wed, 14 Feb 2018 17:10:37 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 780B982939; Wed, 14 Feb 2018 17:10:37 +0000 (UTC) (envelope-from pi@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 72F6812ACE; Wed, 14 Feb 2018 17:10:37 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1EHAb0j007795; Wed, 14 Feb 2018 17:10:37 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1EHAaCC007789; Wed, 14 Feb 2018 17:10:36 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201802141710.w1EHAaCC007789@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Wed, 14 Feb 2018 17:10:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r461821 - in head/sysutils: . lockfile-progs lockfile-progs/files X-SVN-Group: ports-head X-SVN-Commit-Author: pi X-SVN-Commit-Paths: in head/sysutils: . lockfile-progs lockfile-progs/files X-SVN-Commit-Revision: 461821 X-SVN-Commit-Repository: ports 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.25 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: Wed, 14 Feb 2018 17:10:38 -0000 Author: pi Date: Wed Feb 14 17:10:36 2018 New Revision: 461821 URL: https://svnweb.freebsd.org/changeset/ports/461821 Log: New port: sysutils/lockfile-progs This package includes several programs to safely lock and unlock files and mailboxes from the command line. These include: lockfile-create lockfile-remove lockfile-touchlock mail-lock mail-unlock mail-touchlock These programs use liblockfile to perform the file locking and unlocking, so they are guaranteed compatible with Debian's file locking policies. WWW: https://tracker.debian.org/pkg/lockfile-progs PR: 224508 Submitted by: Yasuhiro KIMURA Added: head/sysutils/lockfile-progs/ head/sysutils/lockfile-progs/Makefile (contents, props changed) head/sysutils/lockfile-progs/distinfo (contents, props changed) head/sysutils/lockfile-progs/files/ head/sysutils/lockfile-progs/files/patch-Makefile (contents, props changed) head/sysutils/lockfile-progs/pkg-descr (contents, props changed) head/sysutils/lockfile-progs/pkg-plist (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Wed Feb 14 17:02:11 2018 (r461820) +++ head/sysutils/Makefile Wed Feb 14 17:10:36 2018 (r461821) @@ -575,6 +575,7 @@ SUBDIR += lmmon SUBDIR += lmon SUBDIR += lnav + SUBDIR += lockfile-progs SUBDIR += log_analysis SUBDIR += logrotate SUBDIR += logstalgia Added: head/sysutils/lockfile-progs/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/lockfile-progs/Makefile Wed Feb 14 17:10:36 2018 (r461821) @@ -0,0 +1,40 @@ +# Created by: Yasuhiro KIMURA +# $FreeBSD$ + +PORTNAME= lockfile-progs +PORTVERSION= 0.1.17 +CATEGORIES= sysutils +MASTER_SITES= DEBIAN_POOL +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= yasu@utahime.org +COMMENT= Programs for locking and unlocking files and mailboxes + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= liblockfile.so:devel/liblockfile + +ALL_TARGET= lockfile-create +WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} + +OPTIONS_DEFINE= DOCS + +PORTDOCS= TODO changelog + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/lockfile-create ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/lockfile-progs.1 ${STAGEDIR}${MANPREFIX}/man/man1 +.for f in lockfile-remove lockfile-touch lockfile-check mail-lock mail-unlock mail-touchlock + ${LN} ${STAGEDIR}${PREFIX}/bin/lockfile-create ${STAGEDIR}${PREFIX}/bin/${f} + ${LN} -s lockfile-progs.1 ${STAGEDIR}${MANPREFIX}/man/man1/${f}.1 +.endfor + ${LN} -s lockfile-progs.1 ${STAGEDIR}${MANPREFIX}/man/man1/lockfile-create.1 + +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} +.for f in TODO debian/changelog + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} +.endfor + +.include Added: head/sysutils/lockfile-progs/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/lockfile-progs/distinfo Wed Feb 14 17:10:36 2018 (r461821) @@ -0,0 +1,3 @@ +TIMESTAMP = 1513867442 +SHA256 (lockfile-progs_0.1.17.tar.gz) = 03fb05d25499532f497775b1747b61fa6beebf12d3bcc951e125349ae166c511 +SIZE (lockfile-progs_0.1.17.tar.gz) = 14833 Added: head/sysutils/lockfile-progs/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/lockfile-progs/files/patch-Makefile Wed Feb 14 17:10:36 2018 (r461821) @@ -0,0 +1,21 @@ +--- Makefile.orig 2011-08-21 23:28:35 UTC ++++ Makefile +@@ -1,5 +1,5 @@ + +-LOADLIBES := -llockfile ++LOADLIBES := -L${LOCALBASE}/lib -llockfile + CFLAGS := -g -Wall -Wformat-security -Werror -O2 + + all: lockfile-create +@@ -24,7 +24,10 @@ all: lockfile-create + .PHONY: all + + lockfile-create: lockfile-progs.o +- ${CC} -o $@ ${LDFLAGS} $^ ${LOADLIBES} ++ ${CC} -o $@ ${LDFLAGS} lockfile-progs.o ${LOADLIBES} ++ ++lockfile-progs.o: ++ ${CC} ${CFLAGS} -c -I${LOCALBASE}/include lockfile-progs.c + + # These tests are quite insufficient, but perhaps better than nothing for now. + check: all Added: head/sysutils/lockfile-progs/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/lockfile-progs/pkg-descr Wed Feb 14 17:10:36 2018 (r461821) @@ -0,0 +1,15 @@ +This package includes several programs to safely lock and unlock +files and mailboxes from the command line. These include: + + lockfile-create + lockfile-remove + lockfile-touchlock + mail-lock + mail-unlock + mail-touchlock + +These programs use liblockfile to perform the file locking and +unlocking, so they are guaranteed compatible with Debian's +file locking policies. + +WWW: https://tracker.debian.org/pkg/lockfile-progs Added: head/sysutils/lockfile-progs/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/lockfile-progs/pkg-plist Wed Feb 14 17:10:36 2018 (r461821) @@ -0,0 +1,16 @@ +@comment $FreeBSD$ +bin/lockfile-check +bin/lockfile-create +bin/lockfile-remove +bin/lockfile-touch +bin/mail-lock +bin/mail-touchlock +bin/mail-unlock +man/man1/lockfile-check.1.gz +man/man1/lockfile-create.1.gz +man/man1/lockfile-progs.1.gz +man/man1/lockfile-remove.1.gz +man/man1/lockfile-touch.1.gz +man/man1/mail-lock.1.gz +man/man1/mail-touchlock.1.gz +man/man1/mail-unlock.1.gz