diff --git a/Makefile b/Makefile index b818515..1467fed 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,16 @@ -PREFIX= ALTERNC_BASE_PATH ?= /usr/share/alternc/panel/ +LOCALDIR=$(DESTDIR)$(ALTERNC_BASE_PATH) CSS_IDENTIFIER = "/*** alternc-oneclickinstaller ***/" +C:=$(grep -s "$(CSS_IDENTIFIER) $(LOCALDIR)admin/styles/style-custom.css" 2>&1 > /dev/null; echo $$?) + +build: + +all: + +binary-arch: install: - cp -r src/ $(PREFIX)/$(ALTERNC_BASE_PATH) - C := $(grep -q "$(CSS_IDENTIFIER)" ; echo $$?) - ifneq ($(C), 0) - cat css/style-custom.css >> $(PREFIX)/$(ALTERNC_BASE_PATH)/admin/styles/style-custom.css - endif + install -d $(LOCALDIR) + install -d $(LOCALDIR)admin/styles + cp -r src/* $(LOCALDIR) + cat css/style-custom.css >> $(LOCALDIR)admin/styles/style-custom.css diff --git a/css/style-custom.css b/css/style-custom.css index 1d3885b..2b53d66 100644 --- a/css/style-custom.css +++ b/css/style-custom.css @@ -1,3 +1,5 @@ +/*** alternc-oneclickinstaller ***/ +/* Display iconss next to menu links */ #menu-oci span img { display: block; } diff --git a/debian/README b/debian/README deleted file mode 100644 index 188ac7c..0000000 --- a/debian/README +++ /dev/null @@ -1,6 +0,0 @@ -The Debian Package alternc-oneclickinstallers ----------------------------- - -Comments regarding the Package - - -- Kienan Stewart Sat, 27 Jan 2018 09:48:31 -0500 diff --git a/debian/README.Debian b/debian/README.Debian deleted file mode 100644 index 1697ff8..0000000 --- a/debian/README.Debian +++ /dev/null @@ -1,6 +0,0 @@ -alternc-oneclickinstallers for Debian ------------------------------------- - - - - -- Kienan Stewart Sat, 27 Jan 2018 09:48:31 -0500 diff --git a/debian/README.source b/debian/README.source deleted file mode 100644 index f374713..0000000 --- a/debian/README.source +++ /dev/null @@ -1,10 +0,0 @@ -alternc-oneclickinstallers for Debian ------------------------------------- - - - - - - -- Kienan Stewart Sat, 27 Jan 2018 09:48:31 -0500 - diff --git a/debian/alternc-oneclickinstallers-docs.docs b/debian/alternc-oneclickinstallers-docs.docs deleted file mode 100644 index d6341a0..0000000 --- a/debian/alternc-oneclickinstallers-docs.docs +++ /dev/null @@ -1,3 +0,0 @@ -README.source -README -README.Debian diff --git a/debian/alternc-oneclickinstallers.cron.d.ex b/debian/alternc-oneclickinstallers.cron.d.ex deleted file mode 100644 index 3a1d2da..0000000 --- a/debian/alternc-oneclickinstallers.cron.d.ex +++ /dev/null @@ -1,4 +0,0 @@ -# -# Regular cron jobs for the alternc-oneclickinstallers package -# -0 4 * * * root [ -x /usr/bin/alternc-oneclickinstallers_maintenance ] && /usr/bin/alternc-oneclickinstallers_maintenance diff --git a/debian/alternc-oneclickinstallers.doc-base.EX b/debian/alternc-oneclickinstallers.doc-base.EX deleted file mode 100644 index 5a826c3..0000000 --- a/debian/alternc-oneclickinstallers.doc-base.EX +++ /dev/null @@ -1,20 +0,0 @@ -Document: alternc-oneclickinstallers -Title: Debian alternc-oneclickinstallers Manual -Author: -Abstract: This manual describes what alternc-oneclickinstallers is - and how it can be used to - manage online manuals on Debian systems. -Section: unknown - -Format: debiandoc-sgml -Files: /usr/share/doc/alternc-oneclickinstallers/alternc-oneclickinstallers.sgml.gz - -Format: postscript -Files: /usr/share/doc/alternc-oneclickinstallers/alternc-oneclickinstallers.ps.gz - -Format: text -Files: /usr/share/doc/alternc-oneclickinstallers/alternc-oneclickinstallers.text.gz - -Format: HTML -Index: /usr/share/doc/alternc-oneclickinstallers/html/index.html -Files: /usr/share/doc/alternc-oneclickinstallers/html/*.html diff --git a/debian/alternc-oneclickinstallers.install b/debian/alternc-oneclickinstallers.install deleted file mode 100644 index 7be8a84..0000000 --- a/debian/alternc-oneclickinstallers.install +++ /dev/null @@ -1 +0,0 @@ -src/ /usr/share/alternc/panel/ diff --git a/debian/changelog b/debian/changelog index 931613a..36a9355 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -alternc-oneclickinstallers (1.0.0) unstable; urgency=medium +alternc-oneclickinstallers (0.1.0) unstable; urgency=medium * Initial Release. diff --git a/debian/control b/debian/control index 7716845..15a6bb3 100644 --- a/debian/control +++ b/debian/control @@ -4,12 +4,14 @@ Priority: optional Maintainer: Kienan Stewart Build-Depends: debhelper (>= 10) Standards-Version: 4.1.2 -Homepage: -#Vcs-Git: https://anonscm.debian.org/git/collab-maint/alternc-oneclickinstallers.git -#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/alternc-oneclickinstallers.git +Homepage: https://github.com/kienanstewart/alternc-oneclickinstallers +Vcs-Git: https://github.com/kienanstewart/alternc-oneclickinstallers.git Package: alternc-oneclickinstallers Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: - +Depends: ${shlibs:Depends}, ${misc:Depends}, + alternc +Description: "One-click" installer plugin for AlternC + This plugin adds quick "one-click" installer options to AlternC, + supporting both Drupal and WordPress currently. More applications + can be added by creating new AlternC plugins. diff --git a/debian/copyright b/debian/copyright index d4149d5..0cfb9eb 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,6 +1,6 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: alternc-oneclickinstallers -Source: +Source: https://github.com/kienanstewart/alternc-oneclickinstallers Files: * Copyright: 2018 Kienan Stewart diff --git a/debian/manpage.1.ex b/debian/manpage.1.ex deleted file mode 100644 index 6f0f7a3..0000000 --- a/debian/manpage.1.ex +++ /dev/null @@ -1,56 +0,0 @@ -.\" Hey, EMACS: -*- nroff -*- -.\" (C) Copyright 2018 Kienan Stewart , -.\" -.\" First parameter, NAME, should be all caps -.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection -.\" other parameters are allowed: see man(7), man(1) -.TH Alternc-oneclickinstallers SECTION "January 27 2018" -.\" Please adjust this date whenever revising the manpage. -.\" -.\" Some roff macros, for reference: -.\" .nh disable hyphenation -.\" .hy enable hyphenation -.\" .ad l left justify -.\" .ad b justify to both left and right margins -.\" .nf disable filling -.\" .fi enable filling -.\" .br insert line break -.\" .sp insert n+1 empty lines -.\" for manpage-specific macros, see man(7) -.SH NAME -alternc-oneclickinstallers \- program to do something -.SH SYNOPSIS -.B alternc-oneclickinstallers -.RI [ options ] " files" ... -.br -.B bar -.RI [ options ] " files" ... -.SH DESCRIPTION -This manual page documents briefly the -.B alternc-oneclickinstallers -and -.B bar -commands. -.PP -.\" TeX users may be more comfortable with the \fB\fP and -.\" \fI\fP escape sequences to invode bold face and italics, -.\" respectively. -\fBalternc-oneclickinstallers\fP is a program that... -.SH OPTIONS -These programs follow the usual GNU command line syntax, with long -options starting with two dashes (`-'). -A summary of options is included below. -For a complete description, see the Info files. -.TP -.B \-h, \-\-help -Show summary of options. -.TP -.B \-v, \-\-version -Show version of program. -.SH SEE ALSO -.BR bar (1), -.BR baz (1). -.br -The programs are documented fully by -.IR "The Rise and Fall of a Fooish Bar" , -available via the Info system. diff --git a/debian/manpage.sgml.ex b/debian/manpage.sgml.ex deleted file mode 100644 index 10ef41f..0000000 --- a/debian/manpage.sgml.ex +++ /dev/null @@ -1,154 +0,0 @@ - manpage.1'. You may view - the manual page with: `docbook-to-man manpage.sgml | nroff -man | - less'. A typical entry in a Makefile or Makefile.am is: - -manpage.1: manpage.sgml - docbook-to-man $< > $@ - - - The docbook-to-man binary is found in the docbook-to-man package. - Please remember that if you create the nroff version in one of the - debian/rules file targets (such as build), you will need to include - docbook-to-man in your Build-Depends control field. - - --> - - - FIRSTNAME"> - SURNAME"> - - January 27 2018"> - - SECTION"> - kienan.stewart@burntworld.ca"> - - Alternc-oneclickinstallers"> - - - Debian"> - GNU"> - GPL"> -]> - - - -
- &dhemail; -
- - &dhfirstname; - &dhsurname; - - - 2003 - &dhusername; - - &dhdate; -
- - &dhucpackage; - - &dhsection; - - - &dhpackage; - - program to do something - - - - &dhpackage; - - - - - - - - DESCRIPTION - - This manual page documents briefly the - &dhpackage; and bar - commands. - - This manual page was written for the &debian; distribution - because the original program does not have a manual page. - Instead, it has documentation in the &gnu; - Info format; see below. - - &dhpackage; is a program that... - - - - OPTIONS - - These programs follow the usual &gnu; command line syntax, - with long options starting with two dashes (`-'). A summary of - options is included below. For a complete description, see the - Info files. - - - - - - - - Show summary of options. - - - - - - - - Show version of program. - - - - - - SEE ALSO - - bar (1), baz (1). - - The programs are documented fully by The Rise and - Fall of a Fooish Bar available via the - Info system. - - - AUTHOR - - This manual page was written by &dhusername; &dhemail; for - the &debian; system (and may be used by others). Permission is - granted to copy, distribute and/or modify this document under - the terms of the &gnu; General Public License, Version 2 any - later version published by the Free Software Foundation. - - - On Debian systems, the complete text of the GNU General Public - License can be found in /usr/share/common-licenses/GPL. - - - -
- - diff --git a/debian/manpage.xml.ex b/debian/manpage.xml.ex deleted file mode 100644 index c3e4feb..0000000 --- a/debian/manpage.xml.ex +++ /dev/null @@ -1,291 +0,0 @@ - -.
will be generated. You may view the -manual page with: nroff -man .
| less'. A typical entry -in a Makefile or Makefile.am is: - -DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl -XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" - -manpage.1: manpage.xml - $(XP) $(DB2MAN) $< - -The xsltproc binary is found in the xsltproc package. The XSL files are in -docbook-xsl. A description of the parameters you can use can be found in the -docbook-xsl-doc-* packages. Please remember that if you create the nroff -version in one of the debian/rules file targets (such as build), you will need -to include xsltproc and docbook-xsl in your Build-Depends control field. -Alternatively use the xmlto command/package. That will also automatically -pull in xsltproc and docbook-xsl. - -Notes for using docbook2x: docbook2x-man does not automatically create the -AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as - ... . - -To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections -read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be -found in the docbook-xsl-doc-html package. - -Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` - -General documentation about man-pages and man-page-formatting: -man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ - ---> - - - - - - - - - - - - - -]> - - - - &dhtitle; - &dhpackage; - - - &dhfirstname; - &dhsurname; - Wrote this manpage for the Debian system. -
- &dhemail; -
-
-
- - 2007 - &dhusername; - - - This manual page was written for the Debian system - (and may be used by others). - Permission is granted to copy, distribute and/or modify this - document under the terms of the GNU General Public License, - Version 2 or (at your option) any later version published by - the Free Software Foundation. - On Debian systems, the complete text of the GNU General Public - License can be found in - /usr/share/common-licenses/GPL. - -
- - &dhucpackage; - &dhsection; - - - &dhpackage; - program to do something - - - - &dhpackage; - - - - - - - - - this - - - - - - - - this - that - - - - - &dhpackage; - - - - - - - - - - - - - - - - - - - DESCRIPTION - This manual page documents briefly the - &dhpackage; and bar - commands. - This manual page was written for the Debian distribution - because the original program does not have a manual page. - Instead, it has documentation in the GNU - info - 1 - format; see below. - &dhpackage; is a program that... - - - OPTIONS - The program follows the usual GNU command line syntax, - with long options starting with two dashes (`-'). A summary of - options is included below. For a complete description, see the - - info - 1 - files. - - - - - - - Does this and that. - - - - - - - Show summary of options. - - - - - - - Show version of program. - - - - - - FILES - - - /etc/foo.conf - - The system-wide configuration file to control the - behaviour of &dhpackage;. See - - foo.conf - 5 - for further details. - - - - ${HOME}/.foo.conf - - The per-user configuration file to control the - behaviour of &dhpackage;. See - - foo.conf - 5 - for further details. - - - - - - ENVIRONMENT - - - FOO_CONF - - If used, the defined file is used as configuration - file (see also ). - - - - - - DIAGNOSTICS - The following diagnostics may be issued - on stderr: - - - Bad configuration file. Exiting. - - The configuration file seems to contain a broken configuration - line. Use the option, to get more info. - - - - - &dhpackage; provides some return codes, that can - be used in scripts: - - Code - Diagnostic - - 0 - Program exited successfully. - - - 1 - The configuration file seems to be broken. - - - - - - BUGS - The program is currently limited to only work - with the foobar library. - The upstreams BTS can be found - at . - - - SEE ALSO - - - bar - 1 - , - baz - 1 - , - foo.conf - 5 - - The programs are documented fully by The Rise and - Fall of a Fooish Bar available via the - info - 1 - system. - -
- diff --git a/debian/menu.ex b/debian/menu.ex deleted file mode 100644 index 8952ef0..0000000 --- a/debian/menu.ex +++ /dev/null @@ -1,2 +0,0 @@ -?package(alternc-oneclickinstallers):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ - title="alternc-oneclickinstallers" command="/usr/bin/alternc-oneclickinstallers" diff --git a/debian/postinst.ex b/debian/postinst.ex deleted file mode 100644 index 36b85dd..0000000 --- a/debian/postinst.ex +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh -# postinst script for alternc-oneclickinstallers -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-remove' -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see https://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - configure) - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/postrm.ex b/debian/postrm.ex deleted file mode 100644 index 52e23f0..0000000 --- a/debian/postrm.ex +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -# postrm script for alternc-oneclickinstallers -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `remove' -# * `purge' -# * `upgrade' -# * `failed-upgrade' -# * `abort-install' -# * `abort-install' -# * `abort-upgrade' -# * `disappear' -# -# for details, see https://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/preinst.ex b/debian/preinst.ex deleted file mode 100644 index d90b541..0000000 --- a/debian/preinst.ex +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# preinst script for alternc-oneclickinstallers -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `install' -# * `install' -# * `upgrade' -# * `abort-upgrade' -# for details, see https://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - install|upgrade) - ;; - - abort-upgrade) - ;; - - *) - echo "preinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/prerm.ex b/debian/prerm.ex deleted file mode 100644 index a21f9aa..0000000 --- a/debian/prerm.ex +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -# prerm script for alternc-oneclickinstallers -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `remove' -# * `upgrade' -# * `failed-upgrade' -# * `remove' `in-favour' -# * `deconfigure' `in-favour' -# `removing' -# -# for details, see https://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - remove|upgrade|deconfigure) - ;; - - failed-upgrade) - ;; - - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/rules b/debian/rules index e1c367c..6426afd 100755 --- a/debian/rules +++ b/debian/rules @@ -17,7 +17,7 @@ %: dh $@ - +binary_arch: # dh_make generated override targets # This is example for Cmake (See https://bugs.debian.org/641051 ) #override_dh_auto_configure: