Your message dated Tue, 07 Feb 2006 10:17:12 -0800 with message-id <[EMAIL PROTECTED]> and subject line Bug#348961: fixed in libselinux 1.28-4 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message --->From [EMAIL PROTECTED] Thu Jan 19 19:56:48 2006 Received: (at submit) by bugs.debian.org; 20 Jan 2006 03:56:48 +0000 Return-path: <[EMAIL PROTECTED]> Received: from [62.57.227.237] (helo=pulsar.hadrons.org) by spohr.debian.org with esmtp (Exim 4.50) id 1EznOK-0002fi-6o for [EMAIL PROTECTED]; Thu, 19 Jan 2006 19:56:48 -0800 Received: from guillem by pulsar.hadrons.org with local (Exim 4.50) id 1EznR7-0006as-KD for [EMAIL PROTECTED]; Fri, 20 Jan 2006 04:59:41 +0100 Date: Fri, 20 Jan 2006 05:57:09 +0200 From: Guillem Jover <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: libselinux: please include a pkg-config file Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline User-Agent: Mutt/1.5.11 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE, RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02 --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Package: libselinux Version: 1.28-2 Severity: wishlist Tags: patch Hi, Following the patch on libsepol, I'm filing this one, similar in request (please read #348947 for more details). Patch attached. In this case I added a Depends to libsepol1-dev in libselinux1-dev, so that packages that want to link statically can do so without having to explicitely list all transitive development packages, and used the supposed to be next version where the .pc file will be included (correct apropriately otherwise). A package just Build-Depending on libselinux1-dev could use pkg-config to get the proper linker flags (either dynamic or static) from both packages. I've not changed the upstream Makefiles to use pkg-config to get the flags from libsepol, though. If you think that's worthwhile I can prepare a new patch. thanks, guillem --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="selinux_pc.patch" diff -Naur libselinux-1.28.orig/debian/control libselinux-1.28/debian/control --- libselinux-1.28.orig/debian/control 2006-01-20 01:33:14.000000000 +0200 +++ libselinux-1.28/debian/control 2006-01-20 03:59:02.000000000 +0200 @@ -42,7 +42,7 @@ Package: libselinux1-dev Architecture: any -Depends: ${shlibs:Depends}, libselinux1 (= ${Source-Version}) +Depends: ${shlibs:Depends}, libselinux1 (= ${Source-Version}), libsepol1-dev (>= 1.10-2) Section: libdevel Provides: libselinux-dev Conflicts: libselinux-dev diff -Naur libselinux-1.28.orig/debian/local.mk libselinux-1.28/debian/local.mk --- libselinux-1.28.orig/debian/local.mk 2006-01-20 01:33:14.000000000 +0200 +++ libselinux-1.28/debian/local.mk 2006-01-20 04:26:00.000000000 +0200 @@ -129,6 +129,7 @@ $(make_directory) $(LIBDIR) $(MAKE) DESTDIR=$(TMPTOP) -C src install rm -fr $(LIBDIR) + rm -fr $(TMPTOP)/usr/lib/pkgconfig rm -f $(TMPTOP)/usr/lib/libselinux.so rm -f $(TMPTOP)/usr/lib/libselinux.a chmod 0644 $(TMPTOP)/usr/lib/python2.4/site-packages/_selinux.so diff -Naur libselinux-1.28.orig/src/libselinux.pc.in libselinux-1.28/src/libselinux.pc.in --- libselinux-1.28.orig/src/libselinux.pc.in 1970-01-01 02:00:00.000000000 +0200 +++ libselinux-1.28/src/libselinux.pc.in 2006-01-20 03:55:48.000000000 +0200 @@ -0,0 +1,12 @@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ + +Name: libselinux +Description: Security Enhanced Linux library +Version: @VERSION@ +URL: http://www.nsa.gov/selinux/ +Requires.private: libsepol >= 1.10 +Libs: -L${libdir} -lselinux +Cflags: -I${includedir} + diff -Naur libselinux-1.28.orig/src/Makefile libselinux-1.28/src/Makefile --- libselinux-1.28.orig/src/Makefile 2005-11-29 17:05:36.000000000 +0200 +++ libselinux-1.28/src/Makefile 2006-01-20 03:55:48.000000000 +0200 @@ -1,5 +1,5 @@ # Installation directories. -PREFIX ?= $(DESTDIR)/usr +PREFIX ?= /usr LIBDIR ?= $(PREFIX)/lib SHLIBDIR ?= $(DESTDIR)/lib INCLUDEDIR ?= $(PREFIX)/include @@ -9,9 +9,11 @@ PYTHONLIBDIR ?= $(LIBDIR)/$(PYLIBVER) LIBVERSION = 1 +VERSION = $(shell cat ../VERSION) LIBA=libselinux.a TARGET=libselinux.so +LIBPC=libselinux.pc SWIGIF= selinuxswig.i SWIGCOUT= selinuxswig_wrap.c SWIGLOBJ:= $(patsubst %.c,%.lo,$(SWIGCOUT)) @@ -26,7 +28,7 @@ SWIG = swig -Wall -python -o $(SWIGCOUT) -outdir ./ -all: $(LIBA) $(LIBSO) $(SWIGSO) +all: $(LIBA) $(LIBSO) $(LIBPC) $(SWIGSO) $(LIBA): $(OBJS) $(AR) rcs $@ $^ @@ -42,6 +44,9 @@ $(CC) $(LDFLAGS) -shared -o $@ $^ -ldl -lsepol -L$(LIBDIR) -Wl,-soname,$(LIBSO),-z,defs ln -sf $@ $(TARGET) +$(LIBPC): $(LIBPC).in + sed -e 's/@VERSION@/$(VERSION)/; s:@prefix@:$(PREFIX):; s:@libdir@:$(LIBDIR):; s:@includedir@:$(INCLUDEDIR):' < $< > $@ + %.o: %.c policy.h $(CC) $(CFLAGS) -c -o $@ $< @@ -55,19 +60,21 @@ $(SWIG) $^ install: all install-pywrap - test -d $(LIBDIR) || install -m 755 -d $(LIBDIR) - install -m 644 $(LIBA) $(LIBDIR) + test -d $(DESTDIR)$(LIBDIR) || install -m 755 -d $(DESTDIR)$(LIBDIR) + install -m 644 $(LIBA) $(DESTDIR)$(LIBDIR) + test -d $(DESTDIR)$(LIBDIR)/pkgconfig || install -m 755 -d $(DESTDIR)$(LIBDIR)/pkgconfig + install -m 644 $(LIBPC) $(DESTDIR)$(LIBDIR)/pkgconfig test -d $(SHLIBDIR) || install -m 755 -d $(SHLIBDIR) install -m 755 $(LIBSO) $(SHLIBDIR) - cd $(LIBDIR) && ln -sf ../../`basename $(SHLIBDIR)`/$(LIBSO) $(TARGET) + cd $(DESTDIR)$(LIBDIR) && ln -sf ../../`basename $(SHLIBDIR)`/$(LIBSO) $(TARGET) install-pywrap: - test -d $(PYTHONLIBDIR)/site-packages || install -m 755 -d $(PYTHONLIBDIR)/site-packages - install -m 755 $(SWIGFILES) $(PYTHONLIBDIR)/site-packages + test -d $(DESTDIR)$(PYTHONLIBDIR)/site-packages || install -m 755 -d $(DESTDIR)$(PYTHONLIBDIR)/site-packages + install -m 755 $(SWIGFILES) $(DESTDIR)$(PYTHONLIBDIR)/site-packages relabel: /sbin/restorecon $(SHLIBDIR)/$(LIBSO) clean: - -rm -f $(OBJS) $(LOBJS) $(LIBA) $(LIBSO) $(SWIGLOBJ) $(SWIGSO) $(TARGET) + -rm -f $(OBJS) $(LOBJS) $(LIBA) $(LIBSO) $(SWIGLOBJ) $(SWIGSO) $(TARGET) $(LIBPC) --sm4nu43k4a2Rpi4c--
--- End Message ---
--- Begin Message --->From [EMAIL PROTECTED] Tue Feb 07 10:20:33 2006 Received: (at 348961-close) by bugs.debian.org; 7 Feb 2006 18:20:33 +0000 Return-path: <[EMAIL PROTECTED]> Received: from katie by spohr.debian.org with local (Exim 4.50) id 1F6XOq-0006Rf-KJ; Tue, 07 Feb 2006 10:17:12 -0800 From: Manoj Srivastava <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: $Revision: 1.65 $ Subject: Bug#348961: fixed in libselinux 1.28-4 Message-Id: <[EMAIL PROTECTED]> Sender: Archive Administrator <[EMAIL PROTECTED]> Date: Tue, 07 Feb 2006 10:17:12 -0800 X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 Source: libselinux Source-Version: 1.28-4 We believe that the bug you reported is fixed in the latest version of libselinux, which is due to be installed in the Debian FTP archive: libselinux1-dev_1.28-4_i386.deb to pool/main/libs/libselinux/libselinux1-dev_1.28-4_i386.deb libselinux1_1.28-4_i386.deb to pool/main/libs/libselinux/libselinux1_1.28-4_i386.deb libselinux_1.28-4.diff.gz to pool/main/libs/libselinux/libselinux_1.28-4.diff.gz libselinux_1.28-4.dsc to pool/main/libs/libselinux/libselinux_1.28-4.dsc python2.4-selinux_1.28-4_i386.deb to pool/main/libs/libselinux/python2.4-selinux_1.28-4_i386.deb selinux-utils_1.28-4_i386.deb to pool/main/libs/libselinux/selinux-utils_1.28-4_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Manoj Srivastava <[EMAIL PROTECTED]> (supplier of updated libselinux package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Tue, 7 Feb 2006 11:32:21 -0600 Source: libselinux Binary: python2.4-selinux libselinux1-dev selinux-utils libselinux1 Architecture: source i386 Version: 1.28-4 Distribution: unstable Urgency: low Maintainer: Manoj Srivastava <[EMAIL PROTECTED]> Changed-By: Manoj Srivastava <[EMAIL PROTECTED]> Description: libselinux1 - SELinux shared libraries libselinux1-dev - SELinux development headers python2.4-selinux - Python2.4 bindings to SELinux shared libraries selinux-utils - SELinux utility programs Closes: 348961 Changes: libselinux (1.28-4) unstable; urgency=low . * Bug fix: "libselinux: please include a pkg-config file", thanks to Guillem Jover. Really include it this time. (Closes: #348961). Files: 99e5b32dac95d53520dceefa925c3a53 654 libs optional libselinux_1.28-4.dsc bada22248a07b4652a011218dad62067 46661 libs optional libselinux_1.28-4.diff.gz e20ab26abd07f58758ccf5165781dc02 37010 admin optional selinux-utils_1.28-4_i386.deb 25f4f0d5a5d6572edeed3b0a2fa3f196 52620 libs required libselinux1_1.28-4_i386.deb 9876ed7b4bfbc9e8034b87bd667148c8 185182 libdevel optional libselinux1-dev_1.28-4_i386.deb c3ee52d4d14ce482c064ea5084021951 29110 devel optional python2.4-selinux_1.28-4_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD6OJIIbrau78kQkwRAq6lAKD0JEtLmAY3X0SKG5k8Ua9v45FdoACfR8VK B2FFW9PN/I8CQJoEyUtISmo= =KtPX -----END PGP SIGNATURE-----
--- End Message ---

