adding AlternC-API package to the system
This commit is contained in:
parent
e98e95fd42
commit
7794023804
3
Makefile
3
Makefile
|
@ -93,3 +93,6 @@ install-squirrelmail:
|
|||
install-upnp:
|
||||
make -C upnp install DESTDIR=$(DESTDIR)
|
||||
|
||||
install-api:
|
||||
make -C api install DESTDIR=$(DESTDIR)
|
||||
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
# ----------------------------------------------------------------------
|
||||
# LICENSE
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License (GPL)
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# To read the license please visit http://www.gnu.org/copyleft/gpl.html
|
||||
# ----------------------------------------------------------------------
|
||||
# Purpose of file: Install the files of alternc-api package
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
install:
|
||||
install -m 0644 -g root -o root api.conf $(DESTDIR)/etc/alternc/apache-panel.d
|
||||
install -m 0644 api.sql $(DESTDIR)/usr/share/alternc/
|
||||
install -m 0644 -g 1999 -o root panel/* $(DESTDIR)/usr/share/alternc/panel/admin/api/
|
||||
install -m 0644 ../lib/Alternc/Api/* $(DESTDIR)/usr/share/php/Alternc/Api/
|
||||
install -m 0644 ../lib/Alternc/Api/Auth/* $(DESTDIR)/usr/share/php/Alternc/Api/Auth/
|
||||
|
|
@ -2,8 +2,9 @@ alternc (3.3~rc1) stable; urgency=low
|
|||
|
||||
* unofficial Prerelease of AlternC 3.3
|
||||
* update_domaines now in PHP and using classes and hooks instead of BASH
|
||||
* AlternC-API package is now included. Compatibile with alternc >= 3.0
|
||||
|
||||
-- Benjamin Sonntag <benjamin@sonntag.fr> Thu, 26 Jun 2014 15:13:00 +0200
|
||||
-- Benjamin Sonntag <benjamin@sonntag.fr> Thu, 20 Sep 2014 18:13:00 +0200
|
||||
|
||||
alternc (3.2.1) stable; urgency=low
|
||||
|
||||
|
|
|
@ -311,3 +311,22 @@ Description-fr.UTF-8: Client UPnP pour AlternC
|
|||
.
|
||||
Pour plus d'informations, consultez http://www.alternc.com/
|
||||
|
||||
Package: alternc-api
|
||||
Architecture: all
|
||||
Pre-depends: debconf (>= 0.5.00) | debconf-2.0
|
||||
Depends: debianutils (>= 1.13.1)
|
||||
, alternc (>= 3.0)
|
||||
, ${misc:Depends}
|
||||
Conflicts: alternc (<< 3.0)
|
||||
Description: Rest or get/post API for AlternC
|
||||
AlternC is a mutualized hosting software manager for Linux.
|
||||
It allows you to manage your websites, domains, ftp, emails, aliases,
|
||||
web statistics, mailing-lists, jabber accounts, etc.
|
||||
.
|
||||
This extension to AlternC is installing and configuring properly the
|
||||
GET/POST/REST API. You can then use https://yourpanel/api/ as an endpoint
|
||||
to launch remotely any functions of the hosting control panel.
|
||||
.
|
||||
More information at http://www.alternc.com/
|
||||
Homepage: http://www.alternc.com/
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ override_dh_install:
|
|||
$(MAKE) install-upnp DESTDIR=$(CURDIR)/debian/alternc-upnp
|
||||
$(MAKE) install-awstats DESTDIR=$(CURDIR)/debian/alternc-awstats
|
||||
$(MAKE) install-slave DESTDIR=$(CURDIR)/debian/alternc-slave
|
||||
$(MAKE) install-api DESTDIR=$(CURDIR)/debian/alternc-api
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
|
Loading…
Reference in New Issue