aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.linux-rpm.mk
Commit message (Collapse)AuthorAgeFilesLines
* - Replace Mk/bsd.linux-apps.mk and Mk/bsd.linux-rpm.mk withTijl Coosemans2016-09-051-219/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mk/Uses/linux.mk. - Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with USES+=linux:\1 in all ports. - Replace USE_LINUX_APPS with USE_LINUX in all ports. - Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some ports. - When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY are defined. - Remove BRANDELF_DIRS and BRANDELF_FILES handling. In the very rare cases that it is still necessary ports can run ${BRANDELF} from post-patch. - Remove AUTOMATIC_PLIST handling. Only one port used it. - Fix Linux MASTER_SITES. - Replace OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS with default versions framework. - bsd.port.mk: - Move Linux related bits to Uses/linux.mk, except USE_LINUX_PREFIX. - Put USE_LINUX_PREFIX handling after USES processing. - Define DOCSDIR, DATADIR, etc. after handling USE_LINUX_PREFIX so it can give these variables a different default value. - When a package needs to run Linux ldconfig check before installation if Linux support is enabled. - emulators/linux_base-*: - Use USES=linux and remove duplication. - Remove files/lp. FreeBSD or CUPS lp(1) should work. - Remove files/yp.conf. No longer seems to be used. - Remove pkg-deinstall and move pkg-install into pkg-plist. - Update pkg-descr and pkg-message. - Fix handling of ldconfig cache in pkg-plist. - devel/fb-adb: Use a Linux shell to run a Linux script but patch the script to use FreeBSD mkdir so mkdir -p $path creates $path and not /compat/linux/$path. PR: 211645 Exp-run by: antoine Approved by: portmgr (antoine) Notes: svn path=/head/; revision=421387
* Do not terminate IGNORE messages with period, it is added by the framework.Alexey Dokuchaev2016-08-261-1/+1
| | | | Notes: svn path=/head/; revision=420904
* Use LINUX_REPO_ARCH instead of LINUX_RPM_ARCH when setting DISTINFO_FILETijl Coosemans2016-08-011-2/+2
| | | | | | | | | | and PLIST for Linux ports. LINUX_RPM_ARCH is the CPU targetted by a package and LINUX_REPO_ARCH is like our ARCH which is more suitable. This only affects Centos 6 ports because they are the only ones where LINUX_REPO_ARCH != LINUX_RPM_ARCH. Notes: svn path=/head/; revision=419437
* Update Linux ports to Centos 6.8.Tijl Coosemans2016-06-201-2/+2
| | | | | | | | | PR: 210373 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Differential Revision: https://reviews.freebsd.org/D6891 Notes: svn path=/head/; revision=417169
* Only use the :SOURCE group when it is actually defined.Mathieu Arnold2016-05-181-1/+2
| | | | | | | | | PR: 208916 With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=415433
* CentOS ports: for c6_64, install 32bit libraries alongsideSteve Wills2016-04-131-3/+25
| | | | | | | | PR: 206943 Submitted by: xmj Notes: svn path=/head/; revision=413168
* Remove the now unneeded ${PORTSDIR} from dependency definition inBaptiste Daroussin2016-03-271-1/+1
| | | | | | | | | | | The infrastructure Makefiles PR: 206569 Exp run by: antoine Differential Revision: D5047 Notes: svn path=/head/; revision=411970
* Welcome Centos 6.7Martin Wilke2016-01-301-3/+3
| | | | | | | | | | | | | | | | | - Upgrade all linux-c6- to CentOS 6.7 - Cleanups PR: 205846 Submitted by: xmj In Collaboration with: allanjude, netchild, xmj Exp-run: antoine Sponsored by: Perceivon Hosting Inc. Differential Revision: D3428 We'd like to thanks for all the feedback and comments. Notes: svn path=/head/; revision=407537
* Fix typo preventing using c6_64Baptiste Daroussin2015-11-261-1/+1
| | | | Notes: svn path=/head/; revision=402445
* Fix build with DOCS=off after r400846.Jung-uk Kim2015-11-061-2/+2
| | | | Notes: svn path=/head/; revision=400952
* Change the meaning of NO_WRKSUBDIR to force a WRKDIR != WRKSRC.Mathieu Arnold2015-11-051-3/+4
| | | | | | | | | | | | | | | | | | | | | | | Right now, NO_WRKSUBDIR means that the extraction does not produce a subdirectory, and that everything goes straight into WRKDIR. It is problematic, because during the build of a port, quite a few files are created in there, and then, a stage directory, where everything is installed, and then a pkg directory where the package is created, and those often conflict, or get in the way, of the building process. With this, NO_WRKSUBDIR will extract the distfiles directly into WRKSRC instead of WRKDIR. In this case, WRKSRC is artificial and is based on PKGNAME and not DISTNAME, mitigate conflicts with rc files. PR: 204056 Submitted by: mat Reviewed by: bapt Exp-run: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D2735 Notes: svn path=/head/; revision=400846
* Re-commit ofAlexander Leidinger2015-08-091-57/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 64 bit linuxulator support (not activated by default): - most of the work was done by Alan Jude - all errors are mine - 64bit (may) have rough edges - I validated * that the 32bit part doesn't has deinstall regressions (incl. EXP runs by antoine) * 29 of 72 64bit ports ports don't have deinstall leftovers (more validation later, when I dare to activate the 64bit linuxulator in the kernel) - the infrastructure part looks mature enough to let more test-bunnies get some experience with the new 64 bit parts - to use it you shall have no linux ports installed and have to specify (on your own risk) the following in make.conf before installing the ports: OVERRIDE_LINUX_BASE_PORT=c6_64 OVERRIDE_LINUX_NONBASE_PORTS=c6_64 This is on top of the exiting c6 linux ports. Given that CentOS 7 is 64bits only, we decided to have it as an "overlay" instead of new ports. The 64bit part only installs 64bit executables, the 32bit ports can not be installed at the same time (if needed we can think of letting the 64bit overlay install the 32bit parts too, but given the CentOS 7 comment above...). Differential Revision: https://reviews.freebsd.org/D174 Submitted by: alanjude Sponsored by: Essen FreeBSD Hackathon 2015 Reviewed by: xmj, eadler (earlier versions) Approved by: portmgr (antoine after some EXP-runs) Notes: svn path=/head/; revision=393817
* Unbreak INDEX, reverting r392921Antoine Brodin2015-07-261-34/+57
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=392922
* 64 bit linuxulator support (not activated by default):Alexander Leidinger2015-07-261-57/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - most of the work was done by Alan Jude - all errors are mine - 64bit (may) have rough edges - I validated * that the 32bit part doesn't has deinstall regressions * 29 of 72 64bit ports ports don't have deinstall leftovers (more validation later, when I dare to activate the 64bit linuxulator in the kernel) - the infrastructure part looks mature enough to let more test-bunnies get some experience with it - to use it you shall have no linux ports installed and have to specify (on your own risk) the following in make.conf before installing the ports: OVERRIDE_LINUX_BASE_PORT=c6_64 OVERRIDE_LINUX_NONBASE_PORTS=c6_64 This is on top of the exiting c6 linux ports. Given that CentOS 7 is 64bits only, we decided to have it as an "overlay" instead of new ports. The 64bit part only installs 64bit executables, the 32bit ports can not be installed at the same time (if needed we can think of letting the 64bit overlay install the 32bit parts too, but given the CentOS 7 comment above...). Differential Revision: https://reviews.freebsd.org/D174 Submitted by: alanjude Sponsored by: Essen FreeBSD Hackathon 2015 Reviewed by: xmj, eadler (earlier versions) Approved by: portmgr (implicit, I remember blanked approval for linux parts loooong ago, punish me if you don't agree anymore) Notes: svn path=/head/; revision=392921
* Add USE_LINUX_RPM_BAD_PERMSBaptiste Daroussin2015-06-041-1/+8
| | | | | | | | | | | This allows extracting to extract rpm containings hardlinks on read only files when extracted as a regular user Differential Revision: https://reviews.freebsd.org/D2734 Reviewed by: mat Notes: svn path=/head/; revision=388546
* Set CentOS 6.6 as default Linux version.Johannes Jost Meixner2014-12-091-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since CentOS 6.5 landed in the portstree and was updated to CentOS 6.6 and we've fixed the remaining issues, it's time to replace Fedora 10 as Linux default -- given that in the past five years it has done its service and has long since gone EOL upstream. The CentOS 6 series will go End of Life in 2020, this should give us some time to keep its annual releases up to date. If you have not switched to using CentOS 6.6 ports, please refer to today's UPDATING entry -- it contains detailed instructions. If you have already switched to CentOS 6.6 userland, you can now remove the following two lines from make.conf: OVERRIDE_LINUX_BASE_PORT=c6 OVERRIDE_LINUX_NONBASE_PORTS=c6 If you encounter any difficulties, please follow the UPDATING entry from 20140922 but skip step 2. In case these steps do not fix the issues, please submit an issue report in Bugzilla and send an email to FreeBSD's emulation mailing list. Differential Revision: https://reviews.freebsd.org/D1145 Reviewed by: wblock, bcr (doc), rene (emulation) Approved by: swills (mentor) Approved by: portmgr (swills) Sponsored by: Perceivon Hosting Inc. Notes: svn path=/head/; revision=374417
* Upgrade CentOS to 6.6Johannes Jost Meixner2014-11-111-5/+5
| | | | | | | | | | | | | | | | | | | | | - Upgrade all things linux-c6- to CentOS 6.6 - Add ports: devel/linux-c6-libsigc++20 graphics/linux-c6-gdk-pixbuf [1] graphics/linux-c6-glx-utils - Add pkg-plists for net/linux-c6-openldap and security/linux-c6-cyrus-sasl2 - Misc. cleanups Differential Revision: https://reviews.freebsd.org/D1108 Submitted by: kmoore [1] Reviewed by: rene (emulation) Approved by: portmgr (swills) Approved by: swills (mentor) Sponsored by: Perceivon Hosting Inc. Notes: svn path=/head/; revision=372445
* Remove unused and broken new-plist targetBaptiste Daroussin2014-10-201-14/+1
| | | | | | | Modify the automatic plist to not generate the @dirrm Notes: svn path=/head/; revision=371301
* Update CentOS base to 6.5, add userland portsJohannes Jost Meixner2014-09-221-36/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Fedora 10 infrastructure ports have been in use since June 2009 and, while having served a great deed, have become unsupported upstream and hence affected by unfixed security vulnerabilities. In addition to that, many recent Linux binaries need newer libc / stdlibc++ versions. This commit adds the linux-c6- userland as drop-in replacement for the -f10 infrastructure, as well as upgrading the linux_base-c6 port to CentOS 6.5. If you want to switch to linux-c6 ports, please define at /etc/make.conf: OVERRIDE_LINUX_BASE_PORT=c6 OVERRIDE_LINUX_NONBASE_PORTS=c6 Additionally, please add the following line to /etc/sysctl.conf: compat.linux.osrelease=2.6.18 Upgrading procedures are shown in /usr/ports/UPDATING. This work has been inspired by Artyom Mirgorodskiy's post to emulation@ in November 2013, using and extending mav@'s work. It has been tested extensively and most reported issues were already fixed. Please report any additional bug or "features" to the emulation mailing list. Many thanks to: mav@, rene@, allanjude@, netchild@, antoine@, everyone who's filed Issues and Pull requests on GitHub, PR: 186820 Differential Revision: https://reviews.freebsd.org/D793 Reviewed by: allanjude, antoine, bapt, rene Approved by: portmgr (antoine, bapt) Approved by: koobs (mentor) Sponsored by: Perceivon Hosting Inc. Notes: svn path=/head/; revision=368845
* Convert all :U to :tu and :L to :tlBaptiste Daroussin2014-05-051-1/+1
| | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=352986
* Allow distfiles grouping for linux-rpm ports while not extracting the ↵Antoine Brodin2014-03-251-2/+2
| | | | | | | | | .src.rpm on the package builders With hat: portmgr Notes: svn path=/head/; revision=349130
* Let the linux rpm ports use grouping rules, e.g. to download theThierry Thomas2014-03-181-1/+1
| | | | | | | | | | binaries and the sources from differents MASTER_SITES. PR: ports/186702 Approved by: netchild Notes: svn path=/head/; revision=348601
* - Remove a check insisting that Fedora 10 ports can only be run whenRene Ladan2014-01-171-10/+1
| | | | | | | | | | | | 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] Notes: svn path=/head/; revision=340032
* Rework linux rpm plist generation/installationAntoine Brodin2013-10-061-6/+6
| | | | | | | | | Convert linux-f10-libasyncns to STAGEDIR (only user of AUTOMATIC_PLIST) Approved by: portmgr (bapt) Notes: svn path=/head/; revision=329540
* Fix linux rpm plist generationBaptiste Daroussin2013-10-041-2/+2
| | | | Notes: svn path=/head/; revision=329330
* Fix directory stagingBaptiste Daroussin2013-10-041-1/+1
| | | | Notes: svn path=/head/; revision=329328
* Allow staging linux rpmsBaptiste Daroussin2013-10-021-6/+6
| | | | Notes: svn path=/head/; revision=329126
* - Finish removal of support for Linux 2.4 in bsd.linux-apps.mk andRene Ladan2013-05-301-24/+5
| | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=319410
* On all supported version of FreeBSD tar do support rpm as an archive format.Baptiste Daroussin2013-04-221-7/+3
| | | | | | | So directly use tar to extract linux* distfiles instead of rpm2cpio. Notes: svn path=/head/; revision=316247
* - Remove emacs mode, -*- mode: ...; -*- [1]Martin Wilke2012-05-231-2/+2
| | | | | | | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=297274
* Remove all traces of F8, now that the deprecated/expired ports are removedAlexander Leidinger2011-04-181-25/+8
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=272876
* - Allow using linux base 2.4 on FreeBSD 8.XPav Lucistnik2011-02-251-2/+2
| | | | | | | | PR: ports/154186 Submitted by: ale Notes: svn path=/head/; revision=269678
* Deprecate md5 in favour of sha256 checksums. md5 checksums will no longerErwin Lansing2010-10-281-2/+2
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=263705
* Fix a typo: limitted -> limited.Boris Samorodov2009-12-131-2/+2
| | | | | | | Reported by: trhodes Notes: svn path=/head/; revision=245721
* Honor OVERRIDE_LINUX_NONBASE_PORTS=f8 after the change to Fedora 10Boris Samorodov2009-07-011-2/+2
| | | | | | | | | | as the default Linux base on -CURRENT. PR: ports/136206 Submitted by: nwhitehorn Notes: svn path=/head/; revision=236882
* Welcome new defaults for linux ports!Boris Samorodov2009-06-261-5/+18
| | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=236674
* Switch default LINUX_DIST_VER to 4. This change was part of an exp-runBoris Samorodov2009-06-171-2/+2
| | | | | | | | | | and only one application was affected and is fixed now (x11-themes/linux-gtk-bluecurve-theme). Tested by: exp-run (pav) Notes: svn path=/head/; revision=236149
* Here are new Linux Fedora 10 infrastructure ports.Boris Samorodov2009-06-011-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=234983
* Move checks away for MASTER_SITES area and restruct them.Boris Samorodov2009-04-091-9/+18
| | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=231919
* Add comments forgotten by me at the previous commit.Boris Samorodov2009-04-061-4/+4
| | | | Notes: svn path=/head/; revision=231698
* . add linux_base-f9 port to the list of used linux base ports;Boris Samorodov2009-04-061-5/+12
| | | | | | | | | | | | . 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. Notes: svn path=/head/; revision=231697
* Here are new Linux Fedora 8 infrastructure ports.Boris Samorodov2009-04-011-1/+5
| | | | | | | | | | | | | | | | | | 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) ;-) Notes: svn path=/head/; revision=231438
* Welcome to the new linux ports infrastructure which allows usingBoris Samorodov2009-03-191-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=230420
* Make bsd.linux-rpm.mk respect NOPORTDOCS variable.Boris Samorodov2008-08-151-1/+15
| | | | | | | | | PR: 123964 Submitted by: Ganael Laplanche <ganael.laplanche at martymac.com> Discussed at: emulation@ Notes: svn path=/head/; revision=218623
* Add valid values fc6, f7 and f8:Boris Samorodov2008-04-291-2/+8
| | | | | | | | | | | | | | | | | | | | . 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] Notes: svn path=/head/; revision=212282
* Redo the comments so they match the other bsd.x.mk files.Boris Samorodov2006-10-051-23/+23
| | | | | | | | PR: 104015 Submitted by: whitespace police (edwin) Notes: svn path=/head/; revision=174563
* Remove support code for old linux distrosVasil Dimov2006-10-021-8/+2
| | | | | | | | | PR: ports/103901 Submitted by: vd Approved by: netchild Notes: svn path=/head/; revision=174310
* - Only set default m_s_subdir if master_sites was undefinedAndrew Pantyukhin2006-07-301-1/+3
| | | | Notes: svn path=/head/; revision=169157
* o change default linux package at bsd.linux-rpm.mk for automaticBoris Samorodov2006-07-131-5/+5
| | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=167689
* When generating the automatic plist, also understand @dirrmtry when lookingAlexander Leidinger2006-06-071-2/+2
| | | | | | | | | up linux_base-X owned dirs. Submitted by: Boris Samorodov <bsam@ipt.ru> Notes: svn path=/head/; revision=164738