diff options
author | dillo <dillo> | 2003-03-22 01:22:29 +0000 |
---|---|---|
committer | dillo <dillo> | 2003-03-22 01:22:29 +0000 |
commit | c4fc3b8e3adebfce6e8680658fd950c859a455d2 (patch) | |
tree | 7d62b088c6c189091dd403cfd3d8fffd20d906cd | |
parent | bf5ea8b4f8224dce26a69dcc499869dbda670c84 (diff) | |
download | pkgsrc-c4fc3b8e3adebfce6e8680658fd950c859a455d2.tar.gz |
install etc/SuSE-release, since some applications expect it.
bump pkgrevision
closes PR 20267
-rw-r--r-- | emulators/suse64_base/Makefile | 7 | ||||
-rw-r--r-- | emulators/suse64_base/PLIST | 3 | ||||
-rw-r--r-- | emulators/suse64_base/files/SuSE-release | 2 | ||||
-rw-r--r-- | emulators/suse_base/Makefile | 8 | ||||
-rw-r--r-- | emulators/suse_base/PLIST | 3 | ||||
-rw-r--r-- | emulators/suse_base/files/SuSE-release | 2 |
6 files changed, 19 insertions, 6 deletions
diff --git a/emulators/suse64_base/Makefile b/emulators/suse64_base/Makefile index 4157624c587..562ab455b8d 100644 --- a/emulators/suse64_base/Makefile +++ b/emulators/suse64_base/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.5 2002/12/09 21:34:58 tron Exp $ +# $NetBSD: Makefile,v 1.6 2003/03/22 01:22:29 dillo Exp $ DISTNAME= suse_base-${SUSE_VERSION} -PKGREVISION= 7 +PKGREVISION= 8 CATEGORIES= emulators MASTER_SITES= ftp://ftp.suse.com/pub/suse/discontinued/i386/update/${SUSE_VERSION}/a1/ \ ${MASTER_SITE_SUSE:=a1/} @@ -31,6 +31,8 @@ do-build: -e 's#@@EMULSUBDIR@@#${EMULSUBDIR}#g' \ <$$FILE >${WRKDIR}/`basename $$FILE`; \ done + ${SED} -e 's#@@VERSION@@#${SUSE_VERSION}#g' \ + <${FILESDIR}/SuSE-release >${WRKDIR}/SuSE-release do-install: for FILE in ${WRKDIR}/*.sh; do \ @@ -42,6 +44,7 @@ do-install: @${CP} ${WRKDIR}/PLIST ${PLIST_SRC} ${RPM2PKG} ${RPM2PKGARGS} ${ECHO} "@dirrm ${EMULSUBDIR}" >>${PLIST_SRC} + ${INSTALL_DATA} ${WRKDIR}/SuSE-release ${EMULDIR}/etc ${INSTALL_DATA} ${FILESDIR}/ld.so.conf ${EMULDIR}/etc ${EMULDIR}/sbin/ldconfig -r ${EMULDIR} ${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" \ diff --git a/emulators/suse64_base/PLIST b/emulators/suse64_base/PLIST index 01a3ec7b6fc..6cffebb18c6 100644 --- a/emulators/suse64_base/PLIST +++ b/emulators/suse64_base/PLIST @@ -1,6 +1,7 @@ -@comment $NetBSD: PLIST,v 1.2 2002/06/26 10:29:42 seb Exp $ +@comment $NetBSD: PLIST,v 1.3 2003/03/22 01:22:29 dillo Exp $ sbin/linux-mkpwd @unexec ${RM} -f %D/@@EMULSUBDIR@@/etc/ld.so.cache +@@EMULSUBDIR@@/etc/SuSE-release @@EMULSUBDIR@@/etc/ld.so.conf @unexec cd %D/@@EMULSUBDIR@@/etc && ${RM} -f group gshadow passwd shadow @exec ${MKDIR} %D/@@EMULSUBDIR@@/dev diff --git a/emulators/suse64_base/files/SuSE-release b/emulators/suse64_base/files/SuSE-release new file mode 100644 index 00000000000..99fd3a6f526 --- /dev/null +++ b/emulators/suse64_base/files/SuSE-release @@ -0,0 +1,2 @@ +SuSE Linux @@VERSION@@ (i386) +VERSION = @@VERSION@@ diff --git a/emulators/suse_base/Makefile b/emulators/suse_base/Makefile index 79779cf7116..f4178adf500 100644 --- a/emulators/suse_base/Makefile +++ b/emulators/suse_base/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.36 2003/03/01 10:46:39 jmc Exp $ +# $NetBSD: Makefile,v 1.37 2003/03/22 01:22:30 dillo Exp $ DISTNAME= suse_base-${SUSE_VERSION} -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_SUSE:=a1/} \ ${MASTER_SITE_SUSE_UPD:=a1/} @@ -39,6 +39,9 @@ do-build: -e 's#@@EMULSUBDIR@@#${EMULSUBDIR}#g' \ <$$FILE >${WRKDIR}/`basename $$FILE`; \ done + ${SED} -e 's#@@VERSION@@#${SUSE_VERSION}#g' \ + -e 's#@@ARCH@@#${SUSE_ARCH}#g' \ + <${FILESDIR}/SuSE-release >${WRKDIR}/SuSE-release do-install: for FILE in ${WRKDIR}/*.sh; do \ @@ -50,6 +53,7 @@ do-install: @${CP} ${WRKDIR}/PLIST ${PLIST_SRC} ${RPM2PKG} ${RPM2PKGARGS} ${ECHO} "@dirrm ${EMULSUBDIR}" >>${PLIST_SRC} + ${INSTALL_DATA} ${WRKDIR}/SuSE-release ${EMULDIR}/etc ${INSTALL_DATA} ${FILESDIR}/ld.so.conf ${EMULDIR}/etc ${EMULDIR}/sbin/ldconfig -r ${EMULDIR} ${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" \ diff --git a/emulators/suse_base/PLIST b/emulators/suse_base/PLIST index a8091a8d265..9a2de5c7c24 100644 --- a/emulators/suse_base/PLIST +++ b/emulators/suse_base/PLIST @@ -1,6 +1,7 @@ -@comment $NetBSD: PLIST,v 1.4 2002/08/25 21:49:48 jlam Exp $ +@comment $NetBSD: PLIST,v 1.5 2003/03/22 01:22:30 dillo Exp $ sbin/linux-mkpwd @unexec ${RM} -f %D/@@EMULSUBDIR@@/etc/ld.so.cache +@@EMULSUBDIR@@/etc/SuSE-release @@EMULSUBDIR@@/etc/ld.so.conf @unexec cd %D/@@EMULSUBDIR@@/etc && ${RM} -f group gshadow passwd shadow @exec ${MKDIR} %D/@@EMULSUBDIR@@/dev diff --git a/emulators/suse_base/files/SuSE-release b/emulators/suse_base/files/SuSE-release new file mode 100644 index 00000000000..247032986b2 --- /dev/null +++ b/emulators/suse_base/files/SuSE-release @@ -0,0 +1,2 @@ +SuSE Linux @@VERSION@@ (@@ARCH@@) +VERSION = @@VERSION@@ |