head 1.25; access; symbols pkgsrc-2023Q4:1.25.0.4 pkgsrc-2023Q4-base:1.25 pkgsrc-2023Q3:1.25.0.2 pkgsrc-2023Q3-base:1.25 pkgsrc-2023Q2:1.24.0.8 pkgsrc-2023Q2-base:1.24 pkgsrc-2023Q1:1.24.0.6 pkgsrc-2023Q1-base:1.24 pkgsrc-2022Q4:1.24.0.4 pkgsrc-2022Q4-base:1.24 pkgsrc-2022Q3:1.24.0.2 pkgsrc-2022Q3-base:1.24 pkgsrc-2022Q2:1.23.0.10 pkgsrc-2022Q2-base:1.23 pkgsrc-2022Q1:1.23.0.8 pkgsrc-2022Q1-base:1.23 pkgsrc-2021Q4:1.23.0.6 pkgsrc-2021Q4-base:1.23 pkgsrc-2021Q3:1.23.0.4 pkgsrc-2021Q3-base:1.23 pkgsrc-2021Q2:1.23.0.2 pkgsrc-2021Q2-base:1.23 pkgsrc-2021Q1:1.22.0.6 pkgsrc-2021Q1-base:1.22 pkgsrc-2020Q4:1.22.0.4 pkgsrc-2020Q4-base:1.22 pkgsrc-2020Q3:1.22.0.2 pkgsrc-2020Q3-base:1.22 pkgsrc-2020Q2:1.21.0.6 pkgsrc-2020Q2-base:1.21 pkgsrc-2020Q1:1.21.0.2 pkgsrc-2020Q1-base:1.21 pkgsrc-2019Q4:1.21.0.4 pkgsrc-2019Q4-base:1.21 pkgsrc-2019Q3:1.20.0.2 pkgsrc-2019Q3-base:1.20 pkgsrc-2019Q2:1.19.0.2 pkgsrc-2019Q2-base:1.19 pkgsrc-2019Q1:1.18.0.6 pkgsrc-2019Q1-base:1.18 pkgsrc-2018Q4:1.18.0.4 pkgsrc-2018Q4-base:1.18 pkgsrc-2018Q3:1.18.0.2 pkgsrc-2018Q3-base:1.18 pkgsrc-2018Q2:1.16.0.12 pkgsrc-2018Q2-base:1.16 pkgsrc-2018Q1:1.16.0.10 pkgsrc-2018Q1-base:1.16 pkgsrc-2017Q4:1.16.0.8 pkgsrc-2017Q4-base:1.16 pkgsrc-2017Q3:1.16.0.6 pkgsrc-2017Q3-base:1.16 pkgsrc-2017Q2:1.16.0.2 pkgsrc-2017Q2-base:1.16 pkgsrc-2017Q1:1.15.0.2 pkgsrc-2017Q1-base:1.15 pkgsrc-2016Q4:1.14.0.4 pkgsrc-2016Q4-base:1.14 pkgsrc-2016Q3:1.14.0.2 pkgsrc-2016Q3-base:1.14 pkgsrc-2016Q2:1.13.0.2 pkgsrc-2016Q2-base:1.13 pkgsrc-2016Q1:1.12.0.8 pkgsrc-2016Q1-base:1.12 pkgsrc-2015Q4:1.12.0.6 pkgsrc-2015Q4-base:1.12 pkgsrc-2015Q3:1.12.0.4 pkgsrc-2015Q3-base:1.12 pkgsrc-2015Q2:1.12.0.2 pkgsrc-2015Q2-base:1.12 pkgsrc-2015Q1:1.11.0.8 pkgsrc-2015Q1-base:1.11 pkgsrc-2014Q4:1.11.0.6 pkgsrc-2014Q4-base:1.11 pkgsrc-2014Q3:1.11.0.4 pkgsrc-2014Q3-base:1.11 pkgsrc-2014Q2:1.11.0.2 pkgsrc-2014Q2-base:1.11 pkgsrc-2014Q1:1.10.0.8 pkgsrc-2014Q1-base:1.10 pkgsrc-2013Q4:1.10.0.6 pkgsrc-2013Q4-base:1.10 pkgsrc-2013Q3:1.10.0.4 pkgsrc-2013Q3-base:1.10 pkgsrc-2013Q2:1.10.0.2 pkgsrc-2013Q2-base:1.10 pkgsrc-2013Q1:1.9.0.2 pkgsrc-2013Q1-base:1.9 pkgsrc-2012Q4:1.8.0.2 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.6.0.8 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.6 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.4 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.2 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.5.0.2 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.4.0.2 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.3.0.4 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.2 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.2.0.2 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.1.1.1.0.8 pkgsrc-2010Q2-base:1.1.1.1 pkgsrc-2010Q1:1.1.1.1.0.6 pkgsrc-2010Q1-base:1.1.1.1 pkgsrc-2009Q4:1.1.1.1.0.4 pkgsrc-2009Q4-base:1.1.1.1 pkgsrc-2009Q3:1.1.1.1.0.2 pkgsrc-2009Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.25 date 2023.07.06.09.41.02; author wiz; state Exp; branches; next 1.24; commitid 6meR4IA6XJRNYIvE; 1.24 date 2022.06.28.11.35.04; author wiz; state Exp; branches; next 1.23; commitid D2UoJrTHpoHEANJD; 1.23 date 2021.05.24.19.53.22; author wiz; state Exp; branches; next 1.22; commitid qokaiStTApGMcrUC; 1.22 date 2020.08.31.18.10.38; author wiz; state Exp; branches; next 1.21; commitid 7zxRbfOkDOoxbfmC; 1.21 date 2019.11.03.11.45.45; author rillig; state Exp; branches; next 1.20; commitid llzTCvoTAgLcNoJB; 1.20 date 2019.08.11.13.22.13; author wiz; state Exp; branches; next 1.19; commitid Ifet9Pg6Qt99ZByB; 1.19 date 2019.05.23.19.23.10; author rillig; state Exp; branches; next 1.18; commitid aWlQW8HYUUFCAmoB; 1.18 date 2018.08.22.09.45.56; author wiz; state Exp; branches; next 1.17; commitid YLub8g3ofvFGb6PA; 1.17 date 2018.07.04.13.40.29; author jperkin; state Exp; branches; next 1.16; commitid NnIyRkdX3Lbg3PIA; 1.16 date 2017.06.28.08.27.44; author jperkin; state Exp; branches; next 1.15; commitid 169iG6wWZzagh7Xz; 1.15 date 2017.01.19.18.52.20; author agc; state Exp; branches; next 1.14; commitid ufZDMu4cgHZdRBCz; 1.14 date 2016.07.09.06.38.44; author wiz; state Exp; branches; next 1.13; commitid dlqnocGpOoXV2Cdz; 1.13 date 2016.05.17.10.32.08; author fhajny; state Exp; branches; next 1.12; commitid 6I4MSY4qjd2M1P6z; 1.12 date 2015.06.12.10.50.43; author wiz; state Exp; branches; next 1.11; commitid B4JmCfaVUbiY38py; 1.11 date 2014.05.29.23.37.05; author wiz; state Exp; branches; next 1.10; commitid laryHfkCalgYtuCx; 1.10 date 2013.05.31.12.41.35; author wiz; state Exp; branches; next 1.9; commitid hIeXGcx6VfKHwMRw; 1.9 date 2013.03.19.00.36.41; author obache; state Exp; branches; next 1.8; 1.8 date 2012.10.23.17.18.43; author asau; state Exp; branches; next 1.7; 1.7 date 2012.10.03.21.56.58; author wiz; state Exp; branches; next 1.6; 1.6 date 2011.11.25.23.15.19; author hubertf; state Exp; branches; next 1.5; 1.5 date 2011.08.14.14.14.40; author obache; state Exp; branches; next 1.4; 1.4 date 2011.05.22.22.41.09; author abs; state Exp; branches; next 1.3; 1.3 date 2010.12.01.21.00.51; author bouyer; state Exp; branches; next 1.2; 1.2 date 2010.08.21.16.35.20; author seb; state Exp; branches 1.2.2.1; next 1.1; 1.1 date 2009.08.16.18.25.53; author bouyer; state Exp; branches 1.1.1.1; next ; 1.2.2.1 date 2010.12.05.20.31.32; author tron; state Exp; branches; next ; 1.1.1.1 date 2009.08.16.18.25.53; author bouyer; state Exp; branches; next ; desc @@ 1.25 log @*: recursive bump for perl 5.38 @ text @# $NetBSD: Makefile,v 1.24 2022/06/28 11:35:04 wiz Exp $ # VERS= 1.1.2.1 PKGREVISION= 15 DISTNAME= Ocsinventory-Agent-${VERS} PKGNAME= ocsinventory-agent-${VERS} CATEGORIES= net MASTER_SITES= http://launchpad.net/ocsinventory-unix-agent/stable-1.1.2/ocsinventory-unix-agent-1.1.2.1/+download/ MASTER_SITES+= http://launchpadlibrarian.net/57513674/ MAINTAINER= bouyer@@NetBSD.org HOMEPAGE= http://www.ocsinventory-ng.org/ COMMENT= Keep track of the computers configuration and software PKG_SYSCONFSUBDIR= ocsinventory DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww DEPENDS+= p5-XML-Simple-[0-9]*:../../textproc/p5-XML-Simple DEPENDS+= p5-Net-IP-[0-9]*:../../net/p5-Net-IP DEPENDS+= p5-Proc-Daemon-[0-9]*:../../devel/p5-Proc-Daemon .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64") DEPENDS+= dmidecode-[0-9]*:../../sysutils/dmidecode .endif WRKSRC= ${WRKDIR}/Ocsinventory-Agent-${VERS} BUILD_DEFS+= VARBASE AUTO_MKDIRS= yes .include "../../mk/bsd.prefs.mk" EGDIR= ${PREFIX}/share/examples/ocsinventory-agent MAKE_DIRS_PERMS+= ${VARBASE}/db/ocsinventory ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700 CONF_FILES+= ${EGDIR}/ocsinventory-agent.cfg ${PKG_SYSCONFDIR}/ocsinventory-agent.cfg CONF_FILES+= ${EGDIR}/modules.conf ${PKG_SYSCONFDIR}/modules.conf USE_TOOLS+= perl:run REPLACE_PERL+= tools/macosx/ocsng_app-xcode/main.pl REPLACE_PERL+= tools/macosx/scripts/create-darwin-perl-lib_fromCPAN.pl REPLACE_PERL+= ocsinventory-agent REPLACE_PERL+= postinst.pl SUBST_CLASSES+= sysconfdir path varbase apachevers SUBST_STAGE.sysconfdir= pre-configure SUBST_FILES.sysconfdir= lib/Ocsinventory/Agent/Config.pm SUBST_FILES.sysconfdir+= postinst.pl SUBST_VARS.sysconfdir= PKG_SYSCONFDIR SUBST_MESSAGE.sysconfdir= Fixing hardcoded install directory path. SUBST_STAGE.path= pre-configure SUBST_FILES.path= lib/Ocsinventory/Agent/Common.pm SUBST_SED.path= -e "s|/usr/local/bin|${PREFIX}/bin|g" SUBST_SED.path+= -e "s|/usr/local/sbin|${PREFIX}/sbin|g" SUBST_MESSAGE.path= Fixing hardcoded path. PERL5_PACKLIST= auto/Ocsinventory/Agent/.packlist MAKE_ENV+= PERL_USE_UNSAFE_INC=1 pre-patch: ${MKDIR} ${WRKSRC}/lib/Ocsinventory/Agent/Backend/OS/BSD/Pcictl post-patch: ${FIND} ${WRKSRC} -perm 0 -print | ${XARGS} ${CHMOD} +rw post-build: for file in ocsinventory-agent.cfg modules.conf; do \ ${SED} -e 's,@@VARBASE@@,${VARBASE},g' \ < ${FILESDIR}/$$file > ${WRKDIR}/$$file; \ done post-install: ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} for file in ocsinventory-agent.cfg modules.conf; do \ ${INSTALL_DATA} ${WRKDIR}/$$file ${DESTDIR}${EGDIR}; \ done cd ${DESTDIR}${PREFIX}/bin && \ ${LN} -f -s ${PERL5_INSTALLVENDORBIN}/ocsinventory-agent . .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" @ 1.24 log @*: recursive bump for perl 5.36 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2021/05/24 19:53:22 wiz Exp $ d4 1 a4 1 PKGREVISION= 14 @ 1.23 log @*: recursive bump for perl 5.34 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2020/08/31 18:10:38 wiz Exp $ d4 1 a4 1 PKGREVISION= 13 @ 1.22 log @*: bump PKGREVISION for perl-5.32. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2019/11/03 11:45:45 rillig Exp $ d4 1 a4 1 PKGREVISION= 12 @ 1.21 log @net: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2019/08/11 13:22:13 wiz Exp $ d4 1 a4 1 PKGREVISION= 11 @ 1.20 log @Bump PKGREVISIONs for perl 5.30.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2019/05/23 19:23:10 rillig Exp $ d27 2 a28 2 BUILD_DEFS+= VARBASE AUTO_MKDIRS=yes @ 1.19 log @all: replace SUBST_SED with the simpler SUBST_VARS pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2018/08/22 09:45:56 wiz Exp $ d4 1 a4 1 PKGREVISION= 10 @ 1.18 log @Recursive bump for perl5-5.28.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2018/07/04 13:40:29 jperkin Exp $ d47 1 a47 1 SUBST_SED.sysconfdir= -e 's,@@PKG_SYSCONFDIR@@,${PKG_SYSCONFDIR},g' @ 1.17 log @*: Move SUBST_STAGE from post-patch to pre-configure Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2017/06/28 08:27:44 jperkin Exp $ d4 1 a4 1 PKGREVISION= 9 @ 1.16 log @These packages all require the PERL_USE_UNSAFE_INC hack. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2017/01/19 18:52:20 agc Exp $ d44 1 a44 1 SUBST_STAGE.sysconfdir= post-patch d50 1 a50 1 SUBST_STAGE.path= post-patch @ 1.15 log @Convert all occurrences (353 by my count) of MASTER_SITES= site1 \ site2 style continuation lines to be simple repeated MASTER_SITES+= site1 MASTER_SITES+= site2 lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint accordingly. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2016/07/09 06:38:44 wiz Exp $ d58 2 @ 1.14 log @Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2016/05/17 10:32:08 fhajny Exp $ d8 2 a9 2 MASTER_SITES= http://launchpad.net/ocsinventory-unix-agent/stable-1.1.2/ocsinventory-unix-agent-1.1.2.1/+download/ \ http://launchpadlibrarian.net/57513674/ @ 1.13 log @Use REAL_ROOT_USER/REAL_ROOT_GROUP instead of ROOT_USER/ROOT_GROUP for all pkgsrc dir/file ownership rules. Fixes unprivileged user/group names from leaking into binary packages, manifest as non-fatal chown/chgrp failure messages at pkg_add time. Bump respective packages' PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2015/06/12 10:50:43 wiz Exp $ d4 1 a4 1 PKGREVISION= 8 @ 1.12 log @Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2014/05/29 23:37:05 wiz Exp $ d4 1 a4 1 PKGREVISION= 7 d33 1 a33 1 MAKE_DIRS_PERMS+= ${VARBASE}/db/ocsinventory ${ROOT_USER} ${ROOT_GROUP} 0700 @ 1.11 log @Bump for perl-5.20.0. Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2013/05/31 12:41:35 wiz Exp $ d4 1 a4 1 PKGREVISION= 6 @ 1.10 log @Bump all packages for perl-5.18, that a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2013/03/19 00:36:41 obache Exp $ d4 1 a4 1 PKGREVISION= 5 @ 1.9 log @also add http one to MASTER_SITES. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2012/10/23 17:18:43 asau Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.8 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2012/10/03 21:56:58 wiz Exp $ d8 2 a9 1 MASTER_SITES= http://launchpad.net/ocsinventory-unix-agent/stable-1.1.2/ocsinventory-unix-agent-1.1.2.1/+download/ @ 1.7 log @Bump all packages that use perl, or depend on a p5-* package, or are called p5-*. I hope that's all of them. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2011/11/25 23:15:19 hubertf Exp $ a28 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.6 log @Bump to 1.1.2.1nb3: on Mac OS X, .orig files are created with permission ugo-rwx (= 0), which causes problems here. Set some more sane permissions. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2011/08/14 14:14:40 obache Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.5 log @Revision bump after updating perl5 to 5.14.1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2011/05/22 22:41:09 abs Exp $ d4 1 a4 1 PKGREVISION= 2 d62 3 @ 1.4 log @When reporting packages detected by BSDpkg indicate them as 'BSDpkg' by default, and 'pkgsrc' if appropriate @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2010/12/01 21:00:51 bouyer Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.3 log @Update to 1.1.2.1. Main motivation is to avoid warnings with perl 5.12. Other changes are mainly improvements in backend to support more OS, more OS variants or versions. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2010/08/21 16:35:20 seb Exp $ d4 1 d29 1 a29 1 PKG_DESTDIR_SUPPORT= user-destdir d54 1 a54 1 SUBST_SED.path= -e "s|/usr/local/sbin|${PREFIX}/sbin|g" d57 1 a57 1 PERL5_PACKLIST= auto/Ocsinventory/Agent/.packlist @ 1.2 log @Bump the PKGREVISION for all packages which depend directly on perl, to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."), minus the packages updated after the perl package update. sno@@ was right after all, obache@@ kindly asked and he@@ led the way. Thanks! @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2009/08/16 18:25:53 bouyer Exp $ d3 3 a5 4 DISTNAME= OCSNG_UNIX_AGENT-1.02 PKGNAME= ocsinventory-agent-1.0.2 PKGREVISION= 1 d7 1 a7 1 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ocsinventory/} d23 1 a23 1 WRKSRC= ${WRKDIR}/Ocsinventory-Agent-1.0.1 @ 1.2.2.1 log @Pullup ticket #3294 - requested by bouyer net/ocsinventory-agent: compatibility update Revisions pulled up: - net/ocsinventory-agent/Makefile 1.3 - net/ocsinventory-agent/distinfo 1.2 - net/ocsinventory-agent/patches/patch-ab 1.2 - net/ocsinventory-agent/patches/patch-ac 1.2 - net/ocsinventory-agent/patches/patch-ap 1.1 --- Module Name: pkgsrc Committed By: bouyer Date: Wed Dec 1 21:00:51 UTC 2010 Modified Files: pkgsrc/net/ocsinventory-agent: Makefile distinfo pkgsrc/net/ocsinventory-agent/patches: patch-ab patch-ac Added Files: pkgsrc/net/ocsinventory-agent/patches: patch-ap Log Message: Update to 1.1.2.1. Main motivation is to avoid warnings with perl 5.12. Other changes are mainly improvements in backend to support more OS, more OS variants or versions. @ text @d1 1 a1 1 # $NetBSD$ d3 4 a6 3 VERS= 1.1.2.1 DISTNAME= Ocsinventory-Agent-${VERS} PKGNAME= ocsinventory-agent-${VERS} d8 1 a8 1 MASTER_SITES= http://launchpad.net/ocsinventory-unix-agent/stable-1.1.2/ocsinventory-unix-agent-1.1.2.1/+download/ d24 1 a24 1 WRKSRC= ${WRKDIR}/Ocsinventory-Agent-${VERS} @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2009/04/11 23:15:20 sno Exp $ d6 1 @ 1.1.1.1 log @Import ocsinventory-agent 1.1.2 to pkgsrc. Open Computer and Software Inventory Next Generation is an application designed to help a network or system administrator keep track of the computers configuration and software that are installed on the network. Information about Hardware and Operating System are collected. @ text @@