Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles

2008-12-14 Thread आशीष शुक्ल Ashish Shukla

In aeac14f0-5f2d-462b-94a9-0f859f87e...@gmail.com, Garrett Cooper wrote:

On Dec 9, 2008, at 10:13 AM, Dmitry Marakasov wrote:


It's not like your proposal is bad, ports instantaneously tracking
upstream changes and not needing maintainers would really be cool,
but unfortunately that's practically impossible.


Some software projects are switching over to this kind of a model, like 
glibc.


What kind of model ? You mean using repositories instead of release tarballs, 
hmm..?


--
Ashish Shukla


pgpWV5NKyVVmz.pgp
Description: PGP signature


Ekiga segfaulting with stack overflow

2008-10-08 Thread आशीष शुक्ल Ashish Shukla

Hi all,

I'm experiencing following issue with ekiga-2.0.11_4 package.

88-
% gdb `which ekiga`
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as amd64-marcel-freebsd...
(gdb) run
Starting program: /usr/local/bin/ekiga 
[New LWP 100218]

[New Thread 0x80a701120 (LWP 100218)]
[New Thread 0x80a701400 (LWP 100257)]
[New Thread 0x80a701570 (LWP 100258)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x80a701120 (LWP 100218)]
0x000808fc4a82 in __opendir2 (name=0x80c5ade40 /dev/ext2fs/, flags=3)
at /usr/src/lib/libc/gen/opendir.c:77
77  if (stat(name, statb) != 0)
Current language:  auto; currently c
(gdb) bt
#0  0x000808fc4a82 in __opendir2 (name=0x80c5ade40 /dev/ext2fs/, flags=3)
at /usr/src/lib/libc/gen/opendir.c:77
#1  0x000807ca8f27 in PDirectory::Open (this=0x7fc007b0, ScanMask=511) 
at osutil.cxx:546
#2  0x00080aa18b7c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:347
#3  0x00080aa18c4c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:354
#4  0x00080aa18c4c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:354
#5  0x00080aa18c4c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:354
#6  0x00080aa18c4c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:354
#7  0x00080aa18c4c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:354
#8  0x00080aa18c4c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:354
#9  0x00080aa18c4c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:354
#10 0x00080aa18c4c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:354
#11 0x00080aa18c4c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:354
#12 0x00080aa18c4c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:354
#13 0x00080aa18c4c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:354
#14 0x00080aa18c4c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:354
#15 0x00080aa18c4c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:354
#16 0x00080aa18c4c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:354
#17 0x00080aa18c4c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:354
#18 0x00080aa18c4c in CollectSoundDevices ([EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED], collect_with_names=1) at sound_oss.cxx:354


(gdb) print name
$1 = 0x80c5addf0 /dev/ext2fs/
(gdb) print statb
$2 = {st_dev = 0, st_ino = 0, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 0, st_rdev = 0, 
  st_atimespec = {tv_sec = 0, tv_nsec = 0}, st_mtimespec = {tv_sec = 0, tv_nsec = 0}, 
  st_ctimespec = {tv_sec = 0, tv_nsec = 0}, st_size = 0, st_blocks = 0, st_blksize = 0, 
  st_flags = 0, st_gen = 0, st_lspare = 0, st_birthtimespec = {tv_sec = 0, tv_nsec = 0}}


% ls -l /dev/ext2fs
ls: : No such file or directory
total 0
crw-r-  1 root  operator0, 105 Oct  8 13:39 archives
crw-r-  1 root  operator0, 104 Oct  8 13:39 lectures
% find /dev/ext2fs/
/dev/ext2fs/
find: /dev/ext2fs/: No such file or directory
/dev/ext2fs/lectures
/dev/ext2fs/archives
% stat /dev/ext2fs
67174144 120 dr-xr-xr-x 3 root wheel 4294967295 512 Oct  8 13:39:34 2008 Oct  8 13:39:34 2008 
Oct  8 13:39:34 2008 Jan  1 05:29:59 1970 4096 1 0 /dev/ext2fs
88

I've also installed Gentoo GNU/Linux on the same box with ext3 partitions. The 
partitions which are displayed above are only two of them, other ext3 partitions 
aren't showing up in that directory. And as you can see, there is some invalid 
file also present in that directory 

Re: SoundServer crashes

2008-09-10 Thread आशीष शुक्ल Ashish Shukla

In [EMAIL PROTECTED], Paul Horechuk wrote:

[snip]


gdb gdnc.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd.../gdnc.core: not in 
executable format: File format not recognized


I don't think above is the way to inspect core-dumps with gdb.

% gdb
(gdb) core-file gdnc.core

HTH
Ashish
--
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
()  ascii ribbon campaign - against HTML e-mail 
/\  www.asciiribbon.org   - against proprietary attachments


pgpFP4iQEDjd1.pgp
Description: PGP signature


Re: Creating New Port - Question about Installation

