@@ -1,14 +1,16 @@
---- makefile.orig 2011-06-19 19:15:22.175119843 +0200
-+++ makefile 2011-06-19 19:16:23.010902469 +0200
-@@ -92,22 +92,22 @@
+--- makefile.orig 2011-11-22 16:16:37.000000000 +0100
++++ makefile 2011-11-22 22:10:46.840632607 +0100
+@@ -100,24 +100,24 @@
$(CC) $(CFLAGS) $(DEFINES) -o $@ $^ $(LIBS)
install: ipclassify
- $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)/usr/bin
- $(INSTALL) -o root -g root -m 755 ipclassify $(DESTDIR)/usr/bin/ipclassify
- $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)/var/spool/ipclassify
-- $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)/etc/rc.d/init.d
-- ${INSTALL} -o root -g root -m 755 ipclassify.startup $(DESTDIR)/etc/rc.d/init.d/ipclassify
+- $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)/lib/systemd/system
+- ${INSTALL} -o root -g root -m 644 ipclassify.service $(DESTDIR)/lib/systemd/system/ipclassify.service
+- $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)/etc/sysconfig
+- ${INSTALL} -o root -g root -m 644 ipclassify.sysconfig $(DESTDIR)/etc/sysconfig/ipclassify
- ${INSTALL} -o root -g root -m 644 ipclassify.conf $(DESTDIR)/etc/ipclassify.conf
- $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)/etc/logrotate.d
- ${INSTALL} -o root -g root -m 644 ipclassify.logrotate $(DESTDIR)/etc/logrotate.d/ipclassify
@@ -23,8 +25,10 @@
+ $(INSTALL) -d -m 755 $(DESTDIR)/usr/bin
+ $(INSTALL) -m 755 ipclassify $(DESTDIR)/usr/bin/ipclassify
+ $(INSTALL) -d -m 755 $(DESTDIR)/var/spool/ipclassify
-+ $(INSTALL) -d -m 755 $(DESTDIR)/etc/rc.d/init.d
-+ ${INSTALL} -m 755 ipclassify.startup $(DESTDIR)/etc/rc.d/init.d/ipclassify
++ $(INSTALL) -d -m 755 $(DESTDIR)/lib/systemd/system
++ ${INSTALL} -m 644 ipclassify.service $(DESTDIR)/lib/systemd/system/ipclassify.service
++ $(INSTALL) -d -m 755 $(DESTDIR)/etc/sysconfig
++ ${INSTALL} -m 644 ipclassify.sysconfig $(DESTDIR)/etc/sysconfig/ipclassify
+ ${INSTALL} -m 644 ipclassify.conf $(DESTDIR)/etc/ipclassify.conf
+ $(INSTALL) -d -m 755 $(DESTDIR)/etc/logrotate.d
+ ${INSTALL} -m 644 ipclassify.logrotate $(DESTDIR)/etc/logrotate.d/ipclassify
@@ -38,4 +42,4 @@
+ ${INSTALL} -m 644 ipclassify.8 $(DESTDIR)/usr/share/man/man8/ipclassify.8
tarfile:
- -\rm -f ipclassify-1.0.tar
+ -\rm -f ipclassify-${VERSION}.tar
|