Commit [fd59fb] Maximize Restore History

Merge branch 'fest3er-swe3.1-rc4' of git://git.code.sf.net/p/smoothwall/git into stan-swe3.1-rc4

stan-prescott stan-prescott 2013-12-07

1 2 3 .. 45 > >> (Page 1 of 45)
removed distrib/build/sources/HTML-Parser
removed distrib/build/sources/HTML-Parser/Makefile
removed distrib/build/sources/HTML-Tagset
removed distrib/build/sources/HTML-Tagset/Makefile
removed distrib/build/sources/MAKEDEV
removed distrib/build/sources/MAKEDEV/Makefile
removed distrib/build/sources/URI
removed distrib/build/sources/URI/Makefile
removed distrib/build/sources/apache
removed distrib/build/sources/apr-util
removed distrib/build/sources/apr-util/Makefile
removed distrib/build/sources/apr
removed distrib/build/sources/apr/Makefile
removed distrib/build/sources/bash/bash-2.05b-2.patch
changed distrib/build/buildroot/.gitignore
changed distrib/build/downloads/.gitignore
changed distrib/build/sources/autoconf/Makefile
changed distrib/build/sources/automake/Makefile
changed distrib/build/sources/bash/Makefile
copied distrib/build/sources/apache/Makefile -> distrib/build/sources/beep2/beep2-1.2a/man/en/beep2.1
distrib/build/sources/MAKEDEV
File was removed.
distrib/build/sources/URI
File was removed.
distrib/build/sources/apache
File was removed.
distrib/build/sources/apr-util
File was removed.
distrib/build/sources/apr
File was removed.
distrib/build/buildroot/.gitignore Diff Switch to side-by-side view
Loading...
distrib/build/downloads/.gitignore Diff Switch to side-by-side view
Loading...
distrib/build/sources/autoconf/Makefile Diff Switch to side-by-side view
Loading...
distrib/build/sources/automake/Makefile Diff Switch to side-by-side view
Loading...
distrib/build/sources/bash/Makefile Diff Switch to side-by-side view
Loading...
distrib/build/sources/apache/Makefile to distrib/build/sources/beep2/beep2-1.2a/man/en/beep2.1
--- a/distrib/build/sources/apache/Makefile
+++ b/distrib/build/sources/beep2/beep2-1.2a/man/en/beep2.1
@@ -1,67 +1,86 @@
-# SmoothWall Build system.
-#
-# (c) SmoothWall Ltd 2005
-#
-# This code is distributed under the terms of the GPL v2.
+.\" beep2 Manual (English version)
+.\" Author: YAMAGUCHI Shingo <shingo@kip.iis.toyama-u.ac.jp>
+.TH BEEP2 1 beep2-1.2
+.SH NAME
+beep2 \- ring beep sounds with various frequency/length.
+.SH SYNOPSIS
+.in +.5i
+.ti -.5i
+.B beep2
+\%[-dfs]
+\%[-t tempo]
+\%[file]
+.LP
+.B beep2
+\%-v
+.in -.5i
+.SH DESCRIPTION
+This manual page is for \fIbeep2\fR from \fIbeep\fR by Josef Pavlik (jetset@ibm.net).
+.LP
+\fIbeep2\fR accepts frequency (or score) and length from stdin or text file, and translates to beep sounds. The input format is descripted at
+.B INPUT FORMAT
+section.
+.SS OPTION
+.TP
+.I "\-d"
+Debug mode. \fIbeep2\fR outputs various messages.
+.TP
+.I "\-f"
+Frequency input mode(default). \fIbeep2\fR uses frequency as input. This fuction is the same as \fIconsole beep V0.1\fR.
+.TP
+.I "\-s"
+Score input mode. \fIbeep2\fR uses score as input. Score is constructed with set of alphabet and number (includes #).
+.TP
+.I "\-t tempo"
+Tempo change. \fIbeep2\fR changes tempo into \fItempo\fR %. The default \fItempo\fR value is 100.
+.TP
+.I "\-v"
+Show the version of this program and the infomation of included functions, then exit.
+.SH INPUT FORMAT
+\fIbeep2\fR parses line to line. A line begins with # or empty is parsed as a comment and ignored. A string after length block is parsed as a comment and ignored too. Other line is composed as 2 fields separated with space or tab. A line does not match this format is ignored. A 0 frequency input line is parsed as no sound (rest).
+.SS FREQUENCY INPUT MODE
+At this mode, the first field is frequency in Hz, and the second field is length in milliseconds. For example:
+.nf
+.in +.5i
+#!/usr/bin/beep2 -d
 
-include ../Makefile.conf
+1046    200     # C6
+1046    100     # C6
+0       100     # rest
+.in -.5i
+.fi
+.SS SCORE INPUT MODE
+At this mode, the first field is score which constructed with alphabet and number (and #), and the second field is length in milliseconds. For example:
+.nf
+.in +.5i
+#!/usr/bin/beep2 -ds
 
-APACHE_VER = 1.3.41
-MODSSL_VER = 2.8.31
-
-PACKAGE = apache
-VERSION = $(APACHE_VER)
-
-DIR = $(PACKAGE)_$(VERSION)
-
-DOWNLOAD = yes
-PREPARE = yes
-CONFIGURE = yes
-INSTALL = yes
-BUILDTARBALL = yes
-CLEAN = yes
-PACKAGEINFO = yes
-
-download:
-	@$(DL_CMD) http://www.mirrorservice.org/sites/ftp.apache.org/httpd/$(DIR).tar.gz
-	@$(DL_CMD) http://www.modssl.org/source/mod_ssl-$(MODSSL_VER)-$(APACHE_VER).tar.gz
-
-prepare: download
-	@tar -zxvf $(DOWNLOADS_DIR)/apache_$(APACHE_VER).tar.gz
-	@tar -zxvf $(DOWNLOADS_DIR)/mod_ssl-$(MODSSL_VER)-$(APACHE_VER).tar.gz
-
-configure: prepare
-	@(cd mod_ssl-$(MODSSL_VER)-$(APACHE_VER); \
-	./configure --with-apache=../$(DIR)/ \
-		--with-ssl=/usr/ssl --with-layout=RedHat);
-
-install: compile
-	@(cd apache_$(APACHE_VER); \
-	install -s -D src/httpd $(PKG_ROOT)/usr/sbin/httpd; \
-	install -s -D src/support/htpasswd $(PKG_ROOT)/usr/bin/htpasswd; \
-	install -s -D src/support/htdigest $(PKG_ROOT)/usr/bin/htdigest);
-
-$(TARGET_DIR)/smoothwall-$(PACKAGE).tar.gz: install
-	@(cd $(PKG_ROOT); \
-	tar -zcvf $(TARGET_DIR)/smoothwall-$(PACKAGE).tar.gz \
-	usr/sbin/httpd usr/bin/htpasswd usr/bin/htdigest);
-
-clean:
-	@rm -rf apache_$(APACHE_VER)
-	@rm -rf mod_ssl-$(MODSSL_VER)-$(APACHE_VER)
-
-packageinfo.html:
-	@echo "<li><span style='font-size:large;'>$(PACKAGE) $(VERSION)</span><br>" >>/tmp/packageinfo.html
-	@echo "Apache Download: <a href='http://www.mirror.ac.uk/mirror/ftp.apache.org/httpd/$(DIR).tar.gz'>http://www.mirror.ac.uk/mirror/ftp.apache.org/httpd/$(DIR).tar.gz</a><br>" >>/tmp/packageinfo.html
-	@echo "Mod SSL Download: <a href='http://www.modssl.org/source/mod_ssl-$(MODSSL_VER)-$(APACHE_VER).tar.gz'>http://www.modssl.org/source/mod_ssl-$(MODSSL_VER)-$(APACHE_VER).tar.gz</a><br>" >>/tmp/packageinfo.html
-ifdef ($(PATCH_FILE1))
-	@echo "Patches:" >>/tmp/packageinfo.html
-	@echo "<ul>" >>/tmp/packageinfo.html
-	@(for PATCH in $(PATCH_FILE1) $(PATCH_FILE2) $(PATCH_FILE3) $(PATCH_FILE4) $(PATCH_FILE5); do \
-		echo "<li><a href='downloads/$$PATCH'>$$PATCH</a>" >>/tmp/packageinfo.html; \
-		cp -avR $$PATCH /tmp/downloads; \
-	done) 
-	@echo "</ul>" >>/tmp/packageinfo.html
-endif
-
-include ../Makefile.rules
+C6      200     # C6
+C6      100     # C6
+C6#     100     # C6#
+---     100     # rest
+.in -.5i
+.fi
+\fIbeep2\fR can parse octaves from 1 to 9, and parse score from C1 to B9. The rest syntax is \*(lq\-\*(rq.
+.SH LIMITATION
+\fIbeep2\fR makes beep sound with escape sequence code. So, \fIbeep2\fR has limitation below.
+.SS I cannot hear under about 20 Hz and over about 20000 Hz sound.
+This is human limitation. Some animals hear sound.
+.SS I cannot set under C1 or over B9.
+This is program and human limitation.
+.SS I cannot hear under about 10 ms sound.
+The program spends about 10 ms to change frequency.
+.SS I cannot hear over 2000 ms on Linux.
+This is the limitation of Linux kernel console driver. If you get source package, please use "longbeep-linux.patch" kernel patch. If you use this patch, the limitation is released and the kernel is expanded to deal length to 9999 ms.
+.SH LOGGING FUNCTION
+\fIbeep2\fR is added logging function since version 1.2. You can use this function if you enable it when you compile this program.
+.LP
+The log is sent to syslog at user.info priority. Generally, it is written to /var/log/messages. It includes the information of executed real user name and executed command string.
+.LP
+If you want to change log file, you need to edit syslog.conf (generally placed at /etc) and configure. The detail is in syslog documents.
+.SH WARNING
+\fIbeep2\fR installs as root setuid-ed. Please consider with seculity policy and set execute attribute for trasted users only.
+.SH BUG
+This program is not tested enoughly. I seem to be contained many bugs. If you see buggy behavior, please tell the author of \fIbeep2\fR.
+.SH AUTHOR
+YAMAGUCHI Shingo(shingo@kip.iis.toyama-u.ac.jp)
1 2 3 .. 45 > >> (Page 1 of 45)