3473 Commits

Author SHA1 Message Date
ajacoutot
38f11e4c43 In case of the "gnu" CONFIGURE_STYLE, set DATADIRNAME to "share".
glib-gettext.m4 and intltool.m4 have been fixed ages ago but upstream
developers seem to get stuck on old versions or do not update their
macro to follow this change.
It makes no sense to keep patching the whole ports tree for it, so for
now we hardcode it here.

"why not" espie@
2013-06-01 18:54:27 +00:00
espie
7735fdbb8e scrape redundant test 2013-05-29 09:37:17 +00:00
espie
a94271268e I could swear I committed this already: have DPB in-synch with future dpb
work.

also, warn for MASTER_SITES that don't end with /, as this is usually
an issue (but not always), as discussed with rpe@

In case successful fetch yields wrong size, always remove the partial for
later MASTER_SITES to pick it up, the 'cute' code that keeps partials over
30K is not really all that useful...
2013-05-27 16:06:51 +00:00
zhuk
d0edd4553f Improve MODPERL_BIN_ADJ: strip any version suffix for perl binary, so
shebangs like "#!/usr/bin/env perl5" and "#!/usr/bin/perl5.12" will be
normalized altogether.

No bumps are required for ports already using MODPERL_BIN_ADJ.

Requested by and okay dcoppa@, okay sthen@
2013-05-24 14:58:45 +00:00
espie
e71445259f tweak 'dump-vars' run to include TEST values if run with -t.
THIS REQUIRES MOST RECENT bsd.port.mk, OTHERWISE THIS WILL BREAK BADLY.

The values are not used yet, but I fully intend to make it possible to
run non-regression tests in the not too distant future.
2013-05-21 20:44:08 +00:00
ajacoutot
04290ec6e6 Allow /usr/ports to be a symlink without the need to set PORTSDIR.
chromium was one of the ports that failed to build without PORTSDIR
being set and /usr/ports being a symlink -- but this is not the case
anymore.
If any other port fails because of this, I'll fix it.

ok espie@ todd@ sthen@
2013-05-21 12:38:06 +00:00
dcoppa
126f39726c permit native-ppoll and native-pselect
ok brad@
2013-05-21 08:13:53 +00:00
espie
17ac01b54d write in the lock file that we're building in memory, more possible affinity
information...
2013-05-18 17:24:46 +00:00
sthen
03ab353173 Move the recently-added -C from the hardcoded arguments passed to FETCH_CMD,
to the user-definable FETCH_CMD variable itself, allowing this to be used with
curl again (FETCH_CMD = /usr/local/bin/curl -C -) for those that need/want it
(e.g. some less common cases with proxies, or for better https support).
"go ahead" espie@, makes sense to naddy.
2013-05-15 16:32:16 +00:00
gsoares
fbb1c12e48 zap whitespace 2013-05-14 13:38:59 +00:00
naddy
b36adfa03d we have memmem() now; ok ajacoutot@ espie@ 2013-05-13 17:53:54 +00:00
espie
191af91368 revisit old codes, rewrite DISTFILES handling using
.for v1 v2 in list
techniques, which make it clearer.

Add new syntax to distfiles, which is not painful to do now, and support it
for dpb fetch as well: a distfile can now be file{url} to specify a different
result from the url (this allows really weird naming scheme on http sites
to give us consistent files, which has become a nagging problem).

This still doesn't mean you shouldn't encourage upstream to do the right thing
and provide nice archive urls.

extend the fetch process in bsd.port.mk to work more like dpb does, namely
download to intermediate "part" files that don't vanish and use -C if
necessary.

Both those mean that FETCH_CMD has to work like ftp, including the -C and
-o support...

discussed with various people.
2013-05-08 08:38:36 +00:00
zhuk
5ab62297f4 Add MODPERL_BIN_ADJ and MODPERL_ADJ_FILES, similar to other port modules.
Tested with the upcoming print/texlive/base big shebang adjustment patch.

"Makes sense" sthen@
2013-05-06 21:16:18 +00:00
espie
ce625eb044 oops, if the error is dire enough, there's no info. 2013-05-01 22:39:24 +00:00
espie
c9efb7f92a add ! to ports that prevent junk from happening, so that you know why it
doesn't junk.

spell out a bit more that logs and locks do NOT need to be shared.
2013-04-30 10:22:36 +00:00
sthen
b100b01c49 add basic mode support for pkg_subst, ok espie@. example use:
${SUBST_CMD} -c -m 755 -o root -g bin ${FILESDIR}/script ${PREFIX}/bin/script
2013-04-27 15:43:42 +00:00
espie
f44e3e9279 forgotten commit, during debug, show more info about what's running on the
core (e.g., job contents)
2013-04-22 20:56:53 +00:00
espie
33fbbc6945 make sure things end up in a sane state. In particular, we may add the
same path several times (which is fine for hashes), but we should deal
with RDEPENDS in a consistent way...

problem "noticed" by landry.
2013-04-22 19:34:10 +00:00
espie
c08aae7a35 only show "real bugs". The ones that come from old paths don't count. 2013-04-22 11:14:17 +00:00
espie
d339778a36 dump all the paths with fishy behavior at end of equiv.
this is a bit too much, but this catches:
SUBDIR=devel/py-gobject3,python3 make dump-vars DPB=Yes
devel/py-gobject3,python.BUILD_DEPENDS=graphics/py3-cairo STEM->=0.10.38:devel/gettext lang/python/3.2 STEM->=0.41.1p0:textproc/intltool devel/gmake archivers/xz
devel/py-gobject3,python.IS_INTERACTIVE=No
devel/py-gobject3,python.SUBPACKAGE=-main
devel/py-gobject3,python.FLAVOR=python3
devel/py-gobject3,python.BUILD_PACKAGES= -main -common
devel/py-gobject3,python.FULLPKGNAME=py3-gobject3-3.8.1p0
devel/py-gobject3,python.RUN_DEPENDS=STEM->=0.10.38:devel/gettext lang/python/3.2 devel/py-gobject3,-common graphics/py3-cairo
devel/py-gobject3,python.LIB_DEPENDS=STEM->=0.10.38:devel/gettext converters/libiconv devel/gobject-introspection
devel/py-gobject3,-common.BUILD_DEPENDS=graphics/py3-cairo STEM->=0.10.38:devel/gettext lang/python/3.2 STEM->=0.41.1p0:textproc/intltool devel/gmake archivers/xz
devel/py-gobject3,-common.IS_INTERACTIVE=No
devel/py-gobject3,-common.SUBPACKAGE=-main
devel/py-gobject3,-common.FLAVOR=python3
devel/py-gobject3,-common.BUILD_PACKAGES= -main -common
devel/py-gobject3,-common.FULLPKGNAME=py-gobject3-common-3.8.1
devel/py-gobject3,-common.RUN_DEPENDS=STEM->=0.10.38:devel/gettext lang/python/3.2

(note the "wrong" flavor, which means that
devel/py-gobject3,python3,-main ends up without an associated fullpkgname)
2013-04-22 10:06:12 +00:00
espie
9b6c92b10d okay, if we're missing info, assume it's not really important, as it is
in an extra package we don't really care about.
2013-04-22 10:02:22 +00:00
sthen
1cef5db8b7 As found by dhill, a commonly used autoconf fragment is buggy and only
sets SED (which it later uses in certain checks) if lt_cv_path_SED is not
set. Adjust config.no-gsed to explicitly set SED to avoid this.
Problem most easily seen if using an alternative CC.
Earlier version ok naddy@
2013-04-16 12:09:36 +00:00
espie
5c7a239ea6 stub_out() to remove a bit more packages in an agressive way. 2013-04-15 13:44:06 +00:00
espie
03e8a20bab better 2013-04-13 16:13:34 +00:00
espie
f16f2a4fa3 display a bit more post-mortem info, show the Core<->current job info. 2013-04-13 10:04:43 +00:00
espie
99c73a5b6c fix die handler, as it should display the message as well...
grumble

make it possible to temporarily disable those handlers.
2013-04-13 10:02:11 +00:00
zhuk
7f00acb024 Add -u option to portimport(1), allowing to specify your username in CVS.
BUGS section is gone now.
2013-04-11 15:18:00 +00:00
rpe
e195d5e0df add portimport
portimport is used to import the directories and files of a new
port to the OpenBSD ports cvs(1) repository, avoiding common mistakes.
It has to be executed from within the new port's directory.

please read the BUGS section in portimport(1) for details about the
user login used to connect to cvs.openbsd.org !!

addition suggested by and OK sthen@
no objections from jasper@ espie@ aja@
manpage nits jmc@
2013-04-09 19:51:37 +00:00
sthen
43ea67d425 reserve id for c-icap 2013-04-08 20:58:21 +00:00
espie
3193fed1a9 work around bob 2013-04-08 16:45:06 +00:00
rpe
9d09dca90a MASTER_SITE_KDE
- switch ftp.uvsq.fr from http to ftp

