pkgsrc-WIP-changes archive

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

Update attr to 2.4.47.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Sat Nov 25 21:16:26 2017 +0100
Changeset:	775037c1dc538c0a441a58b3bd16a7028593854c

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

Log Message:
Update attr to 2.4.47.

(LOL, they stopped updating the changelog three versions ago.)

attr-2.4.44
	- 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

attr-2.4.43 (20 June 2008)
	- Added configurable attr exception list for xattr copy, thanks to
	  Andreas Gruenbacher.

attr-2.4.42 (14 April 2008)
	- Add Czech translation (thanks to Petr Pisar).

attr-2.4.41 (4 December 2007)
	- A number of changes from Andreas Gruenbacher:
	    - remove outdated doc/ea-conv
	    - fix issues for tree walking with file descriptors
		- fd duplicates and running out

attr-2.4.40 (21 November 2007)
	- Address compilation warning about signedness in libattr.c
	- A number of changes from Andreas Gruenbacher:
	    - 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.
	    - Add a test case for tree walking.
	    - For some reason, test/attr.test broke.

attr-2.4.39 (11 September 2007)
	- Fix symlink handling with getfattr, thanks to Utako Usaka.

attr-2.4.38 (30 March 2007)
	- Add Spanish and Galician translation
	  (thanks to Antonio Trueba)

attr-2.4.37 (23 January 2007)
	- Fix cross-compile issues. Thanks to Diego 'Flameeyes' Petteno

