Show
Ignore:
Timestamp:
06/09/09 10:07:55 (3 years ago)
Author:
Neutron Soutmun <neo.neutron@…>
Children:
7751a641e2a294d986b002dd01264b7d068258a2
Parents:
927d0c70c763dcf56e6f12ebe02a51688468a5c3
git-committer:
Neutron Soutmun <neo.neutron@…> (06/09/09 10:07:55)
Message:

Adjust build system config and install files

  • Adjust build system config to install the files to appropriate paths.
  • The MAINTAINERCLEANFILES was added.
  • Now rahunas.db installed into the default directory /var/lib/rahunas.
  • RahuNAS daemon executable file (rahunasd) now installed into /usr/sbin.
  • Tool scripts now installed into the /usr/sbin and their names change to satisfy the debian policy.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Makefile.am

    rebf1b31 rbae014d  
    1 SUBDIRS = include/linux/netfilter_ipv4 
     1MAINTAINERCLEANFILES = Makefile.in 
    22 
    3 bin_PROGRAMS = rahunasd 
     3sbin_PROGRAMS = rahunasd 
    44 
    55IPSET_VERSION:=2.3.3 
    66 
    77AM_CFLAGS = \ 
    8         $(LIBGNET_CFLAGS) \ 
    9         $(LIBGDA_CFLAGS) \ 
    10         -I$(top_builddir)/src/include/ \ 
    11         -DRAHUNAS_VERSION=\"$(RAHUNAS_VERSION)\" \ 
    12         -DPROGRAM=\"$(PROGRAM)\" \ 
    13         -DIPSET_VERSION=\"$(IPSET_VERSION)\" \ 
    14         -DRAHUNAS_CONF_DIR=\"$(sysconfdir)/rahunas/\" \ 
     8  $(LIBGNET_CFLAGS) \ 
     9  $(LIBGDA_CFLAGS) \ 
     10  -I$(top_builddir)/src/include/ \ 
     11  -DRAHUNAS_VERSION=\"$(RAHUNAS_VERSION)\" \ 
     12  -DPROGRAM=\"$(PROGRAM)\" \ 
     13  -DIPSET_VERSION=\"$(IPSET_VERSION)\" \ 
     14  -DRAHUNAS_CONF_DIR=\"$(sysconfdir)/rahunas/\" \ 
     15  -DRAHUNAS_DB_DIR=\"$(localstatedir)/lib/rahunas/\" \ 
    1516  -DRAHUNAS_LOG_DIR=\"$(localstatedir)/log/rahunas/\" \ 
    16   -DRAHUNAS_RUN_DIR=\"$(localstatedir)/run/\" 
     17  -DRAHUNAS_RUN_DIR=\"$(localstatedir)/run/\" \ 
     18  -DRAHUNAS_FIREWALL_WRAPPER=\"$(sbindir)/rahunas-firewall\" \ 
     19  -DRAHUNAS_BANDWIDTH_WRAPPER=\"$(sbindir)/rahunas-bandwidth\" 
    1720 
    1821rahunasd_SOURCES = \ 
    19         rahunasd.c \ 
    20         rahunasd.h \ 
    21         rh-server.c \ 
    22         rh-server.h \ 
    23         rh-xmlrpc-server.c \ 
    24         rh-xmlrpc-server.h \ 
    25         rh-xmlrpc-cmd.c \ 
    26         rh-xmlrpc-cmd.h \ 
     22  rahunasd.c \ 
     23  rahunasd.h \ 
     24  rh-server.c \ 
     25  rh-server.h \ 
     26  rh-xmlrpc-server.c \ 
     27  rh-xmlrpc-server.h \ 
     28  rh-xmlrpc-cmd.c \ 
     29  rh-xmlrpc-cmd.h \ 
    2730  rh-ipset.c \ 
    28         rh-ipset.h \ 
    29         rh-utils.c \ 
    30         rh-utils.h \ 
    31         rh-task.c \ 
    32         rh-task.h \ 
    33         rh-task-iptables.c \ 
    34         rh-task-iptables.h \ 
    35         rh-task-memset.c \ 
    36         rh-task-memset.h \ 
    37         rh-task-ipset.c \ 
    38         rh-task-ipset.h \ 
    39         rh-task-dbset.c \ 
    40         rh-task-dbset.h \ 
     31  rh-ipset.h \ 
     32  rh-utils.c \ 
     33  rh-utils.h \ 
     34  rh-task.c \ 
     35  rh-task.h \ 
     36  rh-task-iptables.c \ 
     37  rh-task-iptables.h \ 
     38  rh-task-memset.c \ 
     39  rh-task-memset.h \ 
     40  rh-task-ipset.c \ 
     41  rh-task-ipset.h \ 
     42  rh-task-dbset.c \ 
     43  rh-task-dbset.h \ 
    4144  rh-task-bandwidth.c \ 
    4245  rh-task-bandwidth.h \ 
    4346  rh-radius.h \ 
    4447  rh-config.c \ 
    45         rh-config.h 
     48  rh-config.h 
    4649 
    4750rahunasd_LDADD =  \ 
    48         $(top_builddir)/xmlrpc/libgnetxmlrpc.a \ 
     51  $(top_builddir)/xmlrpc/libgnetxmlrpc.a \ 
    4952  $(top_builddir)/lcfg/liblcfg.a \ 
    50         $(LIBGNET_LIBS) \ 
    51         $(LIBGDA_LIBS) 
     53  $(LIBGNET_LIBS) \ 
     54  $(LIBGDA_LIBS) 
     55 
     56noinst_HEADERS = \ 
     57  include/linux/netfilter_ipv4/ip_set.h \ 
     58  include/linux/netfilter_ipv4/ip_set_rahunas.h 
     59