Skip to contentSkip to conversation

Not sure if I sent this one out with the others but since it has not been updated yet...

PATCH Daniel J Walsh 2 participants 5 messages Mar 12, 2010 – Mar 19, 2010 SELinux security module

lore
Share & tools
lore
#0 lore raw

Fixes libsepol.pc file.

Only in libsepol-2.0.41: #ChangeLog#

src/libsepol.pc.in +1 -1
diff -u -r nsalibsepol/src/libsepol.pc.in libsepol-2.0.41/src/libsepol.pc.in
@@ -1,6 +1,6 @@
 prefix=@prefix@
 exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/@libdir@
 includedir=@includedir@
 
 Name: libsepol

Only in libsepol-2.0.41/src: libsepol.pc.in~

src/Makefile +2 -1
diff -u -r nsalibsepol/src/Makefile libsepol-2.0.41/src/Makefile
@@ -3,6 +3,7 @@
 INCLUDEDIR ?= $(PREFIX)/include
 LIBDIR ?= $(PREFIX)/lib
 SHLIBDIR ?= $(DESTDIR)/lib
+LIBBASE=$(shell basename $(LIBDIR))
 
 VERSION = $(shell cat ../VERSION)
 LIBVERSION = 1
@@ -27,7 +28,7 @@
 	ln -sf $@ $(TARGET) 
 
 $(LIBPC): $(LIBPC).in
-	sed -e 's/@VERSION@/$(VERSION)/; s:@prefix@:$(PREFIX):; s:@libdir@:$(LIBDIR):; s:@includedir@:$(INCLUDEDIR):' < $< > $@
+	sed -e 's/@VERSION@/$(VERSION)/; s:@prefix@:$(PREFIX):; s:@libdir@:$(LIBBASE):; s:@includedir@:$(INCLUDEDIR):' < $< > $@
 
 %.o:  %.c 
 	$(CC) $(CFLAGS) -fPIC -c -o $@ $<
#1 lore raw
Quoted 1 line · Daniel J Walsh

Fixes libsepol.pc file.

This looks like it was merged in commit 7420787817c4949276d7947202b49d78eba37c13 along with the libselinux and libsemanage pc.in changes. I didn't bump the version though, since it wasn't a code change.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#2 lore raw
Quoted 11 lines · Joshua Brindle
Quoted 1 line · Daniel J Walsh

Fixes libsepol.pc file.

This looks like it was merged in commit 7420787817c4949276d7947202b49d78eba37c13 along with the libselinux and libsemanage pc.in changes. I didn't bump the version though, since it wasn't a code change.

Signature · 3 lines
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.

Why? Are we running out of integers? I can not update with out a version change.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#3 lore raw
Quoted 9 lines · Daniel J Walsh
Quoted 8 lines · Joshua Brindle
Quoted 1 line · Daniel J Walsh

Fixes libsepol.pc file.

This looks like it was merged in commit 7420787817c4949276d7947202b49d78eba37c13 along with the libselinux and libsemanage pc.in changes. I didn't bump the version though, since it wasn't a code change.

Quoted 5 lines
Quoted 2 lines

--

Why? Are we running out of integers? I can not update with out a version change.

We never really made a firm determination of what constitutes a version bump, in the past I've used the does-it-change-the-code metric, so man pages, Makefile changes, etc didn't get a bump.

If it is a problem I can do it anytime there is a change.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#4 lore raw
Quoted 12 lines · Joshua Brindle
Quoted 11 lines · Daniel J Walsh
Quoted 10 lines · Joshua Brindle
Quoted 1 line · Daniel J Walsh

Fixes libsepol.pc file.

This looks like it was merged in commit 7420787817c4949276d7947202b49d78eba37c13 along with the libselinux and libsemanage pc.in changes. I didn't bump the version though, since it wasn't a code change.

Quoted 14 lines
Quoted 3 lines

Why? Are we running out of integers? I can not update with out a version change.

We never really made a firm determination of what constitutes a version bump, in the past I've used the does-it-change-the-code metric, so man pages, Makefile changes, etc didn't get a bump.

If it is a problem I can do it anytime there is a change.

Signature · 3 lines
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.

I would prefer, if there is a change to git, we bump the version. Since I need to bump in order to release it in distribution. My spec files say they are based on a particular version of upstream.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.