Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Dec 2009 06:48:08 +0100
From:      Nikola =?UTF-8?B?TGXEjWnEhw==?= <nikola.lecic@anthesphoria.net>
To:        Paul Schmehl <pschmehl_lists@tx.rr.com>
Cc:        Freebsd Ports <FreeBSD-ports@FreeBSD.org>
Subject:   Re: Need help with a port
Message-ID:  <200912180551.nBI5pHS9070032@anthesphoria.net>
In-Reply-To: <C75E8A856EACF493AC12BE4B@Macintosh-2.local>
References:  <C75E8A856EACF493AC12BE4B@Macintosh-2.local>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

On Wed, 16 Dec 2009 21:58:21 -0600
Paul Schmehl <pschmehl_lists@tx.rr.com> wrote:
=20
> I'm the port maintainer for security/barnyard2.  I submitted a port=20
> upgrade a while ago, but the committer asked me to make a change
> before he would approve it.  I'm not sure what to do.
>=20
> The source code, when it's extracted, sets the perms on install-sh to=20
> r--r--r.  This causes an error during the build.  The way I tried to=20
> resolve the issue was by adding this to the Makefile:
>=20
> +pre-install:
> +        ${CHMOD} 744 ${WRKSRC}/install-sh
> +
>=20
> The committer said that was the wrong way to do it, that I should
> edit the configure file.  But the configure file doesn't do anything
> to the install-sh file at all.

I think this should actually be ${CHMOD} ${BINMODE}. I have a similar
thing in one of my ports: textproc/teckit. Besides install-sh, the
permissions of configure script itself had to be altered.

A simple grep for CHMOD and WRKSRC reveals a heap of ports doing such
things in ${WRKSRC}...

- --=20
Nikola Le=C4=8Di=C4=87 =3D =D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0 =D0=9B=D0=
=B5=D1=87=D0=B8=D1=9B
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iJwEAQEDAAYFAksrF6AACgkQ/MM/0rYIoZiXAQP+KDSccIGLTpt0NZFQ41uyZEtr
UUtEuu3k+AqnC0g31m8B4bBORUZyjZliTn8ibip4j+dYwnGBH3yEIS9Jiz5YRf6Y
akB6r+8MAfhVJmVajNoyglJ0nMd3hx21CZ3stXGIiE1ACPAiHbF7RoXjXSLt/Thx
EMHF4UFT6tCdyY7DdL0=3D
=3D2oh7
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912180551.nBI5pHS9070032>