1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
Commit Graph

37 Commits

Author SHA1 Message Date
Baptiste Daroussin
4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00
Antoine Brodin
7f2e40333f Allow distfiles grouping for linux-rpm ports while not extracting the .src.rpm on the package builders
With hat:	portmgr
2014-03-25 11:42:59 +00:00
Thierry Thomas
78d49142aa Let the linux rpm ports use grouping rules, e.g. to download the
binaries and the sources from differents MASTER_SITES.

PR:		ports/186702
Approved by:	netchild
2014-03-18 22:19:01 +00:00
Rene Ladan
0098470dc9 - Remove a check insisting that Fedora 10 ports can only be run when
compat.linux.osrelease is set to 2.6.16.  This enables running newer
  libc versions wanting e.g. Linux 3.4.X.  It was mostly a leftover
  from the Fedora Core 4 support in the FreeBSD 7.X days. [1]
- While here shorten the IGNORE message of another check.

Submitted by:	cognet [1]
2014-01-17 13:20:09 +00:00
Antoine Brodin
d89de633a5 Rework linux rpm plist generation/installation
Convert linux-f10-libasyncns to STAGEDIR (only user of AUTOMATIC_PLIST)

Approved by:	portmgr (bapt)
2013-10-06 09:08:22 +00:00
Baptiste Daroussin
11050b9333 Fix linux rpm plist generation 2013-10-04 15:47:38 +00:00
Baptiste Daroussin
772ef04904 Fix directory staging 2013-10-04 15:38:17 +00:00
Baptiste Daroussin
034376c1d0 Allow staging linux rpms 2013-10-02 22:58:26 +00:00
Rene Ladan
1759b37af1 - Finish removal of support for Linux 2.4 in bsd.linux-apps.mk and
bsd.linux-rpm.mk.  The default linux version is now Fedora 10.
- Remove now obsolete checks for Linux 2.4 in emulators/linux_base-c6,
  emulators/linux_base-f10, and emulators/linux_dist-gentoo-stage3.
  While there, remove superfluous -p argument from ${MKDIR}.
- Remove now obsolete check for Linux 2.4 or FreeBSD 6 and lower from
  astro/google-earth.
- Remove expired Fedora Core 4 ports which were only used on FreeBSD 7
  and below.
- Update LEGAL and MOVED

PR:		ports/176877
Submitted by:	myself
Approved by:	portmgr (bapt)
Exp-run by:	bapt
2013-05-30 09:11:52 +00:00
Baptiste Daroussin
eb40118d02 On all supported version of FreeBSD tar do support rpm as an archive format.
So directly use tar to extract linux* distfiles instead of rpm2cpio.
2013-04-22 16:24:11 +00:00
Martin Wilke
61d8acdb49 - Remove emacs mode, -*- mode: ...; -*- [1]
- Comments for BUILD_ and RUN_DEPENDS fail to mention alternate means to specify dependencie [2]
- Fix make reinstall [3]
- Trivial comment change for PORTDATA [4]

PR:		151954 [1]
		161314 [2]
		167085 [3]
		167465 [4]
Submitted by:	Anonymous <swell.k@gmail.com> [1]
		dougb@ and Chris Rees <utisoft@gmail.com> [2]
		Garrett Cooper <yanegomi@gmail.com> [3]
		"Bryan Drewery" <bryan@shatow.net> [4]
Tested via:	phw
2012-05-23 08:17:49 +00:00
Alexander Leidinger
05282eb1d1 Remove all traces of F8, now that the deprecated/expired ports are removed
by a brave soul. They served us well.

We are fully FC4 (releng-7) or F10 (all other supported branches) now.

Reviewed by:	bsam, gj
2011-04-18 13:07:21 +00:00
Pav Lucistnik
d88a3287e7 - Allow using linux base 2.4 on FreeBSD 8.X
PR:		ports/154186
Submitted by:	ale
2011-02-25 11:00:59 +00:00
Erwin Lansing
74cb9eff53 Deprecate md5 in favour of sha256 checksums. md5 checksums will no longer
be generated or checked, and will be silently ignored for now.  Also,
generalize the MD5_FILE macro to DISTINFO_FILO.

