pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Update linux-acl (acl, really) to 2.2.52.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Tue Nov 28 20:09:54 2017 +0100
Changeset:	fe55467dfa15d2c542adff63aeeb9ae0f16d90e1

Modified Files:
	linux-acl/Makefile
	linux-acl/PLIST
	linux-acl/distinfo
Added Files:
	linux-acl/patches/patch-include_builddefs.in
	linux-acl/patches/patch-include_buildmacros

Log Message:
Update linux-acl (acl, really) to 2.2.52.

Changelog (which stops three versions ago, as usual for this upstream):

acl 2.2.49 (19 November 2009)
==========
* Add missing files to tarball: tests/sort-getfacl-output and examples/copyperm.c
* Update docs/CHANGES for 2.2.48 release

acl 2.2.48 (31 July 2009)
==========
* Make sure that getfacl -R only calls stat(2) on symlinks when it needs to.
  This fixes http://oss.sgi.com/bugzilla/show_bug.cgi?id=790 "getfacl follows
  symlinks, even without -L".
* Stop quoting nonprintable characters in the getfacl output: what is printable
  or not depends on the locale settings, and getfacl often gets it wrong. We
  still need to quote a few special characters like newlines so that setfacl
  can always parse getfacl's output.
* Fix in acl_equiv_mode(): Return the mode that the acl corresponds to even
  when the acl has more than three entries (i.e., it is not equivalent to
  this mode).
* When restoring acls and the file ownership from the output of getfacl
  with setfacl --restore, make sure to only chown(2) files when the
  owner or owning group does not match the current owner or owning group:
  otherwise, if the caller does not have the appropriate privilege,
  chown(2) will implicitly clear the suid and sgid flags.
* Fix attr/acl code for handling of recursive walking without following symlinks
  Patch contributed by Brandon Philips <brandon%ifup.org@localhost>.
  http://oss.sgi.com/archives/xfs/2008-07/msg00162.html
* Fix NULL pointer access / segmentation fault in setfacl.
  When invoked as ``setfacl -- ...'', setfacl segfaults. Reported
  by Peng Haitao; fix based on patches by Peng Haitao and Jiri
  Moskovcak.  Final fix from Andreas Gruenbacher <agruen%suse.de@localhost>.
  Red Hat Bugzilla Bug 430458.
* Avoid unnecessary but destructive chown calls when restoring acls with
  setfacl --restore
* Update to new homepage URL: http://savannah.nongnu.org/projects/acl
* Stop quoting nonprintable characters in the getfacl output
* Make sure that getfacl -R only calls stat(2) on symlinks when it needs to
  http://oss.sgi.com/bugzilla/show_bug.cgi?id=790
* Include the S_ISUID, S_ISGID, S_ISVTX flags in the getfacl output, and
  restore them with "setfacl --restore=file"
* test/run: fix lt- prefix from libtool wrappers

acl 2.2.47
==========
* From Andreas Gruenbacher:
    * fix issues for tree walking with file descriptors
	- fd duplicates and running out

acl 2.2.46 (21 November 2007)
==========
* From Andreas Gruenbacher:
    * Update acl.5 man page to clarify the relationship between
      the file permissions and the *OBJ ACL entries.
    * In some cases, gcc does not link in functions from libmisc.a
      unless libmisc is specified before the dynamic libraries on
      the command line.
    * Rip out nftw tree walking, it is broken and hopeless to fix.
      The replacement walk_tree() function does exactly what we
      want, and is much simpler to use.

acl 2.2.45 (11 September 2007)
==========
* Fix symlink handling with getfacl and setfacl, thanks to Utako Usaka.

acl 2.2.44 (27 March 2007)
==========
* Add Spanish and Galician translation
  (thanks to Antonio Trueba)

acl 2.2.43 (23 January 2007)
==========
* Fix a build issue with cross-compiling, thanks to Diego Petten�

acl 2.2.42 (08 December 2006)
==========
* Fix a build issue on GNU/kFreeBSD, thanks to Petr Salinger.

acl 2.2.41 (14 July 2006)
==========
* Fix issues with makedepend on libtool libraries.
* Fix issues with install using named ids instead of numeric ones.

acl 2.2.40 (03 July 2006)
==========
* Update translation Makefile to work better with the Ubuntu
  translation system.  Thanks to feedback from Martin Pitt.
* Fix annoying "ignores datarootdir" warning from configure.
* Fix issues with makedepend build infrastructure.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fe55467dfa15d2c542adff63aeeb9ae0f16d90e1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 linux-acl/Makefile                           | 33 +++++++----------------
 linux-acl/PLIST                              | 20 +++++++-------
 linux-acl/distinfo                           |  9 ++++---
 linux-acl/patches/patch-include_builddefs.in | 27 +++++++++++++++++++
 linux-acl/patches/patch-include_buildmacros  | 40 ++++++++++++++++++++++++++++
 5 files changed, 91 insertions(+), 38 deletions(-)