2008-06-26 Thread आशीष शुक्ल Ashish Shukla
,--[ On Thu, Jun 26, 2008 at 05:52:04PM -0400, Schiz0 wrote:
| Hey,
| 
| I'm attempting to create a new port for btsh:
| http://btsh.sourceforge.net/
| The website isn't finished yet, but it's a command-line interface for
| torrent websites.
| 
| Anyway, the original .tar.bz2 that the author wrote has no configure
| script or makefile. All it has is an INSTALL script. The INSTALL
| script prompts for a directory to install to, then copies the proper
| files over and sets some permissions.

If the INSTALL script copies according to the FreeBSD filesystem
conventions, you can write an answer script, and use it to auto-answer
the INSTALL script, e.g.

88
abbe [/tmp] chateau % cat test.sh 
#!/bin/sh

echo Where to install ?
read DIR
echo New user name ?
read USER

echo Installing in $DIR and user is $USER
abbe [/tmp] chateau % printf /usr/bin\ntycho |./test.sh
Where to install ?
New user name ?
Installing in /usr/bin and user is tycho
88

Or you can install it from your Makefile, instead of relying on the
INSTALL script.

HTH
-- 
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


pgpWYQLPuFmiC.pgp
Description: PGP signature


Google Gadgets available on FreeBSD

2008-06-08 Thread आशीष शुक्ल Ashish Shukla
Hi,

I've ported Google Gadgets[1] on FreeBSD, and the PR is ports/124403. At
the moment, it only builds with GTK+, as I don't have Qt4 installed,
though this port has choice between using GTK+ and Qt4. If anyone is
interested, please send a patch, or I'll do it in few days, when I get
some time.

References:
[1] - http://code.google.com/p/google-gadgets-for-linux/

Thanks
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


pgp0M2US0qWJw.pgp
Description: PGP signature


Re: Trying to support my product on BSD

2008-01-18 Thread आशीष शुक्ल Ashish Shukla
,--[ On Fri, Jan 18, 2008 at 02:17:37PM +0530, navneet Upadhyay wrote:
| Hi ,
|My product is successfully running on Linux( all most all versions)
| and HP- UX and Windows .
| 
|   *It is 100 % C++ code*.
| 
|  I am planning to support it on FreeBSD, i have two queries :
| 
| 1. *How to build my code into binaries* on FreeBSD , i have my unix make
| files. Just to give an idea i have around 200 cpp files and they complile to
| 5 binaries . I am using multithreading(posix on linux) and sockets heavily.

BSD Make (make) or GNU Make (gmake) will help you build your stuff on
FreeBSD.

| 2.* How to package the binaries*(RPM sort of thing). Idea is to provide a
| package to user who can install them binaries using this package by issuing
| single command.

You can create a package by creating a port (see porters-handbook[1]) for your 
product,
and then ship .tbz2 files. And if its FOSS, then you can submit your
port for inclusion in official FreeBSD ports tree :) .

References:
[1] - http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/

HTH
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


signature.asc
Description: Digital signature


Re: net/freenet6: Error is 3: INTERFACE_SETUP_FAILED

2007-12-31 Thread आशीष शुक्ल Ashish Shukla
Hi,

There's been a discussion on this port few days back on this list, and
the conclusion is that putenv() function (in 7.0) used in tspSetEnv() is the
culprit, so either replace putenv() with setenv() or use net/gateway6
port instead :)

HTH
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


signature.asc
Description: Digital signature


Re: Possibly unbuildable ports reminder

2007-12-28 Thread आशीष शुक्ल Ashish Shukla
,--[ On Fri, Dec 28, 2007 at 10:00:02AM +, Bill Fenner wrote:
| Dear porters,
| 
|   This is just a reminder to please periodically check the list of
| unbuildable ports at http://pointyhat.freebsd.org/errorlogs/ .
| A list by MAINTAINER is
| 
| http://people.freebsd.org/~fenner/errorlogs/

Logs corresponding to my maintained ports at following URL, seems to me
outdated:

http://people.freebsd.org/~fenner/errorlogs/[EMAIL PROTECTED]

It seems list needs to be re-generated.

HTH
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


signature.asc
Description: Digital signature


Re: Possibly unbuildable ports reminder

2007-12-28 Thread आशीष शुक्ल Ashish Shukla
,--[ On Fri, Dec 28, 2007 at 11:26:00AM +, Craig Butler wrote:

[...]

| I had a quick look and there is another port listed for you at;
| http://people.freebsd.org/~fenner/portsurvey/[EMAIL PROTECTED]

:( I don't have any control over distfiles servers, most of them're mirrors.


-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


signature.asc
Description: Digital signature


Re: Problem with net/freenet6 port.

2007-12-28 Thread आशीष शुक्ल Ashish Shukla
,--[ On Fri, Dec 28, 2007 at 06:42:35PM +0100, Michael Scholz wrote:

[snipped]

| Month ago I have sent a problem report with solution for net/freenet6
| but it wasn't committed yet.  FreeBSD 7.X has changed the behavior of
| libc function putenv() which results in the above issue.  As a
| circumvent you may use net/gateway6, it's nearly the same, or you
| correct tspSetEnv() in freebsd/tsp_local.c (replace putenv() with
| setenv(), just like in net/gateway6).

Thanks will try the net/gateway6 .
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


signature.asc
Description: Digital signature


Re: Stupid question

2007-08-16 Thread आशीष शुक्ल Ashish Shukla
,--[ On Thu, Aug 16, 2007 at 04:26:48PM -0300, Pablo Murillo wrote:
| Hello

Hi,

| 
| My name is Pablo, I'm from Argentina, I'm new on FreeBSD, and I have a very 
| stupid question about ports
| How can I re-make a port and change the options selected the first time I 
| make the port ?
| For example, I make the port for assp (/usr/ports/mail/assp) and I don't 
| have MySQL installed, and I hit Enter to quickly (sorry), and now, I can't 
| get the options screen again.

Try, make config .

| 
| Thanks in advance
| Pablo Murillo
| 
| PS: sorry my english, my natural languaje is spanish, and I'm to bad in 
| spanish too :) 

Ashish Shukla
-- 
Ashish Shukla Wah Java !!
आशीष शुक्ल

weblog: http://wahjava.wordpress.com/

  ,= ,-_-. =.  | The  desire  to  be  rewarded  for one's  creativity  does |
 ((_/)o o(\_)) | not  justify depriving  the world  in  general of  all  or |
  `-'(. .)`-'  | part  of that  creativity. |
  \_/  |- Richard M. Stallman   |



pgpsrPImBGmea.pgp
Description: PGP signature