public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/elfix:master commit in: misc/install-xattr/
Date: Thu, 13 Feb 2014 18:48:33 +0000 (UTC)	[thread overview]
Message-ID: <1392317368.84ebf842cb9065b6f75d3117c3e73e90bb838472.blueness@gentoo> (raw)

commit:     84ebf842cb9065b6f75d3117c3e73e90bb838472
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 13 18:49:28 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> 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 <vapier@gentoo.org> for your relentless attention.
+	* Greg Turner <gmturner007@ameritech.net> 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


             reply	other threads:[~2014-02-13 18:48 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-13 18:48 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-02-13 19:01 [gentoo-commits] proj/elfix:master commit in: misc/install-xattr/ Anthony G. Basile
2014-02-13 19:08 Anthony G. Basile
2014-06-01  0:26 Anthony G. Basile
2014-06-08 20:27 Anthony G. Basile
2014-06-10  1:49 Anthony G. Basile
2014-06-10  1:49 Anthony G. Basile
2014-06-10 21:04 Anthony G. Basile
2014-06-11 11:25 Anthony G. Basile
2014-06-15 22:09 Anthony G. Basile
2014-06-24 21:49 Anthony G. Basile
2014-06-27 12:26 Anthony G. Basile
2014-06-27 12:26 Anthony G. Basile
2014-07-21 21:25 Anthony G. Basile
2014-10-09  2:40 Anthony G. Basile
2014-10-13  2:20 Anthony G. Basile
2014-10-13  2:28 Anthony G. Basile
2014-11-02 21:46 Anthony G. Basile
2015-05-29 11:32 Anthony G. Basile
2015-06-08 13:07 Anthony G. Basile
2019-03-30 10:12 Anthony G. Basile
2019-04-14 18:40 Anthony G. Basile
2019-11-09 18:24 Anthony G. Basile
2019-11-09 18:24 Anthony G. Basile
2019-11-10  0:54 Anthony G. Basile
2019-11-10  0:54 Anthony G. Basile
2019-11-10  0:59 Anthony G. Basile
2023-01-10  5:21 Sam James
2023-01-10  5:21 Sam James
2023-01-11  6:53 Sam James
2023-01-24  3:05 Sam James
2023-01-24  3:05 Sam James
2023-01-29  3:57 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1392317368.84ebf842cb9065b6f75d3117c3e73e90bb838472.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox