Re: Bastille

2007-09-13 Thread Ryan Schmidt

On Sep 12, 2007, at 22:58, paul beard wrote:


On 9/12/07, Bill Hernandez wrote:


Do you know if there is a port for Bastille ?

Bastille Linux is a Hardening and Reporting/Auditing Program which
enhances the security of a
Linux box, by configuring daemons, system settings and firewalling.
It currently functions on
most major Linux distributions as well as Mac OSX and HP-UX

http://sourceforge.net/projects/bastille-linux/

http://sourceforge.net/project/showfiles.php?group_id=403


Doesn't appear to be one.
[/mnt]# port list bast*
bastet @ 0.41   games/bastet


port search bastille would be better, but that too shows no  
Bastille port.



What does bastille do that OS X doesn't, out of the box? Does the  
OS X firewall compare to what's available for Linux?


There are probably a lot more linux-savvy people on this list: I  
haven't looked at it in years (The BSDs are where I look for UNIX-y  
goodness that I can't get from OS X).


It looks like Bastille Linux has just changed names to Bastille Unix,  
since a) they temporarily lost their domain name to a squatter, and  
b) Bastille Linux has worked on HP-UX and Mac OS X for years.


http://www.bastille-unix.org/press-release-newname.html

So, I imagine it should be possible to create a portfile for Bastille  
Unix. Someone who cares about and knows the software should feel free  
to do so. Until such a person is found, a ticket could be filed for  
this request.



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: port installed fails

2007-09-13 Thread Ryan Schmidt


On Sep 12, 2007, at 22:54, rongenre wrote:


Thanks! This helped a lot, since I had gcc43 installed as well.

I tried the following bit:
sudo mv /opt/local/var/macports/receipts/gcc43/4.3-20070831_0 
+darwin_8 /tmp/


And suddenly port installed started working.

Someone should take a look at what the gcc43 port's doing.


I fixed gcc43 several hours ago, so if you port sync now you'll get  
the fixed version.


We still need to investigate whether base can be improved to prevent  
this kind of thing in the future. I'll take that to the -dev list now.


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Bastille

2007-09-13 Thread Marc Farnum Rendino

At 2:20 PM +0300 on 07/09/13, Jyrki Wahlstedt wrote:


this means that Bastille works on OS X, not that there is a port for 
it. Having a port for program x means that if you write 'port info 
x' you get port's description and 'port install x' adds some 
software to your system. All ports in this sense are to be found at 
macports.org site, nowhere else.


Wow; if we want to use such a restrictive definition, we need a new 
word - maybe macport. :)


- Marc
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Cannot execute sudo port selfupdate

2007-09-13 Thread Lorin Rivers
I was getting this error message on a different port and I was able to
get past it by doing:
sudo port clean all
sudo port sync
sudo port selfupdate

Hope that helps.

On 9/12/07, M.W. Rails [EMAIL PROTECTED] wrote:
 When I try to perform the selfupdate I get the following error message:

 MacPorts base version 1.5 installed
 Downloaded MacPorts base version 1.520
 Configuring, Building and Installing new MacPorts base
 Error: /opt/local/bin/port: selfupdate failed: Error installing new MacPorts
 base: shell command cd
 /opt/local/var/macports/sources/rsync.macports.org/release/base
  ./configure --prefix=/opt/local --with-install-user=root
 --with-install-group=admin --with-tclpackage=/Library/Tcl  make  make
 install returned error 77
 Command output: checking build system type... i686-apple-darwin8.10.1
 checking host system type... i686-apple-darwin8.10.1
 checking target system type... i686-apple-darwin8.10.1
 checking for gcc... gcc
 checking for C compiler default output file name...
 configure: error: C compiler cannot create executables
 See `config.log' for more details.

 I cannot find any config.log anywhere on the system so I do not think it is
 being created.

 I have downloaded and installed the Apple Developer Tools
 gcc -v shows gcc version 4.0.1 (Apple Computer, Inc. build 5367)

 Can anyone help me figure out what I am doing wrong.

 Thank you!
 mwrails


 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 http://lists.macosforge.org/mailman/listinfo/macports-users


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


esound

2007-09-13 Thread David Moylan
I'm having trouble installing esound on my Powerbook (last generation 
G4), OS X 10.4.10


Here's the output:

---  Building esound with target all
Error: Target org.macports.build returned: shell command  cd 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_esound/work/esound-0.2.38 
 make all  returned error 2

Command output: make: *** No rule to make target `all'.  Stop.

Error: Status 1 encountered during processing.

Any help would be appreciated.  Ports like the Gimp depend on esound.

Thanks.

Dave

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


esound won't install

2007-09-13 Thread Lenore Horner
I get the following message.  I have emailed the maintainer and had  
no response (in 36 hours).


Does anyone know how to work around this.  I can't install Gimp until  
this works (as far as I know - Gimp installation keeps hanging here).


I get this error both as part of the Gimp installation via MacPorts  
and attempting to install esound alone through MacPorts.


I'm use OS X 10.4.10 and MacPorts 1.5.

sudo port install esound
---  Building esound with target all
Error: Target org.macports.build returned: shell command  cd /opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_e 
sound/work/esound-0.2.38  make all  returned error 2

Command output: make: *** No rule to make target `all'.  Stop.

Error: Status 1 encountered during processing.
Exit 1


Thanks for any help.
Lenore

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: esound won't install

2007-09-13 Thread markd
Lenore Horner [EMAIL PROTECTED] writes:
I get the following message.  I have emailed the maintainer and had  
no response (in 36 hours).

Does anyone know how to work around this.  I can't install Gimp until  
this works (as far as I know - Gimp installation keeps hanging here).

I get this error both as part of the Gimp installation via MacPorts  
and attempting to install esound alone through MacPorts.

I'm use OS X 10.4.10 and MacPorts 1.5.

sudo port install esound
---  Building esound with target all
Error: Target org.macports.build returned: shell command  cd /opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_e 
sound/work/esound-0.2.38  make all  returned error 2
Command output: make: *** No rule to make target `all'.  Stop.

Error: Status 1 encountered during processing.
Exit 1

It works for me.  Try 'port clean --all esound' and try it again.  Also
make sure you have done a selfupdate if you haven't done it recently.

Mark

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Sorry for the double posting of my previous message

2007-09-13 Thread Bill Hernandez
My email was not receiving correctly, I checked my webmail, and sure  
enough the message was there twice,


Sorry for the trouble...

Bill Hernandez
Plano, Texas
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: esound won't install

2007-09-13 Thread bob spamnot
Lenore Horner [EMAIL 
PROTECTED]http://www.nabble.com/user/SendEmail.jtp?type=postpost=12658271i=0
writes:
I get the following message.  I have emailed the maintainer and had
no response (in 36 hours).

Does anyone know how to work around this.  I can't install Gimp until
this works (as far as I know - Gimp installation keeps hanging here).

I get this error both as part of the Gimp installation via MacPorts
and attempting to install esound alone through MacPorts.

I'm use OS X 10.4.10 and MacPorts 1.5.

sudo port install esound
---  Building esound with target all
Error: Target org.macports.build returned: shell command  cd /opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_e
sound/work/esound-0.2.38  make all  returned error 2
Command output: make: *** No rule to make target `all'.  Stop.

Error: Status 1 encountered during processing.
Exit 1

I had this same issue.  It would seem the autoconf is generating a bad
configure file.  I was able to get esound to compile by editing the
portfile:

sudo port edit esound

and chaning the autoconf setting from yes to no.

Bob
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: esound won't install

2007-09-13 Thread David Moylan

bob spamnot wrote:
Lenore Horner [EMAIL PROTECTED] 
http://www.nabble.com/user/SendEmail.jtp?type=postpost=12658271i=0 
writes:
 I get the following message.  I have emailed the maintainer and had  
 no response (in 36 hours).

 
 Does anyone know how to work around this.  I can't install Gimp until  
 this works (as far as I know - Gimp installation keeps hanging here).

 
 I get this error both as part of the Gimp installation via MacPorts  
 and attempting to install esound alone through MacPorts.

 
 I'm use OS X 10.4.10 and MacPorts 1.5.
 
 sudo port install esound
 ---  Building esound with target all
 Error: Target org.macports.build returned: shell command  cd /opt/
 local/var/macports/build/
 _opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_e
 sound/work/esound-0.2.38  make all  returned error 2
 Command output: make: *** No rule to make target `all'.  Stop.
 
 Error: Status 1 encountered during processing.
 Exit 1

I had this same issue.  It would seem the autoconf is generating a bad 
configure file.  I was able to get esound to compile by editing the 
portfile:


sudo port edit esound

and chaning the autoconf setting from yes to no.


I can verify this works.  Esound is now installed.  Thanks Bob.

Dave




Bob




___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: esound won't install

2007-09-13 Thread markd
David Moylan [EMAIL PROTECTED] writes:
I posted this same error to the list. Who's the maintainer?

Use 'port info esound'

Mark

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Bizarre Behavior

2007-09-13 Thread Bill Hernandez


On Sep 13, 2007, at 12:40 PM, Bill Hernandez wrote:


http://www.mac-specialist.com


If forgot to mention that the url listed above has what I have found  
so far...


Bill Hernandez
Plano, Texas

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


trying to install gimp