PR:		149657
Submitted by:	rene
Approved by:	portmgr
Tested on:	pointyhat i386 7-exp
2010-10-28 21:00:21 +00:00
Boris Samorodov
d65c254427 Fix a typo: limitted -> limited.
Reported by:	trhodes
2009-12-13 19:29:34 +00:00
Boris Samorodov
59be373935 Honor OVERRIDE_LINUX_NONBASE_PORTS=f8 after the change to Fedora 10
as the default Linux base on -CURRENT.

PR:		ports/136206
Submitted by:	nwhitehorn
2009-07-01 20:35:34 +00:00
Boris Samorodov
d937bad880 Welcome new defaults for linux ports!
The default is switched for OSVERSION >= 800076 (when the last known
issue was fixed at the base system). From now the default linux
base port is linux_base-f10. Default linux infrastrucure ports
are linux-f10-*.

HEADSUP to current@ is comming.

Exp-run by:	portmgr (pav)
2009-06-26 17:03:48 +00:00
Boris Samorodov
2d97558844 Switch default LINUX_DIST_VER to 4. This change was part of an exp-run
and only one application was affected and is fixed now
(x11-themes/linux-gtk-bluecurve-theme).

Tested by:	exp-run (pav)
2009-06-17 18:53:57 +00:00
Boris Samorodov
c11516af7b Here are new Linux Fedora 10 infrastructure ports.
Those ports are intended to be used with 8-CURRENT at least
with SVN r192206.

If you want to switch to linux-f10 ports, please define at /etc/make.conf:
  OVERRIDE_LINUX_BASE_PORT=f10
  OVERRIDE_LINUX_NONBASE_PORTS=f10

An upgrading procedure is shown at /usr/ports/UPDATING, entries 20090401
and 20070327.

For the first time all tested linux ports work as expected(!):
. acroread8;
. google-earth;
. skype;
. seamonkey.

Many thanks for kernel folks who really did the main work
(and I wrote only some lines of ports).

There is a good chance that those ports may become a default
for 8.0-RELEASE. Please, test and report back to emulation@ ML.
2009-06-01 17:26:31 +00:00
Boris Samorodov
340fc40b6b Move checks away for MASTER_SITES area and restruct them.
Linux Fredora 8 infrastructure ports should be used if:
. sysctl compat.linux.osrelease is 2.6.16;
. linux base port is set to f8 or f9;
. linux infrastructrue is used.
Remove _F8_COMPATIBLE_LINUX_BASE_PORTS for now (it will
be reintroduced later).

Please note, that there is no strict dependency upon OSRELEASE so far.
2009-04-09 10:35:10 +00:00
Boris Samorodov
d6cf761d43 Add comments forgotten by me at the previous commit. 2009-04-06 12:57:35 +00:00
Boris Samorodov
7550347802 . add linux_base-f9 port to the list of used linux base ports;
. add a variable _F8_COMPATIBLE_LINUX_BASE_PORTS, it's a list
  of linux base ports compatible (i.e. may be used) with
  linux -f8- infrastructure ports;
. define apropriate _LINUX_BASE_SUFFIX;
. let ports with AUTOMATIC_PLIST=yes use the new value;
. add some comments about those changes.
2009-04-06 12:48:13 +00:00
Boris Samorodov
824eda00fc Here are new Linux Fedora 8 infrastructure ports.
The recommended version of FreeBSD to use them is 8-CURRENT.
FreeBSD-7.x is not fully compatible with compat.linux.osrelease
2.6.16. Some syscalls cannot be MFCed due to native FreeBSD
ABI breakage.

Usage (and package building):
1. define compat.linux.osrelease=2.6.16;
2. add following variables to /etc/make.conf:
   . OVERRIDE_LINUX_BASE_PORT=f8;
   . OVERRIDE_LINUX_NONBASE_PORTS=f8.

Approved by:	bsam (me) ;-)
2009-04-01 15:25:39 +00:00
Boris Samorodov
0263b9d868 Welcome to the new linux ports infrastructure which allows using
both current (fc4) and future linux (f8) distributions at one
ports tree.

