[Lunar-commits] CVS: moonbase/audio/beep CONFIGURE, NONE, 1.1 BUILD, 1.1.1.1, 1.2 DETAILS, 1.2, 1.3

Chad Kittel v3rt1g0 at lunar-linux.org
Thu Jan 6 01:39:21 UTC 2005


Update of /var/cvs/lunar/moonbase/audio/beep
In directory espresso.foo-projects.org:/tmp/cvs-serv21961/beep

Modified Files:
	BUILD DETAILS 
Added Files:
	CONFIGURE 
Log Message:
beep is known to cause issues with non-root users and it's REDME file 
suggests SUID.  So added a configure option to ask the user.  Other misc 
tweaks toooo.


--- NEW FILE: CONFIGURE ---
mquery DOSUID "Install with SUID so non-root users will not have issues?" n

Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/audio/beep/BUILD,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- BUILD	21 Aug 2002 00:55:09 -0000	1.1.1.1
+++ BUILD	6 Jan 2005 01:39:19 -0000	1.2
@@ -1,7 +1,9 @@
 (
 
-  make             &&
-  prepare_install  &&
-  make    install
+  default_make &&
+
+  if [ "$DOSUID" == "y" ] ; then
+    chmod 4711 $MODULE_PREFIX/bin/beep
+  fi
 
 ) > $C_FIFO 2>&1

Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/audio/beep/DETAILS,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- DETAILS	5 Oct 2004 09:29:51 -0000	1.2
+++ DETAILS	6 Jan 2005 01:39:19 -0000	1.3
@@ -1,11 +1,12 @@
            MODULE=beep
          VERSION=1.2.2
           SOURCE=$MODULE-$VERSION.tar.gz
-   SOURCE_URL[0]=http://www.johnath.com/$MODULE/
+      SOURCE_URL=http://www.johnath.com/$MODULE/
         WEB_SITE=http://www.johnath.com/$MODULE
          ENTERED=20011126
          UPDATED=20020329
-           SHORT="Beep the pc speaker in any number of ways."
+           SHORT="Beep the pc speaker in any number of ways"
+
 cat << EOF
 Beep allows the user to control the pc-speaker with precision,
 allowing different sounds to indicate different events. While it



More information about the Lunar-commits mailing list