MASTER_SITE_FREEBSD_LOCAL
- switch se and uk mirrors to http and move upwards in list
- switch ru mirror from http to ftp

MASTER_SITE_PACKETSTORM
- replace all currently listed mirrors with the 4 offical ones

MASTER_SITE_MYSQL
- remove ftp.rhnet.is and mirror.services.wisc.edu
- switch a couple of ftp mirrors to http
- ftp://ftp.linorg.usp.br beomes http://linorg.usp.br
- switch.ch becomes first ftp mirror to improve "make peek-ftp"

MASTER_SITE_ISC
- remove ftp.epix.net
- move ftp.arcane-networks.net below ftp://ftp.isc.org

ok sthen@, jasper@ (on a similar diff)
2013-04-06 19:57:48 +00:00
naddy
20b4ba4e5a 5.3 CD packages 2013-04-02 14:27:59 +00:00
zhuk
3d5f2cd43c One more goody after REGRESS => TEST: remove NO_REGRSS from list of
poisoned variables.

ok naddy@
2013-04-01 15:28:47 +00:00
espie
5fa862a6ed make the distinfo check silent, for ports without distfiles (and no distinfo
either)
2013-04-01 13:11:34 +00:00
naddy
706f6525da Override lt_cv_path_SED, too.
Used by GNU libtool and also spread around by phpize.
ok sthen@
2013-03-27 16:20:58 +00:00
jasper
dd32237fd7 gumstix was buried under a palm tree. 2013-03-25 17:41:46 +00:00
jasper
c010280155 octeon will be a GCC4 arch. 2013-03-25 10:33:43 +00:00
ajacoutot
58f1a6f9f6 USE_LIBTOOL=Yes is the default now. 2013-03-21 08:45:11 +00:00
ajacoutot
c09922ae71 Change USE_LIBTOOL default from No to Yes.
libtool(1) is part of the base system now so it does not add any
dependency. Also it is a good way to not miss ports using their own
bundled libtool.

discussed with and ok jasper@ landry@ espie@
2013-03-21 08:28:33 +00:00
giovanni
10f5e956b9 Add user for mail/postfwd
ok brad@ landry@
2013-03-20 14:17:21 +00:00
espie
4cbd0426c6 redo the PERMIT_PACKAGE_CDROM -> PERMIT_PACKAGE_FTP in a slightly more
paranoid way for multi-packages.
Specifically, do the implication separately for each multi-packages, so
if you set e.g.,
PERMIT_PACKAGE_CDROM-foo = no
then you *don't* inherit a PERMIT_PACKAGE_FTP = Yes into
PERMIT_PACKAGE_FTP-foo

(also default *first* to a restrictive PERMIT_PACKAGE_FTP for
PERMIT_PACKAGE_FTP-foo  before copying a PERMIT_PACKAGE_CDROM-foo=Yes)

as a consequence, check that PERMIT_* is correctly setup for each
subpackage of MULTI_PACKAGES
2013-03-20 10:48:00 +00:00
espie
eb5c0fba26 aggressively refuse ports which didn't see the recent changes
move PERMIT_* settings after modules and arch support, so we can
access MULTI_PACKAGES better.
2013-03-17 10:35:05 +00:00
ajacoutot
8abe0384bd Kill unused ACCEPT_JRL_LICENSE.
ok kurt@
2013-03-14 16:05:45 +00:00
ajacoutot
f11cc4f03e Add an _activemq user. 2013-03-13 16:18:23 +00:00
ajacoutot
e233cd7b86 Forgot to add the _puppet-dashboard user when I committed the update. 2013-03-13 15:43:09 +00:00
ajacoutot
7b00d9e965 check -> test
ok espie@
2013-03-12 06:56:27 +00:00
brad
777ea41783 Allow access to /dev/ptm so posix_openpt() works.
ok sthen@
2013-03-12 00:30:53 +00:00
ajacoutot
f55ec16fbb s/EGREP/FGREP for the fgrep(1) case.
ok espie@
2013-03-11 14:45:24 +00:00
espie
2e23844bbb zap :L 2013-03-11 14:45:20 +00:00
espie
4343dd21e3 if you poison PERMIT_DISTFILES_CDROM, this should still work... 2013-03-11 12:23:40 +00:00