The patch contains full changes to ports/Mk files and all ports involved.
But only infrastructure is changed. The resulting packages are the same as
before. Hence no need to bump PORTREVISIONs.

The idea was taken from bsd.gnome.mk and others.

More than 130 ports are switched to follow a new linux infrastructure
introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new
bsd.linux-apps.mk.

Thanks for all who was involved and helped me with this work.
And help from Alexander Leidinger was incredible.

Other changes are coming. Stay tuned!

PR:		ports/132510
Submitted by:	bsam (me)
Exp-run by:	portmgr (pav)
2009-03-19 17:28:51 +00:00
Boris Samorodov
ce3a776fc1 Make bsd.linux-rpm.mk respect NOPORTDOCS variable.
PR:		123964
Submitted by:	Ganael Laplanche <ganael.laplanche at martymac.com>
Discussed at:	emulation@
2008-08-15 12:29:42 +00:00
Boris Samorodov
a2d5cc6798 Add valid values fc6, f7 and f8:
. to USE_LINUX variable, so users can install linux ports which  [1]
  use AUTOMATIC_PLIST (while those values are assigned to
  OVERRIDE_LINUX_BASE_PORT variable);
. to IGNORE message.

netchild said: "I don't think it will hurt if the fix for fc6 is committed.
There are users out there which already use the experimental 2.6.16 support,
and it would make their life easier."

me decided: "Why should we segragate f7/f8 users?" and committed f7/f8
parts as well.

PR:		ports/122826  [1]
Submitted by:	Naram Qashat <cyberbotx at cyberbotx.com>  [1]
2008-04-29 19:20:52 +00:00
Boris Samorodov
fbc20d300d Redo the comments so they match the other bsd.x.mk files.
PR:		104015
Submitted by:	whitespace police (edwin)
2006-10-05 17:20:25 +00:00
Vasil Dimov
8d9f8bdd99 Remove support code for old linux distros
PR:		ports/103901
Submitted by:	vd
Approved by:	netchild
2006-10-02 14:00:45 +00:00
Andrew Pantyukhin
b60960c9e9 - Only set default m_s_subdir if master_sites was undefined 2006-07-30 22:34:30 +00:00
Boris Samorodov
adb5257b4c o change default linux package at bsd.linux-rpm.mk for automatic
plist creation to FC4;
o  upgrade audio ports which use automatic plist creation to use FC4
   packages or bump PORTREVISION for those which already use FC4
   packages.                                                           [1]

Approved by:	julefort (maintainer, implicit)   [1]
		netchild (mentor)
2006-07-13 12:35:13 +00:00
Alexander Leidinger
16930c800d When generating the automatic plist, also understand @dirrmtry when looking
up linux_base-X owned dirs.

Submitted by:	Boris Samorodov <bsam@ipt.ru>
2006-06-07 18:47:40 +00:00
Alexander Leidinger
eccc0b6ddc Add support for the upcomming FC4 port (waiting for repocopy).
Submitted by:	Boris Samorodov <bsam@ipt.ru>
2006-05-20 15:54:24 +00:00
Alexander Leidinger
1406cf04a2 Fix the new-plist target (typo). 2006-05-16 18:19:35 +00:00
Alexander Leidinger
690d6ea08a Extract only the binary RPM's.
This should fix linux-expat, linux-glib2, linux-gnomelibs and
linux-xorg-libs (and thus linux-jpeg) on pointyhat.

Noticed by:	pointyhat (kris)
2006-05-02 10:06:54 +00:00
Alexander Leidinger
e830277d41 bsd.linux-rpm.mk:
- document some variables
 - set some variables based upon presets [1]
 - automatically guess the src RPM (needs to be overidden for multi-RPM
   ports) [1]
 - allow to specify complete directories or a set of files for
   automatic brandelf handling (BRANDELF_DIRS/BRANDELF_FILES) [1]
 - add fc3 to the automatic plist handling [1]
 - allow to override the linux-rpm-generate-plist target
 - also detect @dirrmtry in the automatic plist handling [1]
 - adopt the new-plist target to the new world order [1]