2007-09-13 Thread Lenore Horner
Gimp has failed again.  This time because libbonobo isn't recent  
enough.  So I attempted to upgrade it.  I can't because I don't have  
the right perl xml parsers.  I got something that looked like it  
might be the right thing and successfully installed.  libbonobo still  
complains.  Does anyone know what I really should install?  Details  
below.


Thanks,
Lenore

[client155-180:~]% sudo port install p5-libxml-perl
Password:
---  Fetching p5-libxml-perl
---  Attempting to fetch libxml-perl-0.08.tar.gz from http:// 
ftp.ucr.ac.cr/Unix/CPAN/modules/by-module/XML

---  Verifying checksum(s) for p5-libxml-perl
---  Extracting p5-libxml-perl
---  Configuring p5-libxml-perl
---  Building p5-libxml-perl with target all
---  Staging p5-libxml-perl into destroot
---  Packaging tgz archive for p5-libxml-perl 0.08_0
---  Installing p5-libxml-perl 0.08_0
---  Activating p5-libxml-perl 0.08_0
---  Cleaning p5-libxml-perl
[client155-180:~]% sudo port upgrade libbonobo
---  Configuring intltool
Error: Target org.macports.configure returned: configure failure:  
shell command  cd /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_textpro 
c_intltool/work/intltool-0.35.5  ./configure --prefix=/opt/local -- 
mandir=/opt/local/share/man  returned error 1
Command output: checking for a BSD-compatible install... /usr/bin/ 
install -c

checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for perl... /opt/local/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module  
is required for intltool


Error: Unable to upgrade port: 1
---  Configuring libbonobo
Error: Target org.macports.configure returned: configure failure:  
shell command  cd /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_l 
ibbonobo/work/libbonobo-2.18.0  ./configure --prefix=/opt/local -- 
mandir=/opt/local/share/man  returned error 1
Command output: checking for a BSD-compatible install... /usr/bin/ 
install -c

checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of  
Makefiles... no

checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for intltool = 0.35.0... 0.35.5 found
checking for perl... /opt/local/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module  
is required for intltool


Error: Unable to upgrade port: 1

Time spent in user mode   (CPU seconds) : 9.685s
Time spent in kernel mode (CPU seconds) : 4.169s
Total time  : 0:19.82s
CPU utilisation (percentage): 69.8%
Times the process was swapped   : 0
Times of major page faults  : 0
Times of minor page faults  : 0

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Gimp and gimp-print

2007-09-13 Thread Stefan Bruda
Hi,

The latest Gimp (2.4.1) does not seem to go along well with gimp-print. 
Whenever I attempt to print something I get a bus error in
/opt/local/lib/gimp/2.0/plug-ins/print.  Last time I checked (with Gimp
2.2.17) printing was no problem at all.  Is there any trick I am missing? 
How does one print?  Could it be that this all happens because the newest
Gimp port if for a release candidate?

Thanks in advance,
Stefan


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Remove all ports

2007-09-13 Thread Bill Hernandez


On Sep 13, 2007, at 7:29 PM, AstroDrabb wrote:

Is there a way to remove all installed ports?  I want to start  
clean and before I install a port, I want to see if the port is the  
latest version of the software, if not, I want to try to upgrade  
the port.


You will have to re-install MacPorts from the dmg if you want to  
remove everything and start from scratch.


I don't know if you've installed anything other than MacPorts in /opt  
but if you have not, you could probably delete everything in the /opt  
directory by doing :


I would probably do a

$ port installed  ~/installed_ports.txt
$ open -a /Applications/BBEdit.app ~/installed_ports.txt

This way you will have a record of the installed ports which you can  
then convert into a shell script in order to automate the re-install  
process


This next line will delete the entire MacPorts installation.
You WILL want to backup things like http.conf, my.cnf, php.ini, any  
other configuration files, any databases, etc.


DO NOT DELETE EVERYTHING UNLESS YOU ARE SURE YOU HAVE BACKED UP  
EVERYTHING YOU WILL NEED.


I don't keep any of the configs within the /opt directory, because  
that way I can delete the entire thing, re-install the ports,  
initialize and set the permissions for the databases (MySQL and  
PostgreSQL), create some soft links to the configuration files, and  
everything works very well.


WARNING : DO NOT DO ANY OF THIS UNLESS YOU UNDERSTAND THE IMPLICATIONS

$ sudo rm -R /opt

Once you get everything installed if you have a mysql database. You  
can save this script as bh_mysql_perms in the shell path run this script


to have it either check or set the permissions, you can call it as

bh_mysql_perms ck
bh_mysql_perms set



Here's a shell script that you can save as bh_port_longdesc, or  
bh_port_ldesc