attr-2.4.36 (19 December 2006)
	- Reinstate xattr syscall entry points (these symbols are
	  explicitly exported from the library - d'oh!).
	- Fix the original ARM EABI issue a different way, thanks
	  to Lennert Buytenhek.

attr-2.4.35 (8 December 2006)
	- Remove system call stubs from libattr, we always defer to
	  the libc interfaces in this day and age.  Removes a SIGILL
	  delivery from the ARM EABI, reported by Lennert Buytenhek.

attr-2.4.34 (14 July 2006)
	- Fix issues with makedepend on libtool libraries.

attr-2.4.33 (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=775037c1dc538c0a441a58b3bd16a7028593854c

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

diffstat:
 linux-attr/Makefile                           | 31 ++++++---------------
 linux-attr/PLIST                              | 40 ++++-----------------------
 linux-attr/distinfo                           |  9 ++++--
 linux-attr/patches/patch-include_builddefs.in | 27 ++++++++++++++++++
 linux-attr/patches/patch-include_buildmacros  | 18 ++++++++++++
 5 files changed, 65 insertions(+), 60 deletions(-)

diffs:
diff --git a/linux-attr/Makefile b/linux-attr/Makefile
index 6adaeac691..fe871ff3fa 100644
--- a/linux-attr/Makefile
+++ b/linux-attr/Makefile
@@ -1,37 +1,22 @@
 # $NetBSD: Makefile,v 1.3 2012/10/03 09:10:41 asau Exp $
 #
 
-DISTNAME=		attr_2.4.32-1
-PKGNAME=	linux-attr-2.4.32.1
+DISTNAME=		attr-2.4.47.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/attr/
 
 MAINTAINER=		pkgsrc%blackmouse.biz@localhost
-HOMEPAGE=		http://acl.bestbits.at/
+HOMEPAGE=		https://savannah.nongnu.org/projects/attr
 COMMENT=		The extended attribute package for acl
 
 # 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}/attr-2.4.32
-
-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/libattr.so.* ${PREFIX}/libexec
+USE_TOOLS=		gmake
+BUILD_TARGET=		default
+INSTALL_TARGET=		install install-lib # prefix=${DESTDIR}${PREFIX}
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/linux-attr/PLIST b/linux-attr/PLIST
index 916cee6a08..76805781b2 100644
--- a/linux-attr/PLIST
+++ b/linux-attr/PLIST
@@ -1,50 +1,22 @@
-@comment $NetBSD: PLIST,v 1.2 2009/10/11 10:44:55 thomasklausner Exp $
+@comment $NetBSD$
 bin/attr
 bin/getfattr
 bin/setfattr
-include/attr/attributes.h
-include/attr/error_context.h
-include/attr/libattr.h
-include/attr/xattr.h
-libexec/libattr.la
-lib/libattr.a
 lib/libattr.la
-lib/libattr.so
-lib/libattr.so.1
-lib/libattr.so.1.1.0
 man/man1/attr.1
 man/man1/getfattr.1
 man/man1/setfattr.1
-man/man2/fgetxattr.2
-man/man2/flistxattr.2
-man/man2/fremovexattr.2
-man/man2/fsetxattr.2
-man/man2/getxattr.2
-man/man2/lgetxattr.2
-man/man2/listxattr.2
-man/man2/llistxattr.2
-man/man2/lremovexattr.2
-man/man2/lsetxattr.2
-man/man2/removexattr.2
-man/man2/setxattr.2
-man/man3/attr_getf.3
-man/man3/attr_listf.3
-man/man3/attr_list.3
-man/man3/attr_multif.3
-man/man3/attr_multi.3
-man/man3/attr_removef.3
-man/man3/attr_remove.3
-man/man3/attr_setf.3
-man/man3/curs_attr.3
 man/man5/attr.5
-share/doc/attr/COPYING
-share/doc/attr/ea-conv/ea-conv
-share/doc/attr/ea-conv/README
 share/doc/attr/CHANGES.gz
+share/doc/attr/COPYING
+share/doc/attr/COPYING.LGPL
 share/doc/attr/PORTING
 share/doc/attr/README
+share/locale/cs/LC_MESSAGES/attr.mo
 share/locale/de/LC_MESSAGES/attr.mo
+share/locale/es/LC_MESSAGES/attr.mo
 share/locale/fr/LC_MESSAGES/attr.mo
+share/locale/gl/LC_MESSAGES/attr.mo
 share/locale/nl/LC_MESSAGES/attr.mo
 share/locale/pl/LC_MESSAGES/attr.mo
 share/locale/sv/LC_MESSAGES/attr.mo
diff --git a/linux-attr/distinfo b/linux-attr/distinfo
index 5238df7fab..f20913f8f0 100644
--- a/linux-attr/distinfo
+++ b/linux-attr/distinfo
@@ -1,5 +1,8 @@
 $NetBSD: distinfo,v 1.1.1.1 2006/08/09 23:05:03 ondratu Exp $
 
-SHA1 (attr_2.4.32-1.tar.gz) = 416f3ce20531d3fbff40a8401487d66db4f7c194
-RMD160 (attr_2.4.32-1.tar.gz) = b1e8c3f845bdf75106d61ca8e2bb9aa6c9690af5
-Size (attr_2.4.32-1.tar.gz) = 80646 bytes
+SHA1 (attr-2.4.47.src.tar.gz) = 5060f0062baee6439f41a433325b8b3671f8d2d8
+RMD160 (attr-2.4.47.src.tar.gz) = 20ef479c6c2905b84eac22f5c97a729945ee0c16
+SHA512 (attr-2.4.47.src.tar.gz) = 2a333f63655758298650cf8f89c175efdc0112dcc4013e8d023e2a9a69f177e4bcb1f1d10b6666d6f2027dca4dec0833d54749952ab153d28367e1a72e6e2831
+Size (attr-2.4.47.src.tar.gz) = 343692 bytes
+SHA1 (patch-include_builddefs.in) = ac97f79e1226f24769006bcf6e96457796ef177e
+SHA1 (patch-include_buildmacros) = d8791a0a261fe49139bcd8008be39868a5c73ee4
diff --git a/linux-attr/patches/patch-include_builddefs.in b/linux-attr/patches/patch-include_builddefs.in
new file mode 100644
index 0000000000..e51e984f10
--- /dev/null
+++ b/linux-attr/patches/patch-include_builddefs.in
@@ -0,0 +1,27 @@
+$NetBSD$
+
+--- include/builddefs.in.orig	2013-05-19 04:53:54.000000000 +0000
++++ include/builddefs.in
+@@ -40,14 +40,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	= @libdir@@libdirsuffix@
+-PKG_INC_DIR	= @includedir@/attr
+-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)@libdir@@libdirsuffix@
++PKG_INC_DIR	= $(DESTDIR)@includedir@/attr
++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-attr/patches/patch-include_buildmacros b/linux-attr/patches/patch-include_buildmacros
new file mode 100644
index 0000000000..6efd586491
--- /dev/null
+++ b/linux-attr/patches/patch-include_buildmacros
@@ -0,0 +1,18 @@
+$NetBSD$
+
+--- include/buildmacros.orig	2013-05-19 05:07:22.000000000 +0000
++++ include/buildmacros
+@@ -66,10 +66,9 @@ 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) $(LIBNAME).la $(PKG_LIB_DIR)
+ endif
+ 
+ # Libtool thinks the static and shared libs should be in the same dir, so


Home | Main Index | Thread Index | Old Index