aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--initscripts.spec5
-rw-r--r--src/Makefile4
2 files changed, 7 insertions, 2 deletions
diff --git a/initscripts.spec b/initscripts.spec
index fa2bb99e..eab8db80 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -1,6 +1,6 @@
Summary: The inittab file and the /etc/init.d scripts.
Name: initscripts
-Version: 7.53
+Version: 7.54
License: GPL
Group: System Environment/Base
Release: 1
@@ -249,6 +249,9 @@ rm -rf $RPM_BUILD_ROOT
%ghost %attr(0664,root,utmp) /var/run/utmp
%changelog
+* Thu May 13 2004 Than Ngo <than@redhat.com> 7.54-1
+- add patch to enable PIE build of usernetctl
+
* Fri May 7 2004 Jeremy Katz <katzj@redhat.com> - 7.53-1
- little lvm tweak (#121963)
diff --git a/src/Makefile b/src/Makefile
index 1c155765..7c1b87fa 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -62,9 +62,11 @@ usleep: $(USLEEP_OBJS)
ppp-watch: $(PPPWATCH_OBJS)
$(CC) $(LDFLAGS) -o $@ $(PPPWATCH_OBJS) -Wl,-Bstatic `pkg-config glib-2.0 --libs` -Wl,-Bdynamic
+usernetctl: usernetctl.o
+ $(CC) $(LDFLAGS) -o $@ $< -pie
+
shvar.o: shvar.c
$(CC) $(CFLAGS) `pkg-config glib-2.0 --cflags` -c shvar.c -o shvar.o
ppp-watch.o: ppp-watch.c
$(CC) $(CFLAGS) `pkg-config glib-2.0 --cflags` -c ppp-watch.c -o ppp-watch.o
-