1 |
commit: 237a6c2a9a386357c9ce9a82d9fc9338e8da4ce0 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 6 17:07:00 2012 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 6 17:07:00 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=237a6c2a |
7 |
|
8 |
net-libs/axTLS: renamed and init scripts added for axhttpd |
9 |
|
10 |
--- |
11 |
dev-libs/axTLS/Manifest | 4 --- |
12 |
net-libs/axTLS/Manifest | 6 +++++ |
13 |
{dev-libs => net-libs}/axTLS/axTLS-1.4.5.ebuild | 5 ++++ |
14 |
net-libs/axTLS/files/axhttpd.confd | 7 ++++++ |
15 |
net-libs/axTLS/files/axhttpd.initd | 26 +++++++++++++++++++++++ |
16 |
{dev-libs => net-libs}/axTLS/files/config | 0 |
17 |
{dev-libs => net-libs}/axTLS/metadata.xml | 0 |
18 |
7 files changed, 44 insertions(+), 4 deletions(-) |
19 |
|
20 |
diff --git a/dev-libs/axTLS/Manifest b/dev-libs/axTLS/Manifest |
21 |
deleted file mode 100644 |
22 |
index 48fca04..0000000 |
23 |
--- a/dev-libs/axTLS/Manifest |
24 |
+++ /dev/null |
25 |
@@ -1,4 +0,0 @@ |
26 |
-AUX config 3064 RMD160 50852bca5ca0e0d62af398805fd30133fd2361a3 SHA1 32de40d7e7300f0a43607a236f5890a38414fa3b SHA256 a2a52b3ca276755f3629d9b13685a52fc2415309afa9607d4ab361bc1360015f |
27 |
-DIST axTLS-1.4.5.tar.gz 1299325 RMD160 fb8f78578a998ed0a88cfef18127e4d24ff35bfc SHA1 33b8c4b7babd433d78889218bc5fa6932bfd0a24 SHA256 04e9c235d59cff98c393c920d4d7975b7ba32979c1d9675cee73996d22d232f1 |
28 |
-EBUILD axTLS-1.4.5.ebuild 3732 RMD160 9b60fb66caf54369fc905efcff3de9e2c0b7e4c7 SHA1 71601a754f2a40cd110e617c9183373e7f9eaf9a SHA256 0ee53de947ab47770ce85adcf0b453ab727a9f15f4fdbd0ee09124555c3f4a51 |
29 |
-MISC metadata.xml 539 RMD160 66d2200563130d8af1e6b9ea42aac0098cca0ece SHA1 977793dc0d626b3c9144cdac6e85ec137efd3e72 SHA256 678ce846bdfbf9df350ed0ba25520abe1588a12c229cbc54642269cf2fbe0966 |
30 |
|
31 |
diff --git a/net-libs/axTLS/Manifest b/net-libs/axTLS/Manifest |
32 |
new file mode 100644 |
33 |
index 0000000..c36a404 |
34 |
--- /dev/null |
35 |
+++ b/net-libs/axTLS/Manifest |
36 |
@@ -0,0 +1,6 @@ |
37 |
+AUX axhttpd.confd 181 RMD160 489c7d0ff59a419061bcc246e1ca1ced1cfe2831 SHA1 4378b0ec8b8634af29a62c49603ec5ccc14da693 SHA256 5eff31a8656c735ec9b85eac8d0a92c497132d5337fd5dff6f9e311e6b223a65 |
38 |
+AUX axhttpd.initd 629 RMD160 3a5160e0d6ee81dff21efbe3730e81141762087d SHA1 cda1a2095665cc7221ebfd91b4d3abb2a165b010 SHA256 77f1e9c4fd957e6a49b0631e9431e811385c2806fdb08b1ff6a681e1f5fab270 |
39 |
+AUX config 3064 RMD160 50852bca5ca0e0d62af398805fd30133fd2361a3 SHA1 32de40d7e7300f0a43607a236f5890a38414fa3b SHA256 a2a52b3ca276755f3629d9b13685a52fc2415309afa9607d4ab361bc1360015f |
40 |
+DIST axTLS-1.4.5.tar.gz 1299325 RMD160 fb8f78578a998ed0a88cfef18127e4d24ff35bfc SHA1 33b8c4b7babd433d78889218bc5fa6932bfd0a24 SHA256 04e9c235d59cff98c393c920d4d7975b7ba32979c1d9675cee73996d22d232f1 |
41 |
+EBUILD axTLS-1.4.5.ebuild 3851 RMD160 330824efa908fd9a1faba9ceea06423c0aa00b03 SHA1 0b868863785cda657753bea6265641ace654bbdc SHA256 4cc0f6710e9828df3834e7425b51a88bc5758e0fd326866e947ab2f097321755 |
42 |
+MISC metadata.xml 539 RMD160 66d2200563130d8af1e6b9ea42aac0098cca0ece SHA1 977793dc0d626b3c9144cdac6e85ec137efd3e72 SHA256 678ce846bdfbf9df350ed0ba25520abe1588a12c229cbc54642269cf2fbe0966 |
43 |
|
44 |
diff --git a/dev-libs/axTLS/axTLS-1.4.5.ebuild b/net-libs/axTLS/axTLS-1.4.5.ebuild |
45 |
similarity index 96% |
46 |
rename from dev-libs/axTLS/axTLS-1.4.5.ebuild |
47 |
rename to net-libs/axTLS/axTLS-1.4.5.ebuild |
48 |
index c1f12d0..b2b91a6 100644 |
49 |
--- a/dev-libs/axTLS/axTLS-1.4.5.ebuild |
50 |
+++ b/net-libs/axTLS/axTLS-1.4.5.ebuild |
51 |
@@ -149,6 +149,11 @@ src_install() { |
52 |
mv "${ED}"/usr/bin/{,ax}htpasswd |
53 |
fi |
54 |
|
55 |
+ if use httpd; then |
56 |
+ newinitd "${FILESDIR}"/axhttpd.initd axhttpd |
57 |
+ newconfd "${FILESDIR}"/axhttpd.confd axhttpd |
58 |
+ fi |
59 |
+ |
60 |
docompress -x /usr/share/doc/${PF}/README |
61 |
dodoc -r README |
62 |
|
63 |
|
64 |
diff --git a/net-libs/axTLS/files/axhttpd.confd b/net-libs/axTLS/files/axhttpd.confd |
65 |
new file mode 100644 |
66 |
index 0000000..02f1292 |
67 |
--- /dev/null |
68 |
+++ b/net-libs/axTLS/files/axhttpd.confd |
69 |
@@ -0,0 +1,7 @@ |
70 |
+#Zero or more of the following may be given: |
71 |
+# |
72 |
+# -p [address:]httpport |
73 |
+# -s [address:]httpsport |
74 |
+# -w webroot |
75 |
+# |
76 |
+#AXHTTPD_OPTS="-w /var/www/localhost/htdocs -p 8080 -s 4343" |
77 |
|
78 |
diff --git a/net-libs/axTLS/files/axhttpd.initd b/net-libs/axTLS/files/axhttpd.initd |
79 |
new file mode 100644 |
80 |
index 0000000..5dbe8d5 |
81 |
--- /dev/null |
82 |
+++ b/net-libs/axTLS/files/axhttpd.initd |
83 |
@@ -0,0 +1,26 @@ |
84 |
+#!/sbin/runscript |
85 |
+# Copyright 1999-2012 Gentoo Foundation |
86 |
+# Distributed under the terms of the GNU General Public License, v2 or later |
87 |
+# $Header: /var/cvsroot/gentoo-x86/www-servers/axhttpd/files/axhttpd.init,v 1.1 2012/03/24 02:59:02 blueness Exp $ |
88 |
+ |
89 |
+AXHTTPD_USER="axtls" |
90 |
+AXHTTPD_GROUP="axtls" |
91 |
+AXHTTPD_DAEMON="/usr/bin/axhttpd" |
92 |
+ |
93 |
+depend() { |
94 |
+ need net |
95 |
+} |
96 |
+ |
97 |
+start() { |
98 |
+ ebegin "Starting axhttpd" |
99 |
+ start-stop-daemon --quiet --start "${AXHTTPD_DAEMON}" \ |
100 |
+ --user "${AXHTTPD_USER}":"${AXHTTPD_GROUP}" \ |
101 |
+ -- ${AXHTTPD_OPTS} |
102 |
+ eend $? |
103 |
+} |
104 |
+ |
105 |
+stop() { |
106 |
+ ebegin "Stopping axhttpd" |
107 |
+ start-stop-daemon --quiet --stop "${AXHTTPD_DAEMON}" |
108 |
+ eend $? |
109 |
+} |
110 |
|
111 |
diff --git a/dev-libs/axTLS/files/config b/net-libs/axTLS/files/config |
112 |
similarity index 100% |
113 |
rename from dev-libs/axTLS/files/config |
114 |
rename to net-libs/axTLS/files/config |
115 |
|
116 |
diff --git a/dev-libs/axTLS/metadata.xml b/net-libs/axTLS/metadata.xml |
117 |
similarity index 100% |
118 |
rename from dev-libs/axTLS/metadata.xml |
119 |
rename to net-libs/axTLS/metadata.xml |