From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EDDBB138DE5 for ; Thu, 13 Feb 2014 18:48:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF8EFE0B19; Thu, 13 Feb 2014 18:48:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 46D0AE0B19 for ; Thu, 13 Feb 2014 18:48:36 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3907A33F959 for ; Thu, 13 Feb 2014 18:48:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id CC20A18873 for ; Thu, 13 Feb 2014 18:48:33 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1392317368.84ebf842cb9065b6f75d3117c3e73e90bb838472.blueness@gentoo> Subject: [gentoo-commits] proj/elfix:master commit in: misc/install-xattr/ X-VCS-Repository: proj/elfix X-VCS-Files: misc/install-xattr/.gitignore misc/install-xattr/ChangeLog misc/install-xattr/Makefile misc/install-xattr/Makefile.am misc/install-xattr/autogen.sh misc/install-xattr/checkcopyattrs.sh misc/install-xattr/configure.ac X-VCS-Directories: misc/install-xattr/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 84ebf842cb9065b6f75d3117c3e73e90bb838472 X-VCS-Branch: master Date: Thu, 13 Feb 2014 18:48:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bd09423b-aabb-4134-b670-58c6243dd60f X-Archives-Hash: 6e2082ad45b4b9991fa0e6367e06c711 commit: 84ebf842cb9065b6f75d3117c3e73e90bb838472 Author: Anthony G. Basile gentoo org> AuthorDate: Thu Feb 13 18:49:28 2014 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Thu Feb 13 18:49:28 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/elfix.git;a=commit;h=84ebf842 misc/install-xattr: switch to simple Makefile --- misc/install-xattr/.gitignore | 1 + misc/install-xattr/ChangeLog | 11 +++++++++++ misc/install-xattr/Makefile | 22 ++++++++++++++++++++++ misc/install-xattr/Makefile.am | 16 ---------------- misc/install-xattr/autogen.sh | 6 ------ misc/install-xattr/checkcopyattrs.sh | 3 +++ misc/install-xattr/configure.ac | 30 ------------------------------ 7 files changed, 37 insertions(+), 52 deletions(-) diff --git a/misc/install-xattr/.gitignore b/misc/install-xattr/.gitignore index a0bcfaa..670a765 100644 --- a/misc/install-xattr/.gitignore +++ b/misc/install-xattr/.gitignore @@ -12,3 +12,4 @@ install-xattr x y z +!Makefile diff --git a/misc/install-xattr/ChangeLog b/misc/install-xattr/ChangeLog new file mode 100644 index 0000000..13752a3 --- /dev/null +++ b/misc/install-xattr/ChangeLog @@ -0,0 +1,11 @@ +Okay we'll document changes here. This is a small project, so we don't +have to be very formal. + +2014-02-13 + + * Release version 0.1. For discussion leading up to this release, + see https://bugs.gentoo.org/show_bug.cgi?id=465000. + +THANKS + * Mike Frysinger for your relentless attention. + * Greg Turner for testing and fixing bugs. diff --git a/misc/install-xattr/Makefile b/misc/install-xattr/Makefile new file mode 100644 index 0000000..bbc2cf1 --- /dev/null +++ b/misc/install-xattr/Makefile @@ -0,0 +1,22 @@ +CFLAGS ?= -O2 -pipe -g +CFLAGS += -Wall +PWD = $$(pwd) + +all: install-xattr + +install-xattr: install-xattr.c + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS) + +PREFIX = /usr +BINDIR = $(PREFIX)/bin +install: xattr-install + install -m 755 -D install-xattr $(DESTDIR)$(BINDIR)/install-xattr + +check: checkcopyattrs.sh install-xattr + $(PWD)/checkcopyattrs.sh + rm -rf a b c d e f g x y z backup-a* mode-a target-a target-install-xattr + +clean: + rm -f *.o *~ install-xattr + +.PHONY: all check clean install diff --git a/misc/install-xattr/Makefile.am b/misc/install-xattr/Makefile.am deleted file mode 100644 index d2ba4d7..0000000 --- a/misc/install-xattr/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -CFLAGS= -noinst_PROGRAMS = install-xattr -install_xattr_SOURCES = install-xattr.c -install_xattr_CFLAGS = -ggdb -Wall -O3 - -check_SCRIPTS = checkcopyattrs -TEST = $(check_SCRIPTS) - -checkcopyattrs: - $(srcdir)/checkcopyattrs.sh - -EXTRA_DIST = checkcopyattrs.sh -CLEANFILES = a b c x y z d/* e/* f/* - -clean-local: - -rm -rf d e f g backup* mode* target* diff --git a/misc/install-xattr/autogen.sh b/misc/install-xattr/autogen.sh deleted file mode 100755 index 3888ff3..0000000 --- a/misc/install-xattr/autogen.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -aclocal && \ -autoheader && \ -autoconf && \ -automake --add-missing --copy diff --git a/misc/install-xattr/checkcopyattrs.sh b/misc/install-xattr/checkcopyattrs.sh index 210a21c..2e8f30f 100755 --- a/misc/install-xattr/checkcopyattrs.sh +++ b/misc/install-xattr/checkcopyattrs.sh @@ -76,3 +76,6 @@ setfattr -n user.pax.flags -v "r" c # # -Z, --context=CONTEXT # set SELinux security context of files and directories + +# Okay, let's clean up after ourselves +rm -rf a b c d e f g x y z backup-a* mode-a target-a target-install-xattr diff --git a/misc/install-xattr/configure.ac b/misc/install-xattr/configure.ac deleted file mode 100644 index aca8b1f..0000000 --- a/misc/install-xattr/configure.ac +++ /dev/null @@ -1,30 +0,0 @@ -# -*- Autoconf -*- -# Process this file with autoconf to produce a configure script. - -AC_PREREQ([2.69]) -AC_INIT([install-xattr],[1]) -AC_CONFIG_SRCDIR([install-xattr.c]) -AC_CONFIG_HEADERS([config.h]) - -AM_INIT_AUTOMAKE([1.13 foreign]) - -# Checks for programs. -AC_PROG_CC -AC_PROG_INSTALL - -# Checks for libraries. - -# Checks for header files. -AC_CHECK_HEADERS([stdlib.h string.h unistd.h]) - -# Checks for typedefs, structures, and compiler characteristics. -AC_TYPE_SIZE_T -AC_TYPE_SSIZE_T - -# Checks for library functions. -AC_FUNC_FORK -AC_FUNC_MALLOC -AC_CHECK_FUNCS([memset realpath strdup]) - -AC_CONFIG_FILES([Makefile]) -AC_OUTPUT