]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
minor fixes and cleanups in the scripts directory
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 17 Sep 2013 22:25:11 +0000 (00:25 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 17 Sep 2013 22:25:11 +0000 (00:25 +0200)
scripts/apidocs.config
scripts/commandline.inc
scripts/doxygen.tmpl
scripts/gnusocialversion.php [new file with mode: 0644]
scripts/startdaemons.sh
scripts/statusnet.spec [deleted file]
scripts/statusnetversion.php [deleted file]

index fdbe35ba1994d805b2c5fa16a64974b9c4c4800d..4b6c142078277b80befb5286aca0db604e89c6e8 100644 (file)
@@ -25,7 +25,7 @@ DOXYFILE_ENCODING      = UTF-8
 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
 # by quotes) that should identify the project.
 
-PROJECT_NAME           = "StatusNet REST API"
+PROJECT_NAME           = "GNU Social REST API"
 
 # The PROJECT_NUMBER tag can be used to enter a project or revision number.
 # This could be handy for archiving the generated documentation or
index b1955a32e3a616ee31da335d20728e1b6f9ce86c..a682f4489ec17338fd4791432b88ceb2377b7e7a 100644 (file)
@@ -27,7 +27,6 @@ if (isset($_SERVER) && array_key_exists('REQUEST_METHOD', $_SERVER)) {
 }
 
 define('STATUSNET', true);
-define('LACONICA', true); // compatibility
 
 // Set various flags so we don't time out on long-running processes
 
@@ -243,4 +242,4 @@ function printfv()
     $format = array_shift($args);
 
     return vprintf($format, $args);
-}
\ No newline at end of file
+}
index 15d03e3bb9294be591db998e47ad61f3cd763dc1..a3f2253ff75b7a40ed24013da56b218bcbb52ebd 100644 (file)
@@ -25,7 +25,7 @@ DOXYFILE_ENCODING      = UTF-8
 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
 # by quotes) that should identify the project.
 
-PROJECT_NAME           = StatusNet
+PROJECT_NAME           = GNU Social
 
 # The PROJECT_NUMBER tag can be used to enter a project or revision number.
 # This could be handy for archiving the generated documentation or