diffs:
diff --git a/linux-acl/Makefile b/linux-acl/Makefile
index 3e8ab0f640..a8eeca05b0 100644
--- a/linux-acl/Makefile
+++ b/linux-acl/Makefile
@@ -1,38 +1,23 @@
 # $NetBSD: Makefile,v 1.3 2012/10/03 09:10:41 asau Exp $
 #
 
-DISTNAME=		acl_2.2.39-1
-PKGNAME=		linux-acl-2.2.39.1
+DISTNAME=		acl-2.2.52.src
+PKGNAME=		linux-${DISTNAME:S/.src//}
 CATEGORIES=		sysutils
-MASTER_SITES=		ftp://oss.sgi.com/projects/xfs/cmd_tars/
+MASTER_SITES=		http://download.savannah.nongnu.org/releases/acl/
 
 MAINTAINER=		pkgsrc%blackmouse.biz@localhost
-HOMEPAGE=		http://acl.bestbits.at/
-COMMENT=		The acl package contains the setfacl and getfacl utils
+HOMEPAGE=		https://savannah.nongnu.org/projects/acl
+COMMENT=		Commands for Manipulating POSIX Access Control Lists
 
 # uses linux/version.h and only tested under Linux
 ONLY_FOR_PLATFORM=	Linux-*-*
 
-
-AUTOCONF_REQD=	2.50
-
-USE_TOOLS+=		autoconf gmake
+WRKSRC=			${WRKDIR}/${DISTNAME:S/.src//}
 GNU_CONFIGURE=		yes
-USE_LIBTOOL=		yes
-
-WRKSRC=		${WRKDIR}/acl-2.2.39
-
-pre-configure:
-	cd ${WRKSRC}; autoconf
-
-do-build:
-	cd ${WRKSRC}; gmake
-
-do-install:
-	cd ${WRKSRC}; gmake install install-lib install-dev
-
-post-install:
-	ln -sf ${PREFIX}/lib/libacl.so.* ${PREFIX}/libexec
+USE_TOOLS=		gmake
+BUILD_TARGET=		default
+INSTALL_TARGET=		install install-lib install-dev
 
 .include "../../wip/linux-attr/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/linux-acl/PLIST b/linux-acl/PLIST
index 41e54a1b5d..bcceeae531 100644
--- a/linux-acl/PLIST
+++ b/linux-acl/PLIST
@@ -1,20 +1,16 @@
-@comment $NetBSD: PLIST,v 1.2 2009/10/11 10:44:54 thomasklausner Exp $
-bin/getfacl
+@comment $NetBSD$
 bin/chacl
+bin/getfacl
 bin/setfacl
 include/acl/libacl.h
 include/sys/acl.h
-libexec/libacl.la
-lib/libacl.a
 lib/libacl.la
-lib/libacl.so
-lib/libacl.so.1
-lib/libacl.so.1.1.0
-man/man1/getfacl.1
 man/man1/chacl.1
+man/man1/getfacl.1
 man/man1/setfacl.1
 man/man3/acl_add_perm.3
 man/man3/acl_calc_mask.3
+man/man3/acl_check.3
 man/man3/acl_clear_perms.3
 man/man3/acl_cmp.3
 man/man3/acl_copy_entry.3
@@ -36,11 +32,10 @@ man/man3/acl_from_text.3
 man/man3/acl_get_entry.3
 man/man3/acl_get_fd.3
 man/man3/acl_get_file.3
-man/man3/acl_get_permset.3
 man/man3/acl_get_perm.3
+man/man3/acl_get_permset.3
 man/man3/acl_get_qualifier.3
 man/man3/acl_get_tag_type.3
-man/man3/acl_check.3
 man/man3/acl_init.3
 man/man3/acl_set_fd.3
 man/man3/acl_set_file.3
@@ -52,11 +47,14 @@ man/man3/acl_to_any_text.3
 man/man3/acl_to_text.3
 man/man3/acl_valid.3
 man/man5/acl.5
-share/doc/acl/COPYING
 share/doc/acl/CHANGES.gz
+share/doc/acl/COPYING
+share/doc/acl/COPYING.LGPL
 share/doc/acl/PORTING
 share/doc/acl/README
 share/locale/de/LC_MESSAGES/acl.mo
+share/locale/es/LC_MESSAGES/acl.mo
 share/locale/fr/LC_MESSAGES/acl.mo
+share/locale/gl/LC_MESSAGES/acl.mo
 share/locale/pl/LC_MESSAGES/acl.mo
 share/locale/sv/LC_MESSAGES/acl.mo
diff --git a/linux-acl/distinfo b/linux-acl/distinfo
index a4cd610cfe..f253d83a26 100644
--- a/linux-acl/distinfo
+++ b/linux-acl/distinfo
@@ -1,5 +1,8 @@
 $NetBSD: distinfo,v 1.1.1.1 2006/08/09 23:08:51 ondratu Exp $
 
-SHA1 (acl_2.2.39-1.tar.gz) = 596cfa3461e93d5ad402ba2c4f6e8f1d4118a635
-RMD160 (acl_2.2.39-1.tar.gz) = 5e6797b580c561a52d10b36d82587f8b80024a43
-Size (acl_2.2.39-1.tar.gz) = 122091 bytes
+SHA1 (acl-2.2.52.src.tar.gz) = 537dddc0ee7b6aa67960a3de2d36f1e2ff2059d9
+RMD160 (acl-2.2.52.src.tar.gz) = 2abac978d1b985c1a30aeaed8d78b13d96b467d6
+SHA512 (acl-2.2.52.src.tar.gz) = 59973199d371cd0b2368e95bc829a1b47f04e808a174fefba4c6854e766158bd19a71d9dbcc8d6fdc1573a1f971cdda39c453f7fa243bce02c1ab97c6e7c72e7
+Size (acl-2.2.52.src.tar.gz) = 386604 bytes
+SHA1 (patch-include_builddefs.in) = b0384d514048af6369852eb68705e20458665335
+SHA1 (patch-include_buildmacros) = 2f28373768e731b9eaa4526bf3ee78917f946684
diff --git a/linux-acl/patches/patch-include_builddefs.in b/linux-acl/patches/patch-include_builddefs.in
new file mode 100644
index 0000000000..68f71c6b81
--- /dev/null
+++ b/linux-acl/patches/patch-include_builddefs.in
@@ -0,0 +1,27 @@
+$NetBSD$
+
+--- include/builddefs.in.orig	2013-05-19 01:58:24.000000000 +0000
++++ include/builddefs.in
+@@ -28,14 +28,14 @@ PKG_RELEASE	= @pkg_release@
+ PKG_VERSION	= @pkg_version@
+ PKG_PLATFORM	= @pkg_platform@
+ PKG_DISTRIBUTION= @pkg_distribution@
+-PKG_BIN_DIR	= @bindir@
+-PKG_SBIN_DIR	= @sbindir@
+-PKG_LIB_DIR	= @libdir@@libdirsuffix@
+-PKG_DEVLIB_DIR	= @libexecdir@@libdirsuffix@
+-PKG_INC_DIR	= @includedir@
+-PKG_MAN_DIR	= @mandir@
+-PKG_DOC_DIR	= @datadir@/doc/@pkg_name@
+-PKG_LOCALE_DIR	= @datadir@/locale
++PKG_BIN_DIR	= $(DESTDIR)@bindir@
++PKG_SBIN_DIR	= $(DESTDIR)@sbindir@
++PKG_LIB_DIR	= $(DESTDIR)@libdir@@libdirsuffix@
++PKG_DEVLIB_DIR	= $(DESTDIR)@libexecdir@@libdirsuffix@
++PKG_INC_DIR	= $(DESTDIR)@includedir@
++PKG_MAN_DIR	= $(DESTDIR)@mandir@
++PKG_DOC_DIR	= $(DESTDIR)@datadir@/doc/@pkg_name@
++PKG_LOCALE_DIR	= $(DESTDIR)@datadir@/locale
+ 
+ CC		= @cc@
+ AWK		= @awk@
diff --git a/linux-acl/patches/patch-include_buildmacros b/linux-acl/patches/patch-include_buildmacros
new file mode 100644
index 0000000000..c099fd6c46
--- /dev/null
+++ b/linux-acl/patches/patch-include_buildmacros
@@ -0,0 +1,40 @@
+$NetBSD$
+
+--- include/buildmacros.orig	2013-05-19 04:52:09.000000000 +0000
++++ include/buildmacros
+@@ -66,31 +66,13 @@ endif
+ 
+ ifeq ($(ENABLE_SHARED),yes)
+ INSTALL_LTLIB = \
+-	cd $(TOPDIR)/$(LIBNAME)/.libs; \
+-	../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
+-	../$(INSTALL) -m 644 -T so_dot_version $(LIBNAME).lai $(PKG_LIB_DIR); \
+-	../$(INSTALL) -T so_dot_current $(LIBNAME).lai $(PKG_LIB_DIR)
++	cd $(TOPDIR)/$(LIBNAME); \
++	$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
++	$(LTINSTALL) -m 644 $(LIBNAME).la $(PKG_LIB_DIR)/
+ endif
+ 
+-# Libtool thinks the static and shared libs should be in the same dir, so
+-# make the static lib appear in the place we chose as rpath (using the two
+-# symlinks below).
+-# Other things want the shared libs to appear in /usr/lib, else they'll
+-# link with the static libs there.  So, another symlink to get the .so into
+-# /usr/lib.
+ ifeq ($(ENABLE_SHARED),yes)
+-INSTALL_LTLIB_DEV = \
+-	cd $(TOPDIR)/$(LIBNAME)/.libs; \
+-	../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); \
+-	../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_DEVLIB_DIR); \
+-	../$(INSTALL) -m 644 $(LIBNAME).lai $(PKG_DEVLIB_DIR)/$(LIBNAME).la ; \
+-	../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
+-	../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \
+-	if test "x$(PKG_DEVLIB_DIR)" != "x$(PKG_LIB_DIR)" ; then \
+-	../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \
+-	../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \
+-	../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \
+-	fi
++INSTALL_LTLIB_DEV = $(INSTALL_LTLIB)
+ else
+ INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC)
+ endif


Home | Main Index | Thread Index | Old Index