#!/bin/bash
# Author - Bill Hernandez (Plano, Texas)
# ScriptName -  bh_port_longdesc v_1.0.0
# Modified - Thursday, September 13, 2007 (7:59 PM)
#
# make sure you save this in your shell search path
# make sure you set the permissions so that the owner is executable
# something like chmod 700 /path/to/bin/folder/bh_port_longdesc
# This assumes you have BBEdit as a Text Editor, if you don't have it  
www,barebones.com has a free version that is almost as powerful
# if you call it without passing it a port name, it will you give you  
info on Apache


if [ $# -lt 1 ]; then
	fsubj=apache ; apath=/Applications/BBEdit.app ; fpath=/tmp/${fsubj} 
_port_long_desc.txt ; port info long_description:$fsubj  $fpath ;  
open -a $apath $fpath

else
	fsubj=$1 ; apath=/Applications/BBEdit.app ; fpath=/tmp/${fsubj} 
_port_long_desc.txt ; port info long_description:$fsubj  $fpath ;  
open -a $apath $fpath

fi
#  Script End 


Here's a shell script that you can save as bh_mysql_perms

#!/bin/bash
# Author - Bill Hernandez (Plano, Texas)
# ScriptName -  bh_mysql_perms v_1.0.0
# Modified - Thursday, September 13, 2007 (7:59 PM)
# make sure you save this in your shell search path
# make sure you set the permissions so that the owner is executable
# something like chmod 700 /path/to/bin/folder/bh_mysql_perms

# +-+-+-+-+-+- 
+-+-+

# bh_mysql_perms
# +-+-+-+-+-+- 
+-+-+

sudo echo

echo argc is $#. argv is $*
echo

if [ $# = 0 ]; then
choice=ck;
elif [ $* = check ]; then
choice=ck;
else
choice=$*;
fi

divider=--- 



if [ $choice = ck ]; then
echo $divider
echo Checking [MySQL] Permissions...
echo $divider

echo $ sudo ls -Rls /opt/local/bin/mysql5
sudo ls -Rls /opt/local/bin/mysql5

echo $ sudo ls -Rls /opt/local/etc/mysql5
sudo ls -Rls /opt/local/etc/mysql5

echo $ sudo ls -Rls /opt/local/include/mysql5
sudo ls -Rls /opt/local/include/mysql5

echo $ sudo ls -Rls /opt/local/lib/mysql5
sudo ls -Rls /opt/local/lib/mysql5

echo $ sudo ls -Rls /opt/local/share/mysql5
sudo ls -Rls /opt/local/share/mysql5

echo $ sudo ls -Rls /opt/local/var/db/mysql5
sudo ls -Rls /opt/local/var/db/mysql5

echo $ sudo ls -Rls /opt/local/var/run/mysql5
sudo ls -Rls /opt/local/var/run/mysql5

else
echo $divider
echo Setting [MySQL] Permissions...
echo $divider

echo $ sudo chown -R root:wheel /opt/local/bin/mysql5
sudo chown -R root:wheel /opt/local/bin/mysql5

echo $ sudo chown -R root:wheel /opt/local/etc/mysql5
sudo chown -R root:wheel /opt/local/etc/mysql5

echo $ sudo chown -R mysql:mysql /opt/local/include/mysql5
sudo chown -R mysql:mysql /opt/local/include/mysql5

echo $ sudo chown -R root:wheel /opt/local/lib/mysql5
sudo chown -R 

Re: Remove all ports

2007-09-13 Thread Ryan Schmidt


On Sep 13, 2007, at 19:29, AstroDrabb wrote:

Is there a way to remove all installed ports?  I want to start  
clean and before I install a port, I want to see if the port is the  
latest version of the software, if not, I want to try to upgrade  
the port.


I'm not sure if there's a good way to remove all ports, but keep the  
MacPorts infrastructure. You could try:


sudo port -f uninstall installed

but I haven't tried that myself because I'd like to keep my ports  
installed. :-)


There are instructions however for removing all of MacPorts here:

http://trac.macosforge.org/projects/macports/wiki/ 
FAQ#HowdoIremoveoruninstallMacPorts


Then you can download the MacPorts 1.5.0 disk image, install it, and  
sudo port selfupdate to the latest 1.5.2 version and be on your way.

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Gimp and gimp-print

2007-09-13 Thread Yves de Champlain


Le 07-09-13 à 20:47, Stefan Bruda a écrit :


Hi,

The latest Gimp (2.4.1) does not seem to go along well with gimp- 
print.

Whenever I attempt to print something I get a bus error in
/opt/local/lib/gimp/2.0/plug-ins/print.  Last time I checked (with  
Gimp
2.2.17) printing was no problem at all.  Is there any trick I am  
missing?
How does one print?  Could it be that this all happens because the  
newest

Gimp port if for a release candidate?


I'm not sure about this.  Do you have gimp-print installed ?  The  
print plugin is part of gimp itself.  It would be easier if I had  
some output of this.


yves

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users