Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=26c17d2212c305f7ad5e2f96dc6d9afeba6584aa

commit 26c17d2212c305f7ad5e2f96dc6d9afeba6584aa
Author: James Buren <[email protected]>
Date:   Mon Apr 22 02:47:08 2013 -0500

frugalware-1.9pre1-4-x86_64
* drop dependencies on bash / coreutils
* import git patch
* drop post_install from scriptlet.
* the only part that was needed is /etc/motd, which is now a regular
* file in this package. it is also backed up now.

diff --git 
a/source/base/frugalware/0002-Makefile-package-a-file-at-etc-motd.patch 
b/source/base/frugalware/0002-Makefile-package-a-file-at-etc-motd.patch
new file mode 100644
index 0000000..92e77e7
--- /dev/null
+++ b/source/base/frugalware/0002-Makefile-package-a-file-at-etc-motd.patch
@@ -0,0 +1,29 @@
+From 028aedfefb0565de60a25f214420c5bd19ef6d3c Mon Sep 17 00:00:00 2001
+From: James Buren <[email protected]>
+Date: Mon, 22 Apr 2013 02:39:38 -0500
+Subject: [PATCH 2/2] Makefile: package a file at /etc/motd
+
+---
+ Makefile | 1 +
+ etc/motd | 0
+ 2 files changed, 1 insertion(+)
+ create mode 100644 etc/motd
+
+diff --git a/Makefile b/Makefile
+index c61cbeb..f26057e 100644
+--- a/Makefile
++++ b/Makefile
+@@ -38,6 +38,7 @@ install:
+       sed 's/@VERSION@/$(VERSION)/;s/@CODENAME@/$(CODENAME)/' 
etc/os-release.in > $(DESTDIR)/etc/os-release
+       sed 's/@VERSION@/$(VERSION)/;s/@CODENAME@/$(CODENAME)/' etc/issue.in > 
$(DESTDIR)/etc/issue
+       $(INSTALL) -m644 etc/issue.net $(DESTDIR)/etc/
++      $(INSTALL) -m644 etc/motd $(DESTDIR)/etc/
+       $(INSTALL) -m644 etc/ld.so.conf $(DESTDIR)/etc/
+       $(INSTALL) -m644 etc/nsswitch.conf $(DESTDIR)/etc/
+       $(INSTALL) -m644 etc/securetty $(DESTDIR)/etc/
+diff --git a/etc/motd b/etc/motd
+new file mode 100644
+index 0000000..e69de29
+--
+1.8.1.5
+
diff --git a/source/base/frugalware/FrugalBuild 
b/source/base/frugalware/FrugalBuild
index 9389448..622b5bc 100644
--- a/source/base/frugalware/FrugalBuild
+++ b/source/base/frugalware/FrugalBuild
@@ -4,18 +4,20 @@

pkgname=frugalware
pkgver=1.9pre1
-pkgrel=3
+pkgrel=4
pkgdesc="Basic Frugalware Linux filesystem package"
url="http://ftp.frugalware.org/pub/other/frugalware/";
-rodepends=('bash' 'coreutils')
+depends=()
makedepends=('help2man')
groups=('base' 'core')
archs=('i686' 'x86_64' 'arm')
-backup=(etc/{profile.d/lang.sh,issue.net,ld.so.conf,nsswitch.conf,securetty,termcap})
+backup=(etc/{motd,issue.net,ld.so.conf,nsswitch.conf,securetty,termcap})
up2date="Flasttar $url"
-source=($url/$pkgname-$pkgver.tar.gz 
0001-Makefile-create-the-skeleton-directory-for-etc-ld.so.patch)
-signatures=($source.asc '')
+source=($url/$pkgname-$pkgver.tar.gz 
0001-Makefile-create-the-skeleton-directory-for-etc-ld.so.patch 
0002-Makefile-package-a-file-at-etc-motd.patch)
+signatures=($source.asc '' '')

+# remove these lines after 1.9
+removes=('etc/motd')
replaces=(
'hal-info' 'consolekit' 'hal' 'podsleuth' 'ipod-sharp' 'mesk' 'ogmrip'
'telepathy-stream-engine' 'consolekit-x11' 'barpanel' 'barpanel-battery'
diff --git a/source/base/frugalware/frugalware.install 
b/source/base/frugalware/frugalware.install
index 3fc5c7f..5608bae 100644
--- a/source/base/frugalware/frugalware.install
+++ b/source/base/frugalware/frugalware.install
@@ -1,12 +1,3 @@
-post_install()
-{
-       for i in /etc/{mtab,motd} /var/log/{lastlog,wtmp} /var/run/utmp
-       do
-               [ -e $i ] || touch $i
-       done
-       chmod 664 /var/run/utmp /var/log/wtmp
-}
-
post_upgrade()
{
if [ -e /boot/grub/grub.cfg ]; then
@@ -20,5 +11,4 @@ post_upgrade()

op=$1
shift
-
$op $*
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to