diff --git a/scripts/gnusocialversion.php b/scripts/gnusocialversion.php
new file mode 100644 (file)
index 0000000..024e333
--- /dev/null
@@ -0,0 +1,33 @@
+#!/usr/bin/env php
+<?php
+/*
+ * StatusNet - a distributed open-source microblogging tool
+ * Copyright (C) 2011, StatusNet, Inc.
+ *
+ * Script to print out current version of the software
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
+
+$helptext = <<<END_OF_HELP
+gnusocialversion.php [options]
+prints out the current version of the software
+
+END_OF_HELP;
+
+require_once INSTALLDIR.'/scripts/commandline.inc';
+
+print STATUSNET_VERSION."\n";
index 7c92f9f45940dbe53a85177e7085b6d982128ae9..2ed3528c5e0d5b28338df53bb43a14d6a6d292f8 100755 (executable)
@@ -39,8 +39,8 @@ DAEMONS=`php $DIR/getvaliddaemons.php $ARGSG`
 
 for f in $DAEMONS; do
 
-         echo "Starting $f..."
-        php $f $ARGSD
-        echo "DONE."
+    echo "Starting $f..."
+    php $f $ARGSD
+    echo "DONE."
 
 done
diff --git a/scripts/statusnet.spec b/scripts/statusnet.spec
deleted file mode 100644 (file)
index ca2e483..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-# This version needs to match the tarball and unpacked directory name.
-%define LACVER 0.7.3
-
-BuildRequires: php-pear
-BuildRequires: httpd-devel
-
-Name:           statusnet
-Version:        %{LACVER}
-Release:        1%{?dist}
-License:        GAGPL v3 or later
-Source:         statusnet-%{version}.tar.gz
-Group:          Applications/Internet
-Summary:        StatusNet, the Open Source microblogging platform
-BuildArch:      noarch
-
-Requires:      httpd
-Requires:      php >= 5
-Requires:      php-pear-Mail-Mime
-Requires:      php-curl
-Requires:      php-mysql
-Requires:      php-mbstring
-Requires:      php-gettext
-Requires:      php-xml
-Requires:      php-gd
-
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
-%define apache_serverroot %(/usr/sbin/apxs -q DATADIR)
-%define apache_sysconfdir %(/usr/sbin/apxs -q SYSCONFDIR)
-%define wwwpath %{apache_serverroot}/%{name}
-%define confpath %{_sysconfdir}/%{name}
-
-%description
-From the ABOUT file: StatusNet (pronounced "luh-KAWN-ih-kuh") is a Free
-and Open Source microblogging platform. It helps people in a
-community, company or group to exchange short (140 character) messages
-over the Web. Users can choose which people to "follow" and receive
-only their friends' or colleagues' status messages. It provides a
-similar service to sites like Twitter, Jaiku, and Plurk. 
-
-
-%prep
-%setup -q
-
-%build
-
-
-%install
-mkdir -p %{buildroot}%{wwwpath}
-cp -a * %{buildroot}%{wwwpath}
-
-mkdir -p %{buildroot}%{_datadir}/statusnet
-cp -a db %{buildroot}%{_datadir}/statusnet/db
-
-mkdir -p %{buildroot}%{_datadir}/statusnet/avatar
-
-mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d
-cat > %{buildroot}%{_sysconfdir}/httpd/conf.d/statusnet.conf <<"EOF"
-Alias /statusnet/ "/var/www/statusnet/"
-
-<Directory "/var/www/statusnet">
-    Options Indexes FollowSymLinks
-    AllowOverride All
-    Order allow,deny
-    Allow from all
-</Directory>
-EOF
-
-%clean
-rm -rf %buildroot
-
-%files
-%defattr(-,root,root)
-%dir %{wwwpath}
-%{wwwpath}/*
-%{_datadir}/statusnet/*
-%attr(-,apache,apache) %dir %{_datadir}/statusnet/avatar
-%doc COPYING README doc-src/*
-%config(noreplace) %{_sysconfdir}/httpd/conf.d/statusnet.conf
-
-%changelog
-* Wed Apr 03 2009 Zach Copley <zach@status.net> - 0.7.3
-- Changed version number to 0.7.3.
-
-* Fri Mar 13 2009 Ken Sedgwick <ksedgwic@bonsai.com> - 0.7.2.1-1
-- Factored statusnet version to the first line of the file.
-
-* Wed Mar 03 2009 Zach Copley <zach@status.net> - 0.7.2
-- Changed version number to 0.7.2.
-
-* Sat Feb 28 2009 Ken Sedgwick <ken@bonsai.com> - 0.7.1-1
-- Modified RPM for Fedora.
-
-* Thu Feb 13 2009 tuukka.pasanen@ilmi.fi
-- packaged statusnet version 0.7.1
-
-* Wed Feb 04 2009 tuukka.pasanen@ilmi.fi
-- packaged statusnet version 0.7.0 using the buildservice spec file wizard
diff --git a/scripts/statusnetversion.php b/scripts/statusnetversion.php
deleted file mode 100644 (file)
index f83bc60..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env php
-<?php
-/*
- * StatusNet - a distributed open-source microblogging tool
- * Copyright (C) 2011, StatusNet, Inc.
- *
- * Script to print out current version of the software
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
-
-$helptext = <<<END_OF_STATUSNETVERSION_HELP
-statusnetversion.php [options]
-prints out the current version of the software
-
-END_OF_STATUSNETVERSION_HELP;
-
-require_once INSTALLDIR.'/scripts/commandline.inc';
-
-print STATUSNET_VERSION."\n";