ports: [1,2]
 - edit WRKSRC (add rpm/i386/${LINUX_DIST}/${LINUX_DIST_VER})
 - add source distfiles to distinfo to allow auto fetching sources
   with defined PACKAGE_BUILDING;
 - remove some variables already defined at linux-rpm
   (i.e. MASTRE_SITE_SUBDIR);
 - add LINUX_DIST_VER to every port (in case default linux_base
   changes);
 - bump PORTREVISION (so that the ports build cluster puts the
   src and binary RPM's to the new location)
 - update linux-openal to the newest FC3 port

All errors are mine because of cut&paste patch merging.

Aproved by:	maintainer [2]
Reviewed on:	multimedia [1]
Submitted by:	Boris Samorodov <bsam@ipt.ru> [1]
2006-04-30 22:00:43 +00:00
Jean-Yves Lefort
423e721390 Pass maintainership to emulation.
Discussed with:	netchild
2006-01-25 17:41:34 +00:00
Kirill Ponomarev
01c588a635 - Fix 'all-depends-list' target in cases if dependencies list is
very long and if some dependencies can't be added into the list.
  [1]

- Fix FAM support.  Make gamin the default FAM system. [2]

- Introduce new 'quicksearch' target to show only port, path and
  info section of the matching ports. [3]

- Introduce new category - rubygems. [4]

- Fix stale dependencies while installing qmail slaveport and
  another port that depends on qmail. [5]

- Add commentary for describes target in bsd.port.mk. [6]

- Fix warning issued during make index on archs !368. [7]

- Add USE_DOS2UNIX variable.  If set to "YES", remove the ^M from
  all files under ${WRKSRC}. If set to a string, remove in all files
  under ${WRKSRC} with one of these names the ^Ms. [8]

- Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by
  checking the existance of the Perl modules with the "perl -e 'use
  module;'" command. [9]

- Fix bsd.port.mk variable quoting issues.  No quoting is necessary
  anymore either in the Makefile or on the command line.  Affected
  variables include:

  BROKEN
  FORBIDDEN
  IGNORE
  MANUAL_PACKAGE_BUILD
  NO_CDROM
  NO_PACKAGE
  RESTRICTED

  [10]

- Add NOFETCHFILES variable.  If set, don't download these files
  from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from
  ${MASTER_SITE_OVERRIDE}). [11]

- Improve 'search' target output. [12]

- Add a new virtual category for Amateur Radio - hamradio. [13]

- Cleanup some old/unused pathes in bsd.port.mk. [14]

- Add @dirrmtry for plists which does the same as:
  "@unexec rmdir %D/foo 2>/dev/null || true" [15]

- Remove virtual category - offix. [16]

- Use portsnap instead of cvsup or cvs on "make update" in
  /usr/ports. [17]

- Move location of bsd.autotools.mk within bsd.port.mk [18]

- Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19]

- Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20]

- Replace the string "FreeBSD" by "The FreeBSD Project" in the
  security warning [21]

- Add bsd.local.mk for local modification to ports framework. [22]

- Replace rcNG spelling by rc.d [23]

- Remove superfluous USE_REINPLACE. [24]

Special thanks to:      linimon for spending hours with all these patches
                        clement for fixes
                        kris for help with pointyhat
PR:     ports/86310 [1], ports/89498 [2], ports/83530 [3],
        ports/83789 [4], ports/84053 [5], ports/86281 [6],
        ports/87214 [7], ports/87234 [8], ports/87318 [9],
        ports/87396 [10], ports/87605 [11], ports/87840 [12],
        ports/88230 [13], ports/88493 [14], ports/88711 [15],
        ports/88751 [16], ports/89281 [17], ports/89999 [18],
        ports/90031 [19], ports/90150 [20], ports/90668 [21],
        ports/91433 [23], ports/88754 [24]
Submitted by:   mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3],
                pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7],
                edwin [8, 9, 11, 15, 21],
                fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12],
                Carl Makin <carl@stagecraft.cx> [13], arved [14],
                NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18],
                jylefort [19], linimon [22], dougb [23]
2006-01-21 17:37:14 +00:00